@aws-sdk/client-security-ir 3.703.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 (191) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +381 -0
  3. package/dist-cjs/SecurityIR.js +55 -0
  4. package/dist-cjs/SecurityIRClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/BatchGetMemberAccountDetailsCommand.js +26 -0
  8. package/dist-cjs/commands/CancelMembershipCommand.js +26 -0
  9. package/dist-cjs/commands/CloseCaseCommand.js +26 -0
  10. package/dist-cjs/commands/CreateCaseCommand.js +27 -0
  11. package/dist-cjs/commands/CreateCaseCommentCommand.js +27 -0
  12. package/dist-cjs/commands/CreateMembershipCommand.js +27 -0
  13. package/dist-cjs/commands/GetCaseAttachmentDownloadUrlCommand.js +27 -0
  14. package/dist-cjs/commands/GetCaseAttachmentUploadUrlCommand.js +27 -0
  15. package/dist-cjs/commands/GetCaseCommand.js +27 -0
  16. package/dist-cjs/commands/GetMembershipCommand.js +27 -0
  17. package/dist-cjs/commands/ListCaseEditsCommand.js +26 -0
  18. package/dist-cjs/commands/ListCasesCommand.js +27 -0
  19. package/dist-cjs/commands/ListCommentsCommand.js +27 -0
  20. package/dist-cjs/commands/ListMembershipsCommand.js +26 -0
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  22. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  23. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  24. package/dist-cjs/commands/UpdateCaseCommand.js +27 -0
  25. package/dist-cjs/commands/UpdateCaseCommentCommand.js +27 -0
  26. package/dist-cjs/commands/UpdateCaseStatusCommand.js +26 -0
  27. package/dist-cjs/commands/UpdateMembershipCommand.js +27 -0
  28. package/dist-cjs/commands/UpdateResolverTypeCommand.js +26 -0
  29. package/dist-cjs/commands/index.js +25 -0
  30. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  31. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  32. package/dist-cjs/endpoint/ruleset.js +7 -0
  33. package/dist-cjs/extensionConfiguration.js +2 -0
  34. package/dist-cjs/index.js +11 -0
  35. package/dist-cjs/models/SecurityIRServiceException.js +12 -0
  36. package/dist-cjs/models/index.js +4 -0
  37. package/dist-cjs/models/models_0.js +373 -0
  38. package/dist-cjs/pagination/Interfaces.js +2 -0
  39. package/dist-cjs/pagination/ListCaseEditsPaginator.js +7 -0
  40. package/dist-cjs/pagination/ListCasesPaginator.js +7 -0
  41. package/dist-cjs/pagination/ListCommentsPaginator.js +7 -0
  42. package/dist-cjs/pagination/ListMembershipsPaginator.js +7 -0
  43. package/dist-cjs/pagination/index.js +8 -0
  44. package/dist-cjs/protocols/Aws_restJson1.js +956 -0
  45. package/dist-cjs/runtimeConfig.browser.js +39 -0
  46. package/dist-cjs/runtimeConfig.js +50 -0
  47. package/dist-cjs/runtimeConfig.native.js +15 -0
  48. package/dist-cjs/runtimeConfig.shared.js +34 -0
  49. package/dist-cjs/runtimeExtensions.js +25 -0
  50. package/dist-es/SecurityIR.js +51 -0
  51. package/dist-es/SecurityIRClient.js +46 -0
  52. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  53. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  54. package/dist-es/commands/BatchGetMemberAccountDetailsCommand.js +22 -0
  55. package/dist-es/commands/CancelMembershipCommand.js +22 -0
  56. package/dist-es/commands/CloseCaseCommand.js +22 -0
  57. package/dist-es/commands/CreateCaseCommand.js +23 -0
  58. package/dist-es/commands/CreateCaseCommentCommand.js +23 -0
  59. package/dist-es/commands/CreateMembershipCommand.js +23 -0
  60. package/dist-es/commands/GetCaseAttachmentDownloadUrlCommand.js +23 -0
  61. package/dist-es/commands/GetCaseAttachmentUploadUrlCommand.js +23 -0
  62. package/dist-es/commands/GetCaseCommand.js +23 -0
  63. package/dist-es/commands/GetMembershipCommand.js +23 -0
  64. package/dist-es/commands/ListCaseEditsCommand.js +22 -0
  65. package/dist-es/commands/ListCasesCommand.js +23 -0
  66. package/dist-es/commands/ListCommentsCommand.js +23 -0
  67. package/dist-es/commands/ListMembershipsCommand.js +22 -0
  68. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  69. package/dist-es/commands/TagResourceCommand.js +22 -0
  70. package/dist-es/commands/UntagResourceCommand.js +22 -0
  71. package/dist-es/commands/UpdateCaseCommand.js +23 -0
  72. package/dist-es/commands/UpdateCaseCommentCommand.js +23 -0
  73. package/dist-es/commands/UpdateCaseStatusCommand.js +22 -0
  74. package/dist-es/commands/UpdateMembershipCommand.js +23 -0
  75. package/dist-es/commands/UpdateResolverTypeCommand.js +22 -0
  76. package/dist-es/commands/index.js +22 -0
  77. package/dist-es/endpoint/EndpointParameters.js +12 -0
  78. package/dist-es/endpoint/endpointResolver.js +14 -0
  79. package/dist-es/endpoint/ruleset.js +4 -0
  80. package/dist-es/extensionConfiguration.js +1 -0
  81. package/dist-es/index.js +6 -0
  82. package/dist-es/models/SecurityIRServiceException.js +8 -0
  83. package/dist-es/models/index.js +1 -0
  84. package/dist-es/models/models_0.js +341 -0
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/dist-es/pagination/ListCaseEditsPaginator.js +4 -0
  87. package/dist-es/pagination/ListCasesPaginator.js +4 -0
  88. package/dist-es/pagination/ListCommentsPaginator.js +4 -0
  89. package/dist-es/pagination/ListMembershipsPaginator.js +4 -0
  90. package/dist-es/pagination/index.js +5 -0
  91. package/dist-es/protocols/Aws_restJson1.js +909 -0
  92. package/dist-es/runtimeConfig.browser.js +34 -0
  93. package/dist-es/runtimeConfig.js +45 -0
  94. package/dist-es/runtimeConfig.native.js +11 -0
  95. package/dist-es/runtimeConfig.shared.js +30 -0
  96. package/dist-es/runtimeExtensions.js +21 -0
  97. package/dist-types/SecurityIR.d.ts +166 -0
  98. package/dist-types/SecurityIRClient.d.ts +191 -0
  99. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  100. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  101. package/dist-types/commands/BatchGetMemberAccountDetailsCommand.d.ts +114 -0
  102. package/dist-types/commands/CancelMembershipCommand.d.ts +98 -0
  103. package/dist-types/commands/CloseCaseCommand.d.ts +99 -0
  104. package/dist-types/commands/CreateCaseCommand.d.ts +130 -0
  105. package/dist-types/commands/CreateCaseCommentCommand.d.ts +100 -0
  106. package/dist-types/commands/CreateMembershipCommand.d.ts +115 -0
  107. package/dist-types/commands/GetCaseAttachmentDownloadUrlCommand.d.ts +99 -0
  108. package/dist-types/commands/GetCaseAttachmentUploadUrlCommand.d.ts +101 -0
  109. package/dist-types/commands/GetCaseCommand.d.ts +143 -0
  110. package/dist-types/commands/GetMembershipCommand.d.ts +120 -0
  111. package/dist-types/commands/ListCaseEditsCommand.d.ts +109 -0
  112. package/dist-types/commands/ListCasesCommand.d.ts +114 -0
  113. package/dist-types/commands/ListCommentsCommand.d.ts +111 -0
  114. package/dist-types/commands/ListMembershipsCommand.d.ts +108 -0
  115. package/dist-types/commands/ListTagsForResourceCommand.d.ts +100 -0
  116. package/dist-types/commands/TagResourceCommand.d.ts +99 -0
  117. package/dist-types/commands/UntagResourceCommand.d.ts +99 -0
  118. package/dist-types/commands/UpdateCaseCommand.d.ts +149 -0
  119. package/dist-types/commands/UpdateCaseCommentCommand.d.ts +101 -0
  120. package/dist-types/commands/UpdateCaseStatusCommand.d.ts +101 -0
  121. package/dist-types/commands/UpdateMembershipCommand.d.ts +110 -0
  122. package/dist-types/commands/UpdateResolverTypeCommand.d.ts +105 -0
  123. package/dist-types/commands/index.d.ts +22 -0
  124. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  125. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  126. package/dist-types/endpoint/ruleset.d.ts +2 -0
  127. package/dist-types/extensionConfiguration.d.ts +9 -0
  128. package/dist-types/index.d.ts +14 -0
  129. package/dist-types/models/SecurityIRServiceException.d.ts +14 -0
  130. package/dist-types/models/index.d.ts +1 -0
  131. package/dist-types/models/models_0.d.ts +1734 -0
  132. package/dist-types/pagination/Interfaces.d.ts +8 -0
  133. package/dist-types/pagination/ListCaseEditsPaginator.d.ts +7 -0
  134. package/dist-types/pagination/ListCasesPaginator.d.ts +7 -0
  135. package/dist-types/pagination/ListCommentsPaginator.d.ts +7 -0
  136. package/dist-types/pagination/ListMembershipsPaginator.d.ts +7 -0
  137. package/dist-types/pagination/index.d.ts +5 -0
  138. package/dist-types/protocols/Aws_restJson1.d.ts +200 -0
  139. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  140. package/dist-types/runtimeConfig.d.ts +48 -0
  141. package/dist-types/runtimeConfig.native.d.ts +47 -0
  142. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  143. package/dist-types/runtimeExtensions.d.ts +17 -0
  144. package/dist-types/ts3.4/SecurityIR.d.ts +383 -0
  145. package/dist-types/ts3.4/SecurityIRClient.d.ts +250 -0
  146. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  147. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  148. package/dist-types/ts3.4/commands/BatchGetMemberAccountDetailsCommand.d.ts +51 -0
  149. package/dist-types/ts3.4/commands/CancelMembershipCommand.d.ts +50 -0
  150. package/dist-types/ts3.4/commands/CloseCaseCommand.d.ts +47 -0
  151. package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +47 -0
  152. package/dist-types/ts3.4/commands/CreateCaseCommentCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +50 -0
  154. package/dist-types/ts3.4/commands/GetCaseAttachmentDownloadUrlCommand.d.ts +51 -0
  155. package/dist-types/ts3.4/commands/GetCaseAttachmentUploadUrlCommand.d.ts +51 -0
  156. package/dist-types/ts3.4/commands/GetCaseCommand.d.ts +43 -0
  157. package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +50 -0
  158. package/dist-types/ts3.4/commands/ListCaseEditsCommand.d.ts +50 -0
  159. package/dist-types/ts3.4/commands/ListCasesCommand.d.ts +47 -0
  160. package/dist-types/ts3.4/commands/ListCommentsCommand.d.ts +47 -0
  161. package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +50 -0
  162. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  163. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  164. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
  165. package/dist-types/ts3.4/commands/UpdateCaseCommand.d.ts +47 -0
  166. package/dist-types/ts3.4/commands/UpdateCaseCommentCommand.d.ts +51 -0
  167. package/dist-types/ts3.4/commands/UpdateCaseStatusCommand.d.ts +50 -0
  168. package/dist-types/ts3.4/commands/UpdateMembershipCommand.d.ts +50 -0
  169. package/dist-types/ts3.4/commands/UpdateResolverTypeCommand.d.ts +51 -0
  170. package/dist-types/ts3.4/commands/index.d.ts +22 -0
  171. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  172. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  173. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  174. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  175. package/dist-types/ts3.4/index.d.ts +9 -0
  176. package/dist-types/ts3.4/models/SecurityIRServiceException.d.ts +9 -0
  177. package/dist-types/ts3.4/models/index.d.ts +1 -0
  178. package/dist-types/ts3.4/models/models_0.d.ts +552 -0
  179. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  180. package/dist-types/ts3.4/pagination/ListCaseEditsPaginator.d.ts +11 -0
  181. package/dist-types/ts3.4/pagination/ListCasesPaginator.d.ts +11 -0
  182. package/dist-types/ts3.4/pagination/ListCommentsPaginator.d.ts +11 -0
  183. package/dist-types/ts3.4/pagination/ListMembershipsPaginator.d.ts +11 -0
  184. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  185. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +269 -0
  186. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  187. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  188. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  189. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  190. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  191. package/package.json +103 -0
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { ListCommentsResponseFilterSensitiveLog } from "../models/models_0";
6
+ import { de_ListCommentsCommand, se_ListCommentsCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class ListCommentsCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("SecurityIncidentResponse", "ListComments", {})
18
+ .n("SecurityIRClient", "ListCommentsCommand")
19
+ .f(void 0, ListCommentsResponseFilterSensitiveLog)
20
+ .ser(se_ListCommentsCommand)
21
+ .de(de_ListCommentsCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListMembershipsCommand, se_ListMembershipsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListMembershipsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityIncidentResponse", "ListMemberships", {})
17
+ .n("SecurityIRClient", "ListMembershipsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListMembershipsCommand)
20
+ .de(de_ListMembershipsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityIncidentResponse", "ListTagsForResource", {})
17
+ .n("SecurityIRClient", "ListTagsForResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListTagsForResourceCommand)
20
+ .de(de_ListTagsForResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityIncidentResponse", "TagResource", {})
17
+ .n("SecurityIRClient", "TagResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_TagResourceCommand)
20
+ .de(de_TagResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityIncidentResponse", "UntagResource", {})
17
+ .n("SecurityIRClient", "UntagResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UntagResourceCommand)
20
+ .de(de_UntagResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateCaseRequestFilterSensitiveLog } from "../models/models_0";
6
+ import { de_UpdateCaseCommand, se_UpdateCaseCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateCaseCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("SecurityIncidentResponse", "UpdateCase", {})
18
+ .n("SecurityIRClient", "UpdateCaseCommand")
19
+ .f(UpdateCaseRequestFilterSensitiveLog, void 0)
20
+ .ser(se_UpdateCaseCommand)
21
+ .de(de_UpdateCaseCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateCaseCommentRequestFilterSensitiveLog, UpdateCaseCommentResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UpdateCaseCommentCommand, se_UpdateCaseCommentCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateCaseCommentCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("SecurityIncidentResponse", "UpdateCaseComment", {})
18
+ .n("SecurityIRClient", "UpdateCaseCommentCommand")
19
+ .f(UpdateCaseCommentRequestFilterSensitiveLog, UpdateCaseCommentResponseFilterSensitiveLog)
20
+ .ser(se_UpdateCaseCommentCommand)
21
+ .de(de_UpdateCaseCommentCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateCaseStatusCommand, se_UpdateCaseStatusCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateCaseStatusCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityIncidentResponse", "UpdateCaseStatus", {})
17
+ .n("SecurityIRClient", "UpdateCaseStatusCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateCaseStatusCommand)
20
+ .de(de_UpdateCaseStatusCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateMembershipRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UpdateMembershipCommand, se_UpdateMembershipCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateMembershipCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("SecurityIncidentResponse", "UpdateMembership", {})
18
+ .n("SecurityIRClient", "UpdateMembershipCommand")
19
+ .f(UpdateMembershipRequestFilterSensitiveLog, void 0)
20
+ .ser(se_UpdateMembershipCommand)
21
+ .de(de_UpdateMembershipCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateResolverTypeCommand, se_UpdateResolverTypeCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateResolverTypeCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityIncidentResponse", "UpdateResolverType", {})
17
+ .n("SecurityIRClient", "UpdateResolverTypeCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateResolverTypeCommand)
20
+ .de(de_UpdateResolverTypeCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ export * from "./BatchGetMemberAccountDetailsCommand";
2
+ export * from "./CancelMembershipCommand";
3
+ export * from "./CloseCaseCommand";
4
+ export * from "./CreateCaseCommand";
5
+ export * from "./CreateCaseCommentCommand";
6
+ export * from "./CreateMembershipCommand";
7
+ export * from "./GetCaseAttachmentDownloadUrlCommand";
8
+ export * from "./GetCaseAttachmentUploadUrlCommand";
9
+ export * from "./GetCaseCommand";
10
+ export * from "./GetMembershipCommand";
11
+ export * from "./ListCaseEditsCommand";
12
+ export * from "./ListCasesCommand";
13
+ export * from "./ListCommentsCommand";
14
+ export * from "./ListMembershipsCommand";
15
+ export * from "./ListTagsForResourceCommand";
16
+ export * from "./TagResourceCommand";
17
+ export * from "./UntagResourceCommand";
18
+ export * from "./UpdateCaseCommand";
19
+ export * from "./UpdateCaseCommentCommand";
20
+ export * from "./UpdateCaseStatusCommand";
21
+ export * from "./UpdateMembershipCommand";
22
+ export * from "./UpdateResolverTypeCommand";
@@ -0,0 +1,12 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
5
+ defaultSigningName: "security-ir",
6
+ };
7
+ };
8
+ export const commonParams = {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ };
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,4 @@
1
+ const l = "ref";
2
+ const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://security-ir-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://security-ir.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from "./SecurityIRClient";
2
+ export * from "./SecurityIR";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ export { SecurityIRServiceException } from "./models/SecurityIRServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class SecurityIRServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, SecurityIRServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,341 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ import { SecurityIRServiceException as __BaseException } from "./SecurityIRServiceException";
3
+ export class AccessDeniedException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "AccessDeniedException",
7
+ $fault: "client",
8
+ ...opts,
9
+ });
10
+ this.name = "AccessDeniedException";
11
+ this.$fault = "client";
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ }
14
+ }
15
+ export const AwsRegion = {
16
+ AF_SOUTH_1: "af-south-1",
17
+ AP_EAST_1: "ap-east-1",
18
+ AP_NORTHEAST_1: "ap-northeast-1",
19
+ AP_NORTHEAST_2: "ap-northeast-2",
20
+ AP_NORTHEAST_3: "ap-northeast-3",
21
+ AP_SOUTHEAST_1: "ap-southeast-1",
22
+ AP_SOUTHEAST_2: "ap-southeast-2",
23
+ AP_SOUTHEAST_3: "ap-southeast-3",
24
+ AP_SOUTHEAST_4: "ap-southeast-4",
25
+ AP_SOUTHEAST_5: "ap-southeast-5",
26
+ AP_SOUTH_1: "ap-south-1",
27
+ AP_SOUTH_2: "ap-south-2",
28
+ CA_CENTRAL_1: "ca-central-1",
29
+ CA_WEST_1: "ca-west-1",
30
+ CN_NORTHWEST_1: "cn-northwest-1",
31
+ CN_NORTH_1: "cn-north-1",
32
+ EU_CENTRAL_1: "eu-central-1",
33
+ EU_CENTRAL_2: "eu-central-2",
34
+ EU_NORTH_1: "eu-north-1",
35
+ EU_SOUTH_1: "eu-south-1",
36
+ EU_SOUTH_2: "eu-south-2",
37
+ EU_WEST_1: "eu-west-1",
38
+ EU_WEST_2: "eu-west-2",
39
+ EU_WEST_3: "eu-west-3",
40
+ IL_CENTRAL_1: "il-central-1",
41
+ ME_CENTRAL_1: "me-central-1",
42
+ ME_SOUTH_1: "me-south-1",
43
+ SA_EAST_1: "sa-east-1",
44
+ US_EAST_1: "us-east-1",
45
+ US_EAST_2: "us-east-2",
46
+ US_WEST_1: "us-west-1",
47
+ US_WEST_2: "us-west-2",
48
+ };
49
+ export const MembershipAccountRelationshipStatus = {
50
+ ASSOCIATED: "Associated",
51
+ DISASSOCIATED: "Disassociated",
52
+ };
53
+ export const MembershipAccountRelationshipType = {
54
+ ORGANIZATION: "Organization",
55
+ };
56
+ export class ConflictException extends __BaseException {
57
+ constructor(opts) {
58
+ super({
59
+ name: "ConflictException",
60
+ $fault: "client",
61
+ ...opts,
62
+ });
63
+ this.name = "ConflictException";
64
+ this.$fault = "client";
65
+ Object.setPrototypeOf(this, ConflictException.prototype);
66
+ this.resourceId = opts.resourceId;
67
+ this.resourceType = opts.resourceType;
68
+ }
69
+ }
70
+ export class InternalServerException extends __BaseException {
71
+ constructor(opts) {
72
+ super({
73
+ name: "InternalServerException",
74
+ $fault: "server",
75
+ ...opts,
76
+ });
77
+ this.name = "InternalServerException";
78
+ this.$fault = "server";
79
+ this.$retryable = {};
80
+ Object.setPrototypeOf(this, InternalServerException.prototype);
81
+ this.retryAfterSeconds = opts.retryAfterSeconds;
82
+ }
83
+ }
84
+ export class InvalidTokenException extends __BaseException {
85
+ constructor(opts) {
86
+ super({
87
+ name: "InvalidTokenException",
88
+ $fault: "client",
89
+ ...opts,
90
+ });
91
+ this.name = "InvalidTokenException";
92
+ this.$fault = "client";
93
+ this.$retryable = {};
94
+ Object.setPrototypeOf(this, InvalidTokenException.prototype);
95
+ }
96
+ }
97
+ export class ResourceNotFoundException extends __BaseException {
98
+ constructor(opts) {
99
+ super({
100
+ name: "ResourceNotFoundException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ this.name = "ResourceNotFoundException";
105
+ this.$fault = "client";
106
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
107
+ }
108
+ }
109
+ export class SecurityIncidentResponseNotActiveException extends __BaseException {
110
+ constructor(opts) {
111
+ super({
112
+ name: "SecurityIncidentResponseNotActiveException",
113
+ $fault: "client",
114
+ ...opts,
115
+ });
116
+ this.name = "SecurityIncidentResponseNotActiveException";
117
+ this.$fault = "client";
118
+ Object.setPrototypeOf(this, SecurityIncidentResponseNotActiveException.prototype);
119
+ }
120
+ }
121
+ export class ServiceQuotaExceededException extends __BaseException {
122
+ constructor(opts) {
123
+ super({
124
+ name: "ServiceQuotaExceededException",
125
+ $fault: "client",
126
+ ...opts,
127
+ });
128
+ this.name = "ServiceQuotaExceededException";
129
+ this.$fault = "client";
130
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
131
+ this.resourceId = opts.resourceId;
132
+ this.resourceType = opts.resourceType;
133
+ this.serviceCode = opts.serviceCode;
134
+ this.quotaCode = opts.quotaCode;
135
+ }
136
+ }
137
+ export class ThrottlingException extends __BaseException {
138
+ constructor(opts) {
139
+ super({
140
+ name: "ThrottlingException",
141
+ $fault: "client",
142
+ ...opts,
143
+ });
144
+ this.name = "ThrottlingException";
145
+ this.$fault = "client";
146
+ this.$retryable = {
147
+ throttling: true,
148
+ };
149
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
150
+ this.serviceCode = opts.serviceCode;
151
+ this.quotaCode = opts.quotaCode;
152
+ this.retryAfterSeconds = opts.retryAfterSeconds;
153
+ }
154
+ }
155
+ export const ValidationExceptionReason = {
156
+ CANNOT_PARSE: "CANNOT_PARSE",
157
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
158
+ OTHER: "OTHER",
159
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
160
+ };
161
+ export class ValidationException extends __BaseException {
162
+ constructor(opts) {
163
+ super({
164
+ name: "ValidationException",
165
+ $fault: "client",
166
+ ...opts,
167
+ });
168
+ this.name = "ValidationException";
169
+ this.$fault = "client";
170
+ Object.setPrototypeOf(this, ValidationException.prototype);
171
+ this.reason = opts.reason;
172
+ this.fieldList = opts.fieldList;
173
+ }
174
+ }
175
+ export const CaseStatus = {
176
+ ACKNOWLEDGED: "Acknowledged",
177
+ CLOSED: "Closed",
178
+ CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
179
+ DETECTION_AND_ANALYSIS: "Detection and Analysis",
180
+ POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
181
+ READY_TO_CLOSE: "Ready to Close",
182
+ SUBMITTED: "Submitted",
183
+ };
184
+ export const EngagementType = {
185
+ INVESTIGATION: "Investigation",
186
+ SECURITY_INCIDENT: "Security Incident",
187
+ };
188
+ export const ResolverType = {
189
+ AWS: "AWS",
190
+ SELF: "Self",
191
+ };
192
+ export const CaseAttachmentStatus = {
193
+ FAILED: "Failed",
194
+ PENDING: "Pending",
195
+ VERIFIED: "Verified",
196
+ };
197
+ export const ClosureCode = {
198
+ DUPLICATE: "Duplicate",
199
+ FALSE_POSITIVE: "False Positive",
200
+ INVESTIGATION_COMPLETED: "Investigation Completed",
201
+ NOT_RESOLVED: "Not Resolved",
202
+ };
203
+ export const PendingAction = {
204
+ CUSTOMER: "Customer",
205
+ NONE: "None",
206
+ };
207
+ export const SelfManagedCaseStatus = {
208
+ CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
209
+ DETECTION_AND_ANALYSIS: "Detection and Analysis",
210
+ POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
211
+ SUBMITTED: "Submitted",
212
+ };
213
+ export const OptInFeatureName = {
214
+ TRIAGE: "Triage",
215
+ };
216
+ export const CustomerType = {
217
+ ORGANIZATION: "Organization",
218
+ STANDALONE: "Standalone",
219
+ };
220
+ export const MembershipStatus = {
221
+ ACTIVE: "Active",
222
+ CANCELLED: "Cancelled",
223
+ TERMINATED: "Terminated",
224
+ };
225
+ export const ThreatActorIpFilterSensitiveLog = (obj) => ({
226
+ ...obj,
227
+ ...(obj.ipAddress && { ipAddress: SENSITIVE_STRING }),
228
+ });
229
+ export const WatcherFilterSensitiveLog = (obj) => ({
230
+ ...obj,
231
+ ...(obj.email && { email: SENSITIVE_STRING }),
232
+ ...(obj.name && { name: SENSITIVE_STRING }),
233
+ ...(obj.jobTitle && { jobTitle: SENSITIVE_STRING }),
234
+ });
235
+ export const CreateCaseRequestFilterSensitiveLog = (obj) => ({
236
+ ...obj,
237
+ ...(obj.title && { title: SENSITIVE_STRING }),
238
+ ...(obj.description && { description: SENSITIVE_STRING }),
239
+ ...(obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) }),
240
+ ...(obj.threatActorIpAddresses && {
241
+ threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item)),
242
+ }),
243
+ });
244
+ export const CreateCaseCommentRequestFilterSensitiveLog = (obj) => ({
245
+ ...obj,
246
+ ...(obj.body && { body: SENSITIVE_STRING }),
247
+ });
248
+ export const CaseAttachmentAttributesFilterSensitiveLog = (obj) => ({
249
+ ...obj,
250
+ ...(obj.fileName && { fileName: SENSITIVE_STRING }),
251
+ });
252
+ export const GetCaseResponseFilterSensitiveLog = (obj) => ({
253
+ ...obj,
254
+ ...(obj.title && { title: SENSITIVE_STRING }),
255
+ ...(obj.description && { description: SENSITIVE_STRING }),
256
+ ...(obj.threatActorIpAddresses && {
257
+ threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item)),
258
+ }),
259
+ ...(obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) }),
260
+ ...(obj.caseAttachments && {
261
+ caseAttachments: obj.caseAttachments.map((item) => CaseAttachmentAttributesFilterSensitiveLog(item)),
262
+ }),
263
+ });
264
+ export const GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = (obj) => ({
265
+ ...obj,
266
+ ...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: SENSITIVE_STRING }),
267
+ });
268
+ export const GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = (obj) => ({
269
+ ...obj,
270
+ ...(obj.fileName && { fileName: SENSITIVE_STRING }),
271
+ });
272
+ export const GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = (obj) => ({
273
+ ...obj,
274
+ ...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: SENSITIVE_STRING }),
275
+ });
276
+ export const ListCasesItemFilterSensitiveLog = (obj) => ({
277
+ ...obj,
278
+ ...(obj.title && { title: SENSITIVE_STRING }),
279
+ });
280
+ export const ListCasesResponseFilterSensitiveLog = (obj) => ({
281
+ ...obj,
282
+ ...(obj.items && { items: obj.items.map((item) => ListCasesItemFilterSensitiveLog(item)) }),
283
+ });
284
+ export const ListCommentsItemFilterSensitiveLog = (obj) => ({
285
+ ...obj,
286
+ ...(obj.body && { body: SENSITIVE_STRING }),
287
+ });
288
+ export const ListCommentsResponseFilterSensitiveLog = (obj) => ({
289
+ ...obj,
290
+ ...(obj.items && { items: obj.items.map((item) => ListCommentsItemFilterSensitiveLog(item)) }),
291
+ });
292
+ export const UpdateCaseRequestFilterSensitiveLog = (obj) => ({
293
+ ...obj,
294
+ ...(obj.title && { title: SENSITIVE_STRING }),
295
+ ...(obj.description && { description: SENSITIVE_STRING }),
296
+ ...(obj.watchersToAdd && { watchersToAdd: obj.watchersToAdd.map((item) => WatcherFilterSensitiveLog(item)) }),
297
+ ...(obj.watchersToDelete && {
298
+ watchersToDelete: obj.watchersToDelete.map((item) => WatcherFilterSensitiveLog(item)),
299
+ }),
300
+ ...(obj.threatActorIpAddressesToAdd && {
301
+ threatActorIpAddressesToAdd: obj.threatActorIpAddressesToAdd.map((item) => ThreatActorIpFilterSensitiveLog(item)),
302
+ }),
303
+ ...(obj.threatActorIpAddressesToDelete && {
304
+ threatActorIpAddressesToDelete: obj.threatActorIpAddressesToDelete.map((item) => ThreatActorIpFilterSensitiveLog(item)),
305
+ }),
306
+ });
307
+ export const UpdateCaseCommentRequestFilterSensitiveLog = (obj) => ({
308
+ ...obj,
309
+ ...(obj.body && { body: SENSITIVE_STRING }),
310
+ });
311
+ export const UpdateCaseCommentResponseFilterSensitiveLog = (obj) => ({
312
+ ...obj,
313
+ ...(obj.body && { body: SENSITIVE_STRING }),
314
+ });
315
+ export const IncidentResponderFilterSensitiveLog = (obj) => ({
316
+ ...obj,
317
+ ...(obj.name && { name: SENSITIVE_STRING }),
318
+ ...(obj.jobTitle && { jobTitle: SENSITIVE_STRING }),
319
+ ...(obj.email && { email: SENSITIVE_STRING }),
320
+ });
321
+ export const CreateMembershipRequestFilterSensitiveLog = (obj) => ({
322
+ ...obj,
323
+ ...(obj.membershipName && { membershipName: SENSITIVE_STRING }),
324
+ ...(obj.incidentResponseTeam && {
325
+ incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
326
+ }),
327
+ });
328
+ export const GetMembershipResponseFilterSensitiveLog = (obj) => ({
329
+ ...obj,
330
+ ...(obj.membershipName && { membershipName: SENSITIVE_STRING }),
331
+ ...(obj.incidentResponseTeam && {
332
+ incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
333
+ }),
334
+ });
335
+ export const UpdateMembershipRequestFilterSensitiveLog = (obj) => ({
336
+ ...obj,
337
+ ...(obj.membershipName && { membershipName: SENSITIVE_STRING }),
338
+ ...(obj.incidentResponseTeam && {
339
+ incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
340
+ }),
341
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListCaseEditsCommand, } from "../commands/ListCaseEditsCommand";
3
+ import { SecurityIRClient } from "../SecurityIRClient";
4
+ export const paginateListCaseEdits = createPaginator(SecurityIRClient, ListCaseEditsCommand, "nextToken", "nextToken", "maxResults");