@aws-sdk/client-finspace-data 3.40.0 → 3.45.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 (94) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/FinspaceData.js +165 -0
  4. package/dist-cjs/commands/CreateDataViewCommand.js +36 -0
  5. package/dist-cjs/commands/CreateDatasetCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteDatasetCommand.js +36 -0
  7. package/dist-cjs/commands/GetChangesetCommand.js +36 -0
  8. package/dist-cjs/commands/GetDataViewCommand.js +36 -0
  9. package/dist-cjs/commands/GetDatasetCommand.js +36 -0
  10. package/dist-cjs/commands/ListChangesetsCommand.js +36 -0
  11. package/dist-cjs/commands/ListDataViewsCommand.js +36 -0
  12. package/dist-cjs/commands/ListDatasetsCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateChangesetCommand.js +36 -0
  14. package/dist-cjs/commands/UpdateDatasetCommand.js +36 -0
  15. package/dist-cjs/commands/index.js +11 -0
  16. package/dist-cjs/endpoints.js +9 -0
  17. package/dist-cjs/index.js +1 -0
  18. package/dist-cjs/models/models_0.js +280 -43
  19. package/dist-cjs/pagination/Interfaces.js +2 -0
  20. package/dist-cjs/pagination/ListChangesetsPaginator.js +35 -0
  21. package/dist-cjs/pagination/ListDataViewsPaginator.js +35 -0
  22. package/dist-cjs/pagination/ListDatasetsPaginator.js +35 -0
  23. package/dist-cjs/pagination/index.js +7 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +1912 -60
  25. package/dist-es/FinspaceData.js +165 -0
  26. package/dist-es/commands/CreateDataViewCommand.js +39 -0
  27. package/dist-es/commands/CreateDatasetCommand.js +39 -0
  28. package/dist-es/commands/DeleteDatasetCommand.js +39 -0
  29. package/dist-es/commands/GetChangesetCommand.js +39 -0
  30. package/dist-es/commands/GetDataViewCommand.js +39 -0
  31. package/dist-es/commands/GetDatasetCommand.js +39 -0
  32. package/dist-es/commands/ListChangesetsCommand.js +39 -0
  33. package/dist-es/commands/ListDataViewsCommand.js +39 -0
  34. package/dist-es/commands/ListDatasetsCommand.js +39 -0
  35. package/dist-es/commands/UpdateChangesetCommand.js +39 -0
  36. package/dist-es/commands/UpdateDatasetCommand.js +39 -0
  37. package/dist-es/commands/index.js +11 -0
  38. package/dist-es/endpoints.js +9 -0
  39. package/dist-es/index.js +1 -0
  40. package/dist-es/models/models_0.js +206 -38
  41. package/dist-es/pagination/Interfaces.js +1 -0
  42. package/dist-es/pagination/ListChangesetsPaginator.js +74 -0
  43. package/dist-es/pagination/ListDataViewsPaginator.js +74 -0
  44. package/dist-es/pagination/ListDatasetsPaginator.js +74 -0
  45. package/dist-es/pagination/index.js +4 -0
  46. package/dist-es/protocols/Aws_restJson1.js +2109 -104
  47. package/dist-types/FinspaceData.d.ts +82 -5
  48. package/dist-types/FinspaceDataClient.d.ts +14 -3
  49. package/dist-types/commands/CreateChangesetCommand.d.ts +2 -2
  50. package/dist-types/commands/CreateDataViewCommand.d.ts +35 -0
  51. package/dist-types/commands/CreateDatasetCommand.d.ts +35 -0
  52. package/dist-types/commands/DeleteDatasetCommand.d.ts +35 -0
  53. package/dist-types/commands/GetChangesetCommand.d.ts +35 -0
  54. package/dist-types/commands/GetDataViewCommand.d.ts +35 -0
  55. package/dist-types/commands/GetDatasetCommand.d.ts +35 -0
  56. package/dist-types/commands/GetProgrammaticAccessCredentialsCommand.d.ts +2 -2
  57. package/dist-types/commands/GetWorkingLocationCommand.d.ts +3 -3
  58. package/dist-types/commands/ListChangesetsCommand.d.ts +35 -0
  59. package/dist-types/commands/ListDataViewsCommand.d.ts +35 -0
  60. package/dist-types/commands/ListDatasetsCommand.d.ts +35 -0
  61. package/dist-types/commands/UpdateChangesetCommand.d.ts +35 -0
  62. package/dist-types/commands/UpdateDatasetCommand.d.ts +35 -0
  63. package/dist-types/commands/index.d.ts +11 -0
  64. package/dist-types/index.d.ts +1 -0
  65. package/dist-types/models/models_0.d.ts +1438 -242
  66. package/dist-types/pagination/Interfaces.d.ts +6 -0
  67. package/dist-types/pagination/ListChangesetsPaginator.d.ts +4 -0
  68. package/dist-types/pagination/ListDataViewsPaginator.d.ts +4 -0
  69. package/dist-types/pagination/ListDatasetsPaginator.d.ts +4 -0
  70. package/dist-types/pagination/index.d.ts +4 -0
  71. package/dist-types/protocols/Aws_restJson1.d.ts +33 -0
  72. package/dist-types/ts3.4/FinspaceData.d.ts +55 -0
  73. package/dist-types/ts3.4/FinspaceDataClient.d.ts +13 -2
  74. package/dist-types/ts3.4/commands/CreateDataViewCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/GetChangesetCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/GetDataViewCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/ListChangesetsCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/ListDataViewsCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/UpdateChangesetCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  86. package/dist-types/ts3.4/index.d.ts +1 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +606 -71
  88. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  89. package/dist-types/ts3.4/pagination/ListChangesetsPaginator.d.ts +4 -0
  90. package/dist-types/ts3.4/pagination/ListDataViewsPaginator.d.ts +4 -0
  91. package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +4 -0
  92. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  93. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +33 -0
  94. package/package.json +9 -7
