@aws-sdk/client-lakeformation 3.454.0 → 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.
Files changed (36) hide show
  1. package/README.md +82 -50
  2. package/dist-cjs/LakeFormation.js +8 -0
  3. package/dist-cjs/commands/CreateLakeFormationIdentityCenterConfigurationCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteLakeFormationIdentityCenterConfigurationCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeLakeFormationIdentityCenterConfigurationCommand.js +51 -0
  6. package/dist-cjs/commands/UpdateLakeFormationIdentityCenterConfigurationCommand.js +51 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +9 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +283 -2
  10. package/dist-es/LakeFormation.js +8 -0
  11. package/dist-es/commands/CreateLakeFormationIdentityCenterConfigurationCommand.js +47 -0
  12. package/dist-es/commands/DeleteLakeFormationIdentityCenterConfigurationCommand.js +47 -0
  13. package/dist-es/commands/DescribeLakeFormationIdentityCenterConfigurationCommand.js +47 -0
  14. package/dist-es/commands/UpdateLakeFormationIdentityCenterConfigurationCommand.js +47 -0
  15. package/dist-es/commands/index.js +4 -0
  16. package/dist-es/models/models_0.js +8 -0
  17. package/dist-es/protocols/Aws_restJson1.js +272 -0
  18. package/dist-types/LakeFormation.d.ts +28 -0
  19. package/dist-types/LakeFormationClient.d.ts +6 -2
  20. package/dist-types/commands/CreateLakeFormationIdentityCenterConfigurationCommand.d.ts +98 -0
  21. package/dist-types/commands/DeleteLakeFormationIdentityCenterConfigurationCommand.d.ts +89 -0
  22. package/dist-types/commands/DescribeLakeFormationIdentityCenterConfigurationCommand.d.ts +96 -0
  23. package/dist-types/commands/UpdateLakeFormationIdentityCenterConfigurationCommand.d.ts +96 -0
  24. package/dist-types/commands/index.d.ts +4 -0
  25. package/dist-types/models/models_0.d.ts +161 -2
  26. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  27. package/dist-types/ts3.4/LakeFormation.d.ts +92 -0
  28. package/dist-types/ts3.4/LakeFormationClient.d.ts +24 -0
  29. package/dist-types/ts3.4/commands/CreateLakeFormationIdentityCenterConfigurationCommand.d.ts +44 -0
  30. package/dist-types/ts3.4/commands/DeleteLakeFormationIdentityCenterConfigurationCommand.d.ts +44 -0
  31. package/dist-types/ts3.4/commands/DescribeLakeFormationIdentityCenterConfigurationCommand.d.ts +44 -0
  32. package/dist-types/ts3.4/commands/UpdateLakeFormationIdentityCenterConfigurationCommand.d.ts +44 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +42 -0
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  36. package/package.json +3 -3
@@ -6,13 +6,16 @@ import { BatchRevokePermissionsCommand, } from "./commands/BatchRevokePermission
6
6
  import { CancelTransactionCommand, } from "./commands/CancelTransactionCommand";
7
7
  import { CommitTransactionCommand, } from "./commands/CommitTransactionCommand";
8
8
  import { CreateDataCellsFilterCommand, } from "./commands/CreateDataCellsFilterCommand";
9
+ import { CreateLakeFormationIdentityCenterConfigurationCommand, } from "./commands/CreateLakeFormationIdentityCenterConfigurationCommand";
9
10
  import { CreateLakeFormationOptInCommand, } from "./commands/CreateLakeFormationOptInCommand";
10
11
  import { CreateLFTagCommand } from "./commands/CreateLFTagCommand";
11
12
  import { DeleteDataCellsFilterCommand, } from "./commands/DeleteDataCellsFilterCommand";
13
+ import { DeleteLakeFormationIdentityCenterConfigurationCommand, } from "./commands/DeleteLakeFormationIdentityCenterConfigurationCommand";
12
14
  import { DeleteLakeFormationOptInCommand, } from "./commands/DeleteLakeFormationOptInCommand";
13
15
  import { DeleteLFTagCommand } from "./commands/DeleteLFTagCommand";
