@aws-sdk/client-forecastquery 3.1077.0 → 3.1079.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.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -464,28 +465,14 @@ class ForecastqueryClient extends Client {
464
465
  }
465
466
  }
466
467
 
467
- class QueryForecastCommand extends Command
468
- .classBuilder()
469
- .ep(commonParams)
470
- .m(function (Command, cs, config, o) {
471
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
472
- })
473
- .s("AmazonForecastRuntime", "QueryForecast", {})
474
- .n("ForecastqueryClient", "QueryForecastCommand")
475
- .sc(QueryForecast$)
476
- .build() {
468
+ const command = makeBuilder(commonParams, "AmazonForecastRuntime", "ForecastqueryClient", getEndpointPlugin);
469
+ const _ep0 = {};
470
+ const _mw0 = (Command, cs, config, o) => [];
471
+
472
+ class QueryForecastCommand extends command(_ep0, _mw0, "QueryForecast", QueryForecast$) {
477
473
  }
478
474
 
479
- class QueryWhatIfForecastCommand extends Command
480
- .classBuilder()
481
- .ep(commonParams)
482
- .m(function (Command, cs, config, o) {
483
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
484
- })
485
- .s("AmazonForecastRuntime", "QueryWhatIfForecast", {})
486
- .n("ForecastqueryClient", "QueryWhatIfForecastCommand")
487
- .sc(QueryWhatIfForecast$)
488
- .build() {
475
+ class QueryWhatIfForecastCommand extends command(_ep0, _mw0, "QueryWhatIfForecast", QueryWhatIfForecast$) {
489
476
  }
490
477
 
491
478
  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, "AmazonForecastRuntime", "ForecastqueryClient", 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 { QueryForecast$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class QueryForecastCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonForecastRuntime", "QueryForecast", {})
13
- .n("ForecastqueryClient", "QueryForecastCommand")
14
- .sc(QueryForecast$)
15
- .build() {
3
+ export class QueryForecastCommand extends command(_ep0, _mw0, "QueryForecast", QueryForecast$) {
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 { QueryWhatIfForecast$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class QueryWhatIfForecastCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonForecastRuntime", "QueryWhatIfForecast", {})
13
- .n("ForecastqueryClient", "QueryWhatIfForecastCommand")
14
- .sc(QueryWhatIfForecast$)
15
- .build() {
3
+ export class QueryWhatIfForecastCommand extends command(_ep0, _mw0, "QueryWhatIfForecast", QueryWhatIfForecast$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ForecastqueryClient";
2
2
  export * from "./Forecastquery";
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/errors";
6
7
  export * from "./models/models_0";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ForecastqueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ForecastqueryClient";
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, ForecastqueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ForecastqueryClientResolvedConfig, 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 { ForecastqueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ForecastqueryClient";
4
2
  import type { QueryForecastRequest, QueryForecastResponse } 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 QueryForecastCommandInput extends QueryForecastRequest {
22
19
  export interface QueryForecastCommandOutput extends QueryForecastResponse, __MetadataBearer {
23
20
  }
24
21
  declare const QueryForecastCommand_base: {
25
- new (input: QueryForecastCommandInput): import("@smithy/core/client").CommandImpl<QueryForecastCommandInput, QueryForecastCommandOutput, ForecastqueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: QueryForecastCommandInput): import("@smithy/core/client").CommandImpl<QueryForecastCommandInput, QueryForecastCommandOutput, ForecastqueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: QueryForecastCommandInput): import("@smithy/core/client").CommandImpl<QueryForecastCommandInput, QueryForecastCommandOutput, import("..").ForecastqueryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: QueryForecastCommandInput): import("@smithy/core/client").CommandImpl<QueryForecastCommandInput, QueryForecastCommandOutput, import("..").ForecastqueryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves a forecast for a single item, filtered by the supplied criteria.</p>
@@ -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 { ForecastqueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ForecastqueryClient";
4
2
  import type { QueryWhatIfForecastRequest, QueryWhatIfForecastResponse } 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 QueryWhatIfForecastCommandInput extends QueryWhatIfForecastRequ
22
19
  export interface QueryWhatIfForecastCommandOutput extends QueryWhatIfForecastResponse, __MetadataBearer {
23
20
  }
24
21
  declare const QueryWhatIfForecastCommand_base: {
25
- new (input: QueryWhatIfForecastCommandInput): import("@smithy/core/client").CommandImpl<QueryWhatIfForecastCommandInput, QueryWhatIfForecastCommandOutput, ForecastqueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: QueryWhatIfForecastCommandInput): import("@smithy/core/client").CommandImpl<QueryWhatIfForecastCommandInput, QueryWhatIfForecastCommandOutput, ForecastqueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: QueryWhatIfForecastCommandInput): import("@smithy/core/client").CommandImpl<QueryWhatIfForecastCommandInput, QueryWhatIfForecastCommandOutput, import("..").ForecastqueryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: QueryWhatIfForecastCommandInput): import("@smithy/core/client").CommandImpl<QueryWhatIfForecastCommandInput, QueryWhatIfForecastCommandOutput, import("..").ForecastqueryClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves a what-if forecast.</p>
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ForecastqueryExtensionConfiguration } 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/errors";
14
15
  export * from "./models/models_0";
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ ForecastqueryClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./ForecastqueryClient";
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
+ ForecastqueryClientResolvedConfig,
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
+ ForecastqueryClientResolvedConfig,
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
- ForecastqueryClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ForecastqueryClient";
8
2
  import {
9
3
  QueryForecastRequest,
10
4
  QueryForecastResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface QueryForecastCommandInput extends QueryForecastRequest {}
15
8
  export interface QueryForecastCommandOutput
16
9
  extends QueryForecastResponse,
@@ -21,22 +14,20 @@ declare const QueryForecastCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  QueryForecastCommandInput,
23
16
  QueryForecastCommandOutput,
24
- ForecastqueryClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").ForecastqueryClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: QueryForecastCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  QueryForecastCommandInput,
32
25
  QueryForecastCommandOutput,
33
- ForecastqueryClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").ForecastqueryClientResolvedConfig,
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 QueryForecastCommand extends QueryForecastCommand_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
- ForecastqueryClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ForecastqueryClient";
8
2
  import {
9
3
  QueryWhatIfForecastRequest,
10
4
  QueryWhatIfForecastResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface QueryWhatIfForecastCommandInput
15
8
  extends QueryWhatIfForecastRequest {}
16
9
  export interface QueryWhatIfForecastCommandOutput
@@ -22,22 +15,20 @@ declare const QueryWhatIfForecastCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  QueryWhatIfForecastCommandInput,
24
17
  QueryWhatIfForecastCommandOutput,
25
- ForecastqueryClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").ForecastqueryClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: QueryWhatIfForecastCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  QueryWhatIfForecastCommandInput,
33
26
  QueryWhatIfForecastCommandOutput,
34
- ForecastqueryClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").ForecastqueryClientResolvedConfig,
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 QueryWhatIfForecastCommand extends QueryWhatIfForecastCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ForecastqueryExtensionConfiguration } 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/errors";
9
10
  export * from "./models/models_0";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-forecastquery",
3
3
  "description": "AWS SDK for JavaScript Forecastquery Client for Node.js, Browser and React Native",
4
- "version": "3.1077.0",
4
+ "version": "3.1079.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.27",
23
+ "@aws-sdk/credential-provider-node": "^3.972.62",
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": {