@@ -1,7 +1,18 @@
1
1
  import { __extends } from "tslib";
2
2
  import { CreateChangesetCommand, } from "./commands/CreateChangesetCommand";
3
+ import { CreateDatasetCommand, } from "./commands/CreateDatasetCommand";
4
+ import { CreateDataViewCommand, } from "./commands/CreateDataViewCommand";
5
+ import { DeleteDatasetCommand, } from "./commands/DeleteDatasetCommand";
6
+ import { GetChangesetCommand, } from "./commands/GetChangesetCommand";
7
+ import { GetDatasetCommand } from "./commands/GetDatasetCommand";
8
+ import { GetDataViewCommand } from "./commands/GetDataViewCommand";
3
9
  import { GetProgrammaticAccessCredentialsCommand, } from "./commands/GetProgrammaticAccessCredentialsCommand";
4
10
  import { GetWorkingLocationCommand, } from "./commands/GetWorkingLocationCommand";
11
+ import { ListChangesetsCommand, } from "./commands/ListChangesetsCommand";
12
+ import { ListDatasetsCommand, } from "./commands/ListDatasetsCommand";
13
+ import { ListDataViewsCommand, } from "./commands/ListDataViewsCommand";
14
+ import { UpdateChangesetCommand, } from "./commands/UpdateChangesetCommand";
15
+ import { UpdateDatasetCommand, } from "./commands/UpdateDatasetCommand";
5
16
  import { FinspaceDataClient } from "./FinspaceDataClient";
