@aws-sdk/client-detective 3.183.0 → 3.185.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 (42) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Detective.js +105 -98
  4. package/dist-es/DetectiveClient.js +28 -22
  5. package/dist-es/commands/AcceptInvitationCommand.js +29 -22
  6. package/dist-es/commands/BatchGetGraphMemberDatasourcesCommand.js +28 -21
  7. package/dist-es/commands/BatchGetMembershipDatasourcesCommand.js +28 -21
  8. package/dist-es/commands/CreateGraphCommand.js +28 -21
  9. package/dist-es/commands/CreateMembersCommand.js +28 -21
  10. package/dist-es/commands/DeleteGraphCommand.js +29 -22
  11. package/dist-es/commands/DeleteMembersCommand.js +28 -21
  12. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +28 -21
  13. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +30 -23
  14. package/dist-es/commands/DisassociateMembershipCommand.js +29 -22
  15. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +29 -22
  16. package/dist-es/commands/GetMembersCommand.js +28 -21
  17. package/dist-es/commands/ListDatasourcePackagesCommand.js +28 -21
  18. package/dist-es/commands/ListGraphsCommand.js +28 -21
  19. package/dist-es/commands/ListInvitationsCommand.js +28 -21
  20. package/dist-es/commands/ListMembersCommand.js +28 -21
  21. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +28 -21
  22. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  23. package/dist-es/commands/RejectInvitationCommand.js +29 -22
  24. package/dist-es/commands/StartMonitoringMemberCommand.js +29 -22
  25. package/dist-es/commands/TagResourceCommand.js +28 -21
  26. package/dist-es/commands/UntagResourceCommand.js +28 -21
  27. package/dist-es/commands/UpdateDatasourcePackagesCommand.js +29 -22
  28. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +29 -22
  29. package/dist-es/endpoints.js +8 -8
  30. package/dist-es/models/DetectiveServiceException.js +10 -5
  31. package/dist-es/models/models_0.js +124 -219
  32. package/dist-es/pagination/ListDatasourcePackagesPaginator.js +68 -25
  33. package/dist-es/pagination/ListGraphsPaginator.js +68 -25
  34. package/dist-es/pagination/ListInvitationsPaginator.js +68 -25
  35. package/dist-es/pagination/ListMembersPaginator.js +68 -25
  36. package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +68 -25
  37. package/dist-es/protocols/Aws_restJson1.js +2284 -1605
  38. package/dist-es/runtimeConfig.browser.js +12 -26
  39. package/dist-es/runtimeConfig.js +12 -30
  40. package/dist-es/runtimeConfig.native.js +5 -8
  41. package/dist-es/runtimeConfig.shared.js +11 -8
  42. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetMembersRequestFilterSensitiveLog, GetMembersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetMembersCommand, serializeAws_restJson1GetMembersCommand, } from "../protocols/Aws_restJson1";
