@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,114 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BatchGetMemberAccountDetailsRequest, BatchGetMemberAccountDetailsResponse } from "../models/models_0";
4
+ import { SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityIRClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchGetMemberAccountDetailsCommand}.
14
+ */
15
+ export interface BatchGetMemberAccountDetailsCommandInput extends BatchGetMemberAccountDetailsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetMemberAccountDetailsCommand}.
21
+ */
22
+ export interface BatchGetMemberAccountDetailsCommandOutput extends BatchGetMemberAccountDetailsResponse, __MetadataBearer {
23
+ }
24
+ declare const BatchGetMemberAccountDetailsCommand_base: {
25
+ new (input: BatchGetMemberAccountDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetMemberAccountDetailsCommandInput, BatchGetMemberAccountDetailsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: BatchGetMemberAccountDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetMemberAccountDetailsCommandInput, BatchGetMemberAccountDetailsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to view an existing membership.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, BatchGetMemberAccountDetailsCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, BatchGetMemberAccountDetailsCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // BatchGetMemberAccountDetailsRequest
38
+ * membershipId: "STRING_VALUE", // required
39
+ * accountIds: [ // AWSAccountIds // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new BatchGetMemberAccountDetailsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // BatchGetMemberAccountDetailsResponse
46
+ * // items: [ // GetMembershipAccountDetailItems
47
+ * // { // GetMembershipAccountDetailItem
48
+ * // accountId: "STRING_VALUE",
49
+ * // relationshipStatus: "Associated" || "Disassociated",
50
+ * // relationshipType: "Organization",
51
+ * // },
52
+ * // ],
53
+ * // errors: [ // GetMembershipAccountDetailErrors
54
+ * // { // GetMembershipAccountDetailError
55
+ * // accountId: "STRING_VALUE", // required
56
+ * // error: "STRING_VALUE", // required
57
+ * // message: "STRING_VALUE", // required
58
+ * // },
59
+ * // ],
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param BatchGetMemberAccountDetailsCommandInput - {@link BatchGetMemberAccountDetailsCommandInput}
65
+ * @returns {@link BatchGetMemberAccountDetailsCommandOutput}
66
+ * @see {@link BatchGetMemberAccountDetailsCommandInput} for command's `input` shape.
67
+ * @see {@link BatchGetMemberAccountDetailsCommandOutput} for command's `response` shape.
68
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p/>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p/>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p/>
78
+ *
79
+ * @throws {@link InvalidTokenException} (client fault)
80
+ * <p/>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p/>
84
+ *
85
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
86
+ * <p/>
87
+ *
88
+ * @throws {@link ServiceQuotaExceededException} (client fault)
89
+ * <p/>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p/>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p/>
96
+ *
97
+ * @throws {@link SecurityIRServiceException}
98
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
99
+ *
100
+ * @public
101
+ */
102
+ export declare class BatchGetMemberAccountDetailsCommand extends BatchGetMemberAccountDetailsCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: BatchGetMemberAccountDetailsRequest;
107
+ output: BatchGetMemberAccountDetailsResponse;
108
+ };
109
+ sdk: {
110
+ input: BatchGetMemberAccountDetailsCommandInput;
111
+ output: BatchGetMemberAccountDetailsCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CancelMembershipRequest, CancelMembershipResponse } from "../models/models_0";
4
+ import { SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityIRClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CancelMembershipCommand}.
14
+ */
15
+ export interface CancelMembershipCommandInput extends CancelMembershipRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CancelMembershipCommand}.
21
+ */
22
+ export interface CancelMembershipCommandOutput extends CancelMembershipResponse, __MetadataBearer {
23
+ }
24
+ declare const CancelMembershipCommand_base: {
25
+ new (input: CancelMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<CancelMembershipCommandInput, CancelMembershipCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CancelMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<CancelMembershipCommandInput, CancelMembershipCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permissions to cancel an existing membership.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, CancelMembershipCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, CancelMembershipCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // CancelMembershipRequest
38
+ * membershipId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new CancelMembershipCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // CancelMembershipResponse
43
+ * // membershipId: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param CancelMembershipCommandInput - {@link CancelMembershipCommandInput}
49
+ * @returns {@link CancelMembershipCommandOutput}
50
+ * @see {@link CancelMembershipCommandInput} for command's `input` shape.
51
+ * @see {@link CancelMembershipCommandOutput} for command's `response` shape.
52
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p/>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p/>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p/>
62
+ *
63
+ * @throws {@link InvalidTokenException} (client fault)
64
+ * <p/>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p/>
68
+ *
69
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
70
+ * <p/>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p/>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p/>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p/>
80
+ *
81
+ * @throws {@link SecurityIRServiceException}
82
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
83
+ *
84
+ * @public
85
+ */
86
+ export declare class CancelMembershipCommand extends CancelMembershipCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: CancelMembershipRequest;
91
+ output: CancelMembershipResponse;
92
+ };
93
+ sdk: {
94
+ input: CancelMembershipCommandInput;
95
+ output: CancelMembershipCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloseCaseRequest, CloseCaseResponse } from "../models/models_0";
4
+ import { SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityIRClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CloseCaseCommand}.
14
+ */
15
+ export interface CloseCaseCommandInput extends CloseCaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CloseCaseCommand}.
21
+ */
22
+ export interface CloseCaseCommandOutput extends CloseCaseResponse, __MetadataBearer {
23
+ }
24
+ declare const CloseCaseCommand_base: {
25
+ new (input: CloseCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CloseCaseCommandInput, CloseCaseCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CloseCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CloseCaseCommandInput, CloseCaseCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to close an existing case.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, CloseCaseCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, CloseCaseCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // CloseCaseRequest
38
+ * caseId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new CloseCaseCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // CloseCaseResponse
43
+ * // caseStatus: "Submitted" || "Acknowledged" || "Detection and Analysis" || "Containment, Eradication and Recovery" || "Post-incident Activities" || "Ready to Close" || "Closed",
44
+ * // closedDate: new Date("TIMESTAMP"),
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param CloseCaseCommandInput - {@link CloseCaseCommandInput}
50
+ * @returns {@link CloseCaseCommandOutput}
51
+ * @see {@link CloseCaseCommandInput} for command's `input` shape.
52
+ * @see {@link CloseCaseCommandOutput} for command's `response` shape.
53
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p/>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p/>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p/>
63
+ *
64
+ * @throws {@link InvalidTokenException} (client fault)
65
+ * <p/>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p/>
69
+ *
70
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
71
+ * <p/>
72
+ *
73
+ * @throws {@link ServiceQuotaExceededException} (client fault)
74
+ * <p/>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p/>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p/>
81
+ *
82
+ * @throws {@link SecurityIRServiceException}
83
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
84
+ *
85
+ * @public
86
+ */
87
+ export declare class CloseCaseCommand extends CloseCaseCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: CloseCaseRequest;
92
+ output: CloseCaseResponse;
93
+ };
94
+ sdk: {
95
+ input: CloseCaseCommandInput;
96
+ output: CloseCaseCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,130 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateCaseRequest, CreateCaseResponse } from "../models/models_0";
4
+ import { SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityIRClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateCaseCommand}.
14
+ */
15
+ export interface CreateCaseCommandInput extends CreateCaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateCaseCommand}.
21
+ */
22
+ export interface CreateCaseCommandOutput extends CreateCaseResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateCaseCommand_base: {
25
+ new (input: CreateCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCaseCommandInput, CreateCaseCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCaseCommandInput, CreateCaseCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to create a new case.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, CreateCaseCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, CreateCaseCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // CreateCaseRequest
38
+ * clientToken: "STRING_VALUE",
39
+ * resolverType: "AWS" || "Self", // required
40
+ * title: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE", // required
42
+ * engagementType: "Security Incident" || "Investigation", // required
43
+ * reportedIncidentStartDate: new Date("TIMESTAMP"), // required
44
+ * impactedAccounts: [ // ImpactedAccounts // required
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * watchers: [ // Watchers // required
48
+ * { // Watcher
49
+ * email: "STRING_VALUE", // required
50
+ * name: "STRING_VALUE",
51
+ * jobTitle: "STRING_VALUE",
52
+ * },
53
+ * ],
54
+ * threatActorIpAddresses: [ // ThreatActorIpList
55
+ * { // ThreatActorIp
56
+ * ipAddress: "STRING_VALUE", // required
57
+ * userAgent: "STRING_VALUE",
58
+ * },
59
+ * ],
60
+ * impactedServices: [ // ImpactedServicesList
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * impactedAwsRegions: [ // ImpactedAwsRegionList
64
+ * { // ImpactedAwsRegion
65
+ * region: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-4" || "ap-southeast-5" || "ca-central-1" || "ca-west-1" || "cn-north-1" || "cn-northwest-1" || "eu-central-1" || "eu-central-2" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "il-central-1" || "me-central-1" || "me-south-1" || "sa-east-1" || "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2", // required
66
+ * },
67
+ * ],
68
+ * tags: { // TagMap
69
+ * "<keys>": "STRING_VALUE",
70
+ * },
71
+ * };
72
+ * const command = new CreateCaseCommand(input);
73
+ * const response = await client.send(command);
74
+ * // { // CreateCaseResponse
75
+ * // caseId: "STRING_VALUE", // required
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param CreateCaseCommandInput - {@link CreateCaseCommandInput}
81
+ * @returns {@link CreateCaseCommandOutput}
82
+ * @see {@link CreateCaseCommandInput} for command's `input` shape.
83
+ * @see {@link CreateCaseCommandOutput} for command's `response` shape.
84
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
85
+ *
86
+ * @throws {@link AccessDeniedException} (client fault)
87
+ * <p/>
88
+ *
89
+ * @throws {@link ConflictException} (client fault)
90
+ * <p/>
91
+ *
92
+ * @throws {@link InternalServerException} (server fault)
93
+ * <p/>
94
+ *
95
+ * @throws {@link InvalidTokenException} (client fault)
96
+ * <p/>
97
+ *
98
+ * @throws {@link ResourceNotFoundException} (client fault)
99
+ * <p/>
100
+ *
101
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
102
+ * <p/>
103
+ *
104
+ * @throws {@link ServiceQuotaExceededException} (client fault)
105
+ * <p/>
106
+ *
107
+ * @throws {@link ThrottlingException} (client fault)
108
+ * <p/>
109
+ *
110
+ * @throws {@link ValidationException} (client fault)
111
+ * <p/>
112
+ *
113
+ * @throws {@link SecurityIRServiceException}
114
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
115
+ *
116
+ * @public
117
+ */
118
+ export declare class CreateCaseCommand extends CreateCaseCommand_base {
119
+ /** @internal type navigation helper, not in runtime. */
120
+ protected static __types: {
121
+ api: {
122
+ input: CreateCaseRequest;
123
+ output: CreateCaseResponse;
124
+ };
125
+ sdk: {
126
+ input: CreateCaseCommandInput;
127
+ output: CreateCaseCommandOutput;
128
+ };
129
+ };
130
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateCaseCommentRequest, CreateCaseCommentResponse } from "../models/models_0";
4
+ import { SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityIRClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateCaseCommentCommand}.
14
+ */
15
+ export interface CreateCaseCommentCommandInput extends CreateCaseCommentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateCaseCommentCommand}.
21
+ */
22
+ export interface CreateCaseCommentCommandOutput extends CreateCaseCommentResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateCaseCommentCommand_base: {
25
+ new (input: CreateCaseCommentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCaseCommentCommandInput, CreateCaseCommentCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateCaseCommentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCaseCommentCommandInput, CreateCaseCommentCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to add a comment to an existing case.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, CreateCaseCommentCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, CreateCaseCommentCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // CreateCaseCommentRequest
38
+ * caseId: "STRING_VALUE", // required
39
+ * clientToken: "STRING_VALUE",
40
+ * body: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new CreateCaseCommentCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // CreateCaseCommentResponse
45
+ * // commentId: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param CreateCaseCommentCommandInput - {@link CreateCaseCommentCommandInput}
51
+ * @returns {@link CreateCaseCommentCommandOutput}
52
+ * @see {@link CreateCaseCommentCommandInput} for command's `input` shape.
53
+ * @see {@link CreateCaseCommentCommandOutput} for command's `response` shape.
54
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p/>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p/>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p/>
64
+ *
65
+ * @throws {@link InvalidTokenException} (client fault)
66
+ * <p/>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p/>
70
+ *
71
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
72
+ * <p/>
73
+ *
74
+ * @throws {@link ServiceQuotaExceededException} (client fault)
75
+ * <p/>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p/>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p/>
82
+ *
83
+ * @throws {@link SecurityIRServiceException}
84
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class CreateCaseCommentCommand extends CreateCaseCommentCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: CreateCaseCommentRequest;
93
+ output: CreateCaseCommentResponse;
94
+ };
95
+ sdk: {
96
+ input: CreateCaseCommentCommandInput;
97
+ output: CreateCaseCommentCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,115 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateMembershipRequest, CreateMembershipResponse } from "../models/models_0";
4
+ import { SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityIRClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateMembershipCommand}.
14
+ */
15
+ export interface CreateMembershipCommandInput extends CreateMembershipRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateMembershipCommand}.
21
+ */
22
+ export interface CreateMembershipCommandOutput extends CreateMembershipResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateMembershipCommand_base: {
25
+ new (input: CreateMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMembershipCommandInput, CreateMembershipCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMembershipCommandInput, CreateMembershipCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permissions to create a new membership.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, CreateMembershipCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, CreateMembershipCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // CreateMembershipRequest
38
+ * clientToken: "STRING_VALUE",
39
+ * membershipName: "STRING_VALUE", // required
40
+ * incidentResponseTeam: [ // IncidentResponseTeam // required
41
+ * { // IncidentResponder
42
+ * name: "STRING_VALUE", // required
43
+ * jobTitle: "STRING_VALUE", // required
44
+ * email: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * optInFeatures: [ // OptInFeatures
48
+ * { // OptInFeature
49
+ * featureName: "Triage", // required
50
+ * isEnabled: true || false, // required
51
+ * },
52
+ * ],
53
+ * tags: { // TagMap
54
+ * "<keys>": "STRING_VALUE",
55
+ * },
56
+ * };
57
+ * const command = new CreateMembershipCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // CreateMembershipResponse
60
+ * // membershipId: "STRING_VALUE", // required
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param CreateMembershipCommandInput - {@link CreateMembershipCommandInput}
66
+ * @returns {@link CreateMembershipCommandOutput}
67
+ * @see {@link CreateMembershipCommandInput} for command's `input` shape.
68
+ * @see {@link CreateMembershipCommandOutput} for command's `response` shape.
69
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p/>
73
+ *
74
+ * @throws {@link ConflictException} (client fault)
75
+ * <p/>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p/>
79
+ *
80
+ * @throws {@link InvalidTokenException} (client fault)
81
+ * <p/>
82
+ *
83
+ * @throws {@link ResourceNotFoundException} (client fault)
84
+ * <p/>
85
+ *
86
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
87
+ * <p/>
88
+ *
89
+ * @throws {@link ServiceQuotaExceededException} (client fault)
90
+ * <p/>
91
+ *
92
+ * @throws {@link ThrottlingException} (client fault)
93
+ * <p/>
94
+ *
95
+ * @throws {@link ValidationException} (client fault)
96
+ * <p/>
97
+ *
98
+ * @throws {@link SecurityIRServiceException}
99
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
100
+ *
101
+ * @public
102
+ */
103
+ export declare class CreateMembershipCommand extends CreateMembershipCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: CreateMembershipRequest;
108
+ output: CreateMembershipResponse;
109
+ };
110
+ sdk: {
111
+ input: CreateMembershipCommandInput;
112
+ output: CreateMembershipCommandOutput;
113
+ };
114
+ };
115
+ }