@aws-sdk/client-finspace-data 3.118.1 → 3.119.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.119.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.1...v3.119.0) (2022-06-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-finspace-data:** Release new API GetExternalDataViewAccessDetails ([af6b52c](https://github.com/aws/aws-sdk-js-v3/commit/af6b52c6eb2e03187a4765d2ef731db258980472))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-finspace-data
@@ -15,6 +15,7 @@ const EnableUserCommand_1 = require("./commands/EnableUserCommand");
15
15
  const GetChangesetCommand_1 = require("./commands/GetChangesetCommand");
16
16
  const GetDatasetCommand_1 = require("./commands/GetDatasetCommand");
17
17
  const GetDataViewCommand_1 = require("./commands/GetDataViewCommand");
18
+ const GetExternalDataViewAccessDetailsCommand_1 = require("./commands/GetExternalDataViewAccessDetailsCommand");
18
19
  const GetPermissionGroupCommand_1 = require("./commands/GetPermissionGroupCommand");
19
20
  const GetProgrammaticAccessCredentialsCommand_1 = require("./commands/GetProgrammaticAccessCredentialsCommand");
20
21
  const GetUserCommand_1 = require("./commands/GetUserCommand");
@@ -229,6 +230,20 @@ class FinspaceData extends FinspaceDataClient_1.FinspaceDataClient {
229
230
  return this.send(command, optionsOrCb);
230
231
  }
231
232
  }
233
+ getExternalDataViewAccessDetails(args, optionsOrCb, cb) {
234
+ const command = new GetExternalDataViewAccessDetailsCommand_1.GetExternalDataViewAccessDetailsCommand(args);
235
+ if (typeof optionsOrCb === "function") {
236
+ this.send(command, optionsOrCb);
237
+ }
238
+ else if (typeof cb === "function") {
239
+ if (typeof optionsOrCb !== "object")
240
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
241
+ this.send(command, optionsOrCb || {}, cb);
242
+ }
243
+ else {
244
+ return this.send(command, optionsOrCb);
245
+ }
246
+ }
232
247
  getPermissionGroup(args, optionsOrCb, cb) {
233
248
  const command = new GetPermissionGroupCommand_1.GetPermissionGroupCommand(args);
234
249
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetExternalDataViewAccessDetailsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetExternalDataViewAccessDetailsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FinspaceDataClient";
18
+ const commandName = "GetExternalDataViewAccessDetailsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetExternalDataViewAccessDetailsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetExternalDataViewAccessDetailsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetExternalDataViewAccessDetailsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetExternalDataViewAccessDetailsCommand = GetExternalDataViewAccessDetailsCommand;
@@ -15,6 +15,7 @@ tslib_1.__exportStar(require("./EnableUserCommand"), exports);
15
15
  tslib_1.__exportStar(require("./GetChangesetCommand"), exports);
16
16
  tslib_1.__exportStar(require("./GetDataViewCommand"), exports);
17
17
  tslib_1.__exportStar(require("./GetDatasetCommand"), exports);
18
+ tslib_1.__exportStar(require("./GetExternalDataViewAccessDetailsCommand"), exports);
18
19
  tslib_1.__exportStar(require("./GetPermissionGroupCommand"), exports);
19
20
  tslib_1.__exportStar(require("./GetProgrammaticAccessCredentialsCommand"), exports);
20
21
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DatasetStatus = exports.GetDatasetRequest = exports.GetChangesetResponse = exports.IngestionStatus = exports.ChangesetErrorInfo = exports.ErrorCategory = exports.GetChangesetRequest = exports.EnableUserResponse = exports.EnableUserRequest = exports.DisassociateUserFromPermissionGroupResponse = exports.DisassociateUserFromPermissionGroupRequest = exports.DisableUserResponse = exports.DisableUserRequest = exports.DeletePermissionGroupResponse = exports.DeletePermissionGroupRequest = exports.DeleteDatasetResponse = exports.DeleteDatasetRequest = exports.CreateUserResponse = exports.CreateUserRequest = exports.UserType = exports.CreatePermissionGroupResponse = exports.CreatePermissionGroupRequest = exports.CreateDataViewResponse = exports.CreateDataViewRequest = exports.DataViewDestinationTypeParams = exports.ExportFileFormat = exports.CreateDatasetResponse = exports.CreateDatasetRequest = exports.SchemaUnion = exports.SchemaDefinition = exports.ColumnDefinition = exports.ColumnDataType = exports.PermissionGroupParams = exports.ResourcePermission = exports.DatasetOwnerInfo = exports.DatasetKind = exports.LimitExceededException = exports.CreateChangesetResponse = exports.CreateChangesetRequest = exports.ChangeType = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AssociateUserToPermissionGroupResponse = exports.AssociateUserToPermissionGroupRequest = exports.ApplicationPermission = exports.ApiAccess = exports.AccessDeniedException = void 0;
4
- exports.UpdateUserResponse = exports.UpdateUserRequest = exports.UpdatePermissionGroupResponse = exports.UpdatePermissionGroupRequest = exports.UpdateDatasetResponse = exports.UpdateDatasetRequest = exports.UpdateChangesetResponse = exports.UpdateChangesetRequest = exports.ResetUserPasswordResponse = exports.ResetUserPasswordRequest = exports.ListUsersByPermissionGroupResponse = exports.UserByPermissionGroup = exports.ListUsersByPermissionGroupRequest = exports.ListUsersResponse = exports.User = exports.ListUsersRequest = exports.ListPermissionGroupsByUserResponse = exports.PermissionGroupByUser = exports.ListPermissionGroupsByUserRequest = exports.ListPermissionGroupsResponse = exports.ListPermissionGroupsRequest = exports.ListDataViewsResponse = exports.DataViewSummary = exports.ListDataViewsRequest = exports.ListDatasetsResponse = exports.Dataset = exports.ListDatasetsRequest = exports.ListChangesetsResponse = exports.ChangesetSummary = exports.ListChangesetsRequest = exports.GetWorkingLocationResponse = exports.GetWorkingLocationRequest = exports.LocationType = exports.GetUserResponse = exports.UserStatus = exports.GetUserRequest = exports.GetProgrammaticAccessCredentialsResponse = exports.Credentials = exports.GetProgrammaticAccessCredentialsRequest = exports.GetPermissionGroupResponse = exports.PermissionGroup = exports.PermissionGroupMembershipStatus = exports.GetPermissionGroupRequest = exports.GetDataViewResponse = exports.DataViewStatus = exports.DataViewErrorInfo = exports.GetDataViewRequest = exports.GetDatasetResponse = void 0;
3
+ exports.GetDatasetRequest = exports.GetChangesetResponse = exports.IngestionStatus = exports.ChangesetErrorInfo = exports.ErrorCategory = exports.GetChangesetRequest = exports.EnableUserResponse = exports.EnableUserRequest = exports.DisassociateUserFromPermissionGroupResponse = exports.DisassociateUserFromPermissionGroupRequest = exports.DisableUserResponse = exports.DisableUserRequest = exports.DeletePermissionGroupResponse = exports.DeletePermissionGroupRequest = exports.DeleteDatasetResponse = exports.DeleteDatasetRequest = exports.CreateUserResponse = exports.CreateUserRequest = exports.UserType = exports.CreatePermissionGroupResponse = exports.CreatePermissionGroupRequest = exports.CreateDataViewResponse = exports.CreateDataViewRequest = exports.DataViewDestinationTypeParams = exports.ExportFileFormat = exports.CreateDatasetResponse = exports.CreateDatasetRequest = exports.SchemaUnion = exports.SchemaDefinition = exports.ColumnDefinition = exports.ColumnDataType = exports.PermissionGroupParams = exports.ResourcePermission = exports.DatasetOwnerInfo = exports.DatasetKind = exports.LimitExceededException = exports.CreateChangesetResponse = exports.CreateChangesetRequest = exports.ChangeType = exports.AwsCredentials = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AssociateUserToPermissionGroupResponse = exports.AssociateUserToPermissionGroupRequest = exports.ApplicationPermission = exports.ApiAccess = exports.AccessDeniedException = void 0;
4
+ exports.UpdatePermissionGroupResponse = exports.UpdatePermissionGroupRequest = exports.UpdateDatasetResponse = exports.UpdateDatasetRequest = exports.UpdateChangesetResponse = exports.UpdateChangesetRequest = exports.ResetUserPasswordResponse = exports.ResetUserPasswordRequest = exports.ListUsersByPermissionGroupResponse = exports.UserByPermissionGroup = exports.ListUsersByPermissionGroupRequest = exports.ListUsersResponse = exports.User = exports.ListUsersRequest = exports.ListPermissionGroupsByUserResponse = exports.PermissionGroupByUser = exports.ListPermissionGroupsByUserRequest = exports.ListPermissionGroupsResponse = exports.ListPermissionGroupsRequest = exports.ListDataViewsResponse = exports.DataViewSummary = exports.ListDataViewsRequest = exports.ListDatasetsResponse = exports.Dataset = exports.ListDatasetsRequest = exports.ListChangesetsResponse = exports.ChangesetSummary = exports.ListChangesetsRequest = exports.GetWorkingLocationResponse = exports.GetWorkingLocationRequest = exports.LocationType = exports.GetUserResponse = exports.UserStatus = exports.GetUserRequest = exports.GetProgrammaticAccessCredentialsResponse = exports.Credentials = exports.GetProgrammaticAccessCredentialsRequest = exports.GetPermissionGroupResponse = exports.PermissionGroup = exports.PermissionGroupMembershipStatus = exports.GetPermissionGroupRequest = exports.GetExternalDataViewAccessDetailsResponse = exports.S3Location = exports.GetExternalDataViewAccessDetailsRequest = exports.GetDataViewResponse = exports.DataViewStatus = exports.DataViewErrorInfo = exports.GetDataViewRequest = exports.GetDatasetResponse = exports.DatasetStatus = void 0;
5
+ exports.UpdateUserResponse = exports.UpdateUserRequest = void 0;
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const FinspaceDataServiceException_1 = require("./FinspaceDataServiceException");
7
8
  class AccessDeniedException extends FinspaceDataServiceException_1.FinspaceDataServiceException {
@@ -112,6 +113,14 @@ class ValidationException extends FinspaceDataServiceException_1.FinspaceDataSer
112
113
  }
113
114
  }
114
115
  exports.ValidationException = ValidationException;
116
+ var AwsCredentials;
117
+ (function (AwsCredentials) {
118
+ AwsCredentials.filterSensitiveLog = (obj) => ({
119
+ ...obj,
120
+ ...(obj.secretAccessKey && { secretAccessKey: smithy_client_1.SENSITIVE_STRING }),
121
+ ...(obj.sessionToken && { sessionToken: smithy_client_1.SENSITIVE_STRING }),
122
+ });
123
+ })(AwsCredentials = exports.AwsCredentials || (exports.AwsCredentials = {}));
115
124
  var ChangeType;
116
125
  (function (ChangeType) {
117
126
  ChangeType["APPEND"] = "APPEND";
@@ -415,6 +424,25 @@ var GetDataViewResponse;
415
424
  ...obj,
416
425
  });
417
426
  })(GetDataViewResponse = exports.GetDataViewResponse || (exports.GetDataViewResponse = {}));