14
16
  import { DeleteObjectsOnCancelCommand, } from "./commands/DeleteObjectsOnCancelCommand";
15
17
  import { DeregisterResourceCommand, } from "./commands/DeregisterResourceCommand";
18
+ import { DescribeLakeFormationIdentityCenterConfigurationCommand, } from "./commands/DescribeLakeFormationIdentityCenterConfigurationCommand";
16
19
  import { DescribeResourceCommand, } from "./commands/DescribeResourceCommand";
17
20
  import { DescribeTransactionCommand, } from "./commands/DescribeTransactionCommand";
18
21
  import { ExtendTransactionCommand, } from "./commands/ExtendTransactionCommand";
@@ -45,6 +48,7 @@ import { SearchTablesByLFTagsCommand, } from "./commands/SearchTablesByLFTagsCom
45
48
  import { StartQueryPlanningCommand, } from "./commands/StartQueryPlanningCommand";
46
49
  import { StartTransactionCommand, } from "./commands/StartTransactionCommand";
47
50
  import { UpdateDataCellsFilterCommand, } from "./commands/UpdateDataCellsFilterCommand";
51
+ import { UpdateLakeFormationIdentityCenterConfigurationCommand, } from "./commands/UpdateLakeFormationIdentityCenterConfigurationCommand";
48
52
  import { UpdateLFTagCommand } from "./commands/UpdateLFTagCommand";
49
53
  import { UpdateResourceCommand, } from "./commands/UpdateResourceCommand";
50
54
  import { UpdateTableObjectsCommand, } from "./commands/UpdateTableObjectsCommand";
@@ -58,13 +62,16 @@ const commands = {
58
62
  CancelTransactionCommand,
59
63
  CommitTransactionCommand,
60
64
  CreateDataCellsFilterCommand,
65
+ CreateLakeFormationIdentityCenterConfigurationCommand,
61
66
  CreateLakeFormationOptInCommand,
62
67
  CreateLFTagCommand,
63
68
  DeleteDataCellsFilterCommand,
69
+ DeleteLakeFormationIdentityCenterConfigurationCommand,
64
70
  DeleteLakeFormationOptInCommand,
65
71
  DeleteLFTagCommand,
66
72
  DeleteObjectsOnCancelCommand,
67
73
  DeregisterResourceCommand,
74
+ DescribeLakeFormationIdentityCenterConfigurationCommand,
68
75
  DescribeResourceCommand,
69
76
  DescribeTransactionCommand,
70
77
  ExtendTransactionCommand,
@@ -97,6 +104,7 @@ const commands = {
97
104
  StartQueryPlanningCommand,
98
105
  StartTransactionCommand,
99
106
  UpdateDataCellsFilterCommand,
107
+ UpdateLakeFormationIdentityCenterConfigurationCommand,
100
108
  UpdateLFTagCommand,
101
109
  UpdateResourceCommand,
102
110
  UpdateTableObjectsCommand,
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreateLakeFormationIdentityCenterConfigurationCommand, se_CreateLakeFormationIdentityCenterConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateLakeFormationIdentityCenterConfigurationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateLakeFormationIdentityCenterConfigurationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "LakeFormationClient";
26
+ const commandName = "CreateLakeFormationIdentityCenterConfigurationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSLakeFormation",
35
+ operation: "CreateLakeFormationIdentityCenterConfiguration",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CreateLakeFormationIdentityCenterConfigurationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CreateLakeFormationIdentityCenterConfigurationCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_DeleteLakeFormationIdentityCenterConfigurationCommand, se_DeleteLakeFormationIdentityCenterConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteLakeFormationIdentityCenterConfigurationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteLakeFormationIdentityCenterConfigurationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "LakeFormationClient";
26
+ const commandName = "DeleteLakeFormationIdentityCenterConfigurationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSLakeFormation",
35
+ operation: "DeleteLakeFormationIdentityCenterConfiguration",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_DeleteLakeFormationIdentityCenterConfigurationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_DeleteLakeFormationIdentityCenterConfigurationCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_DescribeLakeFormationIdentityCenterConfigurationCommand, se_DescribeLakeFormationIdentityCenterConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeLakeFormationIdentityCenterConfigurationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeLakeFormationIdentityCenterConfigurationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "LakeFormationClient";
26
+ const commandName = "DescribeLakeFormationIdentityCenterConfigurationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSLakeFormation",
35
+ operation: "DescribeLakeFormationIdentityCenterConfiguration",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_DescribeLakeFormationIdentityCenterConfigurationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_DescribeLakeFormationIdentityCenterConfigurationCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_UpdateLakeFormationIdentityCenterConfigurationCommand, se_UpdateLakeFormationIdentityCenterConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateLakeFormationIdentityCenterConfigurationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateLakeFormationIdentityCenterConfigurationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "LakeFormationClient";
26
+ const commandName = "UpdateLakeFormationIdentityCenterConfigurationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSLakeFormation",
35
+ operation: "UpdateLakeFormationIdentityCenterConfiguration",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_UpdateLakeFormationIdentityCenterConfigurationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_UpdateLakeFormationIdentityCenterConfigurationCommand(output, context);
46
+ }
47
+ }
@@ -6,12 +6,15 @@ export * from "./CancelTransactionCommand";
6
6
  export * from "./CommitTransactionCommand";
