@aws-sdk/client-s3tables 3.787.0 → 3.790.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/README.md +33 -1
- package/dist-cjs/S3Tables.js +8 -0
- package/dist-cjs/commands/DeleteTableBucketEncryptionCommand.js +26 -0
- package/dist-cjs/commands/GetTableBucketEncryptionCommand.js +26 -0
- package/dist-cjs/commands/GetTableEncryptionCommand.js +26 -0
- package/dist-cjs/commands/PutTableBucketEncryptionCommand.js +26 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +113 -2
- package/dist-es/S3Tables.js +8 -0
- package/dist-es/commands/DeleteTableBucketEncryptionCommand.js +22 -0
- package/dist-es/commands/GetTableBucketEncryptionCommand.js +22 -0
- package/dist-es/commands/GetTableEncryptionCommand.js +22 -0
- package/dist-es/commands/PutTableBucketEncryptionCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +103 -0
- package/dist-types/S3Tables.d.ts +29 -1
- package/dist-types/S3TablesClient.d.ts +7 -3
- package/dist-types/commands/CreateTableBucketCommand.d.ts +12 -1
- package/dist-types/commands/CreateTableCommand.d.ts +16 -2
- package/dist-types/commands/DeleteTableBucketEncryptionCommand.d.ts +95 -0
- package/dist-types/commands/GetNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/GetTableBucketCommand.d.ts +1 -0
- package/dist-types/commands/GetTableBucketEncryptionCommand.d.ts +99 -0
- package/dist-types/commands/GetTableCommand.d.ts +2 -0
- package/dist-types/commands/GetTableEncryptionCommand.d.ts +101 -0
- package/dist-types/commands/ListNamespacesCommand.d.ts +2 -0
- package/dist-types/commands/ListTableBucketsCommand.d.ts +1 -0
- package/dist-types/commands/ListTablesCommand.d.ts +2 -0
- package/dist-types/commands/PutTableBucketEncryptionCommand.d.ts +103 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +171 -12
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/S3Tables.d.ts +68 -0
- package/dist-types/ts3.4/S3TablesClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteTableBucketEncryptionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTableBucketEncryptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableEncryptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutTableBucketEncryptionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_PutTableBucketEncryptionCommand, se_PutTableBucketEncryptionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutTableBucketEncryptionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("S3TableBuckets", "PutTableBucketEncryption", {})
|
|
17
|
+
.n("S3TablesClient", "PutTableBucketEncryptionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_PutTableBucketEncryptionCommand)
|
|
20
|
+
.de(de_PutTableBucketEncryptionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -3,14 +3,17 @@ export * from "./CreateTableBucketCommand";
|
|
|
3
3
|
export * from "./CreateTableCommand";
|
|
4
4
|
export * from "./DeleteNamespaceCommand";
|
|
5
5
|
export * from "./DeleteTableBucketCommand";
|
|
6
|
+
export * from "./DeleteTableBucketEncryptionCommand";
|
|
6
7
|
export * from "./DeleteTableBucketPolicyCommand";
|
|
7
8
|
export * from "./DeleteTableCommand";
|
|
8
9
|
export * from "./DeleteTablePolicyCommand";
|
|
9
10
|
export * from "./GetNamespaceCommand";
|
|
10
11
|
export * from "./GetTableBucketCommand";
|
|
12
|
+
export * from "./GetTableBucketEncryptionCommand";
|
|
11
13
|
export * from "./GetTableBucketMaintenanceConfigurationCommand";
|
|
12
14
|
export * from "./GetTableBucketPolicyCommand";
|
|
13
15
|
export * from "./GetTableCommand";
|
|
16
|
+
export * from "./GetTableEncryptionCommand";
|
|
14
17
|
export * from "./GetTableMaintenanceConfigurationCommand";
|
|
15
18
|
export * from "./GetTableMaintenanceJobStatusCommand";
|
|
16
19
|
export * from "./GetTableMetadataLocationCommand";
|
|
@@ -18,6 +21,7 @@ export * from "./GetTablePolicyCommand";
|
|
|
18
21
|
export * from "./ListNamespacesCommand";
|
|
19
22
|
export * from "./ListTableBucketsCommand";
|
|
20
23
|
export * from "./ListTablesCommand";
|
|
24
|
+
export * from "./PutTableBucketEncryptionCommand";
|
|
21
25
|
export * from "./PutTableBucketMaintenanceConfigurationCommand";
|
|
22
26
|
export * from "./PutTableBucketPolicyCommand";
|
|
23
27
|
export * from "./PutTableMaintenanceConfigurationCommand";
|
|
@@ -83,6 +83,10 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
83
83
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
+
export const SSEAlgorithm = {
|
|
87
|
+
AES256: "AES256",
|
|
88
|
+
AWS_KMS: "aws:kms",
|
|
89
|
+
};
|
|
86
90
|
export const OpenTableFormat = {
|
|
87
91
|
ICEBERG: "ICEBERG",
|
|
88
92
|
};
|
|
@@ -27,6 +27,7 @@ export const se_CreateTableCommand = async (input, context) => {
|
|
|
27
27
|
b.p("namespace", () => input.namespace, "{namespace}", false);
|
|
28
28
|
let body;
|
|
29
29
|
body = JSON.stringify(take(input, {
|
|
30
|
+
encryptionConfiguration: (_) => _json(_),
|
|
30
31
|
format: [],
|
|
31
32
|
metadata: (_) => _json(_),
|
|
32
33
|
name: [],
|
|
@@ -42,6 +43,7 @@ export const se_CreateTableBucketCommand = async (input, context) => {
|
|
|
42
43
|
b.bp("/buckets");
|
|
43
44
|
let body;
|
|
44
45
|
body = JSON.stringify(take(input, {
|
|
46
|
+
encryptionConfiguration: (_) => _json(_),
|
|
45
47
|
name: [],
|
|
46
48
|
}));
|
|
47
49
|
b.m("PUT").h(headers).b(body);
|
|
@@ -80,6 +82,15 @@ export const se_DeleteTableBucketCommand = async (input, context) => {
|
|
|
80
82
|
b.m("DELETE").h(headers).b(body);
|
|
81
83
|
return b.build();
|
|
82
84
|
};
|
|
85
|
+
export const se_DeleteTableBucketEncryptionCommand = async (input, context) => {
|
|
86
|
+
const b = rb(input, context);
|
|
87
|
+
const headers = {};
|
|
88
|
+
b.bp("/buckets/{tableBucketARN}/encryption");
|
|
89
|
+
b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
|
|
90
|
+
let body;
|
|
91
|
+
b.m("DELETE").h(headers).b(body);
|
|
92
|
+
return b.build();
|
|
93
|
+
};
|
|
83
94
|
export const se_DeleteTableBucketPolicyCommand = async (input, context) => {
|
|
84
95
|
const b = rb(input, context);
|
|
85
96
|
const headers = {};
|
|
@@ -130,6 +141,15 @@ export const se_GetTableBucketCommand = async (input, context) => {
|
|
|
130
141
|
b.m("GET").h(headers).b(body);
|
|
131
142
|
return b.build();
|
|
132
143
|
};
|
|
144
|
+
export const se_GetTableBucketEncryptionCommand = async (input, context) => {
|
|
145
|
+
const b = rb(input, context);
|
|
146
|
+
const headers = {};
|
|
147
|
+
b.bp("/buckets/{tableBucketARN}/encryption");
|
|
148
|
+
b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
|
|
149
|
+
let body;
|
|
150
|
+
b.m("GET").h(headers).b(body);
|
|
151
|
+
return b.build();
|
|
152
|
+
};
|
|
133
153
|
export const se_GetTableBucketMaintenanceConfigurationCommand = async (input, context) => {
|
|
134
154
|
const b = rb(input, context);
|
|
135
155
|
const headers = {};
|
|
@@ -148,6 +168,17 @@ export const se_GetTableBucketPolicyCommand = async (input, context) => {
|
|
|
148
168
|
b.m("GET").h(headers).b(body);
|
|
149
169
|
return b.build();
|
|
150
170
|
};
|
|
171
|
+
export const se_GetTableEncryptionCommand = async (input, context) => {
|
|
172
|
+
const b = rb(input, context);
|
|
173
|
+
const headers = {};
|
|
174
|
+
b.bp("/tables/{tableBucketARN}/{namespace}/{name}/encryption");
|
|
175
|
+
b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
|
|
176
|
+
b.p("namespace", () => input.namespace, "{namespace}", false);
|
|
177
|
+
b.p("name", () => input.name, "{name}", false);
|
|
178
|
+
let body;
|
|
179
|
+
b.m("GET").h(headers).b(body);
|
|
180
|
+
return b.build();
|
|
181
|
+
};
|
|
151
182
|
export const se_GetTableMaintenanceConfigurationCommand = async (input, context) => {
|
|
152
183
|
const b = rb(input, context);
|
|
153
184
|
const headers = {};
|
|
@@ -234,6 +265,20 @@ export const se_ListTablesCommand = async (input, context) => {
|
|
|
234
265
|
b.m("GET").h(headers).q(query).b(body);
|
|
235
266
|
return b.build();
|
|
236
267
|
};
|
|
268
|
+
export const se_PutTableBucketEncryptionCommand = async (input, context) => {
|
|
269
|
+
const b = rb(input, context);
|
|
270
|
+
const headers = {
|
|
271
|
+
"content-type": "application/json",
|
|
272
|
+
};
|
|
273
|
+
b.bp("/buckets/{tableBucketARN}/encryption");
|
|
274
|
+
b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
|
|
275
|
+
let body;
|
|
276
|
+
body = JSON.stringify(take(input, {
|
|
277
|
+
encryptionConfiguration: (_) => _json(_),
|
|
278
|
+
}));
|
|
279
|
+
b.m("PUT").h(headers).b(body);
|
|
280
|
+
return b.build();
|
|
281
|
+
};
|
|
237
282
|
export const se_PutTableBucketMaintenanceConfigurationCommand = async (input, context) => {
|
|
238
283
|
const b = rb(input, context);
|
|
239
284
|
const headers = {
|
|
@@ -405,6 +450,16 @@ export const de_DeleteTableBucketCommand = async (output, context) => {
|
|
|
405
450
|
await collectBody(output.body, context);
|
|
406
451
|
return contents;
|
|
407
452
|
};
|
|
453
|
+
export const de_DeleteTableBucketEncryptionCommand = async (output, context) => {
|
|
454
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
455
|
+
return de_CommandError(output, context);
|
|
456
|
+
}
|
|
457
|
+
const contents = map({
|
|
458
|
+
$metadata: deserializeMetadata(output),
|
|
459
|
+
});
|
|
460
|
+
await collectBody(output.body, context);
|
|
461
|
+
return contents;
|
|
462
|
+
};
|
|
408
463
|
export const de_DeleteTableBucketPolicyCommand = async (output, context) => {
|
|
409
464
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
410
465
|
return de_CommandError(output, context);
|
|
@@ -437,7 +492,9 @@ export const de_GetNamespaceCommand = async (output, context) => {
|
|
|
437
492
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
438
493
|
createdBy: __expectString,
|
|
439
494
|
namespace: _json,
|
|
495
|
+
namespaceId: __expectString,
|
|
440
496
|
ownerAccountId: __expectString,
|
|
497
|
+
tableBucketId: __expectString,
|
|
441
498
|
});
|
|
442
499
|
Object.assign(contents, doc);
|
|
443
500
|
return contents;
|
|
@@ -460,8 +517,10 @@ export const de_GetTableCommand = async (output, context) => {
|
|
|
460
517
|
modifiedBy: __expectString,
|
|
461
518
|
name: __expectString,
|
|
462
519
|
namespace: _json,
|
|
520
|
+
namespaceId: __expectString,
|
|
463
521
|
ownerAccountId: __expectString,
|
|
464
522
|
tableARN: __expectString,
|
|
523
|
+
tableBucketId: __expectString,
|
|
465
524
|
type: __expectString,
|
|
466
525
|
versionToken: __expectString,
|
|
467
526
|
warehouseLocation: __expectString,
|
|
@@ -482,6 +541,21 @@ export const de_GetTableBucketCommand = async (output, context) => {
|
|
|
482
541
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
483
542
|
name: __expectString,
|
|
484
543
|
ownerAccountId: __expectString,
|
|
544
|
+
tableBucketId: __expectString,
|
|
545
|
+
});
|
|
546
|
+
Object.assign(contents, doc);
|
|
547
|
+
return contents;
|
|
548
|
+
};
|
|
549
|
+
export const de_GetTableBucketEncryptionCommand = async (output, context) => {
|
|
550
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
551
|
+
return de_CommandError(output, context);
|
|
552
|
+
}
|
|
553
|
+
const contents = map({
|
|
554
|
+
$metadata: deserializeMetadata(output),
|
|
555
|
+
});
|
|
556
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
557
|
+
const doc = take(data, {
|
|
558
|
+
encryptionConfiguration: _json,
|
|
485
559
|
});
|
|
486
560
|
Object.assign(contents, doc);
|
|
487
561
|
return contents;
|
|
@@ -515,6 +589,20 @@ export const de_GetTableBucketPolicyCommand = async (output, context) => {
|
|
|
515
589
|
Object.assign(contents, doc);
|
|
516
590
|
return contents;
|
|
517
591
|
};
|
|
592
|
+
export const de_GetTableEncryptionCommand = async (output, context) => {
|
|
593
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
594
|
+
return de_CommandError(output, context);
|
|
595
|
+
}
|
|
596
|
+
const contents = map({
|
|
597
|
+
$metadata: deserializeMetadata(output),
|
|
598
|
+
});
|
|
599
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
600
|
+
const doc = take(data, {
|
|
601
|
+
encryptionConfiguration: _json,
|
|
602
|
+
});
|
|
603
|
+
Object.assign(contents, doc);
|
|
604
|
+
return contents;
|
|
605
|
+
};
|
|
518
606
|
export const de_GetTableMaintenanceConfigurationCommand = async (output, context) => {
|
|
519
607
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
520
608
|
return de_CommandError(output, context);
|
|
@@ -620,6 +708,16 @@ export const de_ListTablesCommand = async (output, context) => {
|
|
|
620
708
|
Object.assign(contents, doc);
|
|
621
709
|
return contents;
|
|
622
710
|
};
|
|
711
|
+
export const de_PutTableBucketEncryptionCommand = async (output, context) => {
|
|
712
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
713
|
+
return de_CommandError(output, context);
|
|
714
|
+
}
|
|
715
|
+
const contents = map({
|
|
716
|
+
$metadata: deserializeMetadata(output),
|
|
717
|
+
});
|
|
718
|
+
await collectBody(output.body, context);
|
|
719
|
+
return contents;
|
|
720
|
+
};
|
|
623
721
|
export const de_PutTableBucketMaintenanceConfigurationCommand = async (output, context) => {
|
|
624
722
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
625
723
|
return de_CommandError(output, context);
|
|
@@ -822,7 +920,9 @@ const de_NamespaceSummary = (output, context) => {
|
|
|
822
920
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
823
921
|
createdBy: __expectString,
|
|
824
922
|
namespace: _json,
|
|
923
|
+
namespaceId: __expectString,
|
|
825
924
|
ownerAccountId: __expectString,
|
|
925
|
+
tableBucketId: __expectString,
|
|
826
926
|
});
|
|
827
927
|
};
|
|
828
928
|
const de_NamespaceSummaryList = (output, context) => {
|
|
@@ -839,6 +939,7 @@ const de_TableBucketSummary = (output, context) => {
|
|
|
839
939
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
840
940
|
name: __expectString,
|
|
841
941
|
ownerAccountId: __expectString,
|
|
942
|
+
tableBucketId: __expectString,
|
|
842
943
|
});
|
|
843
944
|
};
|
|
844
945
|
const de_TableBucketSummaryList = (output, context) => {
|
|
@@ -871,7 +972,9 @@ const de_TableSummary = (output, context) => {
|
|
|
871
972
|
modifiedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
872
973
|
name: __expectString,
|
|
873
974
|
namespace: _json,
|
|
975
|
+
namespaceId: __expectString,
|
|
874
976
|
tableARN: __expectString,
|
|
977
|
+
tableBucketId: __expectString,
|
|
875
978
|
type: __expectString,
|
|
876
979
|
});
|
|
877
980
|
};
|
package/dist-types/S3Tables.d.ts
CHANGED
|
@@ -4,14 +4,17 @@ import { CreateTableBucketCommandInput, CreateTableBucketCommandOutput } from ".
|
|
|
4
4
|
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
5
5
|
import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
|
|
6
6
|
import { DeleteTableBucketCommandInput, DeleteTableBucketCommandOutput } from "./commands/DeleteTableBucketCommand";
|
|
7
|
+
import { DeleteTableBucketEncryptionCommandInput, DeleteTableBucketEncryptionCommandOutput } from "./commands/DeleteTableBucketEncryptionCommand";
|
|
7
8
|
import { DeleteTableBucketPolicyCommandInput, DeleteTableBucketPolicyCommandOutput } from "./commands/DeleteTableBucketPolicyCommand";
|
|
8
9
|
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
9
10
|
import { DeleteTablePolicyCommandInput, DeleteTablePolicyCommandOutput } from "./commands/DeleteTablePolicyCommand";
|
|
10
11
|
import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/GetNamespaceCommand";
|
|
11
12
|
import { GetTableBucketCommandInput, GetTableBucketCommandOutput } from "./commands/GetTableBucketCommand";
|
|
13
|
+
import { GetTableBucketEncryptionCommandInput, GetTableBucketEncryptionCommandOutput } from "./commands/GetTableBucketEncryptionCommand";
|
|
12
14
|
import { GetTableBucketMaintenanceConfigurationCommandInput, GetTableBucketMaintenanceConfigurationCommandOutput } from "./commands/GetTableBucketMaintenanceConfigurationCommand";
|
|
13
15
|
import { GetTableBucketPolicyCommandInput, GetTableBucketPolicyCommandOutput } from "./commands/GetTableBucketPolicyCommand";
|
|
14
16
|
import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
|
|
17
|
+
import { GetTableEncryptionCommandInput, GetTableEncryptionCommandOutput } from "./commands/GetTableEncryptionCommand";
|
|
15
18
|
import { GetTableMaintenanceConfigurationCommandInput, GetTableMaintenanceConfigurationCommandOutput } from "./commands/GetTableMaintenanceConfigurationCommand";
|
|
16
19
|
import { GetTableMaintenanceJobStatusCommandInput, GetTableMaintenanceJobStatusCommandOutput } from "./commands/GetTableMaintenanceJobStatusCommand";
|
|
17
20
|
import { GetTableMetadataLocationCommandInput, GetTableMetadataLocationCommandOutput } from "./commands/GetTableMetadataLocationCommand";
|
|
@@ -19,6 +22,7 @@ import { GetTablePolicyCommandInput, GetTablePolicyCommandOutput } from "./comma
|
|
|
19
22
|
import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "./commands/ListNamespacesCommand";
|
|
20
23
|
import { ListTableBucketsCommandInput, ListTableBucketsCommandOutput } from "./commands/ListTableBucketsCommand";
|
|
21
24
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
25
|
+
import { PutTableBucketEncryptionCommandInput, PutTableBucketEncryptionCommandOutput } from "./commands/PutTableBucketEncryptionCommand";
|
|
22
26
|
import { PutTableBucketMaintenanceConfigurationCommandInput, PutTableBucketMaintenanceConfigurationCommandOutput } from "./commands/PutTableBucketMaintenanceConfigurationCommand";
|
|
23
27
|
import { PutTableBucketPolicyCommandInput, PutTableBucketPolicyCommandOutput } from "./commands/PutTableBucketPolicyCommand";
|
|
24
28
|
import { PutTableMaintenanceConfigurationCommandInput, PutTableMaintenanceConfigurationCommandOutput } from "./commands/PutTableMaintenanceConfigurationCommand";
|
|
@@ -63,6 +67,12 @@ export interface S3Tables {
|
|
|
63
67
|
deleteTableBucket(args: DeleteTableBucketCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableBucketCommandOutput>;
|
|
64
68
|
deleteTableBucket(args: DeleteTableBucketCommandInput, cb: (err: any, data?: DeleteTableBucketCommandOutput) => void): void;
|
|
65
69
|
deleteTableBucket(args: DeleteTableBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableBucketCommandOutput) => void): void;
|
|
70
|
+
/**
|
|
71
|
+
* @see {@link DeleteTableBucketEncryptionCommand}
|
|
72
|
+
*/
|
|
73
|
+
deleteTableBucketEncryption(args: DeleteTableBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableBucketEncryptionCommandOutput>;
|
|
74
|
+
deleteTableBucketEncryption(args: DeleteTableBucketEncryptionCommandInput, cb: (err: any, data?: DeleteTableBucketEncryptionCommandOutput) => void): void;
|
|
75
|
+
deleteTableBucketEncryption(args: DeleteTableBucketEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableBucketEncryptionCommandOutput) => void): void;
|
|
66
76
|
/**
|
|
67
77
|
* @see {@link DeleteTableBucketPolicyCommand}
|
|
68
78
|
*/
|
|
@@ -93,6 +103,12 @@ export interface S3Tables {
|
|
|
93
103
|
getTableBucket(args: GetTableBucketCommandInput, options?: __HttpHandlerOptions): Promise<GetTableBucketCommandOutput>;
|
|
94
104
|
getTableBucket(args: GetTableBucketCommandInput, cb: (err: any, data?: GetTableBucketCommandOutput) => void): void;
|
|
95
105
|
getTableBucket(args: GetTableBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableBucketCommandOutput) => void): void;
|
|
106
|
+
/**
|
|
107
|
+
* @see {@link GetTableBucketEncryptionCommand}
|
|
108
|
+
*/
|
|
109
|
+
getTableBucketEncryption(args: GetTableBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Promise<GetTableBucketEncryptionCommandOutput>;
|
|
110
|
+
getTableBucketEncryption(args: GetTableBucketEncryptionCommandInput, cb: (err: any, data?: GetTableBucketEncryptionCommandOutput) => void): void;
|
|
111
|
+
getTableBucketEncryption(args: GetTableBucketEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableBucketEncryptionCommandOutput) => void): void;
|
|
96
112
|
/**
|
|
97
113
|
* @see {@link GetTableBucketMaintenanceConfigurationCommand}
|
|
98
114
|
*/
|
|
@@ -105,6 +121,12 @@ export interface S3Tables {
|
|
|
105
121
|
getTableBucketPolicy(args: GetTableBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetTableBucketPolicyCommandOutput>;
|
|
106
122
|
getTableBucketPolicy(args: GetTableBucketPolicyCommandInput, cb: (err: any, data?: GetTableBucketPolicyCommandOutput) => void): void;
|
|
107
123
|
getTableBucketPolicy(args: GetTableBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableBucketPolicyCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link GetTableEncryptionCommand}
|
|
126
|
+
*/
|
|
127
|
+
getTableEncryption(args: GetTableEncryptionCommandInput, options?: __HttpHandlerOptions): Promise<GetTableEncryptionCommandOutput>;
|
|
128
|
+
getTableEncryption(args: GetTableEncryptionCommandInput, cb: (err: any, data?: GetTableEncryptionCommandOutput) => void): void;
|
|
129
|
+
getTableEncryption(args: GetTableEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableEncryptionCommandOutput) => void): void;
|
|
108
130
|
/**
|
|
109
131
|
* @see {@link GetTableMaintenanceConfigurationCommand}
|
|
110
132
|
*/
|
|
@@ -148,6 +170,12 @@ export interface S3Tables {
|
|
|
148
170
|
listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
|
|
149
171
|
listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
150
172
|
listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link PutTableBucketEncryptionCommand}
|
|
175
|
+
*/
|
|
176
|
+
putTableBucketEncryption(args: PutTableBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Promise<PutTableBucketEncryptionCommandOutput>;
|
|
177
|
+
putTableBucketEncryption(args: PutTableBucketEncryptionCommandInput, cb: (err: any, data?: PutTableBucketEncryptionCommandOutput) => void): void;
|
|
178
|
+
putTableBucketEncryption(args: PutTableBucketEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTableBucketEncryptionCommandOutput) => void): void;
|
|
151
179
|
/**
|
|
152
180
|
* @see {@link PutTableBucketMaintenanceConfigurationCommand}
|
|
153
181
|
*/
|
|
@@ -186,7 +214,7 @@ export interface S3Tables {
|
|
|
186
214
|
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTableMetadataLocationCommandOutput) => void): void;
|
|
187
215
|
}
|
|
188
216
|
/**
|
|
189
|
-
* <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">
|
|
217
|
+
* <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">Amazon Web Services Glue Data Catalog</a> you can interact with your tables using Amazon Web Services analytics services, such as <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/athena/">Amazon Athena</a> and <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/redshift/">Amazon Redshift</a>. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets.html">Amazon S3 table buckets</a>.</p>
|
|
190
218
|
* @public
|
|
191
219
|
*/
|
|
192
220
|
export declare class S3Tables extends S3TablesClient implements S3Tables {
|
|
@@ -12,14 +12,17 @@ import { CreateTableBucketCommandInput, CreateTableBucketCommandOutput } from ".
|
|
|
12
12
|
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
13
13
|
import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
|
|
14
14
|
import { DeleteTableBucketCommandInput, DeleteTableBucketCommandOutput } from "./commands/DeleteTableBucketCommand";
|
|
15
|
+
import { DeleteTableBucketEncryptionCommandInput, DeleteTableBucketEncryptionCommandOutput } from "./commands/DeleteTableBucketEncryptionCommand";
|
|
15
16
|
import { DeleteTableBucketPolicyCommandInput, DeleteTableBucketPolicyCommandOutput } from "./commands/DeleteTableBucketPolicyCommand";
|
|
16
17
|
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
17
18
|
import { DeleteTablePolicyCommandInput, DeleteTablePolicyCommandOutput } from "./commands/DeleteTablePolicyCommand";
|
|
18
19
|
import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/GetNamespaceCommand";
|
|
19
20
|
import { GetTableBucketCommandInput, GetTableBucketCommandOutput } from "./commands/GetTableBucketCommand";
|
|
21
|
+
import { GetTableBucketEncryptionCommandInput, GetTableBucketEncryptionCommandOutput } from "./commands/GetTableBucketEncryptionCommand";
|
|
20
22
|
import { GetTableBucketMaintenanceConfigurationCommandInput, GetTableBucketMaintenanceConfigurationCommandOutput } from "./commands/GetTableBucketMaintenanceConfigurationCommand";
|
|
21
23
|
import { GetTableBucketPolicyCommandInput, GetTableBucketPolicyCommandOutput } from "./commands/GetTableBucketPolicyCommand";
|
|
22
24
|
import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
|
|
25
|
+
import { GetTableEncryptionCommandInput, GetTableEncryptionCommandOutput } from "./commands/GetTableEncryptionCommand";
|
|
23
26
|
import { GetTableMaintenanceConfigurationCommandInput, GetTableMaintenanceConfigurationCommandOutput } from "./commands/GetTableMaintenanceConfigurationCommand";
|
|
24
27
|
import { GetTableMaintenanceJobStatusCommandInput, GetTableMaintenanceJobStatusCommandOutput } from "./commands/GetTableMaintenanceJobStatusCommand";
|
|
25
28
|
import { GetTableMetadataLocationCommandInput, GetTableMetadataLocationCommandOutput } from "./commands/GetTableMetadataLocationCommand";
|
|
@@ -27,6 +30,7 @@ import { GetTablePolicyCommandInput, GetTablePolicyCommandOutput } from "./comma
|
|
|
27
30
|
import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "./commands/ListNamespacesCommand";
|
|
28
31
|
import { ListTableBucketsCommandInput, ListTableBucketsCommandOutput } from "./commands/ListTableBucketsCommand";
|
|
29
32
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
33
|
+
import { PutTableBucketEncryptionCommandInput, PutTableBucketEncryptionCommandOutput } from "./commands/PutTableBucketEncryptionCommand";
|
|
30
34
|
import { PutTableBucketMaintenanceConfigurationCommandInput, PutTableBucketMaintenanceConfigurationCommandOutput } from "./commands/PutTableBucketMaintenanceConfigurationCommand";
|
|
31
35
|
import { PutTableBucketPolicyCommandInput, PutTableBucketPolicyCommandOutput } from "./commands/PutTableBucketPolicyCommand";
|
|
32
36
|
import { PutTableMaintenanceConfigurationCommandInput, PutTableMaintenanceConfigurationCommandOutput } from "./commands/PutTableMaintenanceConfigurationCommand";
|
|
@@ -39,11 +43,11 @@ export { __Client };
|
|
|
39
43
|
/**
|
|
40
44
|
* @public
|
|
41
45
|
*/
|
|
42
|
-
export type ServiceInputTypes = CreateNamespaceCommandInput | CreateTableBucketCommandInput | CreateTableCommandInput | DeleteNamespaceCommandInput | DeleteTableBucketCommandInput | DeleteTableBucketPolicyCommandInput | DeleteTableCommandInput | DeleteTablePolicyCommandInput | GetNamespaceCommandInput | GetTableBucketCommandInput | GetTableBucketMaintenanceConfigurationCommandInput | GetTableBucketPolicyCommandInput | GetTableCommandInput | GetTableMaintenanceConfigurationCommandInput | GetTableMaintenanceJobStatusCommandInput | GetTableMetadataLocationCommandInput | GetTablePolicyCommandInput | ListNamespacesCommandInput | ListTableBucketsCommandInput | ListTablesCommandInput | PutTableBucketMaintenanceConfigurationCommandInput | PutTableBucketPolicyCommandInput | PutTableMaintenanceConfigurationCommandInput | PutTablePolicyCommandInput | RenameTableCommandInput | UpdateTableMetadataLocationCommandInput;
|
|
46
|
+
export type ServiceInputTypes = CreateNamespaceCommandInput | CreateTableBucketCommandInput | CreateTableCommandInput | DeleteNamespaceCommandInput | DeleteTableBucketCommandInput | DeleteTableBucketEncryptionCommandInput | DeleteTableBucketPolicyCommandInput | DeleteTableCommandInput | DeleteTablePolicyCommandInput | GetNamespaceCommandInput | GetTableBucketCommandInput | GetTableBucketEncryptionCommandInput | GetTableBucketMaintenanceConfigurationCommandInput | GetTableBucketPolicyCommandInput | GetTableCommandInput | GetTableEncryptionCommandInput | GetTableMaintenanceConfigurationCommandInput | GetTableMaintenanceJobStatusCommandInput | GetTableMetadataLocationCommandInput | GetTablePolicyCommandInput | ListNamespacesCommandInput | ListTableBucketsCommandInput | ListTablesCommandInput | PutTableBucketEncryptionCommandInput | PutTableBucketMaintenanceConfigurationCommandInput | PutTableBucketPolicyCommandInput | PutTableMaintenanceConfigurationCommandInput | PutTablePolicyCommandInput | RenameTableCommandInput | UpdateTableMetadataLocationCommandInput;
|
|
43
47
|
/**
|
|
44
48
|
* @public
|
|
45
49
|
*/
|
|
46
|
-
export type ServiceOutputTypes = CreateNamespaceCommandOutput | CreateTableBucketCommandOutput | CreateTableCommandOutput | DeleteNamespaceCommandOutput | DeleteTableBucketCommandOutput | DeleteTableBucketPolicyCommandOutput | DeleteTableCommandOutput | DeleteTablePolicyCommandOutput | GetNamespaceCommandOutput | GetTableBucketCommandOutput | GetTableBucketMaintenanceConfigurationCommandOutput | GetTableBucketPolicyCommandOutput | GetTableCommandOutput | GetTableMaintenanceConfigurationCommandOutput | GetTableMaintenanceJobStatusCommandOutput | GetTableMetadataLocationCommandOutput | GetTablePolicyCommandOutput | ListNamespacesCommandOutput | ListTableBucketsCommandOutput | ListTablesCommandOutput | PutTableBucketMaintenanceConfigurationCommandOutput | PutTableBucketPolicyCommandOutput | PutTableMaintenanceConfigurationCommandOutput | PutTablePolicyCommandOutput | RenameTableCommandOutput | UpdateTableMetadataLocationCommandOutput;
|
|
50
|
+
export type ServiceOutputTypes = CreateNamespaceCommandOutput | CreateTableBucketCommandOutput | CreateTableCommandOutput | DeleteNamespaceCommandOutput | DeleteTableBucketCommandOutput | DeleteTableBucketEncryptionCommandOutput | DeleteTableBucketPolicyCommandOutput | DeleteTableCommandOutput | DeleteTablePolicyCommandOutput | GetNamespaceCommandOutput | GetTableBucketCommandOutput | GetTableBucketEncryptionCommandOutput | GetTableBucketMaintenanceConfigurationCommandOutput | GetTableBucketPolicyCommandOutput | GetTableCommandOutput | GetTableEncryptionCommandOutput | GetTableMaintenanceConfigurationCommandOutput | GetTableMaintenanceJobStatusCommandOutput | GetTableMetadataLocationCommandOutput | GetTablePolicyCommandOutput | ListNamespacesCommandOutput | ListTableBucketsCommandOutput | ListTablesCommandOutput | PutTableBucketEncryptionCommandOutput | PutTableBucketMaintenanceConfigurationCommandOutput | PutTableBucketPolicyCommandOutput | PutTableMaintenanceConfigurationCommandOutput | PutTablePolicyCommandOutput | RenameTableCommandOutput | UpdateTableMetadataLocationCommandOutput;
|
|
47
51
|
/**
|
|
48
52
|
* @public
|
|
49
53
|
*/
|
|
@@ -195,7 +199,7 @@ export type S3TablesClientResolvedConfigType = __SmithyResolvedConfiguration<__H
|
|
|
195
199
|
export interface S3TablesClientResolvedConfig extends S3TablesClientResolvedConfigType {
|
|
196
200
|
}
|
|
197
201
|
/**
|
|
198
|
-
* <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">
|
|
202
|
+
* <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">Amazon Web Services Glue Data Catalog</a> you can interact with your tables using Amazon Web Services analytics services, such as <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/athena/">Amazon Athena</a> and <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/redshift/">Amazon Redshift</a>. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets.html">Amazon S3 table buckets</a>.</p>
|
|
199
203
|
* @public
|
|
200
204
|
*/
|
|
201
205
|
export declare class S3TablesClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, S3TablesClientResolvedConfig> {
|
|
@@ -31,7 +31,14 @@ declare const CreateTableBucketCommand_base: {
|
|
|
31
31
|
* <dl>
|
|
32
32
|
* <dt>Permissions</dt>
|
|
33
33
|
* <dd>
|
|
34
|
-
* <
|
|
34
|
+
* <ul>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>You must have the <code>s3tables:CreateTableBucket</code> permission to use this operation. </p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>If you use this operation with the optional <code>encryptionConfiguration</code> parameter you must have the <code>s3tables:PutTableBucketEncryption</code> permission.</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* </ul>
|
|
35
42
|
* </dd>
|
|
36
43
|
* </dl>
|
|
37
44
|
* @example
|
|
@@ -42,6 +49,10 @@ declare const CreateTableBucketCommand_base: {
|
|
|
42
49
|
* const client = new S3TablesClient(config);
|
|
43
50
|
* const input = { // CreateTableBucketRequest
|
|
44
51
|
* name: "STRING_VALUE", // required
|
|
52
|
+
* encryptionConfiguration: { // EncryptionConfiguration
|
|
53
|
+
* sseAlgorithm: "AES256" || "aws:kms", // required
|
|
54
|
+
* kmsKeyArn: "STRING_VALUE",
|
|
55
|
+
* },
|
|
45
56
|
* };
|
|
46
57
|
* const command = new CreateTableBucketCommand(input);
|
|
47
58
|
* const response = await client.send(command);
|
|
@@ -31,9 +31,19 @@ declare const CreateTableCommand_base: {
|
|
|
31
31
|
* <dl>
|
|
32
32
|
* <dt>Permissions</dt>
|
|
33
33
|
* <dd>
|
|
34
|
-
* <
|
|
34
|
+
* <ul>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>You must have the <code>s3tables:CreateTable</code> permission to use this operation. </p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>If you use this operation with the optional <code>metadata</code> request parameter you must have the <code>s3tables:PutTableData</code> permission. </p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>If you use this operation with the optional <code>encryptionConfiguration</code> request parameter you must have the <code>s3tables:PutTableEncryption</code> permission. </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* </ul>
|
|
35
45
|
* <note>
|
|
36
|
-
* <p>Additionally,
|
|
46
|
+
* <p>Additionally, </p>
|
|
37
47
|
* </note>
|
|
38
48
|
* </dd>
|
|
39
49
|
* </dl>
|
|
@@ -61,6 +71,10 @@ declare const CreateTableCommand_base: {
|
|
|
61
71
|
* },
|
|
62
72
|
* },
|
|
63
73
|
* },
|
|
74
|
+
* encryptionConfiguration: { // EncryptionConfiguration
|
|
75
|
+
* sseAlgorithm: "AES256" || "aws:kms", // required
|
|
76
|
+
* kmsKeyArn: "STRING_VALUE",
|
|
77
|
+
* },
|
|
64
78
|
* };
|
|
65
79
|
* const command = new CreateTableCommand(input);
|
|
66
80
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteTableBucketEncryptionRequest } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteTableBucketEncryptionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteTableBucketEncryptionCommandInput extends DeleteTableBucketEncryptionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteTableBucketEncryptionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteTableBucketEncryptionCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteTableBucketEncryptionCommand_base: {
|
|
25
|
+
new (input: DeleteTableBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableBucketEncryptionCommandInput, DeleteTableBucketEncryptionCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteTableBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableBucketEncryptionCommandInput, DeleteTableBucketEncryptionCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the encryption configuration for a table bucket.</p>
|
|
31
|
+
* <dl>
|
|
32
|
+
* <dt>Permissions</dt>
|
|
33
|
+
* <dd>
|
|
34
|
+
* <p>You must have the <code>s3tables:DeleteTableBucketEncryption</code> permission to use this operation.</p>
|
|
35
|
+
* </dd>
|
|
36
|
+
* </dl>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { S3TablesClient, DeleteTableBucketEncryptionCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
41
|
+
* // const { S3TablesClient, DeleteTableBucketEncryptionCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
42
|
+
* const client = new S3TablesClient(config);
|
|
43
|
+
* const input = { // DeleteTableBucketEncryptionRequest
|
|
44
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DeleteTableBucketEncryptionCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteTableBucketEncryptionCommandInput - {@link DeleteTableBucketEncryptionCommandInput}
|
|
53
|
+
* @returns {@link DeleteTableBucketEncryptionCommandOutput}
|
|
54
|
+
* @see {@link DeleteTableBucketEncryptionCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteTableBucketEncryptionCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestException} (client fault)
|
|
59
|
+
* <p>The request is invalid or malformed.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
63
|
+
* request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
66
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
69
|
+
* <p>The request failed due to an internal server error.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NotFoundException} (client fault)
|
|
72
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
75
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link S3TablesServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class DeleteTableBucketEncryptionCommand extends DeleteTableBucketEncryptionCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: DeleteTableBucketEncryptionRequest;
|
|
88
|
+
output: {};
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: DeleteTableBucketEncryptionCommandInput;
|
|
92
|
+
output: DeleteTableBucketEncryptionCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -53,6 +53,8 @@ declare const GetNamespaceCommand_base: {
|
|
|
53
53
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
54
54
|
* // createdBy: "STRING_VALUE", // required
|
|
55
55
|
* // ownerAccountId: "STRING_VALUE", // required
|
|
56
|
+
* // namespaceId: "STRING_VALUE",
|
|
57
|
+
* // tableBucketId: "STRING_VALUE",
|
|
56
58
|
* // };
|
|
57
59
|
*
|
|
58
60
|
* ```
|