427
+ var GetExternalDataViewAccessDetailsRequest;
428
+ (function (GetExternalDataViewAccessDetailsRequest) {
429
+ GetExternalDataViewAccessDetailsRequest.filterSensitiveLog = (obj) => ({
430
+ ...obj,
431
+ });
432
+ })(GetExternalDataViewAccessDetailsRequest = exports.GetExternalDataViewAccessDetailsRequest || (exports.GetExternalDataViewAccessDetailsRequest = {}));
433
+ var S3Location;
434
+ (function (S3Location) {
435
+ S3Location.filterSensitiveLog = (obj) => ({
436
+ ...obj,
437
+ });
438
+ })(S3Location = exports.S3Location || (exports.S3Location = {}));
439
+ var GetExternalDataViewAccessDetailsResponse;
440
+ (function (GetExternalDataViewAccessDetailsResponse) {
441
+ GetExternalDataViewAccessDetailsResponse.filterSensitiveLog = (obj) => ({
442
+ ...obj,
443
+ ...(obj.credentials && { credentials: AwsCredentials.filterSensitiveLog(obj.credentials) }),
444
+ });
445
+ })(GetExternalDataViewAccessDetailsResponse = exports.GetExternalDataViewAccessDetailsResponse || (exports.GetExternalDataViewAccessDetailsResponse = {}));
418
446
  var GetPermissionGroupRequest;
