@aws-sdk/client-detective 3.928.0 → 3.930.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 (53) hide show
  1. package/dist-cjs/index.js +933 -1345
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/DetectiveClient.js +2 -0
  4. package/dist-es/commands/AcceptInvitationCommand.js +3 -9
  5. package/dist-es/commands/BatchGetGraphMemberDatasourcesCommand.js +3 -9
  6. package/dist-es/commands/BatchGetMembershipDatasourcesCommand.js +3 -9
  7. package/dist-es/commands/CreateGraphCommand.js +3 -9
  8. package/dist-es/commands/CreateMembersCommand.js +3 -10
  9. package/dist-es/commands/DeleteGraphCommand.js +3 -9
  10. package/dist-es/commands/DeleteMembersCommand.js +3 -9
  11. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -9
  12. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +3 -9
  13. package/dist-es/commands/DisassociateMembershipCommand.js +3 -9
  14. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +3 -9
  15. package/dist-es/commands/GetInvestigationCommand.js +3 -9
  16. package/dist-es/commands/GetMembersCommand.js +3 -10
  17. package/dist-es/commands/ListDatasourcePackagesCommand.js +3 -9
  18. package/dist-es/commands/ListGraphsCommand.js +3 -9
  19. package/dist-es/commands/ListIndicatorsCommand.js +3 -9
  20. package/dist-es/commands/ListInvestigationsCommand.js +3 -9
  21. package/dist-es/commands/ListInvitationsCommand.js +3 -10
  22. package/dist-es/commands/ListMembersCommand.js +3 -10
  23. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  25. package/dist-es/commands/RejectInvitationCommand.js +3 -9
  26. package/dist-es/commands/StartInvestigationCommand.js +3 -9
  27. package/dist-es/commands/StartMonitoringMemberCommand.js +3 -9
  28. package/dist-es/commands/TagResourceCommand.js +3 -9
  29. package/dist-es/commands/UntagResourceCommand.js +3 -9
  30. package/dist-es/commands/UpdateDatasourcePackagesCommand.js +3 -9
  31. package/dist-es/commands/UpdateInvestigationStateCommand.js +3 -9
  32. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -9
  33. package/dist-es/models/models_0.js +0 -30
  34. package/dist-es/runtimeConfig.shared.js +2 -0
  35. package/dist-es/schemas/schemas_0.js +862 -0
  36. package/dist-types/DetectiveClient.d.ts +10 -1
  37. package/dist-types/models/models_0.d.ts +0 -28
  38. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  39. package/dist-types/runtimeConfig.d.ts +1 -0
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  42. package/dist-types/schemas/schemas_0.d.ts +134 -0
  43. package/dist-types/ts3.4/DetectiveClient.d.ts +4 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +0 -17
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +141 -0
  50. package/package.json +33 -33
  51. package/dist-es/protocols/Aws_restJson1.js +0 -1088
  52. package/dist-types/protocols/Aws_restJson1.d.ts +0 -263
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -353
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.detective" }),
28
30
  serviceId: config?.serviceId ?? "Detective",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class DetectiveClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AcceptInvitationCommand, se_AcceptInvitationCommand } from "../protocols/Aws_restJson1";