7
7
  export * from "./CreateDataCellsFilterCommand";
8
8
  export * from "./CreateLFTagCommand";
9
+ export * from "./CreateLakeFormationIdentityCenterConfigurationCommand";
9
10
  export * from "./CreateLakeFormationOptInCommand";
10
11
  export * from "./DeleteDataCellsFilterCommand";
11
12
  export * from "./DeleteLFTagCommand";
13
+ export * from "./DeleteLakeFormationIdentityCenterConfigurationCommand";
12
14
  export * from "./DeleteLakeFormationOptInCommand";
13
15
  export * from "./DeleteObjectsOnCancelCommand";
14
16
  export * from "./DeregisterResourceCommand";
17
+ export * from "./DescribeLakeFormationIdentityCenterConfigurationCommand";
15
18
  export * from "./DescribeResourceCommand";
16
19
  export * from "./DescribeTransactionCommand";
17
20
  export * from "./ExtendTransactionCommand";
@@ -45,6 +48,7 @@ export * from "./StartQueryPlanningCommand";
45
48
  export * from "./StartTransactionCommand";
46
49
  export * from "./UpdateDataCellsFilterCommand";
47
50
  export * from "./UpdateLFTagCommand";
51
+ export * from "./UpdateLakeFormationIdentityCenterConfigurationCommand";
48
52
  export * from "./UpdateResourceCommand";
49
53
  export * from "./UpdateTableObjectsCommand";
50
54
  export * from "./UpdateTableStorageOptimizerCommand";
@@ -95,6 +95,10 @@ export class AlreadyExistsException extends __BaseException {
95
95
  this.Message = opts.Message;
96
96
  }
97
97
  }
98
+ export const ApplicationStatus = {
99
+ DISABLED: "DISABLED",
100
+ ENABLED: "ENABLED",
101
+ };
98
102
  export const Permission = {
99
103
  ALL: "ALL",
100
104
  ALTER: "ALTER",
@@ -168,6 +172,10 @@ export class ResourceNumberLimitExceededException extends __BaseException {
168
172
  this.Message = opts.Message;
169
173
  }
170
174
  }
