@aws-sdk/client-detective 3.131.0 → 3.142.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 (85) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +7 -5
  3. package/dist-cjs/Detective.js +60 -0
  4. package/dist-cjs/commands/AcceptInvitationCommand.js +1 -1
  5. package/dist-cjs/commands/BatchGetGraphMemberDatasourcesCommand.js +36 -0
  6. package/dist-cjs/commands/BatchGetMembershipDatasourcesCommand.js +36 -0
  7. package/dist-cjs/commands/CreateGraphCommand.js +2 -2
  8. package/dist-cjs/commands/CreateMembersCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteGraphCommand.js +1 -1
  10. package/dist-cjs/commands/DeleteMembersCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +2 -2
  12. package/dist-cjs/commands/DisassociateMembershipCommand.js +1 -1
  13. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +1 -1
  14. package/dist-cjs/commands/GetMembersCommand.js +2 -2
  15. package/dist-cjs/commands/ListDatasourcePackagesCommand.js +36 -0
  16. package/dist-cjs/commands/ListGraphsCommand.js +2 -2
  17. package/dist-cjs/commands/ListInvitationsCommand.js +2 -2
  18. package/dist-cjs/commands/ListMembersCommand.js +2 -2
  19. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +2 -2
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  21. package/dist-cjs/commands/RejectInvitationCommand.js +1 -1
  22. package/dist-cjs/commands/StartMonitoringMemberCommand.js +1 -1
  23. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  24. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  25. package/dist-cjs/commands/UpdateDatasourcePackagesCommand.js +36 -0
  26. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +1 -1
  27. package/dist-cjs/commands/index.js +4 -0
  28. package/dist-cjs/models/models_0.js +214 -217
  29. package/dist-cjs/pagination/ListDatasourcePackagesPaginator.js +36 -0
  30. package/dist-cjs/pagination/index.js +1 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +618 -306
  32. package/dist-es/Detective.js +60 -0
  33. package/dist-es/commands/AcceptInvitationCommand.js +2 -2
  34. package/dist-es/commands/BatchGetGraphMemberDatasourcesCommand.js +39 -0
  35. package/dist-es/commands/BatchGetMembershipDatasourcesCommand.js +39 -0
  36. package/dist-es/commands/CreateGraphCommand.js +3 -3
  37. package/dist-es/commands/CreateMembersCommand.js +3 -3
  38. package/dist-es/commands/DeleteGraphCommand.js +2 -2
  39. package/dist-es/commands/DeleteMembersCommand.js +3 -3
  40. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -3
  41. package/dist-es/commands/DisassociateMembershipCommand.js +2 -2
  42. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +2 -2
  43. package/dist-es/commands/GetMembersCommand.js +3 -3
  44. package/dist-es/commands/ListDatasourcePackagesCommand.js +39 -0
  45. package/dist-es/commands/ListGraphsCommand.js +3 -3
  46. package/dist-es/commands/ListInvitationsCommand.js +3 -3
  47. package/dist-es/commands/ListMembersCommand.js +3 -3
  48. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -3
  49. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  50. package/dist-es/commands/RejectInvitationCommand.js +2 -2
  51. package/dist-es/commands/StartMonitoringMemberCommand.js +2 -2
  52. package/dist-es/commands/TagResourceCommand.js +3 -3
  53. package/dist-es/commands/UntagResourceCommand.js +3 -3
  54. package/dist-es/commands/UpdateDatasourcePackagesCommand.js +39 -0
  55. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +2 -2
  56. package/dist-es/commands/index.js +4 -0
  57. package/dist-es/models/models_0.js +68 -144
  58. package/dist-es/pagination/ListDatasourcePackagesPaginator.js +75 -0
  59. package/dist-es/pagination/index.js +1 -0
  60. package/dist-es/protocols/Aws_restJson1.js +779 -307
  61. package/dist-types/Detective.d.ts +47 -12
  62. package/dist-types/DetectiveClient.d.ts +12 -6
  63. package/dist-types/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +35 -0
  64. package/dist-types/commands/BatchGetMembershipDatasourcesCommand.d.ts +35 -0
  65. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -5
  66. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +7 -3
  67. package/dist-types/commands/ListDatasourcePackagesCommand.d.ts +35 -0
  68. package/dist-types/commands/UpdateDatasourcePackagesCommand.d.ts +35 -0
  69. package/dist-types/commands/index.d.ts +4 -0
  70. package/dist-types/models/models_0.d.ts +376 -219
  71. package/dist-types/pagination/ListDatasourcePackagesPaginator.d.ts +4 -0
  72. package/dist-types/pagination/index.d.ts +1 -0
  73. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  74. package/dist-types/ts3.4/Detective.d.ts +20 -0
  75. package/dist-types/ts3.4/DetectiveClient.d.ts +6 -2
  76. package/dist-types/ts3.4/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/BatchGetMembershipDatasourcesCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ListDatasourcePackagesCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/UpdateDatasourcePackagesCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  81. package/dist-types/ts3.4/models/models_0.d.ts +195 -142
  82. package/dist-types/ts3.4/pagination/ListDatasourcePackagesPaginator.d.ts +4 -0
  83. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  84. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  85. package/package.json +6 -6
