@aws-sdk/client-security-ir 3.927.0 → 3.929.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 +1012 -1228
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SecurityIRClient.js +2 -0
  4. package/dist-es/commands/BatchGetMemberAccountDetailsCommand.js +3 -9
  5. package/dist-es/commands/CancelMembershipCommand.js +3 -9
  6. package/dist-es/commands/CloseCaseCommand.js +3 -9
  7. package/dist-es/commands/CreateCaseCommand.js +3 -10
  8. package/dist-es/commands/CreateCaseCommentCommand.js +3 -10
  9. package/dist-es/commands/CreateMembershipCommand.js +3 -10
  10. package/dist-es/commands/GetCaseAttachmentDownloadUrlCommand.js +3 -10
  11. package/dist-es/commands/GetCaseAttachmentUploadUrlCommand.js +3 -10
  12. package/dist-es/commands/GetCaseCommand.js +3 -10
  13. package/dist-es/commands/GetMembershipCommand.js +3 -10
  14. package/dist-es/commands/ListCaseEditsCommand.js +3 -9
  15. package/dist-es/commands/ListCasesCommand.js +3 -10
  16. package/dist-es/commands/ListCommentsCommand.js +3 -10
  17. package/dist-es/commands/ListMembershipsCommand.js +3 -9
  18. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  19. package/dist-es/commands/TagResourceCommand.js +3 -9
  20. package/dist-es/commands/UntagResourceCommand.js +3 -9
  21. package/dist-es/commands/UpdateCaseCommand.js +3 -10
  22. package/dist-es/commands/UpdateCaseCommentCommand.js +3 -10
  23. package/dist-es/commands/UpdateCaseStatusCommand.js +3 -9
  24. package/dist-es/commands/UpdateMembershipCommand.js +3 -10
  25. package/dist-es/commands/UpdateResolverTypeCommand.js +3 -9
  26. package/dist-es/models/models_0.js +19 -118
  27. package/dist-es/runtimeConfig.shared.js +2 -0
  28. package/dist-es/schemas/schemas_0.js +929 -0
  29. package/dist-types/SecurityIRClient.d.ts +10 -1
  30. package/dist-types/commands/CreateCaseCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateMembershipCommand.d.ts +3 -0
  32. package/dist-types/commands/GetCaseCommand.d.ts +1 -1
  33. package/dist-types/commands/GetMembershipCommand.d.ts +4 -1
  34. package/dist-types/commands/ListMembershipsCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateCaseCommand.d.ts +2 -2
  36. package/dist-types/commands/UpdateMembershipCommand.d.ts +3 -0
  37. package/dist-types/models/models_0.d.ts +32 -80
  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 +1 -0
  42. package/dist-types/schemas/schemas_0.d.ts +124 -0
  43. package/dist-types/ts3.4/SecurityIRClient.d.ts +4 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +22 -58
  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 +130 -0
  50. package/package.json +5 -6
  51. package/dist-es/protocols/Aws_restJson1.js +0 -913
  52. package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -269