175
+ export const EnableStatus = {
176
+ DISABLED: "DISABLED",
177
+ ENABLED: "ENABLED",
178
+ };
171
179
  export class ResourceNotReadyException extends __BaseException {
172
180
  constructor(opts) {
173
181
  super({
@@ -149,6 +149,29 @@ export const se_CreateDataCellsFilterCommand = async (input, context) => {
149
149
  body,
150
150
  });
151
151
  };
152
+ export const se_CreateLakeFormationIdentityCenterConfigurationCommand = async (input, context) => {
153
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
154
+ const headers = {
155
+ "content-type": "application/json",
156
+ };
157
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
158
+ "/CreateLakeFormationIdentityCenterConfiguration";
159
+ let body;
160
+ body = JSON.stringify(take(input, {
161
+ CatalogId: [],
162
+ ExternalFiltering: (_) => _json(_),
163
+ InstanceArn: [],
164
+ }));
165
+ return new __HttpRequest({
166
+ protocol,
167
+ hostname,
168
+ port,
169
+ method: "POST",
170
+ headers,
171
+ path: resolvedPath,
172
+ body,
173
+ });
174
+ };
152
175
  export const se_CreateLakeFormationOptInCommand = async (input, context) => {
153
176
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
154
177
  const headers = {
@@ -215,6 +238,27 @@ export const se_DeleteDataCellsFilterCommand = async (input, context) => {
215
238
  body,
216
239
  });
217
240
  };
241
+ export const se_DeleteLakeFormationIdentityCenterConfigurationCommand = async (input, context) => {
242
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
243
+ const headers = {
244
+ "content-type": "application/json",
245
+ };
246
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
247
+ "/DeleteLakeFormationIdentityCenterConfiguration";
248
+ let body;
249
+ body = JSON.stringify(take(input, {
250
+ CatalogId: [],
251
+ }));
252
+ return new __HttpRequest({
253
+ protocol,
254
+ hostname,
255
+ port,
256
+ method: "POST",
257
+ headers,
258
+ path: resolvedPath,
259
+ body,
260
+ });
261
+ };
218
262
  export const se_DeleteLakeFormationOptInCommand = async (input, context) => {
219
263
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
220
264
  const headers = {
@@ -301,6 +345,27 @@ export const se_DeregisterResourceCommand = async (input, context) => {
301
345
  body,
302
346
  });
303
347
  };
348
+ export const se_DescribeLakeFormationIdentityCenterConfigurationCommand = async (input, context) => {
349
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
350
+ const headers = {
351
+ "content-type": "application/json",
352
+ };
353
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
354
+ "/DescribeLakeFormationIdentityCenterConfiguration";
355
+ let body;
356
+ body = JSON.stringify(take(input, {
357
+ CatalogId: [],
358
+ }));
359
+ return new __HttpRequest({
360
+ protocol,
361
+ hostname,
362
+ port,
363
+ method: "POST",
364
+ headers,
365
+ path: resolvedPath,
366
+ body,
367
+ });
368
+ };
304
369
  export const se_DescribeResourceCommand = async (input, context) => {
305
370
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
306
371
  const headers = {
@@ -1051,6 +1116,29 @@ export const se_UpdateDataCellsFilterCommand = async (input, context) => {
1051
1116
  body,
1052
1117
  });
1053
1118
  };
1119
+ export const se_UpdateLakeFormationIdentityCenterConfigurationCommand = async (input, context) => {
1120
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1121
+ const headers = {
1122
+ "content-type": "application/json",
1123
+ };
1124
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1125
+ "/UpdateLakeFormationIdentityCenterConfiguration";
1126
+ let body;
1127
+ body = JSON.stringify(take(input, {
1128
+ ApplicationStatus: [],
1129
+ CatalogId: [],
1130
+ ExternalFiltering: (_) => _json(_),
1131
+ }));
1132
+ return new __HttpRequest({
1133
+ protocol,
1134
+ hostname,
1135
+ port,
1136
+ method: "POST",
1137
+ headers,
1138
+ path: resolvedPath,
1139
+ body,
1140
+ });
1141
+ };
1054
1142
  export const se_UpdateLFTagCommand = async (input, context) => {
1055
1143
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1056
1144
  const headers = {
@@ -1454,6 +1542,54 @@ const de_CreateDataCellsFilterCommandError = async (output, context) => {
1454
1542
  });
1455
1543
  }
1456
1544
  };
1545
+ export const de_CreateLakeFormationIdentityCenterConfigurationCommand = async (output, context) => {
1546
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1547
+ return de_CreateLakeFormationIdentityCenterConfigurationCommandError(output, context);
1548
+ }
1549
+ const contents = map({
1550
+ $metadata: deserializeMetadata(output),
1551
+ });
1552
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1553
+ const doc = take(data, {
1554
+ ApplicationArn: __expectString,
1555
+ });
1556
+ Object.assign(contents, doc);
1557
+ return contents;
1558
+ };
1559
+ const de_CreateLakeFormationIdentityCenterConfigurationCommandError = async (output, context) => {
1560
+ const parsedOutput = {
1561
+ ...output,
1562
+ body: await parseErrorBody(output.body, context),
1563
+ };
1564
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1565
+ switch (errorCode) {
1566
+ case "AccessDeniedException":
1567
+ case "com.amazonaws.lakeformation#AccessDeniedException":
1568
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1569
+ case "AlreadyExistsException":
1570
+ case "com.amazonaws.lakeformation#AlreadyExistsException":
1571
+ throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
1572
+ case "ConcurrentModificationException":
1573
+ case "com.amazonaws.lakeformation#ConcurrentModificationException":
1574
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1575
+ case "InternalServiceException":
1576
+ case "com.amazonaws.lakeformation#InternalServiceException":
1577
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
1578
+ case "InvalidInputException":
1579
+ case "com.amazonaws.lakeformation#InvalidInputException":
1580
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1581
+ case "OperationTimeoutException":
1582
+ case "com.amazonaws.lakeformation#OperationTimeoutException":
1583
+ throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
1584
+ default:
1585
+ const parsedBody = parsedOutput.body;
1586
+ return throwDefaultError({
1587
+ output,
1588
+ parsedBody,
1589
+ errorCode,
1590
+ });
1591
+ }
1592
+ };
1457
1593
  export const de_CreateLakeFormationOptInCommand = async (output, context) => {
1458
1594
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1459
1595
  return de_CreateLakeFormationOptInCommandError(output, context);
@@ -1583,6 +1719,50 @@ const de_DeleteDataCellsFilterCommandError = async (output, context) => {
1583
1719
  });