@@ -1,5 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { AcceptInvitationCommand, } from "./commands/AcceptInvitationCommand";
3
+ import { BatchGetGraphMemberDatasourcesCommand, } from "./commands/BatchGetGraphMemberDatasourcesCommand";
4
+ import { BatchGetMembershipDatasourcesCommand, } from "./commands/BatchGetMembershipDatasourcesCommand";
3
5
  import { CreateGraphCommand } from "./commands/CreateGraphCommand";
4
6
  import { CreateMembersCommand, } from "./commands/CreateMembersCommand";
5
7
  import { DeleteGraphCommand } from "./commands/DeleteGraphCommand";
@@ -9,6 +11,7 @@ import { DisableOrganizationAdminAccountCommand, } from "./commands/DisableOrgan
9
11
  import { DisassociateMembershipCommand, } from "./commands/DisassociateMembershipCommand";
10
12
  import { EnableOrganizationAdminAccountCommand, } from "./commands/EnableOrganizationAdminAccountCommand";
11
13
  import { GetMembersCommand } from "./commands/GetMembersCommand";
14
+ import { ListDatasourcePackagesCommand, } from "./commands/ListDatasourcePackagesCommand";
12
15
  import { ListGraphsCommand } from "./commands/ListGraphsCommand";
13
16
  import { ListInvitationsCommand, } from "./commands/ListInvitationsCommand";
14
17
  import { ListMembersCommand } from "./commands/ListMembersCommand";
@@ -18,6 +21,7 @@ import { RejectInvitationCommand, } from "./commands/RejectInvitationCommand";
18
21
  import { StartMonitoringMemberCommand, } from "./commands/StartMonitoringMemberCommand";
19
22
  import { TagResourceCommand } from "./commands/TagResourceCommand";
20
23
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
24
+ import { UpdateDatasourcePackagesCommand, } from "./commands/UpdateDatasourcePackagesCommand";
21
25
  import { UpdateOrganizationConfigurationCommand, } from "./commands/UpdateOrganizationConfigurationCommand";
22
26
  import { DetectiveClient } from "./DetectiveClient";
