@aws-sdk/client-bcm-data-exports 3.458.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 +308 -0
- package/dist-cjs/BCMDataExports.js +35 -0
- package/dist-cjs/BCMDataExportsClient.js +43 -0
- package/dist-cjs/commands/CreateExportCommand.js +50 -0
- package/dist-cjs/commands/DeleteExportCommand.js +50 -0
- package/dist-cjs/commands/GetExecutionCommand.js +50 -0
- package/dist-cjs/commands/GetExportCommand.js +50 -0
- package/dist-cjs/commands/GetTableCommand.js +50 -0
- package/dist-cjs/commands/ListExecutionsCommand.js +50 -0
- package/dist-cjs/commands/ListExportsCommand.js +50 -0
- package/dist-cjs/commands/ListTablesCommand.js +50 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +50 -0
- package/dist-cjs/commands/TagResourceCommand.js +50 -0
- package/dist-cjs/commands/UntagResourceCommand.js +50 -0
- package/dist-cjs/commands/UpdateExportCommand.js +50 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +11 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/BCMDataExportsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +126 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListExportsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTablesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_1.js +775 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/BCMDataExports.js +31 -0
- package/dist-es/BCMDataExportsClient.js +39 -0
- package/dist-es/commands/CreateExportCommand.js +46 -0
- package/dist-es/commands/DeleteExportCommand.js +46 -0
- package/dist-es/commands/GetExecutionCommand.js +46 -0
- package/dist-es/commands/GetExportCommand.js +46 -0
- package/dist-es/commands/GetTableCommand.js +46 -0
- package/dist-es/commands/ListExecutionsCommand.js +46 -0
- package/dist-es/commands/ListExportsCommand.js +46 -0
- package/dist-es/commands/ListTablesCommand.js +46 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-es/commands/TagResourceCommand.js +46 -0
- package/dist-es/commands/UntagResourceCommand.js +46 -0
- package/dist-es/commands/UpdateExportCommand.js +46 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +7 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/BCMDataExportsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +118 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListExecutionsPaginator.js +25 -0
- package/dist-es/pagination/ListExportsPaginator.js +25 -0
- package/dist-es/pagination/ListTablesPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +748 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/BCMDataExports.d.ts +101 -0
- package/dist-types/BCMDataExportsClient.d.ts +188 -0
- package/dist-types/commands/CreateExportCommand.d.ts +138 -0
- package/dist-types/commands/DeleteExportCommand.d.ts +87 -0
- package/dist-types/commands/GetExecutionCommand.d.ts +124 -0
- package/dist-types/commands/GetExportCommand.d.ts +122 -0
- package/dist-types/commands/GetTableCommand.d.ts +99 -0
- package/dist-types/commands/ListExecutionsCommand.d.ts +101 -0
- package/dist-types/commands/ListExportsCommand.d.ts +98 -0
- package/dist-types/commands/ListTablesCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +117 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +22 -0
- package/dist-types/models/BCMDataExportsServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +921 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListExportsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +110 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/BCMDataExports.d.ts +211 -0
- package/dist-types/ts3.4/BCMDataExportsClient.d.ts +191 -0
- package/dist-types/ts3.4/commands/CreateExportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteExportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetExecutionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +31 -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 +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/BCMDataExportsServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +277 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +149 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +102 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
|
+
export const getRuntimeConfig = (config) => {
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
return {
|
|
17
|
+
...clientSharedValues,
|
|
18
|
+
...config,
|
|
19
|
+
runtime: "browser",
|
|
20
|
+
defaultsMode,
|
|
21
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
28
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
|
+
sha256: config?.sha256 ?? Sha256,
|
|
30
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
31
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
32
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
4
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
6
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
7
|
+
import { Hash } from "@smithy/hash-node";
|
|
8
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
9
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
10
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
13
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
15
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
16
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
17
|
+
export const getRuntimeConfig = (config) => {
|
|
18
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
21
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
22
|
+
awsCheckVersion(process.version);
|
|
23
|
+
return {
|
|
24
|
+
...clientSharedValues,
|
|
25
|
+
...config,
|
|
26
|
+
runtime: "node",
|
|
27
|
+
defaultsMode,
|
|
28
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
29
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
30
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
31
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
32
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
35
|
+
retryMode: config?.retryMode ??
|
|
36
|
+
loadNodeConfig({
|
|
37
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
38
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
39
|
+
}),
|
|
40
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
41
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
42
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
2
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
5
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
|
+
export const getRuntimeConfig = (config) => {
|
|
7
|
+
return {
|
|
8
|
+
apiVersion: "2023-11-26",
|
|
9
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
10
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
11
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
12
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
13
|
+
extensions: config?.extensions ?? [],
|
|
14
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
15
|
+
serviceId: config?.serviceId ?? "BCM Data Exports",
|
|
16
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
17
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
18
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
|
+
const asPartial = (t) => t;
|
|
5
|
+
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
|
+
const extensionConfiguration = {
|
|
7
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
8
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
9
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
10
|
+
};
|
|
11
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
12
|
+
return {
|
|
13
|
+
...runtimeConfig,
|
|
14
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
15
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
16
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { BCMDataExportsClient } from "./BCMDataExportsClient";
|
|
3
|
+
import { CreateExportCommandInput, CreateExportCommandOutput } from "./commands/CreateExportCommand";
|
|
4
|
+
import { DeleteExportCommandInput, DeleteExportCommandOutput } from "./commands/DeleteExportCommand";
|
|
5
|
+
import { GetExecutionCommandInput, GetExecutionCommandOutput } from "./commands/GetExecutionCommand";
|
|
6
|
+
import { GetExportCommandInput, GetExportCommandOutput } from "./commands/GetExportCommand";
|
|
7
|
+
import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
|
|
8
|
+
import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "./commands/ListExecutionsCommand";
|
|
9
|
+
import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
|
|
10
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
11
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
12
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
13
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
14
|
+
import { UpdateExportCommandInput, UpdateExportCommandOutput } from "./commands/UpdateExportCommand";
|
|
15
|
+
export interface BCMDataExports {
|
|
16
|
+
/**
|
|
17
|
+
* @see {@link CreateExportCommand}
|
|
18
|
+
*/
|
|
19
|
+
createExport(args: CreateExportCommandInput, options?: __HttpHandlerOptions): Promise<CreateExportCommandOutput>;
|
|
20
|
+
createExport(args: CreateExportCommandInput, cb: (err: any, data?: CreateExportCommandOutput) => void): void;
|
|
21
|
+
createExport(args: CreateExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExportCommandOutput) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* @see {@link DeleteExportCommand}
|
|
24
|
+
*/
|
|
25
|
+
deleteExport(args: DeleteExportCommandInput, options?: __HttpHandlerOptions): Promise<DeleteExportCommandOutput>;
|
|
26
|
+
deleteExport(args: DeleteExportCommandInput, cb: (err: any, data?: DeleteExportCommandOutput) => void): void;
|
|
27
|
+
deleteExport(args: DeleteExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExportCommandOutput) => void): void;
|
|
28
|
+
/**
|
|
29
|
+
* @see {@link GetExecutionCommand}
|
|
30
|
+
*/
|
|
31
|
+
getExecution(args: GetExecutionCommandInput, options?: __HttpHandlerOptions): Promise<GetExecutionCommandOutput>;
|
|
32
|
+
getExecution(args: GetExecutionCommandInput, cb: (err: any, data?: GetExecutionCommandOutput) => void): void;
|
|
33
|
+
getExecution(args: GetExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExecutionCommandOutput) => void): void;
|
|
34
|
+
/**
|
|
35
|
+
* @see {@link GetExportCommand}
|
|
36
|
+
*/
|
|
37
|
+
getExport(args: GetExportCommandInput, options?: __HttpHandlerOptions): Promise<GetExportCommandOutput>;
|
|
38
|
+
getExport(args: GetExportCommandInput, cb: (err: any, data?: GetExportCommandOutput) => void): void;
|
|
39
|
+
getExport(args: GetExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExportCommandOutput) => void): void;
|
|
40
|
+
/**
|
|
41
|
+
* @see {@link GetTableCommand}
|
|
42
|
+
*/
|
|
43
|
+
getTable(args: GetTableCommandInput, options?: __HttpHandlerOptions): Promise<GetTableCommandOutput>;
|
|
44
|
+
getTable(args: GetTableCommandInput, cb: (err: any, data?: GetTableCommandOutput) => void): void;
|
|
45
|
+
getTable(args: GetTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableCommandOutput) => void): void;
|
|
46
|
+
/**
|
|
47
|
+
* @see {@link ListExecutionsCommand}
|
|
48
|
+
*/
|
|
49
|
+
listExecutions(args: ListExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListExecutionsCommandOutput>;
|
|
50
|
+
listExecutions(args: ListExecutionsCommandInput, cb: (err: any, data?: ListExecutionsCommandOutput) => void): void;
|
|
51
|
+
listExecutions(args: ListExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExecutionsCommandOutput) => void): void;
|
|
52
|
+
/**
|
|
53
|
+
* @see {@link ListExportsCommand}
|
|
54
|
+
*/
|
|
55
|
+
listExports(args: ListExportsCommandInput, options?: __HttpHandlerOptions): Promise<ListExportsCommandOutput>;
|
|
56
|
+
listExports(args: ListExportsCommandInput, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
|
|
57
|
+
listExports(args: ListExportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
|
|
58
|
+
/**
|
|
59
|
+
* @see {@link ListTablesCommand}
|
|
60
|
+
*/
|
|
61
|
+
listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
|
|
62
|
+
listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
63
|
+
listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link ListTagsForResourceCommand}
|
|
66
|
+
*/
|
|
67
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
68
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
69
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
70
|
+
/**
|
|
71
|
+
* @see {@link TagResourceCommand}
|
|
72
|
+
*/
|
|
73
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
74
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
75
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link UntagResourceCommand}
|
|
78
|
+
*/
|
|
79
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
80
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
81
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
82
|
+
/**
|
|
83
|
+
* @see {@link UpdateExportCommand}
|
|
84
|
+
*/
|
|
85
|
+
updateExport(args: UpdateExportCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExportCommandOutput>;
|
|
86
|
+
updateExport(args: UpdateExportCommandInput, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
|
|
87
|
+
updateExport(args: UpdateExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* <p>You can use the Data Exports API to create customized exports from multiple Amazon Web Services cost management and billing datasets, such as cost and usage data and cost
|
|
92
|
+
* optimization recommendations.</p>
|
|
93
|
+
* <p>The Data Exports API provides the following endpoint:</p>
|
|
94
|
+
* <ul>
|
|
95
|
+
* <li>
|
|
96
|
+
* <p>https://bcm-data-exports.us-east-1.api.aws</p>
|
|
97
|
+
* </li>
|
|
98
|
+
* </ul>
|
|
99
|
+
*/
|
|
100
|
+
export declare class BCMDataExports extends BCMDataExportsClient implements BCMDataExports {
|
|
101
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
3
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
4
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
8
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
|
+
import { CreateExportCommandInput, CreateExportCommandOutput } from "./commands/CreateExportCommand";
|
|
12
|
+
import { DeleteExportCommandInput, DeleteExportCommandOutput } from "./commands/DeleteExportCommand";
|
|
13
|
+
import { GetExecutionCommandInput, GetExecutionCommandOutput } from "./commands/GetExecutionCommand";
|
|
14
|
+
import { GetExportCommandInput, GetExportCommandOutput } from "./commands/GetExportCommand";
|
|
15
|
+
import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
|
|
16
|
+
import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "./commands/ListExecutionsCommand";
|
|
17
|
+
import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
|
|
18
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
19
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
21
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
|
+
import { UpdateExportCommandInput, UpdateExportCommandOutput } from "./commands/UpdateExportCommand";
|
|
23
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
24
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
25
|
+
export { __Client };
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type ServiceInputTypes = CreateExportCommandInput | DeleteExportCommandInput | GetExecutionCommandInput | GetExportCommandInput | GetTableCommandInput | ListExecutionsCommandInput | ListExportsCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateExportCommandInput;
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export type ServiceOutputTypes = CreateExportCommandOutput | DeleteExportCommandOutput | GetExecutionCommandOutput | GetExportCommandOutput | GetTableCommandOutput | ListExecutionsCommandOutput | ListExportsCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateExportCommandOutput;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
38
|
+
/**
|
|
39
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
40
|
+
*/
|
|
41
|
+
requestHandler?: __HttpHandler;
|
|
42
|
+
/**
|
|
43
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
44
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
48
|
+
/**
|
|
49
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
urlParser?: __UrlParser;
|
|
53
|
+
/**
|
|
54
|
+
* A function that can calculate the length of a request body.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
58
|
+
/**
|
|
59
|
+
* A function that converts a stream into an array of bytes.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
streamCollector?: __StreamCollector;
|
|
63
|
+
/**
|
|
64
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
base64Decoder?: __Decoder;
|
|
68
|
+
/**
|
|
69
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
base64Encoder?: __Encoder;
|
|
73
|
+
/**
|
|
74
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
utf8Decoder?: __Decoder;
|
|
78
|
+
/**
|
|
79
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
utf8Encoder?: __Encoder;
|
|
83
|
+
/**
|
|
84
|
+
* The runtime environment.
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
runtime?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
90
|
+
* trait of an operation.
|
|
91
|
+
*/
|
|
92
|
+
disableHostPrefix?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Unique service identifier.
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
serviceId?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
100
|
+
*/
|
|
101
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
102
|
+
/**
|
|
103
|
+
* Enables FIPS compatible endpoints.
|
|
104
|
+
*/
|
|
105
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* The AWS region to which this client will send requests
|
|
108
|
+
*/
|
|
109
|
+
region?: string | __Provider<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Default credentials provider; Not available in browser runtime.
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
115
|
+
/**
|
|
116
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
120
|
+
/**
|
|
121
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
122
|
+
*/
|
|
123
|
+
maxAttempts?: number | __Provider<number>;
|
|
124
|
+
/**
|
|
125
|
+
* Specifies which retry algorithm to use.
|
|
126
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
retryMode?: string | __Provider<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Optional logger for logging debug/info/warn/error.
|
|
132
|
+
*/
|
|
133
|
+
logger?: __Logger;
|
|
134
|
+
/**
|
|
135
|
+
* Optional extensions
|
|
136
|
+
*/
|
|
137
|
+
extensions?: RuntimeExtension[];
|
|
138
|
+
/**
|
|
139
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
140
|
+
*/
|
|
141
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export type BCMDataExportsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*
|
|
150
|
+
* The configuration interface of BCMDataExportsClient class constructor that set the region, credentials and other options.
|
|
151
|
+
*/
|
|
152
|
+
export interface BCMDataExportsClientConfig extends BCMDataExportsClientConfigType {
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export type BCMDataExportsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*
|
|
161
|
+
* The resolved configuration interface of BCMDataExportsClient class. This is resolved and normalized from the {@link BCMDataExportsClientConfig | constructor configuration interface}.
|
|
162
|
+
*/
|
|
163
|
+
export interface BCMDataExportsClientResolvedConfig extends BCMDataExportsClientResolvedConfigType {
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
* <p>You can use the Data Exports API to create customized exports from multiple Amazon Web Services cost management and billing datasets, such as cost and usage data and cost
|
|
168
|
+
* optimization recommendations.</p>
|
|
169
|
+
* <p>The Data Exports API provides the following endpoint:</p>
|
|
170
|
+
* <ul>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>https://bcm-data-exports.us-east-1.api.aws</p>
|
|
173
|
+
* </li>
|
|
174
|
+
* </ul>
|
|
175
|
+
*/
|
|
176
|
+
export declare class BCMDataExportsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BCMDataExportsClientResolvedConfig> {
|
|
177
|
+
/**
|
|
178
|
+
* The resolved configuration of BCMDataExportsClient class. This is resolved and normalized from the {@link BCMDataExportsClientConfig | constructor configuration interface}.
|
|
179
|
+
*/
|
|
180
|
+
readonly config: BCMDataExportsClientResolvedConfig;
|
|
181
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<BCMDataExportsClientConfig>);
|
|
182
|
+
/**
|
|
183
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
184
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
185
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
186
|
+
*/
|
|
187
|
+
destroy(): void;
|
|
188
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BCMDataExportsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BCMDataExportsClient";
|
|
5
|
+
import { CreateExportRequest, CreateExportResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateExportCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateExportCommandInput extends CreateExportRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateExportCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateExportCommandOutput extends CreateExportResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a data export and specifies the data query, the delivery preference, and any
|
|
27
|
+
* optional resource tags.</p>
|
|
28
|
+
* <p>A <code>DataQuery</code> consists of both a <code>QueryStatement</code> and
|
|
29
|
+
* <code>TableConfigurations</code>.</p>
|
|
30
|
+
* <p>The <code>QueryStatement</code> is an SQL statement. Data Exports only supports a limited
|
|
31
|
+
* subset of the SQL syntax. For more information on the SQL syntax that is supported, see <a href="https://docs.aws.amazon.com/cur/latest/userguide/de-data-query.html">Data query</a>. To
|
|
32
|
+
* view the available tables and columns, see the <a href="https://docs.aws.amazon.com/cur/latest/userguide/de-table-dictionary.html">Data Exports table
|
|
33
|
+
* dictionary</a>.</p>
|
|
34
|
+
* <p>The <code>TableConfigurations</code> is a collection of specified
|
|
35
|
+
* <code>TableProperties</code> for the table being queried in the <code>QueryStatement</code>.
|
|
36
|
+
* TableProperties are additional configurations you can provide to change the data and schema of
|
|
37
|
+
* a table. Each table can have different TableProperties. However, tables are not required to
|
|
38
|
+
* have any TableProperties. Each table property has a default value that it assumes if not
|
|
39
|
+
* specified. For more information on table configurations, see <a href="https://docs.aws.amazon.com/cur/latest/userguide/de-data-query.html">Data query</a>. To
|
|
40
|
+
* view the table properties available for each table, see the <a href="https://docs.aws.amazon.com/cur/latest/userguide/de-table-dictionary.html">Data Exports table
|
|
41
|
+
* dictionary</a> or use the <code>ListTables</code> API to get a response of all tables
|
|
42
|
+
* and their available properties.</p>
|
|
43
|
+
* @example
|
|
44
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
+
* ```javascript
|
|
46
|
+
* import { BCMDataExportsClient, CreateExportCommand } from "@aws-sdk/client-bcm-data-exports"; // ES Modules import
|
|
47
|
+
* // const { BCMDataExportsClient, CreateExportCommand } = require("@aws-sdk/client-bcm-data-exports"); // CommonJS import
|
|
48
|
+
* const client = new BCMDataExportsClient(config);
|
|
49
|
+
* const input = { // CreateExportRequest
|
|
50
|
+
* Export: { // Export
|
|
51
|
+
* ExportArn: "STRING_VALUE",
|
|
52
|
+
* Name: "STRING_VALUE", // required
|
|
53
|
+
* Description: "STRING_VALUE",
|
|
54
|
+
* DataQuery: { // DataQuery
|
|
55
|
+
* QueryStatement: "STRING_VALUE", // required
|
|
56
|
+
* TableConfigurations: { // TableConfigurations
|
|
57
|
+
* "<keys>": { // TableProperties
|
|
58
|
+
* "<keys>": "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* DestinationConfigurations: { // DestinationConfigurations
|
|
63
|
+
* S3Destination: { // S3Destination
|
|
64
|
+
* S3Bucket: "STRING_VALUE", // required
|
|
65
|
+
* S3Prefix: "STRING_VALUE", // required
|
|
66
|
+
* S3Region: "STRING_VALUE", // required
|
|
67
|
+
* S3OutputConfigurations: { // S3OutputConfigurations
|
|
68
|
+
* OutputType: "CUSTOM", // required
|
|
69
|
+
* Format: "TEXT_OR_CSV" || "PARQUET", // required
|
|
70
|
+
* Compression: "GZIP" || "PARQUET", // required
|
|
71
|
+
* Overwrite: "CREATE_NEW_REPORT" || "OVERWRITE_REPORT", // required
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* RefreshCadence: { // RefreshCadence
|
|
76
|
+
* Frequency: "SYNCHRONOUS", // required
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* ResourceTags: [ // ResourceTagList
|
|
80
|
+
* { // ResourceTag
|
|
81
|
+
* Key: "STRING_VALUE", // required
|
|
82
|
+
* Value: "STRING_VALUE", // required
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* };
|
|
86
|
+
* const command = new CreateExportCommand(input);
|
|
87
|
+
* const response = await client.send(command);
|
|
88
|
+
* // { // CreateExportResponse
|
|
89
|
+
* // ExportArn: "STRING_VALUE",
|
|
90
|
+
* // };
|
|
91
|
+
*
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @param CreateExportCommandInput - {@link CreateExportCommandInput}
|
|
95
|
+
* @returns {@link CreateExportCommandOutput}
|
|
96
|
+
* @see {@link CreateExportCommandInput} for command's `input` shape.
|
|
97
|
+
* @see {@link CreateExportCommandOutput} for command's `response` shape.
|
|
98
|
+
* @see {@link BCMDataExportsClientResolvedConfig | config} for BCMDataExportsClient's `config` shape.
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link InternalServerException} (server fault)
|
|
101
|
+
* <p>An error on the server occurred during the processing of your request. Try again
|
|
102
|
+
* later.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
105
|
+
* <p>You've reached the limit on the number of resources you can create, or exceeded the size
|
|
106
|
+
* of an individual resource.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
109
|
+
* <p>The request was denied due to request throttling.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ValidationException} (client fault)
|
|
112
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
113
|
+
* service.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link BCMDataExportsServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from BCMDataExports service.</p>
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
export declare class CreateExportCommand extends $Command<CreateExportCommandInput, CreateExportCommandOutput, BCMDataExportsClientResolvedConfig> {
|
|
120
|
+
readonly input: CreateExportCommandInput;
|
|
121
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
constructor(input: CreateExportCommandInput);
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BCMDataExportsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExportCommandInput, CreateExportCommandOutput>;
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
private serialize;
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
private deserialize;
|
|
138
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BCMDataExportsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BCMDataExportsClient";
|
|
5
|
+
import { DeleteExportRequest, DeleteExportResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteExportCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteExportCommandInput extends DeleteExportRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteExportCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteExportCommandOutput extends DeleteExportResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes an existing data export.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { BCMDataExportsClient, DeleteExportCommand } from "@aws-sdk/client-bcm-data-exports"; // ES Modules import
|
|
31
|
+
* // const { BCMDataExportsClient, DeleteExportCommand } = require("@aws-sdk/client-bcm-data-exports"); // CommonJS import
|
|
32
|
+
* const client = new BCMDataExportsClient(config);
|
|
33
|
+
* const input = { // DeleteExportRequest
|
|
34
|
+
* ExportArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteExportCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DeleteExportResponse
|
|
39
|
+
* // ExportArn: "STRING_VALUE",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DeleteExportCommandInput - {@link DeleteExportCommandInput}
|
|
45
|
+
* @returns {@link DeleteExportCommandOutput}
|
|
46
|
+
* @see {@link DeleteExportCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DeleteExportCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link BCMDataExportsClientResolvedConfig | config} for BCMDataExportsClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link InternalServerException} (server fault)
|
|
51
|
+
* <p>An error on the server occurred during the processing of your request. Try again
|
|
52
|
+
* later.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
|
+
* <p>The specified Amazon Resource Name (ARN) in the request doesn't exist.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
58
|
+
* <p>The request was denied due to request throttling.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ValidationException} (client fault)
|
|
61
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
62
|
+
* service.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link BCMDataExportsServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from BCMDataExports service.</p>
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export declare class DeleteExportCommand extends $Command<DeleteExportCommandInput, DeleteExportCommandOutput, BCMDataExportsClientResolvedConfig> {
|
|
69
|
+
readonly input: DeleteExportCommandInput;
|
|
70
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
constructor(input: DeleteExportCommandInput);
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BCMDataExportsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteExportCommandInput, DeleteExportCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private deserialize;
|
|
87
|
+
}
|