@aws-sdk/client-finspace-data 3.183.0 → 3.186.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 (49) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/FinspaceData.js +133 -126
  4. package/dist-es/FinspaceDataClient.js +28 -22
  5. package/dist-es/commands/AssociateUserToPermissionGroupCommand.js +28 -21
  6. package/dist-es/commands/CreateChangesetCommand.js +28 -21
  7. package/dist-es/commands/CreateDataViewCommand.js +28 -21
  8. package/dist-es/commands/CreateDatasetCommand.js +28 -21
  9. package/dist-es/commands/CreatePermissionGroupCommand.js +28 -21
  10. package/dist-es/commands/CreateUserCommand.js +28 -21
  11. package/dist-es/commands/DeleteDatasetCommand.js +28 -21
  12. package/dist-es/commands/DeletePermissionGroupCommand.js +28 -21
  13. package/dist-es/commands/DisableUserCommand.js +28 -21
  14. package/dist-es/commands/DisassociateUserFromPermissionGroupCommand.js +28 -21
  15. package/dist-es/commands/EnableUserCommand.js +28 -21
  16. package/dist-es/commands/GetChangesetCommand.js +28 -21
  17. package/dist-es/commands/GetDataViewCommand.js +28 -21
  18. package/dist-es/commands/GetDatasetCommand.js +28 -21
  19. package/dist-es/commands/GetExternalDataViewAccessDetailsCommand.js +28 -21
  20. package/dist-es/commands/GetPermissionGroupCommand.js +28 -21
  21. package/dist-es/commands/GetProgrammaticAccessCredentialsCommand.js +28 -21
  22. package/dist-es/commands/GetUserCommand.js +28 -21
  23. package/dist-es/commands/GetWorkingLocationCommand.js +28 -21
  24. package/dist-es/commands/ListChangesetsCommand.js +28 -21
  25. package/dist-es/commands/ListDataViewsCommand.js +28 -21
  26. package/dist-es/commands/ListDatasetsCommand.js +28 -21
  27. package/dist-es/commands/ListPermissionGroupsByUserCommand.js +28 -21
  28. package/dist-es/commands/ListPermissionGroupsCommand.js +28 -21
  29. package/dist-es/commands/ListUsersByPermissionGroupCommand.js +28 -21
  30. package/dist-es/commands/ListUsersCommand.js +28 -21
  31. package/dist-es/commands/ResetUserPasswordCommand.js +28 -21
  32. package/dist-es/commands/UpdateChangesetCommand.js +28 -21
  33. package/dist-es/commands/UpdateDatasetCommand.js +28 -21
  34. package/dist-es/commands/UpdatePermissionGroupCommand.js +28 -21
  35. package/dist-es/commands/UpdateUserCommand.js +28 -21
  36. package/dist-es/endpoints.js +8 -8
  37. package/dist-es/models/FinspaceDataServiceException.js +10 -5
  38. package/dist-es/models/models_0.js +166 -361
  39. package/dist-es/pagination/ListChangesetsPaginator.js +68 -25
  40. package/dist-es/pagination/ListDataViewsPaginator.js +68 -25
  41. package/dist-es/pagination/ListDatasetsPaginator.js +68 -25
  42. package/dist-es/pagination/ListPermissionGroupsPaginator.js +68 -25
  43. package/dist-es/pagination/ListUsersPaginator.js +68 -25
  44. package/dist-es/protocols/Aws_restJson1.js +3514 -2530
  45. package/dist-es/runtimeConfig.browser.js +12 -26
  46. package/dist-es/runtimeConfig.js +12 -30
  47. package/dist-es/runtimeConfig.native.js +5 -8
  48. package/dist-es/runtimeConfig.shared.js +11 -8
  49. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisassociateUserFromPermissionGroupRequestFilterSensitiveLog, DisassociateUserFromPermissionGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateUserFromPermissionGroupCommand, serializeAws_restJson1DisassociateUserFromPermissionGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateUserFromPermissionGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateUserFromPermissionGroupCommand = (function (_super) {
7
+ __extends(DisassociateUserFromPermissionGroupCommand, _super);
8
+ function DisassociateUserFromPermissionGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateUserFromPermissionGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "DisassociateUserFromPermissionGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "DisassociateUserFromPermissionGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateUserFromPermissionGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateUserFromPermissionGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisassociateUserFromPermissionGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateUserFromPermissionGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateUserFromPermissionGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateUserFromPermissionGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateUserFromPermissionGroupCommand;
38
+ }($Command));
39
+ export { DisassociateUserFromPermissionGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { EnableUserRequestFilterSensitiveLog, EnableUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1EnableUserCommand, serializeAws_restJson1EnableUserCommand, } from "../protocols/Aws_restJson1";
5
- export class EnableUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EnableUserCommand = (function (_super) {
7
+ __extends(EnableUserCommand, _super);
8
+ function EnableUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EnableUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "EnableUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "EnableUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: EnableUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EnableUserResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ EnableUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1EnableUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EnableUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1EnableUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EnableUserCommand;
38
+ }($Command));
39
+ export { EnableUserCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetChangesetRequestFilterSensitiveLog, GetChangesetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetChangesetCommand, serializeAws_restJson1GetChangesetCommand, } from "../protocols/Aws_restJson1";
5
- export class GetChangesetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetChangesetCommand = (function (_super) {
7
+ __extends(GetChangesetCommand, _super);
8
+ function GetChangesetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetChangesetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "GetChangesetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "GetChangesetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetChangesetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetChangesetResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetChangesetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetChangesetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetChangesetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetChangesetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetChangesetCommand;
38
+ }($Command));
39
+ export { GetChangesetCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDataViewRequestFilterSensitiveLog, GetDataViewResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDataViewCommand, serializeAws_restJson1GetDataViewCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDataViewCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDataViewCommand = (function (_super) {
7
+ __extends(GetDataViewCommand, _super);
8
+ function GetDataViewCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDataViewCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "GetDataViewCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "GetDataViewCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDataViewRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDataViewResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDataViewCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDataViewCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDataViewCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDataViewCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDataViewCommand;
38
+ }($Command));
39
+ export { GetDataViewCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDatasetRequestFilterSensitiveLog, GetDatasetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDatasetCommand, serializeAws_restJson1GetDatasetCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDatasetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDatasetCommand = (function (_super) {
7
+ __extends(GetDatasetCommand, _super);
8
+ function GetDatasetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDatasetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "GetDatasetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "GetDatasetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDatasetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDatasetResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDatasetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDatasetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDatasetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDatasetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDatasetCommand;
38
+ }($Command));
39
+ export { GetDatasetCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetExternalDataViewAccessDetailsRequestFilterSensitiveLog, GetExternalDataViewAccessDetailsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand, serializeAws_restJson1GetExternalDataViewAccessDetailsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetExternalDataViewAccessDetailsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetExternalDataViewAccessDetailsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "GetExternalDataViewAccessDetailsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetExternalDataViewAccessDetailsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetExternalDataViewAccessDetailsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1GetExternalDataViewAccessDetailsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetExternalDataViewAccessDetailsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetExternalDataViewAccessDetailsCommand;
38
+ }($Command));
39
+ export { GetExternalDataViewAccessDetailsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetPermissionGroupRequestFilterSensitiveLog, GetPermissionGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPermissionGroupCommand, serializeAws_restJson1GetPermissionGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPermissionGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPermissionGroupCommand = (function (_super) {
7
+ __extends(GetPermissionGroupCommand, _super);
8
+ function GetPermissionGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPermissionGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "GetPermissionGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "GetPermissionGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPermissionGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPermissionGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetPermissionGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPermissionGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPermissionGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPermissionGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPermissionGroupCommand;
38
+ }($Command));
39
+ export { GetPermissionGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetProgrammaticAccessCredentialsRequestFilterSensitiveLog, GetProgrammaticAccessCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand, serializeAws_restJson1GetProgrammaticAccessCredentialsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetProgrammaticAccessCredentialsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetProgrammaticAccessCredentialsCommand = (function (_super) {
7
+ __extends(GetProgrammaticAccessCredentialsCommand, _super);
8
+ function GetProgrammaticAccessCredentialsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetProgrammaticAccessCredentialsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "GetProgrammaticAccessCredentialsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "GetProgrammaticAccessCredentialsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetProgrammaticAccessCredentialsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetProgrammaticAccessCredentialsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetProgrammaticAccessCredentialsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetProgrammaticAccessCredentialsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetProgrammaticAccessCredentialsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetProgrammaticAccessCredentialsCommand;
38
+ }($Command));
39
+ export { GetProgrammaticAccessCredentialsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetUserRequestFilterSensitiveLog, GetUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetUserCommand, serializeAws_restJson1GetUserCommand, } from "../protocols/Aws_restJson1";
5
- export class GetUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetUserCommand = (function (_super) {
7
+ __extends(GetUserCommand, _super);
8
+ function GetUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "GetUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "GetUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetUserResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetUserCommand;
38
+ }($Command));
39
+ export { GetUserCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetWorkingLocationRequestFilterSensitiveLog, GetWorkingLocationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetWorkingLocationCommand, serializeAws_restJson1GetWorkingLocationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetWorkingLocationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetWorkingLocationCommand = (function (_super) {
7
+ __extends(GetWorkingLocationCommand, _super);
8
+ function GetWorkingLocationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetWorkingLocationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceDataClient";
15
- const commandName = "GetWorkingLocationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceDataClient";
18
+ var commandName = "GetWorkingLocationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetWorkingLocationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetWorkingLocationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetWorkingLocationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetWorkingLocationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetWorkingLocationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetWorkingLocationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetWorkingLocationCommand;
38
+ }($Command));
39
+ export { GetWorkingLocationCommand };