23
27
  var Detective = (function (_super) {
@@ -39,6 +43,34 @@ var Detective = (function (_super) {
39
43
  return this.send(command, optionsOrCb);
40
44
  }
41
45
  };
46
+ Detective.prototype.batchGetGraphMemberDatasources = function (args, optionsOrCb, cb) {
47
+ var command = new BatchGetGraphMemberDatasourcesCommand(args);
48
+ if (typeof optionsOrCb === "function") {
49
+ this.send(command, optionsOrCb);
50
+ }
51
+ else if (typeof cb === "function") {
52
+ if (typeof optionsOrCb !== "object")
53
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
54
+ this.send(command, optionsOrCb || {}, cb);
55
+ }
56
+ else {
57
+ return this.send(command, optionsOrCb);
58
+ }
59
+ };
60
+ Detective.prototype.batchGetMembershipDatasources = function (args, optionsOrCb, cb) {
61
+ var command = new BatchGetMembershipDatasourcesCommand(args);
62
+ if (typeof optionsOrCb === "function") {
63
+ this.send(command, optionsOrCb);
64
+ }
65
+ else if (typeof cb === "function") {
66
+ if (typeof optionsOrCb !== "object")
67
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
68
+ this.send(command, optionsOrCb || {}, cb);
69
+ }
70
+ else {
71
+ return this.send(command, optionsOrCb);
72
+ }
73
+ };
42
74
  Detective.prototype.createGraph = function (args, optionsOrCb, cb) {
43
75
  var command = new CreateGraphCommand(args);
44
76
  if (typeof optionsOrCb === "function") {
@@ -165,6 +197,20 @@ var Detective = (function (_super) {
165
197
  return this.send(command, optionsOrCb);
166
198
  }
167
199
  };
200
+ Detective.prototype.listDatasourcePackages = function (args, optionsOrCb, cb) {
201
+ var command = new ListDatasourcePackagesCommand(args);
202
+ if (typeof optionsOrCb === "function") {
203
+ this.send(command, optionsOrCb);
204
+ }
205
+ else if (typeof cb === "function") {
206
+ if (typeof optionsOrCb !== "object")
207
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
208
+ this.send(command, optionsOrCb || {}, cb);
209
+ }
210
+ else {
211
+ return this.send(command, optionsOrCb);
212
+ }
213
+ };
168
214
  Detective.prototype.listGraphs = function (args, optionsOrCb, cb) {
169
215
  var command = new ListGraphsCommand(args);
170
216
  if (typeof optionsOrCb === "function") {
@@ -291,6 +337,20 @@ var Detective = (function (_super) {
291
337
  return this.send(command, optionsOrCb);
292
338
  }
293
339
  };
340
+ Detective.prototype.updateDatasourcePackages = function (args, optionsOrCb, cb) {
341
+ var command = new UpdateDatasourcePackagesCommand(args);
342
+ if (typeof optionsOrCb === "function") {
343
+ this.send(command, optionsOrCb);
344
+ }
345
+ else if (typeof cb === "function") {
346
+ if (typeof optionsOrCb !== "object")
347
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
348
+ this.send(command, optionsOrCb || {}, cb);
349
+ }
350
+ else {
351
+ return this.send(command, optionsOrCb);
352
+ }
353
+ };
294
354
  Detective.prototype.updateOrganizationConfiguration = function (args, optionsOrCb, cb) {
295
355
  var command = new UpdateOrganizationConfigurationCommand(args);
296
356
  if (typeof optionsOrCb === "function") {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { AcceptInvitationRequest } from "../models/models_0";
4
+ import { AcceptInvitationRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1AcceptInvitationCommand, serializeAws_restJson1AcceptInvitationCommand, } from "../protocols/Aws_restJson1";
6
6
  var AcceptInvitationCommand = (function (_super) {
7
7
  __extends(AcceptInvitationCommand, _super);
@@ -20,7 +20,7 @@ var AcceptInvitationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: AcceptInvitationRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: AcceptInvitationRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -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 { BatchGetGraphMemberDatasourcesRequestFilterSensitiveLog, BatchGetGraphMemberDatasourcesResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1BatchGetGraphMemberDatasourcesCommand, serializeAws_restJson1BatchGetGraphMemberDatasourcesCommand, } from "../protocols/Aws_restJson1";
6
+ var BatchGetGraphMemberDatasourcesCommand = (function (_super) {
7
+ __extends(BatchGetGraphMemberDatasourcesCommand, _super);
8
+ function BatchGetGraphMemberDatasourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ BatchGetGraphMemberDatasourcesCommand.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 = "DetectiveClient";
18
+ var commandName = "BatchGetGraphMemberDatasourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: BatchGetGraphMemberDatasourcesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: BatchGetGraphMemberDatasourcesResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchGetGraphMemberDatasourcesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1BatchGetGraphMemberDatasourcesCommand(input, context);
33
+ };
34
+ BatchGetGraphMemberDatasourcesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1BatchGetGraphMemberDatasourcesCommand(output, context);
36
+ };
37
+ return BatchGetGraphMemberDatasourcesCommand;
38
+ }($Command));
39
+ export { BatchGetGraphMemberDatasourcesCommand };
@@ -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 { BatchGetMembershipDatasourcesRequestFilterSensitiveLog, BatchGetMembershipDatasourcesResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1BatchGetMembershipDatasourcesCommand, serializeAws_restJson1BatchGetMembershipDatasourcesCommand, } from "../protocols/Aws_restJson1";
6
+ var BatchGetMembershipDatasourcesCommand = (function (_super) {
7
+ __extends(BatchGetMembershipDatasourcesCommand, _super);
8
+ function BatchGetMembershipDatasourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ BatchGetMembershipDatasourcesCommand.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 = "DetectiveClient";
18
+ var commandName = "BatchGetMembershipDatasourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: BatchGetMembershipDatasourcesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: BatchGetMembershipDatasourcesResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchGetMembershipDatasourcesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1BatchGetMembershipDatasourcesCommand(input, context);
33
+ };
34
+ BatchGetMembershipDatasourcesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1BatchGetMembershipDatasourcesCommand(output, context);
36
+ };
37
+ return BatchGetMembershipDatasourcesCommand;
38
+ }($Command));
39
+ export { BatchGetMembershipDatasourcesCommand };
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateGraphRequest, CreateGraphResponse } from "../models/models_0";
4
+ import { CreateGraphRequestFilterSensitiveLog, CreateGraphResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateGraphCommand, serializeAws_restJson1CreateGraphCommand, } from "../protocols/Aws_restJson1";
6
6
  var CreateGraphCommand = (function (_super) {
7
7
  __extends(CreateGraphCommand, _super);
@@ -20,8 +20,8 @@ var CreateGraphCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: CreateGraphRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: CreateGraphResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: CreateGraphRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateGraphResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateMembersRequest, CreateMembersResponse } from "../models/models_0";
4
+ import { CreateMembersRequestFilterSensitiveLog, CreateMembersResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateMembersCommand, serializeAws_restJson1CreateMembersCommand, } from "../protocols/Aws_restJson1";
6
6
  var CreateMembersCommand = (function (_super) {
7
7
  __extends(CreateMembersCommand, _super);
@@ -20,8 +20,8 @@ var CreateMembersCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: CreateMembersRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: CreateMembersResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: CreateMembersRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateMembersResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteGraphRequest } from "../models/models_0";
4
+ import { DeleteGraphRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteGraphCommand, serializeAws_restJson1DeleteGraphCommand, } from "../protocols/Aws_restJson1";
6
6
  var DeleteGraphCommand = (function (_super) {
7
7
  __extends(DeleteGraphCommand, _super);
@@ -20,7 +20,7 @@ var DeleteGraphCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DeleteGraphRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DeleteGraphRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteMembersRequest, DeleteMembersResponse } from "../models/models_0";
4
+ import { DeleteMembersRequestFilterSensitiveLog, DeleteMembersResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteMembersCommand, serializeAws_restJson1DeleteMembersCommand, } from "../protocols/Aws_restJson1";
6
6
  var DeleteMembersCommand = (function (_super) {
7
7
  __extends(DeleteMembersCommand, _super);
@@ -20,8 +20,8 @@ var DeleteMembersCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DeleteMembersRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: DeleteMembersResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DeleteMembersRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteMembersResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeOrganizationConfigurationRequest, DescribeOrganizationConfigurationResponse, } from "../models/models_0";
4
+ import { DescribeOrganizationConfigurationRequestFilterSensitiveLog, DescribeOrganizationConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DescribeOrganizationConfigurationCommand, serializeAws_restJson1DescribeOrganizationConfigurationCommand, } from "../protocols/Aws_restJson1";
6
6
  var DescribeOrganizationConfigurationCommand = (function (_super) {
7
7
  __extends(DescribeOrganizationConfigurationCommand, _super);
@@ -20,8 +20,8 @@ var DescribeOrganizationConfigurationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DescribeOrganizationConfigurationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: DescribeOrganizationConfigurationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DescribeOrganizationConfigurationRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeOrganizationConfigurationResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DisassociateMembershipRequest } from "../models/models_0";
4
+ import { DisassociateMembershipRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DisassociateMembershipCommand, serializeAws_restJson1DisassociateMembershipCommand, } from "../protocols/Aws_restJson1";
6
6
  var DisassociateMembershipCommand = (function (_super) {
7
7
  __extends(DisassociateMembershipCommand, _super);
@@ -20,7 +20,7 @@ var DisassociateMembershipCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DisassociateMembershipRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DisassociateMembershipRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { EnableOrganizationAdminAccountRequest } from "../models/models_0";
4
+ import { EnableOrganizationAdminAccountRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1EnableOrganizationAdminAccountCommand, serializeAws_restJson1EnableOrganizationAdminAccountCommand, } from "../protocols/Aws_restJson1";
6
6
  var EnableOrganizationAdminAccountCommand = (function (_super) {
7
7
  __extends(EnableOrganizationAdminAccountCommand, _super);
@@ -20,7 +20,7 @@ var EnableOrganizationAdminAccountCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: EnableOrganizationAdminAccountRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: EnableOrganizationAdminAccountRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetMembersRequest, GetMembersResponse } from "../models/models_0";
4
+ import { GetMembersRequestFilterSensitiveLog, GetMembersResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetMembersCommand, serializeAws_restJson1GetMembersCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetMembersCommand = (function (_super) {
7
7
  __extends(GetMembersCommand, _super);
@@ -20,8 +20,8 @@ var GetMembersCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetMembersRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetMembersResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetMembersRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetMembersResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -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 { ListDatasourcePackagesRequestFilterSensitiveLog, ListDatasourcePackagesResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListDatasourcePackagesCommand, serializeAws_restJson1ListDatasourcePackagesCommand, } from "../protocols/Aws_restJson1";
6
+ var ListDatasourcePackagesCommand = (function (_super) {
7
+ __extends(ListDatasourcePackagesCommand, _super);
8
+ function ListDatasourcePackagesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListDatasourcePackagesCommand.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 = "DetectiveClient";
18
+ var commandName = "ListDatasourcePackagesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListDatasourcePackagesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListDatasourcePackagesResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDatasourcePackagesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListDatasourcePackagesCommand(input, context);
33
+ };
34
+ ListDatasourcePackagesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListDatasourcePackagesCommand(output, context);
36
+ };
37
+ return ListDatasourcePackagesCommand;
38
+ }($Command));
39
+ export { ListDatasourcePackagesCommand };
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListGraphsRequest, ListGraphsResponse } from "../models/models_0";
4
+ import { ListGraphsRequestFilterSensitiveLog, ListGraphsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListGraphsCommand, serializeAws_restJson1ListGraphsCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListGraphsCommand = (function (_super) {
7
7
  __extends(ListGraphsCommand, _super);
@@ -20,8 +20,8 @@ var ListGraphsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListGraphsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListGraphsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListGraphsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListGraphsResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListInvitationsRequest, ListInvitationsResponse } from "../models/models_0";
4
+ import { ListInvitationsRequestFilterSensitiveLog, ListInvitationsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListInvitationsCommand, serializeAws_restJson1ListInvitationsCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListInvitationsCommand = (function (_super) {
7
7
  __extends(ListInvitationsCommand, _super);
@@ -20,8 +20,8 @@ var ListInvitationsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListInvitationsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListInvitationsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListInvitationsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListInvitationsResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListMembersRequest, ListMembersResponse } from "../models/models_0";
4
+ import { ListMembersRequestFilterSensitiveLog, ListMembersResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListMembersCommand, serializeAws_restJson1ListMembersCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListMembersCommand = (function (_super) {
7
7
  __extends(ListMembersCommand, _super);
@@ -20,8 +20,8 @@ var ListMembersCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListMembersRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListMembersResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListMembersRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListMembersResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListOrganizationAdminAccountsRequest, ListOrganizationAdminAccountsResponse } from "../models/models_0";
4
+ import { ListOrganizationAdminAccountsRequestFilterSensitiveLog, ListOrganizationAdminAccountsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListOrganizationAdminAccountsCommand, serializeAws_restJson1ListOrganizationAdminAccountsCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListOrganizationAdminAccountsCommand = (function (_super) {
7
7
  __extends(ListOrganizationAdminAccountsCommand, _super);
@@ -20,8 +20,8 @@ var ListOrganizationAdminAccountsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListOrganizationAdminAccountsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListOrganizationAdminAccountsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListOrganizationAdminAccountsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListOrganizationAdminAccountsResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListTagsForResourceCommand = (function (_super) {
7
7
  __extends(ListTagsForResourceCommand, _super);
@@ -20,8 +20,8 @@ var ListTagsForResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { RejectInvitationRequest } from "../models/models_0";
4
+ import { RejectInvitationRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1RejectInvitationCommand, serializeAws_restJson1RejectInvitationCommand, } from "../protocols/Aws_restJson1";
6
6
  var RejectInvitationCommand = (function (_super) {
7
7
  __extends(RejectInvitationCommand, _super);
@@ -20,7 +20,7 @@ var RejectInvitationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: RejectInvitationRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: RejectInvitationRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartMonitoringMemberRequest } from "../models/models_0";
4
+ import { StartMonitoringMemberRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1StartMonitoringMemberCommand, serializeAws_restJson1StartMonitoringMemberCommand, } from "../protocols/Aws_restJson1";
6
6
  var StartMonitoringMemberCommand = (function (_super) {
7
7
  __extends(StartMonitoringMemberCommand, _super);
@@ -20,7 +20,7 @@ var StartMonitoringMemberCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: StartMonitoringMemberRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: StartMonitoringMemberRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  var TagResourceCommand = (function (_super) {
7
7
  __extends(TagResourceCommand, _super);
@@ -20,8 +20,8 @@ var TagResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  var UntagResourceCommand = (function (_super) {
7
7
  __extends(UntagResourceCommand, _super);
@@ -20,8 +20,8 @@ var UntagResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -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 { UpdateDatasourcePackagesRequestFilterSensitiveLog } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateDatasourcePackagesCommand, serializeAws_restJson1UpdateDatasourcePackagesCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateDatasourcePackagesCommand = (function (_super) {
7
+ __extends(UpdateDatasourcePackagesCommand, _super);
8
+ function UpdateDatasourcePackagesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateDatasourcePackagesCommand.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 = "DetectiveClient";
18
+ var commandName = "UpdateDatasourcePackagesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateDatasourcePackagesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateDatasourcePackagesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateDatasourcePackagesCommand(input, context);
33
+ };
34
+ UpdateDatasourcePackagesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateDatasourcePackagesCommand(output, context);
36
+ };
37
+ return UpdateDatasourcePackagesCommand;
38
+ }($Command));
39
+ export { UpdateDatasourcePackagesCommand };