5
- export class GetMembersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetMembersCommand = (function (_super) {
7
+ __extends(GetMembersCommand, _super);
8
+ function GetMembersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetMembersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "GetMembersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DetectiveClient";
18
+ var commandName = "GetMembersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetMembersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetMembersResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetMembersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetMembersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetMembersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetMembersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetMembersCommand;
38
+ }($Command));
39
+ export { GetMembersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListDatasourcePackagesRequestFilterSensitiveLog, ListDatasourcePackagesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDatasourcePackagesCommand, serializeAws_restJson1ListDatasourcePackagesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDatasourcePackagesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDatasourcePackagesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "ListDatasourcePackagesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: ListDatasourcePackagesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDatasourcePackagesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDatasourcePackagesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDatasourcePackagesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDatasourcePackagesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDatasourcePackagesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDatasourcePackagesCommand;
38
+ }($Command));
39
+ export { ListDatasourcePackagesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListGraphsRequestFilterSensitiveLog, ListGraphsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListGraphsCommand, serializeAws_restJson1ListGraphsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListGraphsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListGraphsCommand = (function (_super) {
7
+ __extends(ListGraphsCommand, _super);
8
+ function ListGraphsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListGraphsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "ListGraphsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DetectiveClient";
18
+ var commandName = "ListGraphsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListGraphsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListGraphsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListGraphsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListGraphsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListGraphsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListGraphsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListGraphsCommand;
38
+ }($Command));
39
+ export { ListGraphsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListInvitationsRequestFilterSensitiveLog, ListInvitationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListInvitationsCommand, serializeAws_restJson1ListInvitationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListInvitationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListInvitationsCommand = (function (_super) {
7
+ __extends(ListInvitationsCommand, _super);
8
+ function ListInvitationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListInvitationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "ListInvitationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DetectiveClient";
18
+ var commandName = "ListInvitationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListInvitationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListInvitationsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListInvitationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListInvitationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListInvitationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListInvitationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListInvitationsCommand;
38
+ }($Command));
39
+ export { ListInvitationsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListMembersRequestFilterSensitiveLog, ListMembersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListMembersCommand, serializeAws_restJson1ListMembersCommand, } from "../protocols/Aws_restJson1";
5
- export class ListMembersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListMembersCommand = (function (_super) {
7
+ __extends(ListMembersCommand, _super);
8
+ function ListMembersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListMembersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "ListMembersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DetectiveClient";
18
+ var commandName = "ListMembersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListMembersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListMembersResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListMembersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListMembersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListMembersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListMembersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListMembersCommand;
38
+ }($Command));
39
+ export { ListMembersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListOrganizationAdminAccountsRequestFilterSensitiveLog, ListOrganizationAdminAccountsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListOrganizationAdminAccountsCommand, serializeAws_restJson1ListOrganizationAdminAccountsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListOrganizationAdminAccountsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListOrganizationAdminAccountsCommand = (function (_super) {
7
+ __extends(ListOrganizationAdminAccountsCommand, _super);
8
+ function ListOrganizationAdminAccountsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListOrganizationAdminAccountsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "ListOrganizationAdminAccountsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DetectiveClient";
18
+ var commandName = "ListOrganizationAdminAccountsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListOrganizationAdminAccountsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListOrganizationAdminAccountsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListOrganizationAdminAccountsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListOrganizationAdminAccountsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListOrganizationAdminAccountsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListOrganizationAdminAccountsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListOrganizationAdminAccountsCommand;
38
+ }($Command));
39
+ export { ListOrganizationAdminAccountsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DetectiveClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RejectInvitationRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RejectInvitationCommand, serializeAws_restJson1RejectInvitationCommand, } from "../protocols/Aws_restJson1";
5
- export class RejectInvitationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RejectInvitationCommand = (function (_super) {
7
+ __extends(RejectInvitationCommand, _super);
8
+ function RejectInvitationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RejectInvitationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "RejectInvitationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DetectiveClient";
18
+ var commandName = "RejectInvitationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RejectInvitationRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RejectInvitationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RejectInvitationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RejectInvitationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RejectInvitationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RejectInvitationCommand;
38
+ }($Command));
39
+ export { RejectInvitationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartMonitoringMemberRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartMonitoringMemberCommand, serializeAws_restJson1StartMonitoringMemberCommand, } from "../protocols/Aws_restJson1";
5
- export class StartMonitoringMemberCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartMonitoringMemberCommand = (function (_super) {
7
+ __extends(StartMonitoringMemberCommand, _super);
8
+ function StartMonitoringMemberCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartMonitoringMemberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "StartMonitoringMemberCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DetectiveClient";
18
+ var commandName = "StartMonitoringMemberCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartMonitoringMemberRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartMonitoringMemberCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartMonitoringMemberCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartMonitoringMemberCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartMonitoringMemberCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartMonitoringMemberCommand;
38
+ }($Command));
39
+ export { StartMonitoringMemberCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DetectiveClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DetectiveClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };