@aws-sdk/client-simpledbv2 3.1007.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/LICENSE +201 -0
- package/README.md +231 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +252 -0
- package/dist-cjs/models/SimpleDBv2ServiceException.js +12 -0
- package/dist-cjs/models/errors.js +95 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +146 -0
- package/dist-es/SimpleDBv2.js +21 -0
- package/dist-es/SimpleDBv2Client.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/GetExportCommand.js +16 -0
- package/dist-es/commands/ListExportsCommand.js +16 -0
- package/dist-es/commands/StartDomainExportCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/SimpleDBv2ServiceException.js +8 -0
- package/dist-es/models/enums.js +10 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListExportsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +143 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForExportSucceeded.js +40 -0
- package/dist-types/SimpleDBv2.d.ts +55 -0
- package/dist-types/SimpleDBv2Client.d.ts +199 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/GetExportCommand.d.ts +115 -0
- package/dist-types/commands/ListExportsCommand.d.ts +113 -0
- package/dist-types/commands/StartDomainExportCommand.d.ts +115 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +27 -0
- package/dist-types/models/SimpleDBv2ServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +26 -0
- package/dist-types/models/errors.d.ts +86 -0
- package/dist-types/models/models_0.d.ts +227 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListExportsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +26 -0
- package/dist-types/ts3.4/SimpleDBv2.d.ts +81 -0
- package/dist-types/ts3.4/SimpleDBv2Client.d.ts +137 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartDomainExportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/SimpleDBv2ServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForExportSucceeded.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForExportSucceeded.d.ts +14 -0
- package/package.json +101 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { SimpleDBv2ClientConfig } from "./SimpleDBv2Client";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SimpleDBv2ClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
|
+
defaultUserAgentProvider: (
|
|
15
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
16
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
21
|
+
| RequestHandler;
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
39
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
40
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
42
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
44
|
+
disableHostPrefix: boolean;
|
|
45
|
+
serviceId: string;
|
|
46
|
+
profile?: string;
|
|
47
|
+
logger: import("@smithy/types").Logger;
|
|
48
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
49
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
|
+
userAgentAppId?:
|
|
51
|
+
| string
|
|
52
|
+
| undefined
|
|
53
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
retryStrategy?:
|
|
55
|
+
| import("@smithy/types").RetryStrategy
|
|
56
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
57
|
+
endpoint?:
|
|
58
|
+
| ((
|
|
59
|
+
| string
|
|
60
|
+
| import("@smithy/types").Endpoint
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
62
|
+
| import("@smithy/types").EndpointV2
|
|
63
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
64
|
+
) &
|
|
65
|
+
(
|
|
66
|
+
| string
|
|
67
|
+
| import("@smithy/types").Provider<string>
|
|
68
|
+
| import("@smithy/types").Endpoint
|
|
69
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
70
|
+
| import("@smithy/types").EndpointV2
|
|
71
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
72
|
+
))
|
|
73
|
+
| undefined;
|
|
74
|
+
endpointProvider: (
|
|
75
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
76
|
+
context?: {
|
|
77
|
+
logger?: import("@smithy/types").Logger;
|
|
78
|
+
}
|
|
79
|
+
) => import("@smithy/types").EndpointV2;
|
|
80
|
+
tls?: boolean;
|
|
81
|
+
serviceConfiguredEndpoint?: never;
|
|
82
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
83
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
84
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SimpleDBv2HttpAuthSchemeProvider;
|
|
85
|
+
credentials?:
|
|
86
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
87
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
88
|
+
signer?:
|
|
89
|
+
| import("@smithy/types").RequestSigner
|
|
90
|
+
| ((
|
|
91
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
92
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
93
|
+
signingEscapePath?: boolean;
|
|
94
|
+
systemClockOffset?: number;
|
|
95
|
+
signingRegion?: string;
|
|
96
|
+
signerConstructor?: new (
|
|
97
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
98
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
99
|
+
) => import("@smithy/types").RequestSigner;
|
|
100
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { SimpleDBv2ClientConfig } from "./SimpleDBv2Client";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SimpleDBv2ClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider:
|
|
11
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
|
+
| ((
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
|
+
defaultUserAgentProvider: (
|
|
16
|
+
config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
17
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
+
requestHandler:
|
|
21
|
+
| RequestHandler
|
|
22
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
23
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
25
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
26
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
39
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
40
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
42
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
44
|
+
disableHostPrefix: boolean;
|
|
45
|
+
serviceId: string;
|
|
46
|
+
profile?: string;
|
|
47
|
+
logger: import("@smithy/types").Logger;
|
|
48
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
49
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
|
+
retryStrategy?:
|
|
51
|
+
| import("@smithy/types").RetryStrategy
|
|
52
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
endpoint?:
|
|
54
|
+
| ((
|
|
55
|
+
| string
|
|
56
|
+
| import("@smithy/types").Endpoint
|
|
57
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
58
|
+
| import("@smithy/types").EndpointV2
|
|
59
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
60
|
+
) &
|
|
61
|
+
(
|
|
62
|
+
| string
|
|
63
|
+
| import("@smithy/types").Provider<string>
|
|
64
|
+
| import("@smithy/types").Endpoint
|
|
65
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
66
|
+
| import("@smithy/types").EndpointV2
|
|
67
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
68
|
+
))
|
|
69
|
+
| undefined;
|
|
70
|
+
endpointProvider: (
|
|
71
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
72
|
+
context?: {
|
|
73
|
+
logger?: import("@smithy/types").Logger;
|
|
74
|
+
}
|
|
75
|
+
) => import("@smithy/types").EndpointV2;
|
|
76
|
+
tls?: boolean;
|
|
77
|
+
serviceConfiguredEndpoint?: never;
|
|
78
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
79
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SimpleDBv2HttpAuthSchemeProvider;
|
|
80
|
+
credentials?:
|
|
81
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
82
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
83
|
+
signer?:
|
|
84
|
+
| import("@smithy/types").RequestSigner
|
|
85
|
+
| ((
|
|
86
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
87
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
88
|
+
signingEscapePath?: boolean;
|
|
89
|
+
systemClockOffset?: number;
|
|
90
|
+
signingRegion?: string;
|
|
91
|
+
signerConstructor?: new (
|
|
92
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
|
+
) => import("@smithy/types").RequestSigner;
|
|
95
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { SimpleDBv2ClientConfig } from "./SimpleDBv2Client";
|
|
2
|
+
export declare const getRuntimeConfig: (config: SimpleDBv2ClientConfig) => {
|
|
3
|
+
runtime: string;
|
|
4
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
5
|
+
requestHandler:
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
+
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
22
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
24
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
28
|
+
disableHostPrefix: boolean;
|
|
29
|
+
serviceId: string;
|
|
30
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
32
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
34
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
35
|
+
profile?: string;
|
|
36
|
+
defaultUserAgentProvider: (
|
|
37
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
38
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
39
|
+
credentialDefaultProvider:
|
|
40
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
41
|
+
| ((
|
|
42
|
+
_: unknown
|
|
43
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
44
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
45
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
46
|
+
logger: import("@smithy/types").Logger;
|
|
47
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
48
|
+
defaultsMode:
|
|
49
|
+
| import("@smithy/smithy-client").DefaultsMode
|
|
50
|
+
| import("@smithy/types").Provider<
|
|
51
|
+
import("@smithy/smithy-client").DefaultsMode
|
|
52
|
+
>;
|
|
53
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
54
|
+
userAgentAppId?:
|
|
55
|
+
| string
|
|
56
|
+
| undefined
|
|
57
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
58
|
+
retryStrategy?:
|
|
59
|
+
| import("@smithy/types").RetryStrategy
|
|
60
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
61
|
+
endpoint?:
|
|
62
|
+
| ((
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Endpoint
|
|
65
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
66
|
+
| import("@smithy/types").EndpointV2
|
|
67
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
68
|
+
) &
|
|
69
|
+
(
|
|
70
|
+
| string
|
|
71
|
+
| import("@smithy/types").Provider<string>
|
|
72
|
+
| import("@smithy/types").Endpoint
|
|
73
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
74
|
+
| import("@smithy/types").EndpointV2
|
|
75
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
76
|
+
))
|
|
77
|
+
| undefined;
|
|
78
|
+
endpointProvider: (
|
|
79
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
|
+
context?: {
|
|
81
|
+
logger?: import("@smithy/types").Logger;
|
|
82
|
+
}
|
|
83
|
+
) => import("@smithy/types").EndpointV2;
|
|
84
|
+
tls?: boolean;
|
|
85
|
+
serviceConfiguredEndpoint?: never;
|
|
86
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
87
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
88
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SimpleDBv2HttpAuthSchemeProvider;
|
|
89
|
+
credentials?:
|
|
90
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
91
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
92
|
+
signer?:
|
|
93
|
+
| import("@smithy/types").RequestSigner
|
|
94
|
+
| ((
|
|
95
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
96
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
97
|
+
signingEscapePath?: boolean;
|
|
98
|
+
systemClockOffset?: number;
|
|
99
|
+
signingRegion?: string;
|
|
100
|
+
signerConstructor?: new (
|
|
101
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
102
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
103
|
+
) => import("@smithy/types").RequestSigner;
|
|
104
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import { SimpleDBv2ClientConfig } from "./SimpleDBv2Client";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SimpleDBv2ClientConfig) => {
|
|
4
|
+
apiVersion: string;
|
|
5
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
6
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
7
|
+
disableHostPrefix: boolean;
|
|
8
|
+
endpointProvider: (
|
|
9
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
|
+
context?: {
|
|
11
|
+
logger?: import("@smithy/types").Logger;
|
|
12
|
+
}
|
|
13
|
+
) => import("@smithy/types").EndpointV2;
|
|
14
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SimpleDBv2HttpAuthSchemeProvider;
|
|
16
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
17
|
+
logger: import("@smithy/types").Logger;
|
|
18
|
+
protocol:
|
|
19
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
20
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
21
|
+
| typeof AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
};
|
|
26
|
+
serviceId: string;
|
|
27
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
28
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SimpleDBv2ExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: SimpleDBv2ExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[]
|
|
11
|
+
) => any;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import {
|
|
3
|
+
StaticErrorSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export declare var SimpleDBv2ServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
9
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
10
|
+
export declare var InvalidParameterCombinationException$: StaticErrorSchema;
|
|
11
|
+
export declare var InvalidParameterValueException$: StaticErrorSchema;
|
|
12
|
+
export declare var NoSuchDomainException$: StaticErrorSchema;
|
|
13
|
+
export declare var NoSuchExportException$: StaticErrorSchema;
|
|
14
|
+
export declare var NumberExportsLimitExceeded$: StaticErrorSchema;
|
|
15
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
16
|
+
export declare var ExportSummary$: StaticStructureSchema;
|
|
17
|
+
export declare var GetExportRequest$: StaticStructureSchema;
|
|
18
|
+
export declare var GetExportResponse$: StaticStructureSchema;
|
|
19
|
+
export declare var ListExportsRequest$: StaticStructureSchema;
|
|
20
|
+
export declare var ListExportsResponse$: StaticStructureSchema;
|
|
21
|
+
export declare var StartDomainExportRequest$: StaticStructureSchema;
|
|
22
|
+
export declare var StartDomainExportResponse$: StaticStructureSchema;
|
|
23
|
+
export declare var GetExport$: StaticOperationSchema;
|
|
24
|
+
export declare var ListExports$: StaticOperationSchema;
|
|
25
|
+
export declare var StartDomainExport$: StaticOperationSchema;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForExportSucceeded";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { GetExportCommandInput } from "../commands/GetExportCommand";
|
|
3
|
+
import { SimpleDBv2Client } from "../SimpleDBv2Client";
|
|
4
|
+
export declare const waitForExportSucceeded: (
|
|
5
|
+
params: WaiterConfiguration<SimpleDBv2Client>,
|
|
6
|
+
input: GetExportCommandInput
|
|
7
|
+
) => Promise<WaiterResult>;
|
|
8
|
+
export declare const waitUntilExportSucceeded: (
|
|
9
|
+
params: WaiterConfiguration<SimpleDBv2Client>,
|
|
10
|
+
input: GetExportCommandInput
|
|
11
|
+
) => Promise<WaiterResult>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForExportSucceeded";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { GetExportCommandInput } from "../commands/GetExportCommand";
|
|
3
|
+
import { SimpleDBv2Client } from "../SimpleDBv2Client";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated Use waitUntilExportSucceeded instead. waitForExportSucceeded does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForExportSucceeded: (params: WaiterConfiguration<SimpleDBv2Client>, input: GetExportCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to GetExportCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilExportSucceeded: (params: WaiterConfiguration<SimpleDBv2Client>, input: GetExportCommandInput) => Promise<WaiterResult>;
|
package/package.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/client-simpledbv2",
|
|
3
|
+
"description": "AWS SDK for JavaScript Simpledbv2 Client for Node.js, Browser and React Native",
|
|
4
|
+
"version": "3.1007.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-simpledbv2",
|
|
8
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
15
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo simpledbv2"
|
|
16
|
+
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
20
|
+
"sideEffects": false,
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
+
"@aws-sdk/core": "^3.973.19",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.19",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.7",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.7",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.7",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.20",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.7",
|
|
31
|
+
"@aws-sdk/types": "^3.973.5",
|
|
32
|
+
"@aws-sdk/util-endpoints": "^3.996.4",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.7",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.5",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.10",
|
|
36
|
+
"@smithy/core": "^3.23.9",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.13",
|
|
38
|
+
"@smithy/hash-node": "^4.2.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.11",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.23",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.40",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.12",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.11",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.11",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.14",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.11",
|
|
48
|
+
"@smithy/smithy-client": "^4.12.3",
|
|
49
|
+
"@smithy/types": "^4.13.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.11",
|
|
51
|
+
"@smithy/util-base64": "^4.3.2",
|
|
52
|
+
"@smithy/util-body-length-browser": "^4.2.2",
|
|
53
|
+
"@smithy/util-body-length-node": "^4.2.3",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.39",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.42",
|
|
56
|
+
"@smithy/util-endpoints": "^3.3.2",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.11",
|
|
58
|
+
"@smithy/util-retry": "^4.2.11",
|
|
59
|
+
"@smithy/util-utf8": "^4.2.2",
|
|
60
|
+
"@smithy/util-waiter": "^4.2.12",
|
|
61
|
+
"tslib": "^2.6.2"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@tsconfig/node20": "20.1.8",
|
|
65
|
+
"@types/node": "^20.14.8",
|
|
66
|
+
"concurrently": "7.0.0",
|
|
67
|
+
"downlevel-dts": "0.10.1",
|
|
68
|
+
"premove": "4.0.0",
|
|
69
|
+
"typescript": "~5.8.3"
|
|
70
|
+
},
|
|
71
|
+
"engines": {
|
|
72
|
+
"node": ">=20.0.0"
|
|
73
|
+
},
|
|
74
|
+
"typesVersions": {
|
|
75
|
+
"<4.5": {
|
|
76
|
+
"dist-types/*": [
|
|
77
|
+
"dist-types/ts3.4/*"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"files": [
|
|
82
|
+
"dist-*/**"
|
|
83
|
+
],
|
|
84
|
+
"author": {
|
|
85
|
+
"name": "AWS SDK for JavaScript Team",
|
|
86
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
87
|
+
},
|
|
88
|
+
"license": "Apache-2.0",
|
|
89
|
+
"browser": {
|
|
90
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
91
|
+
},
|
|
92
|
+
"react-native": {
|
|
93
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
94
|
+
},
|
|
95
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-simpledbv2",
|
|
96
|
+
"repository": {
|
|
97
|
+
"type": "git",
|
|
98
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
99
|
+
"directory": "clients/client-simpledbv2"
|
|
100
|
+
}
|
|
101
|
+
}
|