@aws-sdk/client-appconfigdata 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
 
@@ -470,28 +471,14 @@ class AppConfigDataClient extends Client {
470
471
  }
471
472
  }
472
473
 
473
- class GetLatestConfigurationCommand extends Command
474
- .classBuilder()
475
- .ep(commonParams)
476
- .m(function (Command, cs, config, o) {
477
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
478
- })
479
- .s("AppConfigData", "GetLatestConfiguration", {})
480
- .n("AppConfigDataClient", "GetLatestConfigurationCommand")
481
- .sc(GetLatestConfiguration$)
482
- .build() {
474
+ const command = makeBuilder(commonParams, "AppConfigData", "AppConfigDataClient", getEndpointPlugin);
475
+ const _ep0 = {};
476
+ const _mw0 = (Command, cs, config, o) => [];
477
+
478
+ class GetLatestConfigurationCommand extends command(_ep0, _mw0, "GetLatestConfiguration", GetLatestConfiguration$) {
483
479
  }
484
480
 
485
- class StartConfigurationSessionCommand extends Command
486
- .classBuilder()
487
- .ep(commonParams)
488
- .m(function (Command, cs, config, o) {
489
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
490
- })
491
- .s("AppConfigData", "StartConfigurationSession", {})
492
- .n("AppConfigDataClient", "StartConfigurationSessionCommand")
493
- .sc(StartConfigurationSession$)
494
- .build() {
481
+ class StartConfigurationSessionCommand extends command(_ep0, _mw0, "StartConfigurationSession", StartConfigurationSession$) {
495
482
  }
496
483
 
497
484
  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, "AppConfigData", "AppConfigDataClient", 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 { GetLatestConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetLatestConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AppConfigData", "GetLatestConfiguration", {})
13
- .n("AppConfigDataClient", "GetLatestConfigurationCommand")
14
- .sc(GetLatestConfiguration$)
15
- .build() {
3
+ export class GetLatestConfigurationCommand extends command(_ep0, _mw0, "GetLatestConfiguration", GetLatestConfiguration$) {
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 { StartConfigurationSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartConfigurationSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AppConfigData", "StartConfigurationSession", {})
13
- .n("AppConfigDataClient", "StartConfigurationSessionCommand")
14
- .sc(StartConfigurationSession$)
15
- .build() {
3
+ export class StartConfigurationSessionCommand extends command(_ep0, _mw0, "StartConfigurationSession", StartConfigurationSession$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./AppConfigDataClient";
2
2
  export * from "./AppConfigData";
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 { AppConfigDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./AppConfigDataClient";
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, AppConfigDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, AppConfigDataClientResolvedConfig, 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,13 +1,10 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
3
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
- import type { AppConfigDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigDataClient";
5
3
  import type { GetLatestConfigurationRequest, GetLatestConfigurationResponse } from "../models/models_0";
6
4
  /**
7
5
  * @public
8
6
  */
9
7
  export type { __MetadataBearer };
10
- export { $Command };
11
8
  /**
12
9
  * @public
13
10
  *
@@ -29,11 +26,9 @@ export type GetLatestConfigurationCommandOutputType = Omit<GetLatestConfiguratio
29
26
  export interface GetLatestConfigurationCommandOutput extends GetLatestConfigurationCommandOutputType, __MetadataBearer {
30
27
  }
31
28
  declare const GetLatestConfigurationCommand_base: {
32
- new (input: GetLatestConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetLatestConfigurationCommandInput, GetLatestConfigurationCommandOutput, AppConfigDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
- new (input: GetLatestConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetLatestConfigurationCommandInput, GetLatestConfigurationCommandOutput, AppConfigDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
29
+ new (input: GetLatestConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetLatestConfigurationCommandInput, GetLatestConfigurationCommandOutput, import("..").AppConfigDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
30
+ new (input: GetLatestConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetLatestConfigurationCommandInput, GetLatestConfigurationCommandOutput, import("..").AppConfigDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
32
  };
38
33
  /**
39
34
  * <p>Retrieves the latest deployed configuration. This API may return empty configuration
@@ -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 { AppConfigDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigDataClient";
4
2
  import type { StartConfigurationSessionRequest, StartConfigurationSessionResponse } 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 StartConfigurationSessionCommandInput extends StartConfiguratio
22
19
  export interface StartConfigurationSessionCommandOutput extends StartConfigurationSessionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const StartConfigurationSessionCommand_base: {
25
- new (input: StartConfigurationSessionCommandInput): import("@smithy/core/client").CommandImpl<StartConfigurationSessionCommandInput, StartConfigurationSessionCommandOutput, AppConfigDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartConfigurationSessionCommandInput): import("@smithy/core/client").CommandImpl<StartConfigurationSessionCommandInput, StartConfigurationSessionCommandOutput, AppConfigDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: StartConfigurationSessionCommandInput): import("@smithy/core/client").CommandImpl<StartConfigurationSessionCommandInput, StartConfigurationSessionCommandOutput, import("..").AppConfigDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartConfigurationSessionCommandInput): import("@smithy/core/client").CommandImpl<StartConfigurationSessionCommandInput, StartConfigurationSessionCommandOutput, import("..").AppConfigDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Starts a configuration session used to retrieve a deployed configuration. For more
@@ -67,6 +67,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
67
67
  export type { RuntimeExtension } from "./runtimeExtensions";
68
68
  export type { AppConfigDataExtensionConfiguration } from "./extensionConfiguration";
69
69
  export * from "./commands";
70
+ export { Command as $Command } from "@smithy/core/client";
70
71
  export * from "./schemas/schemas_0";
71
72
  export * from "./models/enums";
72
73
  export * from "./models/errors";
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ AppConfigDataClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./AppConfigDataClient";
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
+ AppConfigDataClientResolvedConfig,
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
+ AppConfigDataClientResolvedConfig,
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,17 +1,10 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
3
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
- import {
5
- AppConfigDataClientResolvedConfig,
6
- ServiceInputTypes,
7
- ServiceOutputTypes,
8
- } from "../AppConfigDataClient";
9
3
  import {
10
4
  GetLatestConfigurationRequest,
11
5
  GetLatestConfigurationResponse,
12
6
  } from "../models/models_0";
13
7
  export { __MetadataBearer };
14
- export { $Command };
15
8
  export interface GetLatestConfigurationCommandInput
16
9
  extends GetLatestConfigurationRequest {}
17
10
  export type GetLatestConfigurationCommandOutputType = Pick<
@@ -29,22 +22,20 @@ declare const GetLatestConfigurationCommand_base: {
29
22
  ): import("@smithy/core/client").CommandImpl<
30
23
  GetLatestConfigurationCommandInput,
31
24
  GetLatestConfigurationCommandOutput,
32
- AppConfigDataClientResolvedConfig,
33
- ServiceInputTypes,
34
- ServiceOutputTypes
25
+ import("..").AppConfigDataClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
35
28
  >;
36
29
  new (
37
30
  input: GetLatestConfigurationCommandInput
38
31
  ): import("@smithy/core/client").CommandImpl<
39
32
  GetLatestConfigurationCommandInput,
40
33
  GetLatestConfigurationCommandOutput,
41
- AppConfigDataClientResolvedConfig,
42
- ServiceInputTypes,
43
- ServiceOutputTypes
34
+ import("..").AppConfigDataClientResolvedConfig,
35
+ import("..").ServiceInputTypes,
36
+ import("..").ServiceOutputTypes
44
37
  >;
45
- getEndpointParameterInstructions(): {
46
- [x: string]: unknown;
47
- };
38
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
48
39
  };
49
40
  export declare class GetLatestConfigurationCommand extends GetLatestConfigurationCommand_base {
50
41
  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
- AppConfigDataClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AppConfigDataClient";
8
2
  import {
9
3
  StartConfigurationSessionRequest,
10
4
  StartConfigurationSessionResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartConfigurationSessionCommandInput
15
8
  extends StartConfigurationSessionRequest {}
16
9
  export interface StartConfigurationSessionCommandOutput
@@ -22,22 +15,20 @@ declare const StartConfigurationSessionCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartConfigurationSessionCommandInput,
24
17
  StartConfigurationSessionCommandOutput,
25
- AppConfigDataClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").AppConfigDataClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartConfigurationSessionCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartConfigurationSessionCommandInput,
33
26
  StartConfigurationSessionCommandOutput,
34
- AppConfigDataClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").AppConfigDataClientResolvedConfig,
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 StartConfigurationSessionCommand extends StartConfigurationSessionCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { AppConfigDataExtensionConfiguration } 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-appconfigdata",
3
3
  "description": "AWS SDK for JavaScript Appconfigdata 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",
@@ -23,17 +23,17 @@
23
23
  "module": "./dist-es/index.js",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@aws-sdk/core": "^3.974.25",
27
- "@aws-sdk/credential-provider-node": "^3.972.60",
28
- "@aws-sdk/types": "^3.973.14",
29
- "@smithy/core": "^3.28.0",
30
- "@smithy/fetch-http-handler": "^5.6.1",
31
- "@smithy/node-http-handler": "^4.9.1",
32
- "@smithy/types": "^4.15.0",
26
+ "@aws-sdk/core": "^3.974.26",
27
+ "@aws-sdk/credential-provider-node": "^3.972.61",
28
+ "@aws-sdk/types": "^3.973.15",
29
+ "@smithy/core": "^3.29.0",
30
+ "@smithy/fetch-http-handler": "^5.6.2",
31
+ "@smithy/node-http-handler": "^4.9.2",
32
+ "@smithy/types": "^4.15.1",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@smithy/snapshot-testing": "^2.2.4",
36
+ "@smithy/snapshot-testing": "^2.2.5",
37
37
  "@tsconfig/node20": "20.1.8",
38
38
  "@types/node": "^20.14.8",
39
39
  "concurrently": "7.0.0",