4
+ import { AcceptInvitation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AcceptInvitationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "AcceptInvitation", {})
17
13
  .n("DetectiveClient", "AcceptInvitationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AcceptInvitationCommand)
20
- .de(de_AcceptInvitationCommand)
14
+ .sc(AcceptInvitation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetGraphMemberDatasourcesCommand, se_BatchGetGraphMemberDatasourcesCommand, } from "../protocols/Aws_restJson1";
4
+ import { BatchGetGraphMemberDatasources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetGraphMemberDatasourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "BatchGetGraphMemberDatasources", {})
17
13
  .n("DetectiveClient", "BatchGetGraphMemberDatasourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetGraphMemberDatasourcesCommand)
20
- .de(de_BatchGetGraphMemberDatasourcesCommand)
14
+ .sc(BatchGetGraphMemberDatasources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetMembershipDatasourcesCommand, se_BatchGetMembershipDatasourcesCommand, } from "../protocols/Aws_restJson1";
4
+ import { BatchGetMembershipDatasources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetMembershipDatasourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "BatchGetMembershipDatasources", {})
17
13
  .n("DetectiveClient", "BatchGetMembershipDatasourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetMembershipDatasourcesCommand)
20
- .de(de_BatchGetMembershipDatasourcesCommand)
14
+ .sc(BatchGetMembershipDatasources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateGraphCommand, se_CreateGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateGraphCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "CreateGraph", {})
17
13
  .n("DetectiveClient", "CreateGraphCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateGraphCommand)
20
- .de(de_CreateGraphCommand)
14
+ .sc(CreateGraph)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateMembersRequestFilterSensitiveLog, CreateMembersResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateMembersCommand, se_CreateMembersCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateMembers } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateMembersCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonDetective", "CreateMembers", {})
18
13
  .n("DetectiveClient", "CreateMembersCommand")
19
- .f(CreateMembersRequestFilterSensitiveLog, CreateMembersResponseFilterSensitiveLog)
20
- .ser(se_CreateMembersCommand)
21
- .de(de_CreateMembersCommand)
14
+ .sc(CreateMembers)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteGraphCommand, se_DeleteGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteGraphCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "DeleteGraph", {})
17
13
  .n("DetectiveClient", "DeleteGraphCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteGraphCommand)
20
- .de(de_DeleteGraphCommand)
14
+ .sc(DeleteGraph)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteMembersCommand, se_DeleteMembersCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteMembers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteMembersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "DeleteMembers", {})
17
13
  .n("DetectiveClient", "DeleteMembersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteMembersCommand)
20
- .de(de_DeleteMembersCommand)
14
+ .sc(DeleteMembers)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeOrganizationConfigurationCommand, se_DescribeOrganizationConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeOrganizationConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeOrganizationConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "DescribeOrganizationConfiguration", {})
17
13
  .n("DetectiveClient", "DescribeOrganizationConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeOrganizationConfigurationCommand)
20
- .de(de_DescribeOrganizationConfigurationCommand)
14
+ .sc(DescribeOrganizationConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisableOrganizationAdminAccountCommand, se_DisableOrganizationAdminAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { DisableOrganizationAdminAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableOrganizationAdminAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "DisableOrganizationAdminAccount", {})
17
13
  .n("DetectiveClient", "DisableOrganizationAdminAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisableOrganizationAdminAccountCommand)
20
- .de(de_DisableOrganizationAdminAccountCommand)
14
+ .sc(DisableOrganizationAdminAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisassociateMembershipCommand, se_DisassociateMembershipCommand } from "../protocols/Aws_restJson1";
4
+ import { DisassociateMembership } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateMembershipCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "DisassociateMembership", {})
17
13
  .n("DetectiveClient", "DisassociateMembershipCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateMembershipCommand)
20
- .de(de_DisassociateMembershipCommand)
14
+ .sc(DisassociateMembership)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_EnableOrganizationAdminAccountCommand, se_EnableOrganizationAdminAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { EnableOrganizationAdminAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableOrganizationAdminAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "EnableOrganizationAdminAccount", {})
17
13
  .n("DetectiveClient", "EnableOrganizationAdminAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableOrganizationAdminAccountCommand)
20
- .de(de_EnableOrganizationAdminAccountCommand)
14
+ .sc(EnableOrganizationAdminAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetInvestigationCommand, se_GetInvestigationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetInvestigation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetInvestigationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "GetInvestigation", {})
17
13
  .n("DetectiveClient", "GetInvestigationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetInvestigationCommand)
20
- .de(de_GetInvestigationCommand)
14
+ .sc(GetInvestigation)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetMembersResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetMembersCommand, se_GetMembersCommand } from "../protocols/Aws_restJson1";
4
+ import { GetMembers } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetMembersCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonDetective", "GetMembers", {})
18
13
  .n("DetectiveClient", "GetMembersCommand")
19
- .f(void 0, GetMembersResponseFilterSensitiveLog)
20
- .ser(se_GetMembersCommand)
21
- .de(de_GetMembersCommand)
14
+ .sc(GetMembers)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDatasourcePackagesCommand, se_ListDatasourcePackagesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDatasourcePackages } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDatasourcePackagesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "ListDatasourcePackages", {})
17
13
  .n("DetectiveClient", "ListDatasourcePackagesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDatasourcePackagesCommand)
20
- .de(de_ListDatasourcePackagesCommand)
14
+ .sc(ListDatasourcePackages)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListGraphsCommand, se_ListGraphsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListGraphs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListGraphsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "ListGraphs", {})
17
13
  .n("DetectiveClient", "ListGraphsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListGraphsCommand)
20
- .de(de_ListGraphsCommand)
14
+ .sc(ListGraphs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListIndicatorsCommand, se_ListIndicatorsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListIndicators } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListIndicatorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "ListIndicators", {})
17
13
  .n("DetectiveClient", "ListIndicatorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListIndicatorsCommand)
20
- .de(de_ListIndicatorsCommand)
14
+ .sc(ListIndicators)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListInvestigationsCommand, se_ListInvestigationsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListInvestigations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListInvestigationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "ListInvestigations", {})
17
13
  .n("DetectiveClient", "ListInvestigationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListInvestigationsCommand)
20
- .de(de_ListInvestigationsCommand)
14
+ .sc(ListInvestigations)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListInvitationsResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListInvitationsCommand, se_ListInvitationsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListInvitations } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListInvitationsCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonDetective", "ListInvitations", {})
18
13
  .n("DetectiveClient", "ListInvitationsCommand")
19
- .f(void 0, ListInvitationsResponseFilterSensitiveLog)
20
- .ser(se_ListInvitationsCommand)
21
- .de(de_ListInvitationsCommand)
14
+ .sc(ListInvitations)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListMembersResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_ListMembersCommand, se_ListMembersCommand } from "../protocols/Aws_restJson1";
4
+ import { ListMembers } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListMembersCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonDetective", "ListMembers", {})
18
13
  .n("DetectiveClient", "ListMembersCommand")
19
- .f(void 0, ListMembersResponseFilterSensitiveLog)
20
- .ser(se_ListMembersCommand)
21
- .de(de_ListMembersCommand)
14
+ .sc(ListMembers)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListOrganizationAdminAccountsCommand, se_ListOrganizationAdminAccountsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListOrganizationAdminAccounts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListOrganizationAdminAccountsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "ListOrganizationAdminAccounts", {})
17
13
  .n("DetectiveClient", "ListOrganizationAdminAccountsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListOrganizationAdminAccountsCommand)
20
- .de(de_ListOrganizationAdminAccountsCommand)
14
+ .sc(ListOrganizationAdminAccounts)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "ListTagsForResource", {})
17
13
  .n("DetectiveClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RejectInvitationCommand, se_RejectInvitationCommand } from "../protocols/Aws_restJson1";
4
+ import { RejectInvitation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RejectInvitationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDetective", "RejectInvitation", {})
17
13
  .n("DetectiveClient", "RejectInvitationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RejectInvitationCommand)
20
- .de(de_RejectInvitationCommand)
14
+ .sc(RejectInvitation)
21
15
  .build() {
22
16
  }