419
447
  (function (GetPermissionGroupRequest) {
420
448
  GetPermissionGroupRequest.filterSensitiveLog = (obj) => ({
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1ListDatasetsCommand = exports.deserializeAws_restJson1ListChangesetsCommand = exports.deserializeAws_restJson1GetWorkingLocationCommand = exports.deserializeAws_restJson1GetUserCommand = exports.deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand = exports.deserializeAws_restJson1GetPermissionGroupCommand = exports.deserializeAws_restJson1GetDataViewCommand = exports.deserializeAws_restJson1GetDatasetCommand = exports.deserializeAws_restJson1GetChangesetCommand = exports.deserializeAws_restJson1EnableUserCommand = exports.deserializeAws_restJson1DisassociateUserFromPermissionGroupCommand = exports.deserializeAws_restJson1DisableUserCommand = exports.deserializeAws_restJson1DeletePermissionGroupCommand = exports.deserializeAws_restJson1DeleteDatasetCommand = exports.deserializeAws_restJson1CreateUserCommand = exports.deserializeAws_restJson1CreatePermissionGroupCommand = exports.deserializeAws_restJson1CreateDataViewCommand = exports.deserializeAws_restJson1CreateDatasetCommand = exports.deserializeAws_restJson1CreateChangesetCommand = exports.deserializeAws_restJson1AssociateUserToPermissionGroupCommand = exports.serializeAws_restJson1UpdateUserCommand = exports.serializeAws_restJson1UpdatePermissionGroupCommand = exports.serializeAws_restJson1UpdateDatasetCommand = exports.serializeAws_restJson1UpdateChangesetCommand = exports.serializeAws_restJson1ResetUserPasswordCommand = exports.serializeAws_restJson1ListUsersByPermissionGroupCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListPermissionGroupsByUserCommand = exports.serializeAws_restJson1ListPermissionGroupsCommand = exports.serializeAws_restJson1ListDataViewsCommand = exports.serializeAws_restJson1ListDatasetsCommand = exports.serializeAws_restJson1ListChangesetsCommand = exports.serializeAws_restJson1GetWorkingLocationCommand = exports.serializeAws_restJson1GetUserCommand = exports.serializeAws_restJson1GetProgrammaticAccessCredentialsCommand = exports.serializeAws_restJson1GetPermissionGroupCommand = exports.serializeAws_restJson1GetDataViewCommand = exports.serializeAws_restJson1GetDatasetCommand = exports.serializeAws_restJson1GetChangesetCommand = exports.serializeAws_restJson1EnableUserCommand = exports.serializeAws_restJson1DisassociateUserFromPermissionGroupCommand = exports.serializeAws_restJson1DisableUserCommand = exports.serializeAws_restJson1DeletePermissionGroupCommand = exports.serializeAws_restJson1DeleteDatasetCommand = exports.serializeAws_restJson1CreateUserCommand = exports.serializeAws_restJson1CreatePermissionGroupCommand = exports.serializeAws_restJson1CreateDataViewCommand = exports.serializeAws_restJson1CreateDatasetCommand = exports.serializeAws_restJson1CreateChangesetCommand = exports.serializeAws_restJson1AssociateUserToPermissionGroupCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdatePermissionGroupCommand = exports.deserializeAws_restJson1UpdateDatasetCommand = exports.deserializeAws_restJson1UpdateChangesetCommand = exports.deserializeAws_restJson1ResetUserPasswordCommand = exports.deserializeAws_restJson1ListUsersByPermissionGroupCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListPermissionGroupsByUserCommand = exports.deserializeAws_restJson1ListPermissionGroupsCommand = exports.deserializeAws_restJson1ListDataViewsCommand = void 0;
3
+ exports.deserializeAws_restJson1GetWorkingLocationCommand = exports.deserializeAws_restJson1GetUserCommand = exports.deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand = exports.deserializeAws_restJson1GetPermissionGroupCommand = exports.deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand = exports.deserializeAws_restJson1GetDataViewCommand = exports.deserializeAws_restJson1GetDatasetCommand = exports.deserializeAws_restJson1GetChangesetCommand = exports.deserializeAws_restJson1EnableUserCommand = exports.deserializeAws_restJson1DisassociateUserFromPermissionGroupCommand = exports.deserializeAws_restJson1DisableUserCommand = exports.deserializeAws_restJson1DeletePermissionGroupCommand = exports.deserializeAws_restJson1DeleteDatasetCommand = exports.deserializeAws_restJson1CreateUserCommand = exports.deserializeAws_restJson1CreatePermissionGroupCommand = exports.deserializeAws_restJson1CreateDataViewCommand = exports.deserializeAws_restJson1CreateDatasetCommand = exports.deserializeAws_restJson1CreateChangesetCommand = exports.deserializeAws_restJson1AssociateUserToPermissionGroupCommand = exports.serializeAws_restJson1UpdateUserCommand = exports.serializeAws_restJson1UpdatePermissionGroupCommand = exports.serializeAws_restJson1UpdateDatasetCommand = exports.serializeAws_restJson1UpdateChangesetCommand = exports.serializeAws_restJson1ResetUserPasswordCommand = exports.serializeAws_restJson1ListUsersByPermissionGroupCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListPermissionGroupsByUserCommand = exports.serializeAws_restJson1ListPermissionGroupsCommand = exports.serializeAws_restJson1ListDataViewsCommand = exports.serializeAws_restJson1ListDatasetsCommand = exports.serializeAws_restJson1ListChangesetsCommand = exports.serializeAws_restJson1GetWorkingLocationCommand = exports.serializeAws_restJson1GetUserCommand = exports.serializeAws_restJson1GetProgrammaticAccessCredentialsCommand = exports.serializeAws_restJson1GetPermissionGroupCommand = exports.serializeAws_restJson1GetExternalDataViewAccessDetailsCommand = exports.serializeAws_restJson1GetDataViewCommand = exports.serializeAws_restJson1GetDatasetCommand = exports.serializeAws_restJson1GetChangesetCommand = exports.serializeAws_restJson1EnableUserCommand = exports.serializeAws_restJson1DisassociateUserFromPermissionGroupCommand = exports.serializeAws_restJson1DisableUserCommand = exports.serializeAws_restJson1DeletePermissionGroupCommand = exports.serializeAws_restJson1DeleteDatasetCommand = exports.serializeAws_restJson1CreateUserCommand = exports.serializeAws_restJson1CreatePermissionGroupCommand = exports.serializeAws_restJson1CreateDataViewCommand = exports.serializeAws_restJson1CreateDatasetCommand = exports.serializeAws_restJson1CreateChangesetCommand = exports.serializeAws_restJson1AssociateUserToPermissionGroupCommand = void 0;
4
+ exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdatePermissionGroupCommand = exports.deserializeAws_restJson1UpdateDatasetCommand = exports.deserializeAws_restJson1UpdateChangesetCommand = exports.deserializeAws_restJson1ResetUserPasswordCommand = exports.deserializeAws_restJson1ListUsersByPermissionGroupCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListPermissionGroupsByUserCommand = exports.deserializeAws_restJson1ListPermissionGroupsCommand = exports.deserializeAws_restJson1ListDataViewsCommand = exports.deserializeAws_restJson1ListDatasetsCommand = exports.deserializeAws_restJson1ListChangesetsCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
@@ -490,6 +490,43 @@ const serializeAws_restJson1GetDataViewCommand = async (input, context) => {
490
490
  });
491
491
  };
492
492
  exports.serializeAws_restJson1GetDataViewCommand = serializeAws_restJson1GetDataViewCommand;
493
+ const serializeAws_restJson1GetExternalDataViewAccessDetailsCommand = async (input, context) => {
494
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
495
+ const headers = {};
496
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
497
+ "/datasets/{datasetId}/dataviewsv2/{dataViewId}/external-access-details";
498
+ if (input.dataViewId !== undefined) {
499
+ const labelValue = input.dataViewId;
500
+ if (labelValue.length <= 0) {
501
+ throw new Error("Empty value provided for input HTTP label: dataViewId.");
502
+ }
503
+ resolvedPath = resolvedPath.replace("{dataViewId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
504
+ }
505
+ else {
506
+ throw new Error("No value provided for input HTTP label: dataViewId.");
507
+ }
508
+ if (input.datasetId !== undefined) {
509
+ const labelValue = input.datasetId;
510
+ if (labelValue.length <= 0) {
511
+ throw new Error("Empty value provided for input HTTP label: datasetId.");
512
+ }
513
+ resolvedPath = resolvedPath.replace("{datasetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
514
+ }
515
+ else {
516
+ throw new Error("No value provided for input HTTP label: datasetId.");
517
+ }
518
+ let body;
519
+ return new protocol_http_1.HttpRequest({
520
+ protocol,
521
+ hostname,
522
+ port,
523
+ method: "POST",
524
+ headers,
525
+ path: resolvedPath,
526
+ body,
527
+ });
528
+ };
529
+ exports.serializeAws_restJson1GetExternalDataViewAccessDetailsCommand = serializeAws_restJson1GetExternalDataViewAccessDetailsCommand;
493
530
  const serializeAws_restJson1GetPermissionGroupCommand = async (input, context) => {
494
531
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
495
532
  const headers = {};
@@ -1844,6 +1881,59 @@ const deserializeAws_restJson1GetDataViewCommandError = async (output, context)
1844
1881
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1845
1882
  }
1846
1883
  };
1884
+ const deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand = async (output, context) => {
1885
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1886
+ return deserializeAws_restJson1GetExternalDataViewAccessDetailsCommandError(output, context);
1887
+ }
1888
+ const contents = {
1889
+ $metadata: deserializeMetadata(output),
1890
+ credentials: undefined,
1891
+ s3Location: undefined,
1892
+ };
1893
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1894
+ if (data.credentials !== undefined && data.credentials !== null) {
1895
+ contents.credentials = deserializeAws_restJson1AwsCredentials(data.credentials, context);
1896
+ }
1897
+ if (data.s3Location !== undefined && data.s3Location !== null) {
1898
+ contents.s3Location = deserializeAws_restJson1S3Location(data.s3Location, context);
1899
+ }
1900
+ return Promise.resolve(contents);
1901
+ };
1902
+ exports.deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand = deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand;
1903
+ const deserializeAws_restJson1GetExternalDataViewAccessDetailsCommandError = async (output, context) => {
1904
+ const parsedOutput = {
1905
+ ...output,
1906
+ body: await parseBody(output.body, context),
1907
+ };
1908
+ let response;
1909
+ let errorCode = "UnknownError";
1910
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1911
+ switch (errorCode) {
1912
+ case "AccessDeniedException":
1913
+ case "com.amazonaws.finspacedata#AccessDeniedException":
1914
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1915
+ case "InternalServerException":
1916
+ case "com.amazonaws.finspacedata#InternalServerException":
1917
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1918
+ case "ResourceNotFoundException":
1919
+ case "com.amazonaws.finspacedata#ResourceNotFoundException":
1920
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1921
+ case "ThrottlingException":
1922
+ case "com.amazonaws.finspacedata#ThrottlingException":
1923
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1924
+ case "ValidationException":
1925
+ case "com.amazonaws.finspacedata#ValidationException":
1926
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1927
+ default:
1928
+ const parsedBody = parsedOutput.body;
1929
+ response = new FinspaceDataServiceException_1.FinspaceDataServiceException({
1930
+ name: parsedBody.code || parsedBody.Code || errorCode,
1931
+ $fault: "client",
1932
+ $metadata: deserializeMetadata(output),
1933
+ });
1934
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1935
+ }
1936
+ };
1847
1937
  const deserializeAws_restJson1GetPermissionGroupCommand = async (output, context) => {
1848
1938
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1849
1939
  return deserializeAws_restJson1GetPermissionGroupCommandError(output, context);
@@ -2986,6 +3076,14 @@ const deserializeAws_restJson1ApplicationPermissionList = (output, context) => {
2986
3076
  });
2987
3077
  return retVal;
2988
3078
  };
3079
+ const deserializeAws_restJson1AwsCredentials = (output, context) => {
3080
+ return {
3081
+ accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
3082
+ expiration: (0, smithy_client_1.expectLong)(output.expiration),
3083
+ secretAccessKey: (0, smithy_client_1.expectString)(output.secretAccessKey),
3084
+ sessionToken: (0, smithy_client_1.expectString)(output.sessionToken),
3085
+ };
3086
+ };
2989
3087
  const deserializeAws_restJson1ChangesetErrorInfo = (output, context) => {
2990
3088
  return {
2991
3089
  errorCategory: (0, smithy_client_1.expectString)(output.errorCategory),
@@ -3223,6 +3321,12 @@ const deserializeAws_restJson1S3DestinationFormatOptions = (output, context) =>
3223
3321
  };
3224
3322
  }, {});
3225
3323
  };