1584
1720
  }
1585
1721
  };
1722
+ export const de_DeleteLakeFormationIdentityCenterConfigurationCommand = async (output, context) => {
1723
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1724
+ return de_DeleteLakeFormationIdentityCenterConfigurationCommandError(output, context);
1725
+ }
1726
+ const contents = map({
1727
+ $metadata: deserializeMetadata(output),
1728
+ });
1729
+ await collectBody(output.body, context);
1730
+ return contents;
1731
+ };
1732
+ const de_DeleteLakeFormationIdentityCenterConfigurationCommandError = async (output, context) => {
1733
+ const parsedOutput = {
1734
+ ...output,
1735
+ body: await parseErrorBody(output.body, context),
1736
+ };
1737
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1738
+ switch (errorCode) {
1739
+ case "AccessDeniedException":
1740
+ case "com.amazonaws.lakeformation#AccessDeniedException":
1741
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1742
+ case "ConcurrentModificationException":
1743
+ case "com.amazonaws.lakeformation#ConcurrentModificationException":
1744
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1745
+ case "EntityNotFoundException":
1746
+ case "com.amazonaws.lakeformation#EntityNotFoundException":
1747
+ throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
1748
+ case "InternalServiceException":
1749
+ case "com.amazonaws.lakeformation#InternalServiceException":
1750
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
1751
+ case "InvalidInputException":
1752
+ case "com.amazonaws.lakeformation#InvalidInputException":
1753
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1754
+ case "OperationTimeoutException":
1755
+ case "com.amazonaws.lakeformation#OperationTimeoutException":
1756
+ throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
1757
+ default:
1758
+ const parsedBody = parsedOutput.body;
1759
+ return throwDefaultError({
1760
+ output,
1761
+ parsedBody,
1762
+ errorCode,
1763
+ });
1764
+ }
1765
+ };
1586
1766
  export const de_DeleteLakeFormationOptInCommand = async (output, context) => {
1587
1767
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1588
1768
  return de_DeleteLakeFormationOptInCommandError(output, context);
@@ -1756,6 +1936,54 @@ const de_DeregisterResourceCommandError = async (output, context) => {
1756
1936
  });
1757
1937
  }
1758
1938
  };
