@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,137 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
UserAgentInputConfig,
|
|
7
|
+
UserAgentResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import {
|
|
10
|
+
RegionInputConfig,
|
|
11
|
+
RegionResolvedConfig,
|
|
12
|
+
} from "@smithy/config-resolver";
|
|
13
|
+
import {
|
|
14
|
+
EndpointInputConfig,
|
|
15
|
+
EndpointResolvedConfig,
|
|
16
|
+
} from "@smithy/middleware-endpoint";
|
|
17
|
+
import {
|
|
18
|
+
RetryInputConfig,
|
|
19
|
+
RetryResolvedConfig,
|
|
20
|
+
} from "@smithy/middleware-retry";
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
|
+
import {
|
|
23
|
+
DefaultsMode as __DefaultsMode,
|
|
24
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
25
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import {
|
|
29
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
+
Decoder as __Decoder,
|
|
33
|
+
Encoder as __Encoder,
|
|
34
|
+
HashConstructor as __HashConstructor,
|
|
35
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
36
|
+
Logger as __Logger,
|
|
37
|
+
Provider as __Provider,
|
|
38
|
+
StreamCollector as __StreamCollector,
|
|
39
|
+
UrlParser as __UrlParser,
|
|
40
|
+
AwsCredentialIdentityProvider,
|
|
41
|
+
Provider,
|
|
42
|
+
UserAgent as __UserAgent,
|
|
43
|
+
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
GetExportCommandInput,
|
|
50
|
+
GetExportCommandOutput,
|
|
51
|
+
} from "./commands/GetExportCommand";
|
|
52
|
+
import {
|
|
53
|
+
ListExportsCommandInput,
|
|
54
|
+
ListExportsCommandOutput,
|
|
55
|
+
} from "./commands/ListExportsCommand";
|
|
56
|
+
import {
|
|
57
|
+
StartDomainExportCommandInput,
|
|
58
|
+
StartDomainExportCommandOutput,
|
|
59
|
+
} from "./commands/StartDomainExportCommand";
|
|
60
|
+
import {
|
|
61
|
+
ClientInputEndpointParameters,
|
|
62
|
+
ClientResolvedEndpointParameters,
|
|
63
|
+
EndpointParameters,
|
|
64
|
+
} from "./endpoint/EndpointParameters";
|
|
65
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
66
|
+
export { __Client };
|
|
67
|
+
export type ServiceInputTypes =
|
|
68
|
+
| GetExportCommandInput
|
|
69
|
+
| ListExportsCommandInput
|
|
70
|
+
| StartDomainExportCommandInput;
|
|
71
|
+
export type ServiceOutputTypes =
|
|
72
|
+
| GetExportCommandOutput
|
|
73
|
+
| ListExportsCommandOutput
|
|
74
|
+
| StartDomainExportCommandOutput;
|
|
75
|
+
export interface ClientDefaults
|
|
76
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
77
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
78
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
79
|
+
urlParser?: __UrlParser;
|
|
80
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
81
|
+
streamCollector?: __StreamCollector;
|
|
82
|
+
base64Decoder?: __Decoder;
|
|
83
|
+
base64Encoder?: __Encoder;
|
|
84
|
+
utf8Decoder?: __Decoder;
|
|
85
|
+
utf8Encoder?: __Encoder;
|
|
86
|
+
runtime?: string;
|
|
87
|
+
disableHostPrefix?: boolean;
|
|
88
|
+
serviceId?: string;
|
|
89
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
90
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
91
|
+
region?: string | __Provider<string>;
|
|
92
|
+
profile?: string;
|
|
93
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
94
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
95
|
+
maxAttempts?: number | __Provider<number>;
|
|
96
|
+
retryMode?: string | __Provider<string>;
|
|
97
|
+
logger?: __Logger;
|
|
98
|
+
extensions?: RuntimeExtension[];
|
|
99
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
100
|
+
}
|
|
101
|
+
export type SimpleDBv2ClientConfigType = Partial<
|
|
102
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
103
|
+
> &
|
|
104
|
+
ClientDefaults &
|
|
105
|
+
UserAgentInputConfig &
|
|
106
|
+
RetryInputConfig &
|
|
107
|
+
RegionInputConfig &
|
|
108
|
+
HostHeaderInputConfig &
|
|
109
|
+
EndpointInputConfig<EndpointParameters> &
|
|
110
|
+
HttpAuthSchemeInputConfig &
|
|
111
|
+
ClientInputEndpointParameters;
|
|
112
|
+
export interface SimpleDBv2ClientConfig extends SimpleDBv2ClientConfigType {}
|
|
113
|
+
export type SimpleDBv2ClientResolvedConfigType =
|
|
114
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
115
|
+
Required<ClientDefaults> &
|
|
116
|
+
RuntimeExtensionsConfig &
|
|
117
|
+
UserAgentResolvedConfig &
|
|
118
|
+
RetryResolvedConfig &
|
|
119
|
+
RegionResolvedConfig &
|
|
120
|
+
HostHeaderResolvedConfig &
|
|
121
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
122
|
+
HttpAuthSchemeResolvedConfig &
|
|
123
|
+
ClientResolvedEndpointParameters;
|
|
124
|
+
export interface SimpleDBv2ClientResolvedConfig
|
|
125
|
+
extends SimpleDBv2ClientResolvedConfigType {}
|
|
126
|
+
export declare class SimpleDBv2Client extends __Client<
|
|
127
|
+
__HttpHandlerOptions,
|
|
128
|
+
ServiceInputTypes,
|
|
129
|
+
ServiceOutputTypes,
|
|
130
|
+
SimpleDBv2ClientResolvedConfig
|
|
131
|
+
> {
|
|
132
|
+
readonly config: SimpleDBv2ClientResolvedConfig;
|
|
133
|
+
constructor(
|
|
134
|
+
...[configuration]: __CheckOptionalClientConfig<SimpleDBv2ClientConfig>
|
|
135
|
+
);
|
|
136
|
+
destroy(): void;
|
|
137
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpAuthScheme,
|
|
3
|
+
AwsCredentialIdentity,
|
|
4
|
+
AwsCredentialIdentityProvider,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { SimpleDBv2HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: SimpleDBv2HttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): SimpleDBv2HttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: SimpleDBv2HttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { SimpleDBv2ClientResolvedConfig } from "../SimpleDBv2Client";
|
|
15
|
+
export interface SimpleDBv2HttpAuthSchemeParameters
|
|
16
|
+
extends HttpAuthSchemeParameters {
|
|
17
|
+
region?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface SimpleDBv2HttpAuthSchemeParametersProvider
|
|
20
|
+
extends HttpAuthSchemeParametersProvider<
|
|
21
|
+
SimpleDBv2ClientResolvedConfig,
|
|
22
|
+
HandlerExecutionContext,
|
|
23
|
+
SimpleDBv2HttpAuthSchemeParameters,
|
|
24
|
+
object
|
|
25
|
+
> {}
|
|
26
|
+
export declare const defaultSimpleDBv2HttpAuthSchemeParametersProvider: (
|
|
27
|
+
config: SimpleDBv2ClientResolvedConfig,
|
|
28
|
+
context: HandlerExecutionContext,
|
|
29
|
+
input: object
|
|
30
|
+
) => Promise<SimpleDBv2HttpAuthSchemeParameters>;
|
|
31
|
+
export interface SimpleDBv2HttpAuthSchemeProvider
|
|
32
|
+
extends HttpAuthSchemeProvider<SimpleDBv2HttpAuthSchemeParameters> {}
|
|
33
|
+
export declare const defaultSimpleDBv2HttpAuthSchemeProvider: SimpleDBv2HttpAuthSchemeProvider;
|
|
34
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
httpAuthSchemeProvider?: SimpleDBv2HttpAuthSchemeProvider;
|
|
38
|
+
}
|
|
39
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
42
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
|
+
readonly httpAuthSchemeProvider: SimpleDBv2HttpAuthSchemeProvider;
|
|
44
|
+
}
|
|
45
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
47
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetExportRequest, GetExportResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
SimpleDBv2ClientResolvedConfig,
|
|
8
|
+
} from "../SimpleDBv2Client";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetExportCommandInput extends GetExportRequest {}
|
|
12
|
+
export interface GetExportCommandOutput
|
|
13
|
+
extends GetExportResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetExportCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetExportCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetExportCommandInput,
|
|
20
|
+
GetExportCommandOutput,
|
|
21
|
+
SimpleDBv2ClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: GetExportCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetExportCommandInput,
|
|
29
|
+
GetExportCommandOutput,
|
|
30
|
+
SimpleDBv2ClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetExportCommand extends GetExportCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: GetExportRequest;
|
|
40
|
+
output: GetExportResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetExportCommandInput;
|
|
44
|
+
output: GetExportCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListExportsRequest, ListExportsResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
SimpleDBv2ClientResolvedConfig,
|
|
8
|
+
} from "../SimpleDBv2Client";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListExportsCommandInput extends ListExportsRequest {}
|
|
12
|
+
export interface ListExportsCommandOutput
|
|
13
|
+
extends ListExportsResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListExportsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListExportsCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
ListExportsCommandInput,
|
|
20
|
+
ListExportsCommandOutput,
|
|
21
|
+
SimpleDBv2ClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: [] | [ListExportsCommandInput]
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
ListExportsCommandInput,
|
|
29
|
+
ListExportsCommandOutput,
|
|
30
|
+
SimpleDBv2ClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class ListExportsCommand extends ListExportsCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: ListExportsRequest;
|
|
40
|
+
output: ListExportsResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: ListExportsCommandInput;
|
|
44
|
+
output: ListExportsCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
StartDomainExportRequest,
|
|
5
|
+
StartDomainExportResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SimpleDBv2ClientResolvedConfig,
|
|
11
|
+
} from "../SimpleDBv2Client";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface StartDomainExportCommandInput
|
|
15
|
+
extends StartDomainExportRequest {}
|
|
16
|
+
export interface StartDomainExportCommandOutput
|
|
17
|
+
extends StartDomainExportResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const StartDomainExportCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: StartDomainExportCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
StartDomainExportCommandInput,
|
|
24
|
+
StartDomainExportCommandOutput,
|
|
25
|
+
SimpleDBv2ClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: StartDomainExportCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
StartDomainExportCommandInput,
|
|
33
|
+
StartDomainExportCommandOutput,
|
|
34
|
+
SimpleDBv2ClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class StartDomainExportCommand extends StartDomainExportCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: StartDomainExportRequest;
|
|
44
|
+
output: StartDomainExportResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: StartDomainExportCommandInput;
|
|
48
|
+
output: StartDomainExportCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
endpoint?:
|
|
11
|
+
| string
|
|
12
|
+
| Provider<string>
|
|
13
|
+
| Endpoint
|
|
14
|
+
| Provider<Endpoint>
|
|
15
|
+
| EndpointV2
|
|
16
|
+
| Provider<EndpointV2>;
|
|
17
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
20
|
+
ClientInputEndpointParameters,
|
|
21
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
22
|
+
> & {
|
|
23
|
+
defaultSigningName: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
+
options: T & ClientInputEndpointParameters
|
|
27
|
+
) => T & ClientResolvedEndpointParameters;
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
+
UseDualStack?: boolean | undefined;
|
|
48
|
+
UseFIPS?: boolean | undefined;
|
|
49
|
+
Endpoint?: string | undefined;
|
|
50
|
+
Region?: string | undefined;
|
|
51
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface SimpleDBv2ExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./SimpleDBv2Client";
|
|
2
|
+
export * from "./SimpleDBv2";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { SimpleDBv2ExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
8
|
+
export * from "./pagination";
|
|
9
|
+
export * from "./waiters";
|
|
10
|
+
export * from "./models/enums";
|
|
11
|
+
export * from "./models/errors";
|
|
12
|
+
export * from "./models/models_0";
|
|
13
|
+
export { SimpleDBv2ServiceException } from "./models/SimpleDBv2ServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
|
+
ServiceException as __ServiceException,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class SimpleDBv2ServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const ExportStatus: {
|
|
2
|
+
readonly FAILED: "FAILED";
|
|
3
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
4
|
+
readonly PENDING: "PENDING";
|
|
5
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
6
|
+
};
|
|
7
|
+
export type ExportStatus = (typeof ExportStatus)[keyof typeof ExportStatus];
|
|
8
|
+
export declare const S3SseAlgorithm: {
|
|
9
|
+
readonly AES256: "AES256";
|
|
10
|
+
readonly KMS: "KMS";
|
|
11
|
+
};
|
|
12
|
+
export type S3SseAlgorithm =
|
|
13
|
+
(typeof S3SseAlgorithm)[keyof typeof S3SseAlgorithm];
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SimpleDBv2ServiceException as __BaseException } from "./SimpleDBv2ServiceException";
|
|
3
|
+
export declare class ConflictException extends __BaseException {
|
|
4
|
+
readonly name: "ConflictException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
7
|
+
}
|
|
8
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
9
|
+
readonly name: "InvalidParameterValueException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
constructor(
|
|
12
|
+
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
export declare class NoSuchExportException extends __BaseException {
|
|
16
|
+
readonly name: "NoSuchExportException";
|
|
17
|
+
readonly $fault: "client";
|
|
18
|
+
constructor(
|
|
19
|
+
opts: __ExceptionOptionType<NoSuchExportException, __BaseException>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
23
|
+
readonly name: "InvalidNextTokenException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
constructor(
|
|
26
|
+
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
export declare class InvalidParameterCombinationException extends __BaseException {
|
|
30
|
+
readonly name: "InvalidParameterCombinationException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
constructor(
|
|
33
|
+
opts: __ExceptionOptionType<
|
|
34
|
+
InvalidParameterCombinationException,
|
|
35
|
+
__BaseException
|
|
36
|
+
>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class NoSuchDomainException extends __BaseException {
|
|
40
|
+
readonly name: "NoSuchDomainException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<NoSuchDomainException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class NumberExportsLimitExceeded extends __BaseException {
|
|
47
|
+
readonly name: "NumberExportsLimitExceeded";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
constructor(
|
|
50
|
+
opts: __ExceptionOptionType<NumberExportsLimitExceeded, __BaseException>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ExportStatus, S3SseAlgorithm } from "./enums";
|
|
2
|
+
export interface ExportSummary {
|
|
3
|
+
exportArn: string | undefined;
|
|
4
|
+
exportStatus: ExportStatus | undefined;
|
|
5
|
+
requestedAt: Date | undefined;
|
|
6
|
+
domainName: string | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface GetExportRequest {
|
|
9
|
+
exportArn: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface GetExportResponse {
|
|
12
|
+
exportArn: string | undefined;
|
|
13
|
+
clientToken: string | undefined;
|
|
14
|
+
exportStatus: ExportStatus | undefined;
|
|
15
|
+
domainName: string | undefined;
|
|
16
|
+
requestedAt: Date | undefined;
|
|
17
|
+
s3Bucket: string | undefined;
|
|
18
|
+
s3KeyPrefix?: string | undefined;
|
|
19
|
+
s3SseAlgorithm?: S3SseAlgorithm | undefined;
|
|
20
|
+
s3SseKmsKeyId?: string | undefined;
|
|
21
|
+
s3BucketOwner?: string | undefined;
|
|
22
|
+
failureCode?: string | undefined;
|
|
23
|
+
failureMessage?: string | undefined;
|
|
24
|
+
exportManifest?: string | undefined;
|
|
25
|
+
itemsCount?: number | undefined;
|
|
26
|
+
exportDataCutoffTime?: Date | undefined;
|
|
27
|
+
}
|
|
28
|
+
export interface ListExportsRequest {
|
|
29
|
+
domainName?: string | undefined;
|
|
30
|
+
maxResults?: number | undefined;
|
|
31
|
+
nextToken?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface ListExportsResponse {
|
|
34
|
+
exportSummaries: ExportSummary[] | undefined;
|
|
35
|
+
nextToken?: string | undefined;
|
|
36
|
+
}
|
|
37
|
+
export interface StartDomainExportRequest {
|
|
38
|
+
clientToken?: string | undefined;
|
|
39
|
+
domainName: string | undefined;
|
|
40
|
+
s3Bucket: string | undefined;
|
|
41
|
+
s3KeyPrefix?: string | undefined;
|
|
42
|
+
s3SseAlgorithm?: S3SseAlgorithm | undefined;
|
|
43
|
+
s3SseKmsKeyId?: string | undefined;
|
|
44
|
+
s3BucketOwner?: string | undefined;
|
|
45
|
+
}
|
|
46
|
+
export interface StartDomainExportResponse {
|
|
47
|
+
clientToken: string | undefined;
|
|
48
|
+
exportArn: string | undefined;
|
|
49
|
+
requestedAt: Date | undefined;
|
|
50
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListExportsCommandInput,
|
|
4
|
+
ListExportsCommandOutput,
|
|
5
|
+
} from "../commands/ListExportsCommand";
|
|
6
|
+
import { SimpleDBv2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListExports: (
|
|
8
|
+
config: SimpleDBv2PaginationConfiguration,
|
|
9
|
+
input: ListExportsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListExportsCommandOutput>;
|