3324
+ const deserializeAws_restJson1S3Location = (output, context) => {
3325
+ return {
3326
+ bucket: (0, smithy_client_1.expectString)(output.bucket),
3327
+ key: (0, smithy_client_1.expectString)(output.key),
3328
+ };
3329
+ };
3226
3330
  const deserializeAws_restJson1SchemaDefinition = (output, context) => {
3227
3331
  return {
3228
3332
  columns: output.columns !== undefined && output.columns !== null
@@ -13,6 +13,7 @@ import { EnableUserCommand } from "./commands/EnableUserCommand";
13
13
  import { GetChangesetCommand, } from "./commands/GetChangesetCommand";
14
14
  import { GetDatasetCommand } from "./commands/GetDatasetCommand";
15
15
  import { GetDataViewCommand } from "./commands/GetDataViewCommand";
16
+ import { GetExternalDataViewAccessDetailsCommand, } from "./commands/GetExternalDataViewAccessDetailsCommand";
16
17
  import { GetPermissionGroupCommand, } from "./commands/GetPermissionGroupCommand";
17
18
  import { GetProgrammaticAccessCredentialsCommand, } from "./commands/GetProgrammaticAccessCredentialsCommand";
18
19
  import { GetUserCommand } from "./commands/GetUserCommand";
@@ -231,6 +232,20 @@ var FinspaceData = (function (_super) {
231
232
  return this.send(command, optionsOrCb);
232
233
  }
233
234
  };
235
+ FinspaceData.prototype.getExternalDataViewAccessDetails = function (args, optionsOrCb, cb) {
236
+ var command = new GetExternalDataViewAccessDetailsCommand(args);
237
+ if (typeof optionsOrCb === "function") {
238
+ this.send(command, optionsOrCb);
239
+ }
240
+ else if (typeof cb === "function") {
241
+ if (typeof optionsOrCb !== "object")
242
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
243
+ this.send(command, optionsOrCb || {}, cb);
244
+ }
245
+ else {
246
+ return this.send(command, optionsOrCb);
247
+ }
248
+ };
234
249
  FinspaceData.prototype.getPermissionGroup = function (args, optionsOrCb, cb) {
235
250
  var command = new GetPermissionGroupCommand(args);
236
251
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetExternalDataViewAccessDetailsRequest, GetExternalDataViewAccessDetailsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand, serializeAws_restJson1GetExternalDataViewAccessDetailsCommand, } from "../protocols/Aws_restJson1";
6
+ var GetExternalDataViewAccessDetailsCommand = (function (_super) {
7
+ __extends(GetExternalDataViewAccessDetailsCommand, _super);
8
+ function GetExternalDataViewAccessDetailsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetExternalDataViewAccessDetailsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "GetExternalDataViewAccessDetailsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetExternalDataViewAccessDetailsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetExternalDataViewAccessDetailsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetExternalDataViewAccessDetailsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetExternalDataViewAccessDetailsCommand(input, context);
33
+ };
34
+ GetExternalDataViewAccessDetailsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand(output, context);
36
+ };
37
+ return GetExternalDataViewAccessDetailsCommand;
38
+ }($Command));
39
+ export { GetExternalDataViewAccessDetailsCommand };
@@ -12,6 +12,7 @@ export * from "./EnableUserCommand";
12
12
  export * from "./GetChangesetCommand";
13
13
  export * from "./GetDataViewCommand";
14
14
  export * from "./GetDatasetCommand";
15
+ export * from "./GetExternalDataViewAccessDetailsCommand";
15
16
  export * from "./GetPermissionGroupCommand";
16
17
  export * from "./GetProgrammaticAccessCredentialsCommand";
17
18
  export * from "./GetUserCommand";
@@ -99,6 +99,10 @@ var ValidationException = (function (_super) {
99
99
  return ValidationException;
100
100
  }(__BaseException));
101
101
  export { ValidationException };
102
+ export var AwsCredentials;
103
+ (function (AwsCredentials) {
104
+ AwsCredentials.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.secretAccessKey && { secretAccessKey: SENSITIVE_STRING })), (obj.sessionToken && { sessionToken: SENSITIVE_STRING }))); };
105
+ })(AwsCredentials || (AwsCredentials = {}));
102
106
  export var ChangeType;
103
107
  (function (ChangeType) {
104
108
  ChangeType["APPEND"] = "APPEND";
@@ -324,6 +328,18 @@ export var GetDataViewResponse;
324
328
  (function (GetDataViewResponse) {
325
329
  GetDataViewResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
326
330
  })(GetDataViewResponse || (GetDataViewResponse = {}));
331
+ export var GetExternalDataViewAccessDetailsRequest;
332
+ (function (GetExternalDataViewAccessDetailsRequest) {
333
+ GetExternalDataViewAccessDetailsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
334
+ })(GetExternalDataViewAccessDetailsRequest || (GetExternalDataViewAccessDetailsRequest = {}));
335
+ export var S3Location;
336
+ (function (S3Location) {
337
+ S3Location.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
338
+ })(S3Location || (S3Location = {}));
339
+ export var GetExternalDataViewAccessDetailsResponse;
340
+ (function (GetExternalDataViewAccessDetailsResponse) {
341
+ GetExternalDataViewAccessDetailsResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.credentials && { credentials: AwsCredentials.filterSensitiveLog(obj.credentials) }))); };
342
+ })(GetExternalDataViewAccessDetailsResponse || (GetExternalDataViewAccessDetailsResponse = {}));
327
343
  export var GetPermissionGroupRequest;
328
344
  (function (GetPermissionGroupRequest) {
329
345
  GetPermissionGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -517,6 +517,48 @@ export var serializeAws_restJson1GetDataViewCommand = function (input, context)
517
517
  }
518
518
  });
519
519
  }); };
520
+ export var serializeAws_restJson1GetExternalDataViewAccessDetailsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
521
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, body;
522
+ return __generator(this, function (_c) {
523
+ switch (_c.label) {
524
+ case 0: return [4, context.endpoint()];
525
+ case 1:
526
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
527
+ headers = {};
528
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
529
+ "/datasets/{datasetId}/dataviewsv2/{dataViewId}/external-access-details";
530
+ if (input.dataViewId !== undefined) {
531
+ labelValue = input.dataViewId;
532
+ if (labelValue.length <= 0) {
533
+ throw new Error("Empty value provided for input HTTP label: dataViewId.");
534
+ }
535
+ resolvedPath = resolvedPath.replace("{dataViewId}", __extendedEncodeURIComponent(labelValue));
536
+ }
537
+ else {
538
+ throw new Error("No value provided for input HTTP label: dataViewId.");
539
+ }
540
+ if (input.datasetId !== undefined) {
541
+ labelValue = input.datasetId;
542
+ if (labelValue.length <= 0) {
543
+ throw new Error("Empty value provided for input HTTP label: datasetId.");
544
+ }
545
+ resolvedPath = resolvedPath.replace("{datasetId}", __extendedEncodeURIComponent(labelValue));
546
+ }
547
+ else {
548
+ throw new Error("No value provided for input HTTP label: datasetId.");
549
+ }
550
+ return [2, new __HttpRequest({
551
+ protocol: protocol,
552
+ hostname: hostname,
553
+ port: port,
554
+ method: "POST",
555
+ headers: headers,
556
+ path: resolvedPath,
557
+ body: body,
558
+ })];
559
+ }
560
+ });
561
+ }); };
520
562
  export var serializeAws_restJson1GetPermissionGroupCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
521
563
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
522
564
  return __generator(this, function (_c) {
@@ -2238,6 +2280,82 @@ var deserializeAws_restJson1GetDataViewCommandError = function (output, context)
2238
2280
  }
2239
2281
  });
2240
2282
  }); };
2283
+ export var deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2284
+ var contents, data, _a, _b;
2285
+ return __generator(this, function (_c) {
2286
+ switch (_c.label) {
2287
+ case 0:
2288
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2289
+ return [2, deserializeAws_restJson1GetExternalDataViewAccessDetailsCommandError(output, context)];
2290
+ }
2291
+ contents = {
2292
+ $metadata: deserializeMetadata(output),
2293
+ credentials: undefined,
2294
+ s3Location: undefined,
2295
+ };
2296
+ _a = __expectNonNull;
2297
+ _b = __expectObject;
2298
+ return [4, parseBody(output.body, context)];
2299
+ case 1:
2300
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2301
+ if (data.credentials !== undefined && data.credentials !== null) {
2302
+ contents.credentials = deserializeAws_restJson1AwsCredentials(data.credentials, context);
2303
+ }
2304
+ if (data.s3Location !== undefined && data.s3Location !== null) {
2305
+ contents.s3Location = deserializeAws_restJson1S3Location(data.s3Location, context);
2306
+ }
2307
+ return [2, Promise.resolve(contents)];
2308
+ }
2309
+ });
2310
+ }); };
2311
+ var deserializeAws_restJson1GetExternalDataViewAccessDetailsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2312
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
2313
+ var _c;
2314
+ return __generator(this, function (_d) {
2315
+ switch (_d.label) {
2316
+ case 0:
2317
+ _a = [__assign({}, output)];
2318
+ _c = {};
2319
+ return [4, parseBody(output.body, context)];
2320
+ case 1:
2321
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2322
+ errorCode = "UnknownError";
2323
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2324
+ _b = errorCode;
2325
+ switch (_b) {
2326
+ case "AccessDeniedException": return [3, 2];
2327
+ case "com.amazonaws.finspacedata#AccessDeniedException": return [3, 2];
2328
+ case "InternalServerException": return [3, 4];
2329
+ case "com.amazonaws.finspacedata#InternalServerException": return [3, 4];
2330
+ case "ResourceNotFoundException": return [3, 6];
2331
+ case "com.amazonaws.finspacedata#ResourceNotFoundException": return [3, 6];
2332
+ case "ThrottlingException": return [3, 8];
2333
+ case "com.amazonaws.finspacedata#ThrottlingException": return [3, 8];
2334
+ case "ValidationException": return [3, 10];
2335
+ case "com.amazonaws.finspacedata#ValidationException": return [3, 10];
2336
+ }
2337
+ return [3, 12];
2338
+ case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
2339
+ case 3: throw _d.sent();
2340
+ case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
2341
+ case 5: throw _d.sent();
2342
+ case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
2343
+ case 7: throw _d.sent();
2344
+ case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
2345
+ case 9: throw _d.sent();
2346
+ case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
2347
+ case 11: throw _d.sent();
2348
+ case 12:
2349
+ parsedBody = parsedOutput.body;
2350
+ response = new __BaseException({
2351
+ name: parsedBody.code || parsedBody.Code || errorCode,
2352
+ $fault: "client",
2353
+ $metadata: deserializeMetadata(output),
2354
+ });
2355
+ throw __decorateServiceException(response, parsedBody);
2356
+ }
2357
+ });
2358
+ }); };
2241
2359
  export var deserializeAws_restJson1GetPermissionGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2242
