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