@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,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExportStatusCode = exports.ExecutionStatusReason = exports.ExecutionStatusCode = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.FrequencyOption = exports.OverwriteOption = exports.S3OutputType = exports.FormatOption = exports.CompressionOption = void 0;
|
|
4
|
+
const BCMDataExportsServiceException_1 = require("./BCMDataExportsServiceException");
|
|
5
|
+
exports.CompressionOption = {
|
|
6
|
+
GZIP: "GZIP",
|
|
7
|
+
PARQUET: "PARQUET",
|
|
8
|
+
};
|
|
9
|
+
exports.FormatOption = {
|
|
10
|
+
PARQUET: "PARQUET",
|
|
11
|
+
TEXT_OR_CSV: "TEXT_OR_CSV",
|
|
12
|
+
};
|
|
13
|
+
exports.S3OutputType = {
|
|
14
|
+
CUSTOM: "CUSTOM",
|
|
15
|
+
};
|
|
16
|
+
exports.OverwriteOption = {
|
|
17
|
+
CREATE_NEW_REPORT: "CREATE_NEW_REPORT",
|
|
18
|
+
OVERWRITE_REPORT: "OVERWRITE_REPORT",
|
|
19
|
+
};
|
|
20
|
+
exports.FrequencyOption = {
|
|
21
|
+
SYNCHRONOUS: "SYNCHRONOUS",
|
|
22
|
+
};
|
|
23
|
+
class InternalServerException extends BCMDataExportsServiceException_1.BCMDataExportsServiceException {
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "InternalServerException",
|
|
27
|
+
$fault: "server",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
this.name = "InternalServerException";
|
|
31
|
+
this.$fault = "server";
|
|
32
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
33
|
+
this.Message = opts.Message;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.InternalServerException = InternalServerException;
|
|
37
|
+
class ServiceQuotaExceededException extends BCMDataExportsServiceException_1.BCMDataExportsServiceException {
|
|
38
|
+
constructor(opts) {
|
|
39
|
+
super({
|
|
40
|
+
name: "ServiceQuotaExceededException",
|
|
41
|
+
$fault: "client",
|
|
42
|
+
...opts,
|
|
43
|
+
});
|
|
44
|
+
this.name = "ServiceQuotaExceededException";
|
|
45
|
+
this.$fault = "client";
|
|
46
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
this.ResourceId = opts.ResourceId;
|
|
49
|
+
this.ResourceType = opts.ResourceType;
|
|
50
|
+
this.QuotaCode = opts.QuotaCode;
|
|
51
|
+
this.ServiceCode = opts.ServiceCode;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
55
|
+
class ThrottlingException extends BCMDataExportsServiceException_1.BCMDataExportsServiceException {
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "ThrottlingException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
this.name = "ThrottlingException";
|
|
63
|
+
this.$fault = "client";
|
|
64
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
65
|
+
this.Message = opts.Message;
|
|
66
|
+
this.QuotaCode = opts.QuotaCode;
|
|
67
|
+
this.ServiceCode = opts.ServiceCode;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.ThrottlingException = ThrottlingException;
|
|
71
|
+
exports.ValidationExceptionReason = {
|
|
72
|
+
CANNOT_PARSE: "cannotParse",
|
|
73
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
74
|
+
OTHER: "other",
|
|
75
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
76
|
+
};
|
|
77
|
+
class ValidationException extends BCMDataExportsServiceException_1.BCMDataExportsServiceException {
|
|
78
|
+
constructor(opts) {
|
|
79
|
+
super({
|
|
80
|
+
name: "ValidationException",
|
|
81
|
+
$fault: "client",
|
|
82
|
+
...opts,
|
|
83
|
+
});
|
|
84
|
+
this.name = "ValidationException";
|
|
85
|
+
this.$fault = "client";
|
|
86
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
87
|
+
this.Message = opts.Message;
|
|
88
|
+
this.Reason = opts.Reason;
|
|
89
|
+
this.Fields = opts.Fields;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.ValidationException = ValidationException;
|
|
93
|
+
class ResourceNotFoundException extends BCMDataExportsServiceException_1.BCMDataExportsServiceException {
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "ResourceNotFoundException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
this.name = "ResourceNotFoundException";
|
|
101
|
+
this.$fault = "client";
|
|
102
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
103
|
+
this.Message = opts.Message;
|
|
104
|
+
this.ResourceId = opts.ResourceId;
|
|
105
|
+
this.ResourceType = opts.ResourceType;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
109
|
+
exports.ExecutionStatusCode = {
|
|
110
|
+
DELIVERY_FAILURE: "DELIVERY_FAILURE",
|
|
111
|
+
DELIVERY_IN_PROCESS: "DELIVERY_IN_PROCESS",
|
|
112
|
+
DELIVERY_SUCCESS: "DELIVERY_SUCCESS",
|
|
113
|
+
INITIATION_IN_PROCESS: "INITIATION_IN_PROCESS",
|
|
114
|
+
QUERY_FAILURE: "QUERY_FAILURE",
|
|
115
|
+
QUERY_IN_PROCESS: "QUERY_IN_PROCESS",
|
|
116
|
+
QUERY_QUEUED: "QUERY_QUEUED",
|
|
117
|
+
};
|
|
118
|
+
exports.ExecutionStatusReason = {
|
|
119
|
+
BILL_OWNER_CHANGED: "BILL_OWNER_CHANGED",
|
|
120
|
+
INSUFFICIENT_PERMISSION: "INSUFFICIENT_PERMISSION",
|
|
121
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
122
|
+
};
|
|
123
|
+
exports.ExportStatusCode = {
|
|
124
|
+
HEALTHY: "HEALTHY",
|
|
125
|
+
UNHEALTHY: "UNHEALTHY",
|
|
126
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListExecutions = void 0;
|
|
4
|
+
const BCMDataExportsClient_1 = require("../BCMDataExportsClient");
|
|
5
|
+
const ListExecutionsCommand_1 = require("../commands/ListExecutionsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListExecutionsCommand_1.ListExecutionsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListExecutions(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof BCMDataExportsClient_1.BCMDataExportsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected BCMDataExports | BCMDataExportsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListExecutions = paginateListExecutions;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListExports = void 0;
|
|
4
|
+
const BCMDataExportsClient_1 = require("../BCMDataExportsClient");
|
|
5
|
+
const ListExportsCommand_1 = require("../commands/ListExportsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListExportsCommand_1.ListExportsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListExports(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof BCMDataExportsClient_1.BCMDataExportsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected BCMDataExports | BCMDataExportsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListExports = paginateListExports;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListTables = void 0;
|
|
4
|
+
const BCMDataExportsClient_1 = require("../BCMDataExportsClient");
|
|
5
|
+
const ListTablesCommand_1 = require("../commands/ListTablesCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListTablesCommand_1.ListTablesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListTables(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof BCMDataExportsClient_1.BCMDataExportsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected BCMDataExports | BCMDataExportsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListTables = paginateListTables;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListExecutionsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListExportsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListTablesPaginator"), exports);
|