2360
  var contents, data, _a, _b;
2243
2361
  return __generator(this, function (_c) {
@@ -3725,6 +3843,14 @@ var deserializeAws_restJson1ApplicationPermissionList = function (output, contex
3725
3843
  });
3726
3844
  return retVal;
3727
3845
  };
3846
+ var deserializeAws_restJson1AwsCredentials = function (output, context) {
3847
+ return {
3848
+ accessKeyId: __expectString(output.accessKeyId),
3849
+ expiration: __expectLong(output.expiration),
3850
+ secretAccessKey: __expectString(output.secretAccessKey),
3851
+ sessionToken: __expectString(output.sessionToken),
3852
+ };
3853
+ };
3728
3854
  var deserializeAws_restJson1ChangesetErrorInfo = function (output, context) {
3729
3855
  return {
3730
3856
  errorCategory: __expectString(output.errorCategory),
@@ -3960,6 +4086,12 @@ var deserializeAws_restJson1S3DestinationFormatOptions = function (output, conte
3960
4086
  return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
3961
4087
  }, {});
3962
4088
  };
4089
+ var deserializeAws_restJson1S3Location = function (output, context) {
4090
+ return {
4091
+ bucket: __expectString(output.bucket),
4092
+ key: __expectString(output.key),
4093
+ };
4094
+ };
3963
4095
  var deserializeAws_restJson1SchemaDefinition = function (output, context) {
3964
4096
  return {
3965
4097
  columns: output.columns !== undefined && output.columns !== null
@@ -13,6 +13,7 @@ import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/Enab
13
13
  import { GetChangesetCommandInput, GetChangesetCommandOutput } from "./commands/GetChangesetCommand";
14
14
  import { GetDatasetCommandInput, GetDatasetCommandOutput } from "./commands/GetDatasetCommand";
15
15
  import { GetDataViewCommandInput, GetDataViewCommandOutput } from "./commands/GetDataViewCommand";
16
+ import { GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput } from "./commands/GetExternalDataViewAccessDetailsCommand";
16
17
  import { GetPermissionGroupCommandInput, GetPermissionGroupCommandOutput } from "./commands/GetPermissionGroupCommand";
17
18
  import { GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput } from "./commands/GetProgrammaticAccessCredentialsCommand";
18
19
  import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
@@ -118,6 +119,20 @@ export declare class FinspaceData extends FinspaceDataClient {
118
119
  getDataView(args: GetDataViewCommandInput, options?: __HttpHandlerOptions): Promise<GetDataViewCommandOutput>;
119
120
  getDataView(args: GetDataViewCommandInput, cb: (err: any, data?: GetDataViewCommandOutput) => void): void;
120
121
  getDataView(args: GetDataViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataViewCommandOutput) => void): void;
122
+ /**
123
+ * <p>Returns the credentials to access the external Dataview from an S3 location. To call this API:</p>
124
+ * <ul>
125
+ * <li>
126
+ * <p>You must retrieve the programmatic credentials.</p>
127
+ * </li>
128
+ * <li>
129
+ * <p>You must be a member of a FinSpace user group, where the dataset that you want to access has <code>Read Dataset Data</code> permissions.</p>
130
+ * </li>
131
+ * </ul>
132
+ */
133
+ getExternalDataViewAccessDetails(args: GetExternalDataViewAccessDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetExternalDataViewAccessDetailsCommandOutput>;
134
+ getExternalDataViewAccessDetails(args: GetExternalDataViewAccessDetailsCommandInput, cb: (err: any, data?: GetExternalDataViewAccessDetailsCommandOutput) => void): void;
135
+ getExternalDataViewAccessDetails(args: GetExternalDataViewAccessDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExternalDataViewAccessDetailsCommandOutput) => void): void;
121
136
  /**
122
137
  * <p>Retrieves the details of a specific permission group.</p>
123
138
  */
@@ -20,6 +20,7 @@ import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/Enab
20
20
  import { GetChangesetCommandInput, GetChangesetCommandOutput } from "./commands/GetChangesetCommand";
21
21
  import { GetDatasetCommandInput, GetDatasetCommandOutput } from "./commands/GetDatasetCommand";
22
22
  import { GetDataViewCommandInput, GetDataViewCommandOutput } from "./commands/GetDataViewCommand";
23
+ import { GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput } from "./commands/GetExternalDataViewAccessDetailsCommand";
23
24
  import { GetPermissionGroupCommandInput, GetPermissionGroupCommandOutput } from "./commands/GetPermissionGroupCommand";
24
25
  import { GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput } from "./commands/GetProgrammaticAccessCredentialsCommand";
25
26
  import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
@@ -36,8 +37,8 @@ import { UpdateChangesetCommandInput, UpdateChangesetCommandOutput } from "./com
36
37
  import { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "./commands/UpdateDatasetCommand";
37
38
  import { UpdatePermissionGroupCommandInput, UpdatePermissionGroupCommandOutput } from "./commands/UpdatePermissionGroupCommand";
38
39
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
39
- export declare type ServiceInputTypes = AssociateUserToPermissionGroupCommandInput | CreateChangesetCommandInput | CreateDataViewCommandInput | CreateDatasetCommandInput | CreatePermissionGroupCommandInput | CreateUserCommandInput | DeleteDatasetCommandInput | DeletePermissionGroupCommandInput | DisableUserCommandInput | DisassociateUserFromPermissionGroupCommandInput | EnableUserCommandInput | GetChangesetCommandInput | GetDataViewCommandInput | GetDatasetCommandInput | GetPermissionGroupCommandInput | GetProgrammaticAccessCredentialsCommandInput | GetUserCommandInput | GetWorkingLocationCommandInput | ListChangesetsCommandInput | ListDataViewsCommandInput | ListDatasetsCommandInput | ListPermissionGroupsByUserCommandInput | ListPermissionGroupsCommandInput | ListUsersByPermissionGroupCommandInput | ListUsersCommandInput | ResetUserPasswordCommandInput | UpdateChangesetCommandInput | UpdateDatasetCommandInput | UpdatePermissionGroupCommandInput | UpdateUserCommandInput;
40
- export declare type ServiceOutputTypes = AssociateUserToPermissionGroupCommandOutput | CreateChangesetCommandOutput | CreateDataViewCommandOutput | CreateDatasetCommandOutput | CreatePermissionGroupCommandOutput | CreateUserCommandOutput | DeleteDatasetCommandOutput | DeletePermissionGroupCommandOutput | DisableUserCommandOutput | DisassociateUserFromPermissionGroupCommandOutput | EnableUserCommandOutput | GetChangesetCommandOutput | GetDataViewCommandOutput | GetDatasetCommandOutput | GetPermissionGroupCommandOutput | GetProgrammaticAccessCredentialsCommandOutput | GetUserCommandOutput | GetWorkingLocationCommandOutput | ListChangesetsCommandOutput | ListDataViewsCommandOutput | ListDatasetsCommandOutput | ListPermissionGroupsByUserCommandOutput | ListPermissionGroupsCommandOutput | ListUsersByPermissionGroupCommandOutput | ListUsersCommandOutput | ResetUserPasswordCommandOutput | UpdateChangesetCommandOutput | UpdateDatasetCommandOutput | UpdatePermissionGroupCommandOutput | UpdateUserCommandOutput;
40
+ export declare type ServiceInputTypes = AssociateUserToPermissionGroupCommandInput | CreateChangesetCommandInput | CreateDataViewCommandInput | CreateDatasetCommandInput | CreatePermissionGroupCommandInput | CreateUserCommandInput | DeleteDatasetCommandInput | DeletePermissionGroupCommandInput | DisableUserCommandInput | DisassociateUserFromPermissionGroupCommandInput | EnableUserCommandInput | GetChangesetCommandInput | GetDataViewCommandInput | GetDatasetCommandInput | GetExternalDataViewAccessDetailsCommandInput | GetPermissionGroupCommandInput | GetProgrammaticAccessCredentialsCommandInput | GetUserCommandInput | GetWorkingLocationCommandInput | ListChangesetsCommandInput | ListDataViewsCommandInput | ListDatasetsCommandInput | ListPermissionGroupsByUserCommandInput | ListPermissionGroupsCommandInput | ListUsersByPermissionGroupCommandInput | ListUsersCommandInput | ResetUserPasswordCommandInput | UpdateChangesetCommandInput | UpdateDatasetCommandInput | UpdatePermissionGroupCommandInput | UpdateUserCommandInput;
41
+ export declare type ServiceOutputTypes = AssociateUserToPermissionGroupCommandOutput | CreateChangesetCommandOutput | CreateDataViewCommandOutput | CreateDatasetCommandOutput | CreatePermissionGroupCommandOutput | CreateUserCommandOutput | DeleteDatasetCommandOutput | DeletePermissionGroupCommandOutput | DisableUserCommandOutput | DisassociateUserFromPermissionGroupCommandOutput | EnableUserCommandOutput | GetChangesetCommandOutput | GetDataViewCommandOutput | GetDatasetCommandOutput | GetExternalDataViewAccessDetailsCommandOutput | GetPermissionGroupCommandOutput | GetProgrammaticAccessCredentialsCommandOutput | GetUserCommandOutput | GetWorkingLocationCommandOutput | ListChangesetsCommandOutput | ListDataViewsCommandOutput | ListDatasetsCommandOutput | ListPermissionGroupsByUserCommandOutput | ListPermissionGroupsCommandOutput | ListUsersByPermissionGroupCommandOutput | ListUsersCommandOutput | ResetUserPasswordCommandOutput | UpdateChangesetCommandOutput | UpdateDatasetCommandOutput | UpdatePermissionGroupCommandOutput | UpdateUserCommandOutput;
41
42
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
42
43
  /**
43
44
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,43 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceDataClient";
4
+ import { GetExternalDataViewAccessDetailsRequest, GetExternalDataViewAccessDetailsResponse } from "../models/models_0";
5
+ export interface GetExternalDataViewAccessDetailsCommandInput extends GetExternalDataViewAccessDetailsRequest {
6
+ }
7
+ export interface GetExternalDataViewAccessDetailsCommandOutput extends GetExternalDataViewAccessDetailsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns the credentials to access the external Dataview from an S3 location. To call this API:</p>
11
+ * <ul>
12
+ * <li>
13
+ * <p>You must retrieve the programmatic credentials.</p>
14
+ * </li>
15
+ * <li>
16
+ * <p>You must be a member of a FinSpace user group, where the dataset that you want to access has <code>Read Dataset Data</code> permissions.</p>
17
+ * </li>
18
+ * </ul>
19
+ * @example
20
+ * Use a bare-bones client and the command you need to make an API call.
21
+ * ```javascript
22
+ * import { FinspaceDataClient, GetExternalDataViewAccessDetailsCommand } from "@aws-sdk/client-finspace-data"; // ES Modules import
23
+ * // const { FinspaceDataClient, GetExternalDataViewAccessDetailsCommand } = require("@aws-sdk/client-finspace-data"); // CommonJS import
24
+ * const client = new FinspaceDataClient(config);
25
+ * const command = new GetExternalDataViewAccessDetailsCommand(input);
26
+ * const response = await client.send(command);
27
+ * ```
28
+ *
29
+ * @see {@link GetExternalDataViewAccessDetailsCommandInput} for command's `input` shape.
30
+ * @see {@link GetExternalDataViewAccessDetailsCommandOutput} for command's `response` shape.
31
+ * @see {@link FinspaceDataClientResolvedConfig | config} for FinspaceDataClient's `config` shape.
32
+ *
33
+ */
34
+ export declare class GetExternalDataViewAccessDetailsCommand extends $Command<GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput, FinspaceDataClientResolvedConfig> {
35
+ readonly input: GetExternalDataViewAccessDetailsCommandInput;
36
+ constructor(input: GetExternalDataViewAccessDetailsCommandInput);
37
+ /**
38
+ * @internal
39
+ */
40
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput>;
41
+ private serialize;
42
+ private deserialize;
43
+ }
@@ -12,6 +12,7 @@ export * from "./EnableUserCommand";
12
12
  export * from "./GetChangesetCommand";
13
13
  export * from "./GetDataViewCommand";
14
14
  export * from "./GetDatasetCommand";
15
+ export * from "./GetExternalDataViewAccessDetailsCommand";
15
16
  export * from "./GetPermissionGroupCommand";
16
17
  export * from "./GetProgrammaticAccessCredentialsCommand";
17
18
  export * from "./GetUserCommand";
@@ -115,6 +115,33 @@ export declare class ValidationException extends __BaseException {
115
115
  */
116
116
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
117
117
  }
118
+ /**
119
+ * <p> The credentials required to access the external Dataview from the S3 location.</p>
120
+ */
121
+ export interface AwsCredentials {
122
+ /**
123
+ * <p> The unique identifier for the security credentials.</p>
124
+ */
125
+ accessKeyId?: string;
126
+ /**
127
+ * <p> The secret access key that can be used to sign requests.</p>
128
+ */
129
+ secretAccessKey?: string;
130
+ /**
131
+ * <p> The token that users must pass to use the credentials.</p>
132
+ */
133
+ sessionToken?: string;
134
+ /**
135
+ * <p> The Epoch time when the current credentials expire.</p>
136
+ */
137
+ expiration?: number;
138
+ }
139
+ export declare namespace AwsCredentials {
140
+ /**
141
+ * @internal
142
+ */
143
+ const filterSensitiveLog: (obj: AwsCredentials) => any;
144
+ }
118
145
  export declare enum ChangeType {
119
146
  APPEND = "APPEND",
120
147
  MODIFY = "MODIFY",
@@ -659,6 +686,9 @@ export interface CreatePermissionGroupRequest {
659
686
  description?: string;
660
687
  /**
661
688
  * <p>The option to indicate FinSpace application permissions that are granted to a specific group.</p>
689
+ * <important>
690
+ * <p>When assigning application permissions, be aware that the permission <code>ManageUsersAndGroups</code> allows users to grant themselves or others access to any functionality in their FinSpace environment's application. It should only be granted to trusted users.</p>
691
+ * </important>
662
692
  * <ul>
663
693
  * <li>
664
694
  * <p>
@@ -670,7 +700,7 @@ export interface CreatePermissionGroupRequest {
670
700
  * </li>
671
701
  * <li>
672
702
  * <p>
673
- * <code>ManageUsersAndGroups</code> – Group members can manage users and permission groups.</p>
703
+ * <code>ManageUsersAndGroups</code> – Group members can manage users and permission groups. This is a privileged permission that allows users to grant themselves or others access to any functionality in the application. It should only be granted to trusted users.</p>
674
704
  * </li>
675
705
  * <li>
676
706
  * <p>
@@ -1387,6 +1417,57 @@ export declare namespace GetDataViewResponse {
1387
1417
  */
1388
1418
  const filterSensitiveLog: (obj: GetDataViewResponse) => any;
1389
1419
  }
1420
+ export interface GetExternalDataViewAccessDetailsRequest {
1421
+ /**
1422
+ * <p>The unique identifier for the Dataview that you want to access.</p>
1423
+ */
1424
+ dataViewId: string | undefined;
1425
+ /**
1426
+ * <p>The unique identifier for the Dataset.</p>
1427
+ */
1428
+ datasetId: string | undefined;
1429
+ }
1430
+ export declare namespace GetExternalDataViewAccessDetailsRequest {
1431
+ /**
1432
+ * @internal
1433
+ */
1434
+ const filterSensitiveLog: (obj: GetExternalDataViewAccessDetailsRequest) => any;
1435
+ }
1436
+ /**
1437
+ * <p>The location of an external Dataview in an S3 bucket.</p>
1438
+ */
1439
+ export interface S3Location {
1440
+ /**
1441
+ * <p> The name of the S3 bucket.</p>
1442
+ */
1443
+ bucket: string | undefined;
1444
+ /**
1445
+ * <p> The path of the folder, within the S3 bucket that contains the Dataset.</p>
1446
+ */
1447
+ key: string | undefined;
1448
+ }
1449
+ export declare namespace S3Location {
1450
+ /**
1451
+ * @internal
1452
+ */
1453
+ const filterSensitiveLog: (obj: S3Location) => any;
1454
+ }
1455
+ export interface GetExternalDataViewAccessDetailsResponse {
1456
+ /**
1457
+ * <p>The credentials required to access the external Dataview from the S3 location.</p>
1458
+ */
1459
+ credentials?: AwsCredentials;
1460
+ /**
1461
+ * <p>The location where the external Dataview is stored.</p>
1462
+ */
1463
+ s3Location?: S3Location;
1464
+ }
1465
+ export declare namespace GetExternalDataViewAccessDetailsResponse {
1466
+ /**
1467
+ * @internal
1468
+ */
1469
+ const filterSensitiveLog: (obj: GetExternalDataViewAccessDetailsResponse) => any;
1470
+ }
1390
1471
  export interface GetPermissionGroupRequest {
1391
1472
  /**
1392
1473
  * <p>The unique identifier for the permission group.</p>
@@ -1422,6 +1503,9 @@ export interface PermissionGroup {
1422
1503
  description?: string;
1423
1504
  /**
1424
1505
  * <p>Indicates the permissions that are granted to a specific group for accessing the FinSpace application.</p>
1506
+ * <important>
1507
+ * <p>When assigning application permissions, be aware that the permission <code>ManageUsersAndGroups</code> allows users to grant themselves or others access to any functionality in their FinSpace environment's application. It should only be granted to trusted users.</p>
1508
+ * </important>
1425
1509
  * <ul>
1426
1510
  * <li>
1427
1511
  * <p>
@@ -1433,7 +1517,7 @@ export interface PermissionGroup {
1433
1517
  * </li>
1434
1518
  * <li>
1435
1519
  * <p>
1436
- * <code>ManageUsersAndGroups</code> – Group members can manage users and permission groups.</p>
1520
+ * <code>ManageUsersAndGroups</code> – Group members can manage users and permission groups. This is a privileged permission that allows users to grant themselves or others access to any functionality in the application. It should only be granted to trusted users.</p>
1437
1521
  * </li>
1438
1522
  * <li>
1439
1523
  * <p>
@@ -2684,6 +2768,9 @@ export interface UpdatePermissionGroupRequest {
2684
2768
  description?: string;
2685
2769
  /**
2686
2770
  * <p>The permissions that are granted to a specific group for accessing the FinSpace application.</p>
2771
+ * <important>
2772
+ * <p>When assigning application permissions, be aware that the permission <code>ManageUsersAndGroups</code> allows users to grant themselves or others access to any functionality in their FinSpace environment's application. It should only be granted to trusted users.</p>
2773
+ * </important>
2687
2774
  * <ul>
2688
2775
  * <li>
2689
2776
  * <p>
@@ -2695,7 +2782,7 @@ export interface UpdatePermissionGroupRequest {
2695
2782
  * </li>
2696
2783
  * <li>
2697
2784
  * <p>
2698
- * <code>ManageUsersAndGroups</code> – Group members can manage users and permission groups.</p>
2785
+ * <code>ManageUsersAndGroups</code> – Group members can manage users and permission groups. This is a privileged permission that allows users to grant themselves or others access to any functionality in the application. It should only be granted to trusted users.</p>
2699
2786
  * </li>
2700
2787
  * <li>
2701
2788
  * <p>
@@ -14,6 +14,7 @@ import { EnableUserCommandInput, EnableUserCommandOutput } from "../commands/Ena
14
14
  import { GetChangesetCommandInput, GetChangesetCommandOutput } from "../commands/GetChangesetCommand";
15
15
  import { GetDatasetCommandInput, GetDatasetCommandOutput } from "../commands/GetDatasetCommand";
16
16
  import { GetDataViewCommandInput, GetDataViewCommandOutput } from "../commands/GetDataViewCommand";
17
+ import { GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput } from "../commands/GetExternalDataViewAccessDetailsCommand";
17
18
  import { GetPermissionGroupCommandInput, GetPermissionGroupCommandOutput } from "../commands/GetPermissionGroupCommand";
18
19
  import { GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput } from "../commands/GetProgrammaticAccessCredentialsCommand";
19
20
  import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
@@ -44,6 +45,7 @@ export declare const serializeAws_restJson1EnableUserCommand: (input: EnableUser
44
45
  export declare const serializeAws_restJson1GetChangesetCommand: (input: GetChangesetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
46
  export declare const serializeAws_restJson1GetDatasetCommand: (input: GetDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
47
  export declare const serializeAws_restJson1GetDataViewCommand: (input: GetDataViewCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ export declare const serializeAws_restJson1GetExternalDataViewAccessDetailsCommand: (input: GetExternalDataViewAccessDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
49
  export declare const serializeAws_restJson1GetPermissionGroupCommand: (input: GetPermissionGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
50
  export declare const serializeAws_restJson1GetProgrammaticAccessCredentialsCommand: (input: GetProgrammaticAccessCredentialsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
51
  export declare const serializeAws_restJson1GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -74,6 +76,7 @@ export declare const deserializeAws_restJson1EnableUserCommand: (output: __HttpR
74
76
  export declare const deserializeAws_restJson1GetChangesetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetChangesetCommandOutput>;
75
77
  export declare const deserializeAws_restJson1GetDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDatasetCommandOutput>;
76
78
  export declare const deserializeAws_restJson1GetDataViewCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDataViewCommandOutput>;
79
+ export declare const deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetExternalDataViewAccessDetailsCommandOutput>;
77
80
  export declare const deserializeAws_restJson1GetPermissionGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPermissionGroupCommandOutput>;
78
81
  export declare const deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProgrammaticAccessCredentialsCommandOutput>;
79
82
  export declare const deserializeAws_restJson1GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
@@ -13,6 +13,7 @@ import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/Enab
13
13
  import { GetChangesetCommandInput, GetChangesetCommandOutput } from "./commands/GetChangesetCommand";
14
14
  import { GetDatasetCommandInput, GetDatasetCommandOutput } from "./commands/GetDatasetCommand";
15
15
  import { GetDataViewCommandInput, GetDataViewCommandOutput } from "./commands/GetDataViewCommand";
16
+ import { GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput } from "./commands/GetExternalDataViewAccessDetailsCommand";
16
17
  import { GetPermissionGroupCommandInput, GetPermissionGroupCommandOutput } from "./commands/GetPermissionGroupCommand";
17
18
  import { GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput } from "./commands/GetProgrammaticAccessCredentialsCommand";
18
19
  import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
@@ -89,6 +90,10 @@ export declare class FinspaceData extends FinspaceDataClient {
89
90
  getDataView(args: GetDataViewCommandInput, cb: (err: any, data?: GetDataViewCommandOutput) => void): void;
90
91
  getDataView(args: GetDataViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataViewCommandOutput) => void): void;
91
92
 
93
+ getExternalDataViewAccessDetails(args: GetExternalDataViewAccessDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetExternalDataViewAccessDetailsCommandOutput>;
94
+ getExternalDataViewAccessDetails(args: GetExternalDataViewAccessDetailsCommandInput, cb: (err: any, data?: GetExternalDataViewAccessDetailsCommandOutput) => void): void;
95
+ getExternalDataViewAccessDetails(args: GetExternalDataViewAccessDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExternalDataViewAccessDetailsCommandOutput) => void): void;
96
+
92
97
  getPermissionGroup(args: GetPermissionGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetPermissionGroupCommandOutput>;
93
98
  getPermissionGroup(args: GetPermissionGroupCommandInput, cb: (err: any, data?: GetPermissionGroupCommandOutput) => void): void;
94
99
  getPermissionGroup(args: GetPermissionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPermissionGroupCommandOutput) => void): void;
@@ -20,6 +20,7 @@ import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/Enab
20
20
  import { GetChangesetCommandInput, GetChangesetCommandOutput } from "./commands/GetChangesetCommand";
21
21
  import { GetDatasetCommandInput, GetDatasetCommandOutput } from "./commands/GetDatasetCommand";
22
22
  import { GetDataViewCommandInput, GetDataViewCommandOutput } from "./commands/GetDataViewCommand";
23
+ import { GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput } from "./commands/GetExternalDataViewAccessDetailsCommand";
23
24
  import { GetPermissionGroupCommandInput, GetPermissionGroupCommandOutput } from "./commands/GetPermissionGroupCommand";
24
25
  import { GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput } from "./commands/GetProgrammaticAccessCredentialsCommand";
25
26
  import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
@@ -36,8 +37,8 @@ import { UpdateChangesetCommandInput, UpdateChangesetCommandOutput } from "./com
36
37
  import { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "./commands/UpdateDatasetCommand";
37
38
  import { UpdatePermissionGroupCommandInput, UpdatePermissionGroupCommandOutput } from "./commands/UpdatePermissionGroupCommand";
38
39
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
39
- export declare type ServiceInputTypes = AssociateUserToPermissionGroupCommandInput | CreateChangesetCommandInput | CreateDataViewCommandInput | CreateDatasetCommandInput | CreatePermissionGroupCommandInput | CreateUserCommandInput | DeleteDatasetCommandInput | DeletePermissionGroupCommandInput | DisableUserCommandInput | DisassociateUserFromPermissionGroupCommandInput | EnableUserCommandInput | GetChangesetCommandInput | GetDataViewCommandInput | GetDatasetCommandInput | GetPermissionGroupCommandInput | GetProgrammaticAccessCredentialsCommandInput | GetUserCommandInput | GetWorkingLocationCommandInput | ListChangesetsCommandInput | ListDataViewsCommandInput | ListDatasetsCommandInput | ListPermissionGroupsByUserCommandInput | ListPermissionGroupsCommandInput | ListUsersByPermissionGroupCommandInput | ListUsersCommandInput | ResetUserPasswordCommandInput | UpdateChangesetCommandInput | UpdateDatasetCommandInput | UpdatePermissionGroupCommandInput | UpdateUserCommandInput;
40
- export declare type ServiceOutputTypes = AssociateUserToPermissionGroupCommandOutput | CreateChangesetCommandOutput | CreateDataViewCommandOutput | CreateDatasetCommandOutput | CreatePermissionGroupCommandOutput | CreateUserCommandOutput | DeleteDatasetCommandOutput | DeletePermissionGroupCommandOutput | DisableUserCommandOutput | DisassociateUserFromPermissionGroupCommandOutput | EnableUserCommandOutput | GetChangesetCommandOutput | GetDataViewCommandOutput | GetDatasetCommandOutput | GetPermissionGroupCommandOutput | GetProgrammaticAccessCredentialsCommandOutput | GetUserCommandOutput | GetWorkingLocationCommandOutput | ListChangesetsCommandOutput | ListDataViewsCommandOutput | ListDatasetsCommandOutput | ListPermissionGroupsByUserCommandOutput | ListPermissionGroupsCommandOutput | ListUsersByPermissionGroupCommandOutput | ListUsersCommandOutput | ResetUserPasswordCommandOutput | UpdateChangesetCommandOutput | UpdateDatasetCommandOutput | UpdatePermissionGroupCommandOutput | UpdateUserCommandOutput;
40
+ export declare type ServiceInputTypes = AssociateUserToPermissionGroupCommandInput | CreateChangesetCommandInput | CreateDataViewCommandInput | CreateDatasetCommandInput | CreatePermissionGroupCommandInput | CreateUserCommandInput | DeleteDatasetCommandInput | DeletePermissionGroupCommandInput | DisableUserCommandInput | DisassociateUserFromPermissionGroupCommandInput | EnableUserCommandInput | GetChangesetCommandInput | GetDataViewCommandInput | GetDatasetCommandInput | GetExternalDataViewAccessDetailsCommandInput | GetPermissionGroupCommandInput | GetProgrammaticAccessCredentialsCommandInput | GetUserCommandInput | GetWorkingLocationCommandInput | ListChangesetsCommandInput | ListDataViewsCommandInput | ListDatasetsCommandInput | ListPermissionGroupsByUserCommandInput | ListPermissionGroupsCommandInput | ListUsersByPermissionGroupCommandInput | ListUsersCommandInput | ResetUserPasswordCommandInput | UpdateChangesetCommandInput | UpdateDatasetCommandInput | UpdatePermissionGroupCommandInput | UpdateUserCommandInput;
41
+ export declare type ServiceOutputTypes = AssociateUserToPermissionGroupCommandOutput | CreateChangesetCommandOutput | CreateDataViewCommandOutput | CreateDatasetCommandOutput | CreatePermissionGroupCommandOutput | CreateUserCommandOutput | DeleteDatasetCommandOutput | DeletePermissionGroupCommandOutput | DisableUserCommandOutput | DisassociateUserFromPermissionGroupCommandOutput | EnableUserCommandOutput | GetChangesetCommandOutput | GetDataViewCommandOutput | GetDatasetCommandOutput | GetExternalDataViewAccessDetailsCommandOutput | GetPermissionGroupCommandOutput | GetProgrammaticAccessCredentialsCommandOutput | GetUserCommandOutput | GetWorkingLocationCommandOutput | ListChangesetsCommandOutput | ListDataViewsCommandOutput | ListDatasetsCommandOutput | ListPermissionGroupsByUserCommandOutput | ListPermissionGroupsCommandOutput | ListUsersByPermissionGroupCommandOutput | ListUsersCommandOutput | ResetUserPasswordCommandOutput | UpdateChangesetCommandOutput | UpdateDatasetCommandOutput | UpdatePermissionGroupCommandOutput | UpdateUserCommandOutput;
41
42
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
42
43
 
43
44
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceDataClient";
4
+ import { GetExternalDataViewAccessDetailsRequest, GetExternalDataViewAccessDetailsResponse } from "../models/models_0";
5
+ export interface GetExternalDataViewAccessDetailsCommandInput extends GetExternalDataViewAccessDetailsRequest {
6
+ }
7
+ export interface GetExternalDataViewAccessDetailsCommandOutput extends GetExternalDataViewAccessDetailsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetExternalDataViewAccessDetailsCommand extends $Command<GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput, FinspaceDataClientResolvedConfig> {
11
+ readonly input: GetExternalDataViewAccessDetailsCommandInput;
12
+ constructor(input: GetExternalDataViewAccessDetailsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -12,6 +12,7 @@ export * from "./EnableUserCommand";
12
12
  export * from "./GetChangesetCommand";
13
13
  export * from "./GetDataViewCommand";
14
14
  export * from "./GetDatasetCommand";
15
+ export * from "./GetExternalDataViewAccessDetailsCommand";
15
16
  export * from "./GetPermissionGroupCommand";
16
17
  export * from "./GetProgrammaticAccessCredentialsCommand";
17
18
  export * from "./GetUserCommand";
@@ -78,6 +78,21 @@ export declare class ValidationException extends __BaseException {
78
78
 
79
79
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
80
80
  }
81
+
82
+ export interface AwsCredentials {
83
+
84
+ accessKeyId?: string;
85
+
86
+ secretAccessKey?: string;
87
+
88
+ sessionToken?: string;
89
+
90
+ expiration?: number;
91
+ }
92
+ export declare namespace AwsCredentials {
93
+
94
+ const filterSensitiveLog: (obj: AwsCredentials) => any;
95
+ }
81
96
  export declare enum ChangeType {
82
97
  APPEND = "APPEND",
83
98
  MODIFY = "MODIFY",
@@ -608,6 +623,37 @@ export declare namespace GetDataViewResponse {
608
623
 
609
624
  const filterSensitiveLog: (obj: GetDataViewResponse) => any;
610
625
  }
626
+ export interface GetExternalDataViewAccessDetailsRequest {
627
+
628
+ dataViewId: string | undefined;
629
+
630
+ datasetId: string | undefined;
631
+ }
632
+ export declare namespace GetExternalDataViewAccessDetailsRequest {
633
+
634
+ const filterSensitiveLog: (obj: GetExternalDataViewAccessDetailsRequest) => any;
635
+ }
636
+
637
+ export interface S3Location {
638
+
639
+ bucket: string | undefined;
640
+
641
+ key: string | undefined;
642
+ }
643
+ export declare namespace S3Location {
644
+
645
+ const filterSensitiveLog: (obj: S3Location) => any;
646
+ }
647
+ export interface GetExternalDataViewAccessDetailsResponse {
648
+
649
+ credentials?: AwsCredentials;
650
+
651
+ s3Location?: S3Location;
652
+ }
653
+ export declare namespace GetExternalDataViewAccessDetailsResponse {
654
+
655
+ const filterSensitiveLog: (obj: GetExternalDataViewAccessDetailsResponse) => any;
656
+ }
611
657
  export interface GetPermissionGroupRequest {
612
658
 
613
659
  permissionGroupId: string | undefined;
@@ -14,6 +14,7 @@ import { EnableUserCommandInput, EnableUserCommandOutput } from "../commands/Ena
14
14
  import { GetChangesetCommandInput, GetChangesetCommandOutput } from "../commands/GetChangesetCommand";
15
15
  import { GetDatasetCommandInput, GetDatasetCommandOutput } from "../commands/GetDatasetCommand";
16
16
  import { GetDataViewCommandInput, GetDataViewCommandOutput } from "../commands/GetDataViewCommand";
17
+ import { GetExternalDataViewAccessDetailsCommandInput, GetExternalDataViewAccessDetailsCommandOutput } from "../commands/GetExternalDataViewAccessDetailsCommand";
17
18
  import { GetPermissionGroupCommandInput, GetPermissionGroupCommandOutput } from "../commands/GetPermissionGroupCommand";
18
19
  import { GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput } from "../commands/GetProgrammaticAccessCredentialsCommand";
19
20
  import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
@@ -44,6 +45,7 @@ export declare const serializeAws_restJson1EnableUserCommand: (input: EnableUser
44
45
  export declare const serializeAws_restJson1GetChangesetCommand: (input: GetChangesetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
46
  export declare const serializeAws_restJson1GetDatasetCommand: (input: GetDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
47
  export declare const serializeAws_restJson1GetDataViewCommand: (input: GetDataViewCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ export declare const serializeAws_restJson1GetExternalDataViewAccessDetailsCommand: (input: GetExternalDataViewAccessDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
49
  export declare const serializeAws_restJson1GetPermissionGroupCommand: (input: GetPermissionGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
50
  export declare const serializeAws_restJson1GetProgrammaticAccessCredentialsCommand: (input: GetProgrammaticAccessCredentialsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
51
  export declare const serializeAws_restJson1GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -74,6 +76,7 @@ export declare const deserializeAws_restJson1EnableUserCommand: (output: __HttpR
74
76
  export declare const deserializeAws_restJson1GetChangesetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetChangesetCommandOutput>;
75
77
  export declare const deserializeAws_restJson1GetDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDatasetCommandOutput>;
76
78
  export declare const deserializeAws_restJson1GetDataViewCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDataViewCommandOutput>;
79
+ export declare const deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetExternalDataViewAccessDetailsCommandOutput>;
77
80
  export declare const deserializeAws_restJson1GetPermissionGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPermissionGroupCommandOutput>;
78
81
  export declare const deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProgrammaticAccessCredentialsCommandOutput>;
79
82
  export declare const deserializeAws_restJson1GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-finspace-data",
3
3
  "description": "AWS SDK for JavaScript Finspace Data Client for Node.js, Browser and React Native",
4
- "version": "3.118.1",
4
+ "version": "3.119.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",