@aws-sdk/client-appconfigdata 3.1137.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.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -252,10 +252,10 @@ const _hQ = "httpQuery";
|
|
|
252
252
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.appconfigdata";
|
|
253
253
|
const _se = "server";
|
|
254
254
|
const n0 = "com.amazonaws.appconfigdata";
|
|
255
|
-
const _s_registry = TypeRegistry
|
|
255
|
+
const _s_registry = new TypeRegistry(_s);
|
|
256
256
|
var AppConfigDataServiceException$ = [-3, _s, "AppConfigDataServiceException", 0, [], []];
|
|
257
257
|
_s_registry.registerError(AppConfigDataServiceException$, AppConfigDataServiceException);
|
|
258
|
-
const n0_registry = TypeRegistry
|
|
258
|
+
const n0_registry = new TypeRegistry(n0);
|
|
259
259
|
var BadRequestException$ = [-3, n0, _BRE,
|
|
260
260
|
{ [_e]: _c, [_hE]: 400 },
|
|
261
261
|
[_M, _R, _D],
|
|
@@ -47,10 +47,10 @@ const n0 = "com.amazonaws.appconfigdata";
|
|
|
47
47
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
48
48
|
import { AppConfigDataServiceException } from "../models/AppConfigDataServiceException";
|
|
49
49
|
import { BadRequestException, InternalServerException, ResourceNotFoundException, ThrottlingException, } from "../models/errors";
|
|
50
|
-
const _s_registry = TypeRegistry
|
|
50
|
+
const _s_registry = new TypeRegistry(_s);
|
|
51
51
|
export var AppConfigDataServiceException$ = [-3, _s, "AppConfigDataServiceException", 0, [], []];
|
|
52
52
|
_s_registry.registerError(AppConfigDataServiceException$, AppConfigDataServiceException);
|
|
53
|
-
const n0_registry = TypeRegistry
|
|
53
|
+
const n0_registry = new TypeRegistry(n0);
|
|
54
54
|
export var BadRequestException$ = [-3, n0, _BRE,
|
|
55
55
|
{ [_e]: _c, [_hE]: 400 },
|
|
56
56
|
[_M, _R, _D],
|
|
@@ -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 { AppConfigDataClient } from "./AppConfigDataClient";
|
|
3
3
|
import { type GetLatestConfigurationCommandInput, type GetLatestConfigurationCommandOutput } from "./commands/GetLatestConfigurationCommand";
|
|
4
4
|
import { type StartConfigurationSessionCommandInput, type StartConfigurationSessionCommandOutput } from "./commands/StartConfigurationSessionCommand";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface AppConfigDataRequestOptions extends __HttpHandlerOptions {
|
|
9
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
10
|
+
}
|
|
5
11
|
export interface AppConfigData {
|
|
6
12
|
/**
|
|
7
13
|
* @see {@link GetLatestConfigurationCommand}
|
|
8
14
|
*/
|
|
9
|
-
getLatestConfiguration(args: GetLatestConfigurationCommandInput, options?:
|
|
15
|
+
getLatestConfiguration(args: GetLatestConfigurationCommandInput, options?: AppConfigDataRequestOptions): Promise<GetLatestConfigurationCommandOutput>;
|
|
10
16
|
getLatestConfiguration(args: GetLatestConfigurationCommandInput, cb: (err: any, data?: GetLatestConfigurationCommandOutput) => void): void;
|
|
11
|
-
getLatestConfiguration(args: GetLatestConfigurationCommandInput, options:
|
|
17
|
+
getLatestConfiguration(args: GetLatestConfigurationCommandInput, options: AppConfigDataRequestOptions, cb: (err: any, data?: GetLatestConfigurationCommandOutput) => void): void;
|
|
12
18
|
/**
|
|
13
19
|
* @see {@link StartConfigurationSessionCommand}
|
|
14
20
|
*/
|
|
15
|
-
startConfigurationSession(args: StartConfigurationSessionCommandInput, options?:
|
|
21
|
+
startConfigurationSession(args: StartConfigurationSessionCommandInput, options?: AppConfigDataRequestOptions): Promise<StartConfigurationSessionCommandOutput>;
|
|
16
22
|
startConfigurationSession(args: StartConfigurationSessionCommandInput, cb: (err: any, data?: StartConfigurationSessionCommandOutput) => void): void;
|
|
17
|
-
startConfigurationSession(args: StartConfigurationSessionCommandInput, options:
|
|
23
|
+
startConfigurationSession(args: StartConfigurationSessionCommandInput, options: AppConfigDataRequestOptions, cb: (err: any, data?: StartConfigurationSessionCommandOutput) => void): void;
|
|
18
24
|
}
|
|
19
25
|
/**
|
|
20
26
|
* <p>AppConfig Data provides the data plane APIs your application uses to retrieve
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import { AppConfigDataClient } from "./AppConfigDataClient";
|
|
3
6
|
import {
|
|
4
7
|
GetLatestConfigurationCommandInput,
|
|
@@ -8,10 +11,13 @@ import {
|
|
|
8
11
|
StartConfigurationSessionCommandInput,
|
|
9
12
|
StartConfigurationSessionCommandOutput,
|
|
10
13
|
} from "./commands/StartConfigurationSessionCommand";
|
|
14
|
+
export interface AppConfigDataRequestOptions extends __HttpHandlerOptions {
|
|
15
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
16
|
+
}
|
|
11
17
|
export interface AppConfigData {
|
|
12
18
|
getLatestConfiguration(
|
|
13
19
|
args: GetLatestConfigurationCommandInput,
|
|
14
|
-
options?:
|
|
20
|
+
options?: AppConfigDataRequestOptions,
|
|
15
21
|
): Promise<GetLatestConfigurationCommandOutput>;
|
|
16
22
|
getLatestConfiguration(
|
|
17
23
|
args: GetLatestConfigurationCommandInput,
|
|
@@ -19,12 +25,12 @@ export interface AppConfigData {
|
|
|
19
25
|
): void;
|
|
20
26
|
getLatestConfiguration(
|
|
21
27
|
args: GetLatestConfigurationCommandInput,
|
|
22
|
-
options:
|
|
28
|
+
options: AppConfigDataRequestOptions,
|
|
23
29
|
cb: (err: any, data?: GetLatestConfigurationCommandOutput) => void,
|
|
24
30
|
): void;
|
|
25
31
|
startConfigurationSession(
|
|
26
32
|
args: StartConfigurationSessionCommandInput,
|
|
27
|
-
options?:
|
|
33
|
+
options?: AppConfigDataRequestOptions,
|
|
28
34
|
): Promise<StartConfigurationSessionCommandOutput>;
|
|
29
35
|
startConfigurationSession(
|
|
30
36
|
args: StartConfigurationSessionCommandInput,
|
|
@@ -32,7 +38,7 @@ export interface AppConfigData {
|
|
|
32
38
|
): void;
|
|
33
39
|
startConfigurationSession(
|
|
34
40
|
args: StartConfigurationSessionCommandInput,
|
|
35
|
-
options:
|
|
41
|
+
options: AppConfigDataRequestOptions,
|
|
36
42
|
cb: (err: any, data?: StartConfigurationSessionCommandOutput) => void,
|
|
37
43
|
): void;
|
|
38
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appconfigdata",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Appconfigdata Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appconfigdata",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/core": "^3.978.
|
|
54
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
55
|
-
"@aws-sdk/types": "^3.974.
|
|
56
|
-
"@smithy/core": "^3.
|
|
57
|
-
"@smithy/fetch-http-handler": "^5.
|
|
58
|
-
"@smithy/node-http-handler": "^4.
|
|
59
|
-
"@smithy/types": "^4.
|
|
53
|
+
"@aws-sdk/core": "^3.978.1",
|
|
54
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
55
|
+
"@aws-sdk/types": "^3.974.6",
|
|
56
|
+
"@smithy/core": "^3.35.0",
|
|
57
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
58
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
59
|
+
"@smithy/types": "^4.19.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|