6
17
  var FinspaceData = (function (_super) {
7
18
  __extends(FinspaceData, _super);
@@ -22,6 +33,90 @@ var FinspaceData = (function (_super) {
22
33
  return this.send(command, optionsOrCb);
23
34
  }
24
35
  };
36
+ FinspaceData.prototype.createDataset = function (args, optionsOrCb, cb) {
37
+ var command = new CreateDatasetCommand(args);
38
+ if (typeof optionsOrCb === "function") {
39
+ this.send(command, optionsOrCb);
40
+ }
41
+ else if (typeof cb === "function") {
42
+ if (typeof optionsOrCb !== "object")
43
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
44
+ this.send(command, optionsOrCb || {}, cb);
45
+ }
46
+ else {
47
+ return this.send(command, optionsOrCb);
48
+ }
49
+ };
50
+ FinspaceData.prototype.createDataView = function (args, optionsOrCb, cb) {
51
+ var command = new CreateDataViewCommand(args);
52
+ if (typeof optionsOrCb === "function") {
53
+ this.send(command, optionsOrCb);
54
+ }
55
+ else if (typeof cb === "function") {
56
+ if (typeof optionsOrCb !== "object")
57
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
58
+ this.send(command, optionsOrCb || {}, cb);
59
+ }
60
+ else {
61
+ return this.send(command, optionsOrCb);
62
+ }
63
+ };
64
+ FinspaceData.prototype.deleteDataset = function (args, optionsOrCb, cb) {
65
+ var command = new DeleteDatasetCommand(args);
66
+ if (typeof optionsOrCb === "function") {
67
+ this.send(command, optionsOrCb);
68
+ }
69
+ else if (typeof cb === "function") {
70
+ if (typeof optionsOrCb !== "object")
71
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
72
+ this.send(command, optionsOrCb || {}, cb);
73
+ }
74
+ else {
75
+ return this.send(command, optionsOrCb);
76
+ }
77
+ };
78
+ FinspaceData.prototype.getChangeset = function (args, optionsOrCb, cb) {
79
+ var command = new GetChangesetCommand(args);
80
+ if (typeof optionsOrCb === "function") {
81
+ this.send(command, optionsOrCb);
82
+ }
83
+ else if (typeof cb === "function") {
84
+ if (typeof optionsOrCb !== "object")
85
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
86
+ this.send(command, optionsOrCb || {}, cb);
87
+ }
88
+ else {
89
+ return this.send(command, optionsOrCb);
90
+ }
91
+ };
92
+ FinspaceData.prototype.getDataset = function (args, optionsOrCb, cb) {
93
+ var command = new GetDatasetCommand(args);
94
+ if (typeof optionsOrCb === "function") {
95
+ this.send(command, optionsOrCb);
96
+ }
97
+ else if (typeof cb === "function") {
98
+ if (typeof optionsOrCb !== "object")
99
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
100
+ this.send(command, optionsOrCb || {}, cb);
101
+ }
102
+ else {
103
+ return this.send(command, optionsOrCb);
104
+ }
105
+ };
106
+ FinspaceData.prototype.getDataView = function (args, optionsOrCb, cb) {
107
+ var command = new GetDataViewCommand(args);
108
+ if (typeof optionsOrCb === "function") {
109
+ this.send(command, optionsOrCb);
110
+ }
111
+ else if (typeof cb === "function") {
112
+ if (typeof optionsOrCb !== "object")
113
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
114
+ this.send(command, optionsOrCb || {}, cb);
115
+ }
116
+ else {
117
+ return this.send(command, optionsOrCb);
118
+ }
119
+ };
25
120
  FinspaceData.prototype.getProgrammaticAccessCredentials = function (args, optionsOrCb, cb) {
26
121
  var command = new GetProgrammaticAccessCredentialsCommand(args);
27
122
  if (typeof optionsOrCb === "function") {
@@ -50,6 +145,76 @@ var FinspaceData = (function (_super) {
50
145
  return this.send(command, optionsOrCb);
51
146
  }
52
147
  };
148
+ FinspaceData.prototype.listChangesets = function (args, optionsOrCb, cb) {
149
+ var command = new ListChangesetsCommand(args);
150
+ if (typeof optionsOrCb === "function") {
151
+ this.send(command, optionsOrCb);
152
+ }
153
+ else if (typeof cb === "function") {
154
+ if (typeof optionsOrCb !== "object")
155
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
156
+ this.send(command, optionsOrCb || {}, cb);
157
+ }
158
+ else {
159
+ return this.send(command, optionsOrCb);
160
+ }
161
+ };
162
+ FinspaceData.prototype.listDatasets = function (args, optionsOrCb, cb) {
163
+ var command = new ListDatasetsCommand(args);
164
+ if (typeof optionsOrCb === "function") {
165
+ this.send(command, optionsOrCb);
166
+ }
167
+ else if (typeof cb === "function") {
168
+ if (typeof optionsOrCb !== "object")
169
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
170
+ this.send(command, optionsOrCb || {}, cb);
171
+ }
172
+ else {
173
+ return this.send(command, optionsOrCb);
174
+ }
175
+ };
176
+ FinspaceData.prototype.listDataViews = function (args, optionsOrCb, cb) {
177
+ var command = new ListDataViewsCommand(args);
178
+ if (typeof optionsOrCb === "function") {
179
+ this.send(command, optionsOrCb);
180
+ }
181
+ else if (typeof cb === "function") {
182
+ if (typeof optionsOrCb !== "object")
183
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
184
+ this.send(command, optionsOrCb || {}, cb);
185
+ }
186
+ else {
187
+ return this.send(command, optionsOrCb);
188
+ }
189
+ };
190
+ FinspaceData.prototype.updateChangeset = function (args, optionsOrCb, cb) {
191
+ var command = new UpdateChangesetCommand(args);
192
+ if (typeof optionsOrCb === "function") {
193
+ this.send(command, optionsOrCb);
194
+ }
195
+ else if (typeof cb === "function") {
196
+ if (typeof optionsOrCb !== "object")
197
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
198
+ this.send(command, optionsOrCb || {}, cb);
199
+ }
200
+ else {
201
+ return this.send(command, optionsOrCb);
202
+ }
203
+ };
204
+ FinspaceData.prototype.updateDataset = function (args, optionsOrCb, cb) {
205
+ var command = new UpdateDatasetCommand(args);
206
+ if (typeof optionsOrCb === "function") {
207
+ this.send(command, optionsOrCb);
208
+ }
209
+ else if (typeof cb === "function") {
210
+ if (typeof optionsOrCb !== "object")
211
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
212
+ this.send(command, optionsOrCb || {}, cb);
213
+ }
214
+ else {
215
+ return this.send(command, optionsOrCb);
216
+ }
217
+ };
53
218
  return FinspaceData;
54
219
  }(FinspaceDataClient));
55
220
  export { FinspaceData };
@@ -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 { CreateDataViewRequest, CreateDataViewResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateDataViewCommand, serializeAws_restJson1CreateDataViewCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateDataViewCommand = (function (_super) {
7
+ __extends(CreateDataViewCommand, _super);
8
+ function CreateDataViewCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateDataViewCommand.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 = "CreateDataViewCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateDataViewRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateDataViewResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDataViewCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateDataViewCommand(input, context);
33
+ };
34
+ CreateDataViewCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateDataViewCommand(output, context);
36
+ };
37
+ return CreateDataViewCommand;
38
+ }($Command));
39
+ export { CreateDataViewCommand };
@@ -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 { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateDatasetCommand, serializeAws_restJson1CreateDatasetCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateDatasetCommand = (function (_super) {
7
+ __extends(CreateDatasetCommand, _super);
8
+ function CreateDatasetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateDatasetCommand.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 = "CreateDatasetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateDatasetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateDatasetResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDatasetCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateDatasetCommand(input, context);
33
+ };
34
+ CreateDatasetCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateDatasetCommand(output, context);
36
+ };
37
+ return CreateDatasetCommand;
38
+ }($Command));
39
+ export { CreateDatasetCommand };
@@ -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 { DeleteDatasetRequest, DeleteDatasetResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteDatasetCommand, serializeAws_restJson1DeleteDatasetCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteDatasetCommand = (function (_super) {
7
+ __extends(DeleteDatasetCommand, _super);
8
+ function DeleteDatasetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteDatasetCommand.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 = "DeleteDatasetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteDatasetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteDatasetResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteDatasetCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteDatasetCommand(input, context);
33
+ };
34
+ DeleteDatasetCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteDatasetCommand(output, context);
36
+ };
37
+ return DeleteDatasetCommand;
38
+ }($Command));
39
+ export { DeleteDatasetCommand };
@@ -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 { GetChangesetRequest, GetChangesetResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ GetChangesetCommand.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 = "GetChangesetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetChangesetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetChangesetResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetChangesetCommand(input, context);
33
+ };
34
+ GetChangesetCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetChangesetCommand(output, context);
36
+ };
37
+ return GetChangesetCommand;
38
+ }($Command));
39
+ export { GetChangesetCommand };
@@ -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 { GetDataViewRequest, GetDataViewResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ GetDataViewCommand.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 = "GetDataViewCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetDataViewRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetDataViewResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetDataViewCommand(input, context);
33
+ };
34
+ GetDataViewCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetDataViewCommand(output, context);
36
+ };
37
+ return GetDataViewCommand;
38
+ }($Command));
39
+ export { GetDataViewCommand };
@@ -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 { GetDatasetRequest, GetDatasetResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ GetDatasetCommand.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 = "GetDatasetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetDatasetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetDatasetResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetDatasetCommand(input, context);
33
+ };
34
+ GetDatasetCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetDatasetCommand(output, context);
36
+ };
37
+ return GetDatasetCommand;
38
+ }($Command));
39
+ export { GetDatasetCommand };
@@ -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 { ListChangesetsRequest, ListChangesetsResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ ListChangesetsCommand.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 = "ListChangesetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListChangesetsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListChangesetsResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1ListChangesetsCommand(input, context);
33
+ };
34
+ ListChangesetsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListChangesetsCommand(output, context);
36
+ };
37
+ return ListChangesetsCommand;
38
+ }($Command));
39
+ export { ListChangesetsCommand };
@@ -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 { ListDataViewsRequest, ListDataViewsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListDataViewsCommand, serializeAws_restJson1ListDataViewsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListDataViewsCommand = (function (_super) {
7
+ __extends(ListDataViewsCommand, _super);
8
+ function ListDataViewsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListDataViewsCommand.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 = "ListDataViewsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListDataViewsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListDataViewsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDataViewsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListDataViewsCommand(input, context);
33
+ };
34
+ ListDataViewsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListDataViewsCommand(output, context);
36
+ };
37
+ return ListDataViewsCommand;
38
+ }($Command));
39
+ export { ListDataViewsCommand };
@@ -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 { ListDatasetsRequest, ListDatasetsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListDatasetsCommand, serializeAws_restJson1ListDatasetsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListDatasetsCommand = (function (_super) {
7
+ __extends(ListDatasetsCommand, _super);
8
+ function ListDatasetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListDatasetsCommand.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 = "ListDatasetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListDatasetsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListDatasetsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDatasetsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListDatasetsCommand(input, context);
33
+ };
34
+ ListDatasetsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListDatasetsCommand(output, context);
36
+ };
37
+ return ListDatasetsCommand;
38
+ }($Command));
39
+ export { ListDatasetsCommand };
@@ -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 { UpdateChangesetRequest, UpdateChangesetResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateChangesetCommand, serializeAws_restJson1UpdateChangesetCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateChangesetCommand = (function (_super) {
7
+ __extends(UpdateChangesetCommand, _super);
8
+ function UpdateChangesetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateChangesetCommand.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 = "UpdateChangesetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateChangesetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateChangesetResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateChangesetCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateChangesetCommand(input, context);
33
+ };
34
+ UpdateChangesetCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateChangesetCommand(output, context);
36
+ };
37
+ return UpdateChangesetCommand;
38
+ }($Command));
39
+ export { UpdateChangesetCommand };
@@ -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 { UpdateDatasetRequest, UpdateDatasetResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateDatasetCommand, serializeAws_restJson1UpdateDatasetCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateDatasetCommand = (function (_super) {
7
+ __extends(UpdateDatasetCommand, _super);
8
+ function UpdateDatasetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateDatasetCommand.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 = "UpdateDatasetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateDatasetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateDatasetResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateDatasetCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateDatasetCommand(input, context);
33
+ };
34
+ UpdateDatasetCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateDatasetCommand(output, context);
36
+ };
37
+ return UpdateDatasetCommand;
38
+ }($Command));
39
+ export { UpdateDatasetCommand };
@@ -1,3 +1,14 @@
1
1
  export * from "./CreateChangesetCommand";
2
+ export * from "./CreateDataViewCommand";
3
+ export * from "./CreateDatasetCommand";
4
+ export * from "./DeleteDatasetCommand";
5
+ export * from "./GetChangesetCommand";
6
+ export * from "./GetDataViewCommand";
7
+ export * from "./GetDatasetCommand";
2
8
  export * from "./GetProgrammaticAccessCredentialsCommand";
3
9
  export * from "./GetWorkingLocationCommand";
10
+ export * from "./ListChangesetsCommand";
11
+ export * from "./ListDataViewsCommand";
12
+ export * from "./ListDatasetsCommand";
13
+ export * from "./UpdateChangesetCommand";
14
+ export * from "./UpdateDatasetCommand";