1939
+ export const de_DescribeLakeFormationIdentityCenterConfigurationCommand = async (output, context) => {
1940
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1941
+ return de_DescribeLakeFormationIdentityCenterConfigurationCommandError(output, context);
1942
+ }
1943
+ const contents = map({
1944
+ $metadata: deserializeMetadata(output),
1945
+ });
1946
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1947
+ const doc = take(data, {
1948
+ ApplicationArn: __expectString,
1949
+ CatalogId: __expectString,
1950
+ ExternalFiltering: _json,
1951
+ InstanceArn: __expectString,
1952
+ });
1953
+ Object.assign(contents, doc);
1954
+ return contents;
1955
+ };
1956
+ const de_DescribeLakeFormationIdentityCenterConfigurationCommandError = async (output, context) => {
1957
+ const parsedOutput = {
1958
+ ...output,
1959
+ body: await parseErrorBody(output.body, context),
1960
+ };
1961
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1962
+ switch (errorCode) {
1963
+ case "AccessDeniedException":
1964
+ case "com.amazonaws.lakeformation#AccessDeniedException":
1965
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1966
+ case "EntityNotFoundException":
1967
+ case "com.amazonaws.lakeformation#EntityNotFoundException":
1968
+ throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
1969
+ case "InternalServiceException":
1970
+ case "com.amazonaws.lakeformation#InternalServiceException":
1971
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
1972
+ case "InvalidInputException":
1973
+ case "com.amazonaws.lakeformation#InvalidInputException":
1974
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1975
+ case "OperationTimeoutException":
1976
+ case "com.amazonaws.lakeformation#OperationTimeoutException":
1977
+ throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
1978
+ default:
1979
+ const parsedBody = parsedOutput.body;
1980
+ return throwDefaultError({
1981
+ output,
1982
+ parsedBody,
1983
+ errorCode,
1984
+ });
1985
+ }
1986
+ };
1759
1987
  export const de_DescribeResourceCommand = async (output, context) => {
1760
1988
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1761
1989
  return de_DescribeResourceCommandError(output, context);
@@ -3160,6 +3388,50 @@ const de_UpdateDataCellsFilterCommandError = async (output, context) => {
3160
3388
  });
3161
3389
  }
3162
3390
  };
3391
+ export const de_UpdateLakeFormationIdentityCenterConfigurationCommand = async (output, context) => {
3392
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3393
+ return de_UpdateLakeFormationIdentityCenterConfigurationCommandError(output, context);
3394
+ }
3395
+ const contents = map({
3396
+ $metadata: deserializeMetadata(output),
3397
+ });
3398
+ await collectBody(output.body, context);
3399
+ return contents;
3400
+ };
3401
+ const de_UpdateLakeFormationIdentityCenterConfigurationCommandError = async (output, context) => {
3402
+ const parsedOutput = {
3403
+ ...output,
3404
+ body: await parseErrorBody(output.body, context),
3405
+ };
3406
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3407
+ switch (errorCode) {
3408
+ case "AccessDeniedException":
3409
+ case "com.amazonaws.lakeformation#AccessDeniedException":
3410
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3411
+ case "ConcurrentModificationException":
3412
+ case "com.amazonaws.lakeformation#ConcurrentModificationException":
3413
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3414
+ case "EntityNotFoundException":
3415
+ case "com.amazonaws.lakeformation#EntityNotFoundException":
3416
+ throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
3417
+ case "InternalServiceException":
3418
+ case "com.amazonaws.lakeformation#InternalServiceException":
3419
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
3420
+ case "InvalidInputException":
3421
+ case "com.amazonaws.lakeformation#InvalidInputException":
3422
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
3423
+ case "OperationTimeoutException":
3424
+ case "com.amazonaws.lakeformation#OperationTimeoutException":
3425
+ throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
3426
+ default:
3427
+ const parsedBody = parsedOutput.body;
3428
+ return throwDefaultError({
3429
+ output,
3430
+ parsedBody,
3431
+ errorCode,
3432
+ });
3433
+ }
3434
+ };
3163
3435
  export const de_UpdateLFTagCommand = async (output, context) => {
3164
3436
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3165
3437
  return de_UpdateLFTagCommandError(output, context);