@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,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListExportsRequest, ListExportsResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SimpleDBv2ClientResolvedConfig } from "../SimpleDBv2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListExportsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListExportsCommandInput extends ListExportsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListExportsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListExportsCommandOutput extends ListExportsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListExportsCommand_base: {
|
|
25
|
+
new (input: ListExportsCommandInput): import("@smithy/smithy-client").CommandImpl<ListExportsCommandInput, ListExportsCommandOutput, SimpleDBv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListExportsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListExportsCommandInput, ListExportsCommandOutput, SimpleDBv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists all exports that were created. The results are paginated and can be filtered by domain name.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SimpleDBv2Client, ListExportsCommand } from "@aws-sdk/client-simpledbv2"; // ES Modules import
|
|
35
|
+
* // const { SimpleDBv2Client, ListExportsCommand } = require("@aws-sdk/client-simpledbv2"); // CommonJS import
|
|
36
|
+
* // import type { SimpleDBv2ClientConfig } from "@aws-sdk/client-simpledbv2";
|
|
37
|
+
* const config = {}; // type is SimpleDBv2ClientConfig
|
|
38
|
+
* const client = new SimpleDBv2Client(config);
|
|
39
|
+
* const input = { // ListExportsRequest
|
|
40
|
+
* domainName: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListExportsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListExportsResponse
|
|
47
|
+
* // exportSummaries: [ // ExportSummaries // required
|
|
48
|
+
* // { // ExportSummary
|
|
49
|
+
* // exportArn: "STRING_VALUE", // required
|
|
50
|
+
* // exportStatus: "PENDING" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED", // required
|
|
51
|
+
* // requestedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // domainName: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListExportsCommandInput - {@link ListExportsCommandInput}
|
|
61
|
+
* @returns {@link ListExportsCommandOutput}
|
|
62
|
+
* @see {@link ListExportsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListExportsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SimpleDBv2ClientResolvedConfig | config} for SimpleDBv2Client's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
67
|
+
* The specified next token is not valid.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
70
|
+
* The specified parameter value is not valid.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link NoSuchDomainException} (client fault)
|
|
73
|
+
* The specified domain does not exist.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link SimpleDBv2ServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from SimpleDBv2 service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @example List all exports
|
|
80
|
+
* ```javascript
|
|
81
|
+
* //
|
|
82
|
+
* const input = { /* empty *\/ };
|
|
83
|
+
* const command = new ListExportsCommand(input);
|
|
84
|
+
* const response = await client.send(command);
|
|
85
|
+
* /* response is
|
|
86
|
+
* {
|
|
87
|
+
* exportSummaries: [
|
|
88
|
+
* {
|
|
89
|
+
* domainName: "my-domain",
|
|
90
|
+
* exportArn: "arn:aws:sdb:us-east-1:123456789012:export/abc123",
|
|
91
|
+
* exportStatus: "SUCCEEDED",
|
|
92
|
+
* requestedAt: 1234567890
|
|
93
|
+
* }
|
|
94
|
+
* ]
|
|
95
|
+
* }
|
|
96
|
+
* *\/
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class ListExportsCommand extends ListExportsCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: ListExportsRequest;
|
|
106
|
+
output: ListExportsResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: ListExportsCommandInput;
|
|
110
|
+
output: ListExportsCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { StartDomainExportRequest, StartDomainExportResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SimpleDBv2ClientResolvedConfig } from "../SimpleDBv2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartDomainExportCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartDomainExportCommandInput extends StartDomainExportRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartDomainExportCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartDomainExportCommandOutput extends StartDomainExportResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartDomainExportCommand_base: {
|
|
25
|
+
new (input: StartDomainExportCommandInput): import("@smithy/smithy-client").CommandImpl<StartDomainExportCommandInput, StartDomainExportCommandOutput, SimpleDBv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartDomainExportCommandInput): import("@smithy/smithy-client").CommandImpl<StartDomainExportCommandInput, StartDomainExportCommandOutput, SimpleDBv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Initiates the export of a SimpleDB domain to an S3 bucket.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SimpleDBv2Client, StartDomainExportCommand } from "@aws-sdk/client-simpledbv2"; // ES Modules import
|
|
35
|
+
* // const { SimpleDBv2Client, StartDomainExportCommand } = require("@aws-sdk/client-simpledbv2"); // CommonJS import
|
|
36
|
+
* // import type { SimpleDBv2ClientConfig } from "@aws-sdk/client-simpledbv2";
|
|
37
|
+
* const config = {}; // type is SimpleDBv2ClientConfig
|
|
38
|
+
* const client = new SimpleDBv2Client(config);
|
|
39
|
+
* const input = { // StartDomainExportRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* domainName: "STRING_VALUE", // required
|
|
42
|
+
* s3Bucket: "STRING_VALUE", // required
|
|
43
|
+
* s3KeyPrefix: "STRING_VALUE",
|
|
44
|
+
* s3SseAlgorithm: "AES256" || "KMS",
|
|
45
|
+
* s3SseKmsKeyId: "STRING_VALUE",
|
|
46
|
+
* s3BucketOwner: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new StartDomainExportCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // StartDomainExportResponse
|
|
51
|
+
* // clientToken: "STRING_VALUE", // required
|
|
52
|
+
* // exportArn: "STRING_VALUE", // required
|
|
53
|
+
* // requestedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param StartDomainExportCommandInput - {@link StartDomainExportCommandInput}
|
|
59
|
+
* @returns {@link StartDomainExportCommandOutput}
|
|
60
|
+
* @see {@link StartDomainExportCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link StartDomainExportCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link SimpleDBv2ClientResolvedConfig | config} for SimpleDBv2Client's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* Indicates a conflict with one or more parameters of the request.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
68
|
+
* Parameters that must not be used together were used together in the request.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
71
|
+
* The specified parameter value is not valid.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link NoSuchDomainException} (client fault)
|
|
74
|
+
* The specified domain does not exist.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link NumberExportsLimitExceeded} (client fault)
|
|
77
|
+
* Cannot start export as export quota limit was exceeded
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link SimpleDBv2ServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from SimpleDBv2 service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @example Start a domain export
|
|
84
|
+
* ```javascript
|
|
85
|
+
* //
|
|
86
|
+
* const input = {
|
|
87
|
+
* domainName: "my-domain",
|
|
88
|
+
* s3Bucket: "my-export-bucket"
|
|
89
|
+
* };
|
|
90
|
+
* const command = new StartDomainExportCommand(input);
|
|
91
|
+
* const response = await client.send(command);
|
|
92
|
+
* /* response is
|
|
93
|
+
* {
|
|
94
|
+
* clientToken: "abc123-def456-ghi789",
|
|
95
|
+
* exportArn: "arn:aws:sdb:us-east-1:123456789012:export/abc123",
|
|
96
|
+
* requestedAt: 1234567890
|
|
97
|
+
* }
|
|
98
|
+
* *\/
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class StartDomainExportCommand extends StartDomainExportCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: StartDomainExportRequest;
|
|
108
|
+
output: StartDomainExportResponse;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: StartDomainExportCommandInput;
|
|
112
|
+
output: StartDomainExportCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export declare const commonParams: {
|
|
25
|
+
readonly UseFIPS: {
|
|
26
|
+
readonly type: "builtInParams";
|
|
27
|
+
readonly name: "useFipsEndpoint";
|
|
28
|
+
};
|
|
29
|
+
readonly Endpoint: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "endpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Region: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "region";
|
|
36
|
+
};
|
|
37
|
+
readonly UseDualStack: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "useDualstackEndpoint";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
46
|
+
UseDualStack?: boolean | undefined;
|
|
47
|
+
UseFIPS?: boolean | undefined;
|
|
48
|
+
Endpoint?: string | undefined;
|
|
49
|
+
Region?: string | undefined;
|
|
50
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface SimpleDBv2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon SimpleDB is a web service providing the core database functions of data indexing and
|
|
3
|
+
* querying in the cloud. By offloading the time and effort associated with building and operating a web-scale
|
|
4
|
+
* database, SimpleDB provides developers the freedom to focus on application development.
|
|
5
|
+
*
|
|
6
|
+
* A traditional, clustered relational database requires a sizable upfront capital outlay, is complex to design,
|
|
7
|
+
* and often requires extensive and repetitive database administration. Amazon SimpleDB is dramatically simpler,
|
|
8
|
+
* requiring no schema, automatically indexing your data and providing a simple API for storage and access.
|
|
9
|
+
* This approach eliminates the administrative burden of data modeling, index maintenance, and performance tuning.
|
|
10
|
+
* Developers gain access to this functionality within Amazon's proven computing environment, are able to scale
|
|
11
|
+
* instantly, and pay only for what they use.
|
|
12
|
+
*
|
|
13
|
+
* @packageDocumentation
|
|
14
|
+
*/
|
|
15
|
+
export * from "./SimpleDBv2Client";
|
|
16
|
+
export * from "./SimpleDBv2";
|
|
17
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
18
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
19
|
+
export type { SimpleDBv2ExtensionConfiguration } from "./extensionConfiguration";
|
|
20
|
+
export * from "./commands";
|
|
21
|
+
export * from "./schemas/schemas_0";
|
|
22
|
+
export * from "./pagination";
|
|
23
|
+
export * from "./waiters";
|
|
24
|
+
export * from "./models/enums";
|
|
25
|
+
export * from "./models/errors";
|
|
26
|
+
export * from "./models/models_0";
|
|
27
|
+
export { SimpleDBv2ServiceException } from "./models/SimpleDBv2ServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from SimpleDBv2 service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SimpleDBv2ServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ExportStatus: {
|
|
6
|
+
readonly FAILED: "FAILED";
|
|
7
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
8
|
+
readonly PENDING: "PENDING";
|
|
9
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ExportStatus = (typeof ExportStatus)[keyof typeof ExportStatus];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const S3SseAlgorithm: {
|
|
20
|
+
readonly AES256: "AES256";
|
|
21
|
+
readonly KMS: "KMS";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type S3SseAlgorithm = (typeof S3SseAlgorithm)[keyof typeof S3SseAlgorithm];
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SimpleDBv2ServiceException as __BaseException } from "./SimpleDBv2ServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* Indicates a conflict with one or more parameters of the request.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class ConflictException extends __BaseException {
|
|
8
|
+
readonly name: "ConflictException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The specified parameter value is not valid.
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
20
|
+
readonly name: "InvalidParameterValueException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Export with specified ARN does not exist.
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class NoSuchExportException extends __BaseException {
|
|
32
|
+
readonly name: "NoSuchExportException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<NoSuchExportException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The specified next token is not valid.
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
44
|
+
readonly name: "InvalidNextTokenException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Parameters that must not be used together were used together in the request.
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class InvalidParameterCombinationException extends __BaseException {
|
|
56
|
+
readonly name: "InvalidParameterCombinationException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The specified domain does not exist.
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class NoSuchDomainException extends __BaseException {
|
|
68
|
+
readonly name: "NoSuchDomainException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<NoSuchDomainException, __BaseException>);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Cannot start export as export quota limit was exceeded
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class NumberExportsLimitExceeded extends __BaseException {
|
|
80
|
+
readonly name: "NumberExportsLimitExceeded";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<NumberExportsLimitExceeded, __BaseException>);
|
|
86
|
+
}
|