@@ -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.securityir" }),
28
30
  serviceId: config?.serviceId ?? "Security IR",
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 SecurityIRClient 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_BatchGetMemberAccountDetailsCommand, se_BatchGetMemberAccountDetailsCommand, } from "../protocols/Aws_restJson1";
4
+ import { BatchGetMemberAccountDetails } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetMemberAccountDetailsCommand 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("SecurityIncidentResponse", "BatchGetMemberAccountDetails", {})
17
13
  .n("SecurityIRClient", "BatchGetMemberAccountDetailsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetMemberAccountDetailsCommand)
20
- .de(de_BatchGetMemberAccountDetailsCommand)
14
+ .sc(BatchGetMemberAccountDetails)
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_CancelMembershipCommand, se_CancelMembershipCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelMembership } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelMembershipCommand 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("SecurityIncidentResponse", "CancelMembership", {})
17
13
  .n("SecurityIRClient", "CancelMembershipCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelMembershipCommand)
20
- .de(de_CancelMembershipCommand)
14
+ .sc(CancelMembership)
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_CloseCaseCommand, se_CloseCaseCommand } from "../protocols/Aws_restJson1";
4
+ import { CloseCase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CloseCaseCommand 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("SecurityIncidentResponse", "CloseCase", {})
17
13
  .n("SecurityIRClient", "CloseCaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CloseCaseCommand)
20
- .de(de_CloseCaseCommand)
14
+ .sc(CloseCase)
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 { CreateCaseRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_CreateCaseCommand, se_CreateCaseCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateCase } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateCaseCommand 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("SecurityIncidentResponse", "CreateCase", {})
18
13
  .n("SecurityIRClient", "CreateCaseCommand")
19
- .f(CreateCaseRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateCaseCommand)
21
- .de(de_CreateCaseCommand)
14
+ .sc(CreateCase)
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 { CreateCaseCommentRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateCaseCommentCommand, se_CreateCaseCommentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateCaseComment } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateCaseCommentCommand 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("SecurityIncidentResponse", "CreateCaseComment", {})
18
13
  .n("SecurityIRClient", "CreateCaseCommentCommand")
19
- .f(CreateCaseCommentRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateCaseCommentCommand)
21
- .de(de_CreateCaseCommentCommand)
14
+ .sc(CreateCaseComment)
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 { CreateMembershipRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateMembershipCommand, se_CreateMembershipCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateMembership } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateMembershipCommand 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("SecurityIncidentResponse", "CreateMembership", {})
18
13
  .n("SecurityIRClient", "CreateMembershipCommand")
19
- .f(CreateMembershipRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateMembershipCommand)
21
- .de(de_CreateMembershipCommand)
14
+ .sc(CreateMembership)
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 { GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetCaseAttachmentDownloadUrlCommand, se_GetCaseAttachmentDownloadUrlCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetCaseAttachmentDownloadUrl } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetCaseAttachmentDownloadUrlCommand 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("SecurityIncidentResponse", "GetCaseAttachmentDownloadUrl", {})
18
13
  .n("SecurityIRClient", "GetCaseAttachmentDownloadUrlCommand")
19
- .f(void 0, GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog)
20
- .ser(se_GetCaseAttachmentDownloadUrlCommand)
21
- .de(de_GetCaseAttachmentDownloadUrlCommand)
14
+ .sc(GetCaseAttachmentDownloadUrl)
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 { GetCaseAttachmentUploadUrlRequestFilterSensitiveLog, GetCaseAttachmentUploadUrlResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetCaseAttachmentUploadUrlCommand, se_GetCaseAttachmentUploadUrlCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCaseAttachmentUploadUrl } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetCaseAttachmentUploadUrlCommand 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("SecurityIncidentResponse", "GetCaseAttachmentUploadUrl", {})
18
13
  .n("SecurityIRClient", "GetCaseAttachmentUploadUrlCommand")
19
- .f(GetCaseAttachmentUploadUrlRequestFilterSensitiveLog, GetCaseAttachmentUploadUrlResponseFilterSensitiveLog)
20
- .ser(se_GetCaseAttachmentUploadUrlCommand)
21
- .de(de_GetCaseAttachmentUploadUrlCommand)
14
+ .sc(GetCaseAttachmentUploadUrl)
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 { GetCaseResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetCaseCommand, se_GetCaseCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCase } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetCaseCommand 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("SecurityIncidentResponse", "GetCase", {})
18
13
  .n("SecurityIRClient", "GetCaseCommand")
19
- .f(void 0, GetCaseResponseFilterSensitiveLog)
20
- .ser(se_GetCaseCommand)
21
- .de(de_GetCaseCommand)
14
+ .sc(GetCase)
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 { GetMembershipResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetMembershipCommand, se_GetMembershipCommand } from "../protocols/Aws_restJson1";
4
+ import { GetMembership } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetMembershipCommand 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("SecurityIncidentResponse", "GetMembership", {})
18
13
  .n("SecurityIRClient", "GetMembershipCommand")
19
- .f(void 0, GetMembershipResponseFilterSensitiveLog)
20
- .ser(se_GetMembershipCommand)
21
- .de(de_GetMembershipCommand)
14
+ .sc(GetMembership)
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_ListCaseEditsCommand, se_ListCaseEditsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListCaseEdits } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCaseEditsCommand 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("SecurityIncidentResponse", "ListCaseEdits", {})
17
13
  .n("SecurityIRClient", "ListCaseEditsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCaseEditsCommand)
20
- .de(de_ListCaseEditsCommand)
14
+ .sc(ListCaseEdits)
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 { ListCasesResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_ListCasesCommand, se_ListCasesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListCases } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListCasesCommand 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("SecurityIncidentResponse", "ListCases", {})
18
13
  .n("SecurityIRClient", "ListCasesCommand")
19
- .f(void 0, ListCasesResponseFilterSensitiveLog)
20
- .ser(se_ListCasesCommand)
21
- .de(de_ListCasesCommand)
14
+ .sc(ListCases)
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 { ListCommentsResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_ListCommentsCommand, se_ListCommentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListComments } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListCommentsCommand 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("SecurityIncidentResponse", "ListComments", {})
18
13
  .n("SecurityIRClient", "ListCommentsCommand")
19
- .f(void 0, ListCommentsResponseFilterSensitiveLog)
20
- .ser(se_ListCommentsCommand)
21
- .de(de_ListCommentsCommand)
14
+ .sc(ListComments)
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_ListMembershipsCommand, se_ListMembershipsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListMemberships } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMembershipsCommand 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("SecurityIncidentResponse", "ListMemberships", {})
17
13
  .n("SecurityIRClient", "ListMembershipsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMembershipsCommand)
20
- .de(de_ListMembershipsCommand)
14
+ .sc(ListMemberships)
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("SecurityIncidentResponse", "ListTagsForResource", {})
17
13
  .n("SecurityIRClient", "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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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("SecurityIncidentResponse", "TagResource", {})
17
13
  .n("SecurityIRClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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("SecurityIncidentResponse", "UntagResource", {})
17
13
  .n("SecurityIRClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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 { UpdateCaseRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_UpdateCaseCommand, se_UpdateCaseCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateCase } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateCaseCommand 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("SecurityIncidentResponse", "UpdateCase", {})
18
13
  .n("SecurityIRClient", "UpdateCaseCommand")
19
- .f(UpdateCaseRequestFilterSensitiveLog, void 0)
20
- .ser(se_UpdateCaseCommand)
21
- .de(de_UpdateCaseCommand)
14
+ .sc(UpdateCase)
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 { UpdateCaseCommentRequestFilterSensitiveLog, UpdateCaseCommentResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateCaseCommentCommand, se_UpdateCaseCommentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateCaseComment } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateCaseCommentCommand 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("SecurityIncidentResponse", "UpdateCaseComment", {})
18
13
  .n("SecurityIRClient", "UpdateCaseCommentCommand")
19
- .f(UpdateCaseCommentRequestFilterSensitiveLog, UpdateCaseCommentResponseFilterSensitiveLog)
20
- .ser(se_UpdateCaseCommentCommand)
21
- .de(de_UpdateCaseCommentCommand)
14
+ .sc(UpdateCaseComment)
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_UpdateCaseStatusCommand, se_UpdateCaseStatusCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateCaseStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateCaseStatusCommand 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("SecurityIncidentResponse", "UpdateCaseStatus", {})
17
13
  .n("SecurityIRClient", "UpdateCaseStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateCaseStatusCommand)
20
- .de(de_UpdateCaseStatusCommand)
14
+ .sc(UpdateCaseStatus)
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 { UpdateMembershipRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateMembershipCommand, se_UpdateMembershipCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateMembership } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateMembershipCommand 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("SecurityIncidentResponse", "UpdateMembership", {})
18
13
  .n("SecurityIRClient", "UpdateMembershipCommand")
19
- .f(UpdateMembershipRequestFilterSensitiveLog, void 0)
20
- .ser(se_UpdateMembershipCommand)
21
- .de(de_UpdateMembershipCommand)
14
+ .sc(UpdateMembership)
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_UpdateResolverTypeCommand, se_UpdateResolverTypeCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateResolverType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateResolverTypeCommand 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("SecurityIncidentResponse", "UpdateResolverType", {})
17
13
  .n("SecurityIRClient", "UpdateResolverTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateResolverTypeCommand)
20
- .de(de_UpdateResolverTypeCommand)
14
+ .sc(UpdateResolverType)
21
15
  .build() {
22
16
  }