@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,227 @@
|
|
|
1
|
+
import { ExportStatus, S3SseAlgorithm } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
* Summary information about an export, including its unique identifier, current status,
|
|
4
|
+
* creation time, and the domain being exported.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ExportSummary {
|
|
8
|
+
/**
|
|
9
|
+
* Unique ARN identifier of the export.
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
exportArn: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The current state of the export. Current possible values include : PENDING - export request received,
|
|
15
|
+
* IN_PROGRESS - export is being processed, SUCCEEDED - export completed successfully, and FAILED - export encountered an error.
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
exportStatus: ExportStatus | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Timestamp when the export request was received by the service
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
requestedAt: Date | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the domain for which the export was created.
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
domainName: string | undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export interface GetExportRequest {
|
|
34
|
+
/**
|
|
35
|
+
* Unique ARN identifier of the export.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
exportArn: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export interface GetExportResponse {
|
|
44
|
+
/**
|
|
45
|
+
* Unique ARN identifier of the export.
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
exportArn: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* The client token provided for this export.
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
clientToken: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* The current state of the export. Current possible values include : PENDING - export request received,
|
|
56
|
+
* IN_PROGRESS - export is being processed, SUCCEEDED - export completed successfully, and FAILED - export encountered an error.
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
exportStatus: ExportStatus | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the domain that was exported.
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
domainName: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Timestamp when the export request was received by the service.
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
requestedAt: Date | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the S3 bucket for this export.
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
s3Bucket: string | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* The S3 key prefix provided in the corresponding StartDomainExport request.
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
s3KeyPrefix?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* The S3 SSE encryption algorithm for this export.
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
s3SseAlgorithm?: S3SseAlgorithm | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* The KMS key ID for this export.
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
s3SseKmsKeyId?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* The S3 bucket owner account ID for this export.
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
s3BucketOwner?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* Failure code for the result of the failed export.
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
failureCode?: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Export failure reason description.
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
failureMessage?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* The name of the manifest summary file for the export.
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
exportManifest?: string | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Total number of exported items.
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
itemsCount?: number | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* The timestamp indicating the cutoff point for data inclusion in the export.
|
|
117
|
+
* All data inserted or modified before this time will be present in the exported data.
|
|
118
|
+
* Data insertions or modifications after this timestamp may or may not be present in the export.
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
exportDataCutoffTime?: Date | undefined;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export interface ListExportsRequest {
|
|
127
|
+
/**
|
|
128
|
+
* The name of the domain to filter exports. If not provided, exports for all the domains will be listed.
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
domainName?: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* The maximum number of exports to return in a single response.
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
maxResults?: number | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* A pagination token used to retrieve the next page of results. This token is obtained from
|
|
139
|
+
* the nextToken field in the previous ListExportsResponse. Leave empty for the first request.
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
nextToken?: string | undefined;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export interface ListExportsResponse {
|
|
148
|
+
/**
|
|
149
|
+
* List of export summaries containing export ARN, status, request timestamp, and associated domain name.
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
exportSummaries: ExportSummary[] | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* A pagination token indicating that more results are available. To retrieve the next page
|
|
155
|
+
* of results, provide this token in a subsequent ListExports request. If null or empty, there are no
|
|
156
|
+
* more results to retrieve.
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
nextToken?: string | undefined;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export interface StartDomainExportRequest {
|
|
165
|
+
/**
|
|
166
|
+
* Providing a ClientToken makes the call to StartDomainExport API idempotent,
|
|
167
|
+
* meaning that multiple identical calls have the same effect as one single call. A client token is valid for
|
|
168
|
+
* 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token
|
|
169
|
+
* is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours,
|
|
170
|
+
* or the result might not be idempotent. If you submit a request with the same client token but a change
|
|
171
|
+
* in other parameters within the 8-hour idempotency window, a ConflictException will be returned.
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
clientToken?: string | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* The name of the domain to export.
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
domainName: string | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* The name of the S3 bucket where the domain data will be exported.
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
s3Bucket: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* The prefix string to be used to generate the S3 object keys for export artifacts.
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
s3KeyPrefix?: string | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* The server-side encryption algorithm to use for the exported data in S3.
|
|
192
|
+
* Valid values are: AES256 (SSE-S3) and KMS (SSE-KMS). If not specified, bucket's default encryption will apply.
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
s3SseAlgorithm?: S3SseAlgorithm | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* The KMS key ID to use for server-side encryption with AWS KMS-managed keys (SSE-KMS).
|
|
198
|
+
* This parameter is only expected with KMS as the S3 SSE algorithm.
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
s3SseKmsKeyId?: string | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* The ID of the AWS account that owns the bucket the export will be stored in.
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
s3BucketOwner?: string | undefined;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
export interface StartDomainExportResponse {
|
|
212
|
+
/**
|
|
213
|
+
* The client token that was provided in the request.
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
clientToken: string | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* Unique ARN identifier of the export.
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
exportArn: string | undefined;
|
|
222
|
+
/**
|
|
223
|
+
* Timestamp when the export request was received by the service.
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
requestedAt: Date | undefined;
|
|
227
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand";
|
|
3
|
+
import { SimpleDBv2PaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListExports: (config: SimpleDBv2PaginationConfiguration, input: ListExportsCommandInput, ...rest: any[]) => Paginator<ListExportsCommandOutput>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import type { SimpleDBv2ClientConfig } from "./SimpleDBv2Client";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: SimpleDBv2ClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
27
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
28
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
30
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
32
|
+
disableHostPrefix: boolean;
|
|
33
|
+
serviceId: string;
|
|
34
|
+
profile?: string;
|
|
35
|
+
logger: import("@smithy/types").Logger;
|
|
36
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
37
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
38
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
39
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
40
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
41
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
42
|
+
logger?: import("@smithy/types").Logger;
|
|
43
|
+
}) => import("@smithy/types").EndpointV2;
|
|
44
|
+
tls?: boolean;
|
|
45
|
+
serviceConfiguredEndpoint?: never;
|
|
46
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
47
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
48
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SimpleDBv2HttpAuthSchemeProvider;
|
|
49
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
50
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
51
|
+
signingEscapePath?: boolean;
|
|
52
|
+
systemClockOffset?: number;
|
|
53
|
+
signingRegion?: string;
|
|
54
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
55
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import type { SimpleDBv2ClientConfig } from "./SimpleDBv2Client";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: SimpleDBv2ClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
15
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
16
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
18
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
+
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
29
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
30
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
31
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
32
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
34
|
+
disableHostPrefix: boolean;
|
|
35
|
+
serviceId: string;
|
|
36
|
+
profile?: string;
|
|
37
|
+
logger: import("@smithy/types").Logger;
|
|
38
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
39
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
40
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
41
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
42
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
43
|
+
logger?: import("@smithy/types").Logger;
|
|
44
|
+
}) => import("@smithy/types").EndpointV2;
|
|
45
|
+
tls?: boolean;
|
|
46
|
+
serviceConfiguredEndpoint?: never;
|
|
47
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
48
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SimpleDBv2HttpAuthSchemeProvider;
|
|
49
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
50
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
51
|
+
signingEscapePath?: boolean;
|
|
52
|
+
systemClockOffset?: number;
|
|
53
|
+
signingRegion?: string;
|
|
54
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
55
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { SimpleDBv2ClientConfig } from "./SimpleDBv2Client";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: SimpleDBv2ClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
+
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
16
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
17
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
21
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
serviceId: string;
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
28
|
+
profile?: string;
|
|
29
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
30
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
31
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
|
+
logger: import("@smithy/types").Logger;
|
|
34
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
+
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
36
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
37
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
38
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
39
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
40
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
41
|
+
logger?: import("@smithy/types").Logger;
|
|
42
|
+
}) => import("@smithy/types").EndpointV2;
|
|
43
|
+
tls?: boolean;
|
|
44
|
+
serviceConfiguredEndpoint?: never;
|
|
45
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
46
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
47
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SimpleDBv2HttpAuthSchemeProvider;
|
|
48
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
49
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
50
|
+
signingEscapePath?: boolean;
|
|
51
|
+
systemClockOffset?: number;
|
|
52
|
+
signingRegion?: string;
|
|
53
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
54
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import type { SimpleDBv2ClientConfig } from "./SimpleDBv2Client";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: SimpleDBv2ClientConfig) => {
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
9
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
10
|
+
disableHostPrefix: boolean;
|
|
11
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
12
|
+
logger?: import("@smithy/types").Logger;
|
|
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: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
23
|
+
serviceId: string;
|
|
24
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
25
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SimpleDBv2ExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: SimpleDBv2ExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var SimpleDBv2ServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
5
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
6
|
+
export declare var InvalidParameterCombinationException$: StaticErrorSchema;
|
|
7
|
+
export declare var InvalidParameterValueException$: StaticErrorSchema;
|
|
8
|
+
export declare var NoSuchDomainException$: StaticErrorSchema;
|
|
9
|
+
export declare var NoSuchExportException$: StaticErrorSchema;
|
|
10
|
+
export declare var NumberExportsLimitExceeded$: StaticErrorSchema;
|
|
11
|
+
/**
|
|
12
|
+
* TypeRegistry instances containing modeled errors.
|
|
13
|
+
* @internal
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
17
|
+
export declare var ExportSummary$: StaticStructureSchema;
|
|
18
|
+
export declare var GetExportRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var GetExportResponse$: StaticStructureSchema;
|
|
20
|
+
export declare var ListExportsRequest$: StaticStructureSchema;
|
|
21
|
+
export declare var ListExportsResponse$: StaticStructureSchema;
|
|
22
|
+
export declare var StartDomainExportRequest$: StaticStructureSchema;
|
|
23
|
+
export declare var StartDomainExportResponse$: StaticStructureSchema;
|
|
24
|
+
export declare var GetExport$: StaticOperationSchema;
|
|
25
|
+
export declare var ListExports$: StaticOperationSchema;
|
|
26
|
+
export declare var StartDomainExport$: StaticOperationSchema;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
8
|
+
import {
|
|
9
|
+
GetExportCommandInput,
|
|
10
|
+
GetExportCommandOutput,
|
|
11
|
+
} from "./commands/GetExportCommand";
|
|
12
|
+
import {
|
|
13
|
+
ListExportsCommandInput,
|
|
14
|
+
ListExportsCommandOutput,
|
|
15
|
+
} from "./commands/ListExportsCommand";
|
|
16
|
+
import {
|
|
17
|
+
StartDomainExportCommandInput,
|
|
18
|
+
StartDomainExportCommandOutput,
|
|
19
|
+
} from "./commands/StartDomainExportCommand";
|
|
20
|
+
import { SimpleDBv2Client } from "./SimpleDBv2Client";
|
|
21
|
+
export interface SimpleDBv2 {
|
|
22
|
+
getExport(
|
|
23
|
+
args: GetExportCommandInput,
|
|
24
|
+
options?: __HttpHandlerOptions
|
|
25
|
+
): Promise<GetExportCommandOutput>;
|
|
26
|
+
getExport(
|
|
27
|
+
args: GetExportCommandInput,
|
|
28
|
+
cb: (err: any, data?: GetExportCommandOutput) => void
|
|
29
|
+
): void;
|
|
30
|
+
getExport(
|
|
31
|
+
args: GetExportCommandInput,
|
|
32
|
+
options: __HttpHandlerOptions,
|
|
33
|
+
cb: (err: any, data?: GetExportCommandOutput) => void
|
|
34
|
+
): void;
|
|
35
|
+
listExports(): Promise<ListExportsCommandOutput>;
|
|
36
|
+
listExports(
|
|
37
|
+
args: ListExportsCommandInput,
|
|
38
|
+
options?: __HttpHandlerOptions
|
|
39
|
+
): Promise<ListExportsCommandOutput>;
|
|
40
|
+
listExports(
|
|
41
|
+
args: ListExportsCommandInput,
|
|
42
|
+
cb: (err: any, data?: ListExportsCommandOutput) => void
|
|
43
|
+
): void;
|
|
44
|
+
listExports(
|
|
45
|
+
args: ListExportsCommandInput,
|
|
46
|
+
options: __HttpHandlerOptions,
|
|
47
|
+
cb: (err: any, data?: ListExportsCommandOutput) => void
|
|
48
|
+
): void;
|
|
49
|
+
startDomainExport(
|
|
50
|
+
args: StartDomainExportCommandInput,
|
|
51
|
+
options?: __HttpHandlerOptions
|
|
52
|
+
): Promise<StartDomainExportCommandOutput>;
|
|
53
|
+
startDomainExport(
|
|
54
|
+
args: StartDomainExportCommandInput,
|
|
55
|
+
cb: (err: any, data?: StartDomainExportCommandOutput) => void
|
|
56
|
+
): void;
|
|
57
|
+
startDomainExport(
|
|
58
|
+
args: StartDomainExportCommandInput,
|
|
59
|
+
options: __HttpHandlerOptions,
|
|
60
|
+
cb: (err: any, data?: StartDomainExportCommandOutput) => void
|
|
61
|
+
): void;
|
|
62
|
+
paginateListExports(
|
|
63
|
+
args?: ListExportsCommandInput,
|
|
64
|
+
paginationConfig?: Pick<
|
|
65
|
+
PaginationConfiguration,
|
|
66
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
67
|
+
>
|
|
68
|
+
): Paginator<ListExportsCommandOutput>;
|
|
69
|
+
waitUntilExportSucceeded(
|
|
70
|
+
args: GetExportCommandInput,
|
|
71
|
+
waiterConfig:
|
|
72
|
+
| number
|
|
73
|
+
| Pick<
|
|
74
|
+
WaiterConfiguration<SimpleDBv2>,
|
|
75
|
+
Exclude<keyof WaiterConfiguration<SimpleDBv2>, "client">
|
|
76
|
+
>
|
|
77
|
+
): Promise<WaiterResult>;
|
|
78
|
+
}
|
|
79
|
+
export declare class SimpleDBv2
|
|
80
|
+
extends SimpleDBv2Client
|
|
81
|
+
implements SimpleDBv2 {}
|