@aws-sdk/client-appconfigdata 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/AppConfigData.d.ts +7 -9
- package/dist-types/ts3.4/AppConfigDataClient.d.ts +6 -16
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/GetLatestConfigurationCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/StartConfigurationSessionCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/models/errors.d.ts +4 -12
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -11,31 +11,29 @@ import {
|
|
|
11
11
|
export interface AppConfigData {
|
|
12
12
|
getLatestConfiguration(
|
|
13
13
|
args: GetLatestConfigurationCommandInput,
|
|
14
|
-
options?: __HttpHandlerOptions
|
|
14
|
+
options?: __HttpHandlerOptions,
|
|
15
15
|
): Promise<GetLatestConfigurationCommandOutput>;
|
|
16
16
|
getLatestConfiguration(
|
|
17
17
|
args: GetLatestConfigurationCommandInput,
|
|
18
|
-
cb: (err: any, data?: GetLatestConfigurationCommandOutput) => void
|
|
18
|
+
cb: (err: any, data?: GetLatestConfigurationCommandOutput) => void,
|
|
19
19
|
): void;
|
|
20
20
|
getLatestConfiguration(
|
|
21
21
|
args: GetLatestConfigurationCommandInput,
|
|
22
22
|
options: __HttpHandlerOptions,
|
|
23
|
-
cb: (err: any, data?: GetLatestConfigurationCommandOutput) => void
|
|
23
|
+
cb: (err: any, data?: GetLatestConfigurationCommandOutput) => void,
|
|
24
24
|
): void;
|
|
25
25
|
startConfigurationSession(
|
|
26
26
|
args: StartConfigurationSessionCommandInput,
|
|
27
|
-
options?: __HttpHandlerOptions
|
|
27
|
+
options?: __HttpHandlerOptions,
|
|
28
28
|
): Promise<StartConfigurationSessionCommandOutput>;
|
|
29
29
|
startConfigurationSession(
|
|
30
30
|
args: StartConfigurationSessionCommandInput,
|
|
31
|
-
cb: (err: any, data?: StartConfigurationSessionCommandOutput) => void
|
|
31
|
+
cb: (err: any, data?: StartConfigurationSessionCommandOutput) => void,
|
|
32
32
|
): void;
|
|
33
33
|
startConfigurationSession(
|
|
34
34
|
args: StartConfigurationSessionCommandInput,
|
|
35
35
|
options: __HttpHandlerOptions,
|
|
36
|
-
cb: (err: any, data?: StartConfigurationSessionCommandOutput) => void
|
|
36
|
+
cb: (err: any, data?: StartConfigurationSessionCommandOutput) => void,
|
|
37
37
|
): void;
|
|
38
38
|
}
|
|
39
|
-
export declare class AppConfigData
|
|
40
|
-
extends AppConfigDataClient
|
|
41
|
-
implements AppConfigData {}
|
|
39
|
+
export declare class AppConfigData extends AppConfigDataClient implements AppConfigData {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -57,8 +54,7 @@ export type ServiceInputTypes =
|
|
|
57
54
|
export type ServiceOutputTypes =
|
|
58
55
|
| GetLatestConfigurationCommandOutput
|
|
59
56
|
| StartConfigurationSessionCommandOutput;
|
|
60
|
-
export interface ClientDefaults
|
|
61
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
57
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
62
58
|
requestHandler?: __HttpHandlerUserInput;
|
|
63
59
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
64
60
|
urlParser?: __UrlParser;
|
|
@@ -83,9 +79,7 @@ export interface ClientDefaults
|
|
|
83
79
|
extensions?: RuntimeExtension[];
|
|
84
80
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
85
81
|
}
|
|
86
|
-
export type AppConfigDataClientConfigType = Partial<
|
|
87
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
88
|
-
> &
|
|
82
|
+
export type AppConfigDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
89
83
|
ClientDefaults &
|
|
90
84
|
UserAgentInputConfig &
|
|
91
85
|
RetryInputConfig &
|
|
@@ -94,8 +88,7 @@ export type AppConfigDataClientConfigType = Partial<
|
|
|
94
88
|
EndpointInputConfig<EndpointParameters> &
|
|
95
89
|
HttpAuthSchemeInputConfig &
|
|
96
90
|
ClientInputEndpointParameters;
|
|
97
|
-
export interface AppConfigDataClientConfig
|
|
98
|
-
extends AppConfigDataClientConfigType {}
|
|
91
|
+
export interface AppConfigDataClientConfig extends AppConfigDataClientConfigType {}
|
|
99
92
|
export type AppConfigDataClientResolvedConfigType =
|
|
100
93
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
101
94
|
Required<ClientDefaults> &
|
|
@@ -107,8 +100,7 @@ export type AppConfigDataClientResolvedConfigType =
|
|
|
107
100
|
EndpointResolvedConfig<EndpointParameters> &
|
|
108
101
|
HttpAuthSchemeResolvedConfig &
|
|
109
102
|
ClientResolvedEndpointParameters;
|
|
110
|
-
export interface AppConfigDataClientResolvedConfig
|
|
111
|
-
extends AppConfigDataClientResolvedConfigType {}
|
|
103
|
+
export interface AppConfigDataClientResolvedConfig extends AppConfigDataClientResolvedConfigType {}
|
|
112
104
|
export declare class AppConfigDataClient extends __Client<
|
|
113
105
|
__HttpHandlerOptions,
|
|
114
106
|
ServiceInputTypes,
|
|
@@ -116,8 +108,6 @@ export declare class AppConfigDataClient extends __Client<
|
|
|
116
108
|
AppConfigDataClientResolvedConfig
|
|
117
109
|
> {
|
|
118
110
|
readonly config: AppConfigDataClientResolvedConfig;
|
|
119
|
-
constructor(
|
|
120
|
-
...[configuration]: __CheckOptionalClientConfig<AppConfigDataClientConfig>
|
|
121
|
-
);
|
|
111
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<AppConfigDataClientConfig>);
|
|
122
112
|
destroy(): void;
|
|
123
113
|
}
|
|
@@ -7,17 +7,10 @@ import { AppConfigDataHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: AppConfigDataHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: AppConfigDataHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): AppConfigDataHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { AppConfigDataClientResolvedConfig } from "../AppConfigDataClient";
|
|
15
|
-
export interface AppConfigDataHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface AppConfigDataHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface AppConfigDataHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface AppConfigDataHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
AppConfigDataClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
AppConfigDataHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultAppConfigDataHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: AppConfigDataClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<AppConfigDataHttpAuthSchemeParameters>;
|
|
31
|
-
export interface AppConfigDataHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<AppConfigDataHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface AppConfigDataHttpAuthSchemeProvider extends HttpAuthSchemeProvider<AppConfigDataHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultAppConfigDataHttpAuthSchemeProvider: AppConfigDataHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: AppConfigDataHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: AppConfigDataHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./AppConfigDataClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
AppConfigDataClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
GetLatestConfigurationRequest,
|
|
5
|
-
GetLatestConfigurationResponse,
|
|
6
|
-
} from "../models/models_0";
|
|
3
|
+
import { GetLatestConfigurationRequest, GetLatestConfigurationResponse } from "../models/models_0";
|
|
7
4
|
export { __MetadataBearer };
|
|
8
|
-
export interface GetLatestConfigurationCommandInput
|
|
9
|
-
extends GetLatestConfigurationRequest {}
|
|
5
|
+
export interface GetLatestConfigurationCommandInput extends GetLatestConfigurationRequest {}
|
|
10
6
|
export type GetLatestConfigurationCommandOutputType = Pick<
|
|
11
7
|
GetLatestConfigurationResponse,
|
|
12
8
|
Exclude<keyof GetLatestConfigurationResponse, "Configuration">
|
|
@@ -14,11 +10,10 @@ export type GetLatestConfigurationCommandOutputType = Pick<
|
|
|
14
10
|
Configuration?: Uint8ArrayBlobAdapter;
|
|
15
11
|
};
|
|
16
12
|
export interface GetLatestConfigurationCommandOutput
|
|
17
|
-
extends GetLatestConfigurationCommandOutputType,
|
|
18
|
-
__MetadataBearer {}
|
|
13
|
+
extends GetLatestConfigurationCommandOutputType, __MetadataBearer {}
|
|
19
14
|
declare const GetLatestConfigurationCommand_base: {
|
|
20
15
|
new (
|
|
21
|
-
input: GetLatestConfigurationCommandInput
|
|
16
|
+
input: GetLatestConfigurationCommandInput,
|
|
22
17
|
): import("@smithy/core/client").CommandImpl<
|
|
23
18
|
GetLatestConfigurationCommandInput,
|
|
24
19
|
GetLatestConfigurationCommandOutput,
|
|
@@ -27,7 +22,7 @@ declare const GetLatestConfigurationCommand_base: {
|
|
|
27
22
|
import("..").ServiceOutputTypes
|
|
28
23
|
>;
|
|
29
24
|
new (
|
|
30
|
-
input: GetLatestConfigurationCommandInput
|
|
25
|
+
input: GetLatestConfigurationCommandInput,
|
|
31
26
|
): import("@smithy/core/client").CommandImpl<
|
|
32
27
|
GetLatestConfigurationCommandInput,
|
|
33
28
|
GetLatestConfigurationCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
StartConfigurationSessionResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface StartConfigurationSessionCommandInput
|
|
8
|
-
extends StartConfigurationSessionRequest {}
|
|
7
|
+
export interface StartConfigurationSessionCommandInput extends StartConfigurationSessionRequest {}
|
|
9
8
|
export interface StartConfigurationSessionCommandOutput
|
|
10
|
-
extends StartConfigurationSessionResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends StartConfigurationSessionResponse, __MetadataBearer {}
|
|
12
10
|
declare const StartConfigurationSessionCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: StartConfigurationSessionCommandInput
|
|
12
|
+
input: StartConfigurationSessionCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
StartConfigurationSessionCommandInput,
|
|
17
15
|
StartConfigurationSessionCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const StartConfigurationSessionCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: StartConfigurationSessionCommandInput
|
|
21
|
+
input: StartConfigurationSessionCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
StartConfigurationSessionCommandInput,
|
|
26
24
|
StartConfigurationSessionCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface AppConfigDataExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -8,8 +8,7 @@ export type InvalidParameterProblem =
|
|
|
8
8
|
export declare const BadRequestReason: {
|
|
9
9
|
readonly INVALID_PARAMETERS: "InvalidParameters";
|
|
10
10
|
};
|
|
11
|
-
export type BadRequestReason =
|
|
12
|
-
(typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
11
|
+
export type BadRequestReason = (typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
13
12
|
export declare const ResourceType: {
|
|
14
13
|
readonly APPLICATION: "Application";
|
|
15
14
|
readonly CONFIGURATION: "Configuration";
|
|
@@ -8,17 +8,13 @@ export declare class BadRequestException extends __BaseException {
|
|
|
8
8
|
Message?: string | undefined;
|
|
9
9
|
Reason?: BadRequestReason | undefined;
|
|
10
10
|
Details?: BadRequestDetails | undefined;
|
|
11
|
-
constructor(
|
|
12
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
13
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
14
12
|
}
|
|
15
13
|
export declare class InternalServerException extends __BaseException {
|
|
16
14
|
readonly name: "InternalServerException";
|
|
17
15
|
readonly $fault: "server";
|
|
18
16
|
Message?: string | undefined;
|
|
19
|
-
constructor(
|
|
20
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
21
|
-
);
|
|
17
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
22
18
|
}
|
|
23
19
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
24
20
|
readonly name: "ResourceNotFoundException";
|
|
@@ -26,15 +22,11 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
26
22
|
Message?: string | undefined;
|
|
27
23
|
ResourceType?: ResourceType | undefined;
|
|
28
24
|
ReferencedBy?: Record<string, string> | undefined;
|
|
29
|
-
constructor(
|
|
30
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
31
|
-
);
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
32
26
|
}
|
|
33
27
|
export declare class ThrottlingException extends __BaseException {
|
|
34
28
|
readonly name: "ThrottlingException";
|
|
35
29
|
readonly $fault: "client";
|
|
36
30
|
Message?: string | undefined;
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
39
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
40
32
|
}
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: AppConfigDataClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppConfigDataHttpAuthSchemeProvider;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appconfigdata",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Appconfigdata Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appconfigdata",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-appconfigdata"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -18,22 +49,18 @@
|
|
|
18
49
|
"test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
|
|
19
50
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
20
51
|
},
|
|
21
|
-
"main": "./dist-cjs/index.js",
|
|
22
|
-
"types": "./dist-types/index.d.ts",
|
|
23
|
-
"module": "./dist-es/index.js",
|
|
24
|
-
"sideEffects": false,
|
|
25
52
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/core": "^3.975.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/types": "^3.974.
|
|
29
|
-
"@smithy/core": "^3.29.
|
|
30
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
31
|
-
"@smithy/node-http-handler": "^4.9.
|
|
53
|
+
"@aws-sdk/core": "^3.975.3",
|
|
54
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
55
|
+
"@aws-sdk/types": "^3.974.2",
|
|
56
|
+
"@smithy/core": "^3.29.4",
|
|
57
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
58
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
32
59
|
"@smithy/types": "^4.16.1",
|
|
33
60
|
"tslib": "^2.6.2"
|
|
34
61
|
},
|
|
35
62
|
"devDependencies": {
|
|
36
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
63
|
+
"@smithy/snapshot-testing": "^2.2.9",
|
|
37
64
|
"@tsconfig/node20": "20.1.8",
|
|
38
65
|
"@types/node": "^20.14.8",
|
|
39
66
|
"concurrently": "7.0.0",
|
|
@@ -44,32 +71,5 @@
|
|
|
44
71
|
},
|
|
45
72
|
"engines": {
|
|
46
73
|
"node": ">=20.0.0"
|
|
47
|
-
},
|
|
48
|
-
"typesVersions": {
|
|
49
|
-
"<4.5": {
|
|
50
|
-
"dist-types/*": [
|
|
51
|
-
"dist-types/ts3.4/*"
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"files": [
|
|
56
|
-
"dist-*/**"
|
|
57
|
-
],
|
|
58
|
-
"author": {
|
|
59
|
-
"name": "AWS SDK for JavaScript Team",
|
|
60
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
61
|
-
},
|
|
62
|
-
"license": "Apache-2.0",
|
|
63
|
-
"browser": {
|
|
64
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
65
|
-
},
|
|
66
|
-
"react-native": {
|
|
67
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
68
|
-
},
|
|
69
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appconfigdata",
|
|
70
|
-
"repository": {
|
|
71
|
-
"type": "git",
|
|
72
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
73
|
-
"directory": "clients/client-appconfigdata"
|
|
74
74
|
}
|
|
75
75
|
}
|