@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,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetCaseAttachmentDownloadUrlRequest, GetCaseAttachmentDownloadUrlResponse } 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 GetCaseAttachmentDownloadUrlCommand}.
14
+ */
15
+ export interface GetCaseAttachmentDownloadUrlCommandInput extends GetCaseAttachmentDownloadUrlRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCaseAttachmentDownloadUrlCommand}.
21
+ */
22
+ export interface GetCaseAttachmentDownloadUrlCommandOutput extends GetCaseAttachmentDownloadUrlResponse, __MetadataBearer {
23
+ }
24
+ declare const GetCaseAttachmentDownloadUrlCommand_base: {
25
+ new (input: GetCaseAttachmentDownloadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetCaseAttachmentDownloadUrlCommandInput, GetCaseAttachmentDownloadUrlCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetCaseAttachmentDownloadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetCaseAttachmentDownloadUrlCommandInput, GetCaseAttachmentDownloadUrlCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to obtain an Amazon S3 presigned URL to download an attachment.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, GetCaseAttachmentDownloadUrlCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, GetCaseAttachmentDownloadUrlCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // GetCaseAttachmentDownloadUrlRequest
38
+ * caseId: "STRING_VALUE", // required
39
+ * attachmentId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetCaseAttachmentDownloadUrlCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetCaseAttachmentDownloadUrlResponse
44
+ * // attachmentPresignedUrl: "STRING_VALUE", // required
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param GetCaseAttachmentDownloadUrlCommandInput - {@link GetCaseAttachmentDownloadUrlCommandInput}
50
+ * @returns {@link GetCaseAttachmentDownloadUrlCommandOutput}
51
+ * @see {@link GetCaseAttachmentDownloadUrlCommandInput} for command's `input` shape.
52
+ * @see {@link GetCaseAttachmentDownloadUrlCommandOutput} 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 GetCaseAttachmentDownloadUrlCommand extends GetCaseAttachmentDownloadUrlCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: GetCaseAttachmentDownloadUrlRequest;
92
+ output: GetCaseAttachmentDownloadUrlResponse;
93
+ };
94
+ sdk: {
95
+ input: GetCaseAttachmentDownloadUrlCommandInput;
96
+ output: GetCaseAttachmentDownloadUrlCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetCaseAttachmentUploadUrlRequest, GetCaseAttachmentUploadUrlResponse } 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 GetCaseAttachmentUploadUrlCommand}.
14
+ */
15
+ export interface GetCaseAttachmentUploadUrlCommandInput extends GetCaseAttachmentUploadUrlRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCaseAttachmentUploadUrlCommand}.
21
+ */
22
+ export interface GetCaseAttachmentUploadUrlCommandOutput extends GetCaseAttachmentUploadUrlResponse, __MetadataBearer {
23
+ }
24
+ declare const GetCaseAttachmentUploadUrlCommand_base: {
25
+ new (input: GetCaseAttachmentUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetCaseAttachmentUploadUrlCommandInput, GetCaseAttachmentUploadUrlCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetCaseAttachmentUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetCaseAttachmentUploadUrlCommandInput, GetCaseAttachmentUploadUrlCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to upload an attachment to a 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, GetCaseAttachmentUploadUrlCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, GetCaseAttachmentUploadUrlCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // GetCaseAttachmentUploadUrlRequest
38
+ * caseId: "STRING_VALUE", // required
39
+ * fileName: "STRING_VALUE", // required
40
+ * contentLength: Number("long"), // required
41
+ * clientToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new GetCaseAttachmentUploadUrlCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetCaseAttachmentUploadUrlResponse
46
+ * // attachmentPresignedUrl: "STRING_VALUE", // required
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param GetCaseAttachmentUploadUrlCommandInput - {@link GetCaseAttachmentUploadUrlCommandInput}
52
+ * @returns {@link GetCaseAttachmentUploadUrlCommandOutput}
53
+ * @see {@link GetCaseAttachmentUploadUrlCommandInput} for command's `input` shape.
54
+ * @see {@link GetCaseAttachmentUploadUrlCommandOutput} for command's `response` shape.
55
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p/>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p/>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p/>
65
+ *
66
+ * @throws {@link InvalidTokenException} (client fault)
67
+ * <p/>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p/>
71
+ *
72
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
73
+ * <p/>
74
+ *
75
+ * @throws {@link ServiceQuotaExceededException} (client fault)
76
+ * <p/>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p/>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p/>
83
+ *
84
+ * @throws {@link SecurityIRServiceException}
85
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class GetCaseAttachmentUploadUrlCommand extends GetCaseAttachmentUploadUrlCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: GetCaseAttachmentUploadUrlRequest;
94
+ output: GetCaseAttachmentUploadUrlResponse;
95
+ };
96
+ sdk: {
97
+ input: GetCaseAttachmentUploadUrlCommandInput;
98
+ output: GetCaseAttachmentUploadUrlCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,143 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetCaseRequest, GetCaseResponse } 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 GetCaseCommand}.
14
+ */
15
+ export interface GetCaseCommandInput extends GetCaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCaseCommand}.
21
+ */
22
+ export interface GetCaseCommandOutput extends GetCaseResponse, __MetadataBearer {
23
+ }
24
+ declare const GetCaseCommand_base: {
25
+ new (input: GetCaseCommandInput): import("@smithy/smithy-client").CommandImpl<GetCaseCommandInput, GetCaseCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetCaseCommandInput): import("@smithy/smithy-client").CommandImpl<GetCaseCommandInput, GetCaseCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grant permission to view a designated 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, GetCaseCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, GetCaseCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // GetCaseRequest
38
+ * caseId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetCaseCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetCaseResponse
43
+ * // title: "STRING_VALUE",
44
+ * // caseArn: "STRING_VALUE",
45
+ * // description: "STRING_VALUE",
46
+ * // caseStatus: "Submitted" || "Acknowledged" || "Detection and Analysis" || "Containment, Eradication and Recovery" || "Post-incident Activities" || "Ready to Close" || "Closed",
47
+ * // engagementType: "Security Incident" || "Investigation",
48
+ * // reportedIncidentStartDate: new Date("TIMESTAMP"),
49
+ * // actualIncidentStartDate: new Date("TIMESTAMP"),
50
+ * // impactedAwsRegions: [ // ImpactedAwsRegionList
51
+ * // { // ImpactedAwsRegion
52
+ * // 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
53
+ * // },
54
+ * // ],
55
+ * // threatActorIpAddresses: [ // ThreatActorIpList
56
+ * // { // ThreatActorIp
57
+ * // ipAddress: "STRING_VALUE", // required
58
+ * // userAgent: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // pendingAction: "Customer" || "None",
62
+ * // impactedAccounts: [ // ImpactedAccounts
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // watchers: [ // Watchers
66
+ * // { // Watcher
67
+ * // email: "STRING_VALUE", // required
68
+ * // name: "STRING_VALUE",
69
+ * // jobTitle: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // createdDate: new Date("TIMESTAMP"),
73
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
74
+ * // closureCode: "Investigation Completed" || "Not Resolved" || "False Positive" || "Duplicate",
75
+ * // resolverType: "AWS" || "Self",
76
+ * // impactedServices: [ // ImpactedServicesList
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // caseAttachments: [ // CaseAttachmentsList
80
+ * // { // CaseAttachmentAttributes
81
+ * // attachmentId: "STRING_VALUE", // required
82
+ * // fileName: "STRING_VALUE", // required
83
+ * // attachmentStatus: "Verified" || "Failed" || "Pending", // required
84
+ * // creator: "STRING_VALUE", // required
85
+ * // createdDate: new Date("TIMESTAMP"), // required
86
+ * // },
87
+ * // ],
88
+ * // closedDate: new Date("TIMESTAMP"),
89
+ * // };
90
+ *
91
+ * ```
92
+ *
93
+ * @param GetCaseCommandInput - {@link GetCaseCommandInput}
94
+ * @returns {@link GetCaseCommandOutput}
95
+ * @see {@link GetCaseCommandInput} for command's `input` shape.
96
+ * @see {@link GetCaseCommandOutput} for command's `response` shape.
97
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
98
+ *
99
+ * @throws {@link AccessDeniedException} (client fault)
100
+ * <p/>
101
+ *
102
+ * @throws {@link ConflictException} (client fault)
103
+ * <p/>
104
+ *
105
+ * @throws {@link InternalServerException} (server fault)
106
+ * <p/>
107
+ *
108
+ * @throws {@link InvalidTokenException} (client fault)
109
+ * <p/>
110
+ *
111
+ * @throws {@link ResourceNotFoundException} (client fault)
112
+ * <p/>
113
+ *
114
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
115
+ * <p/>
116
+ *
117
+ * @throws {@link ServiceQuotaExceededException} (client fault)
118
+ * <p/>
119
+ *
120
+ * @throws {@link ThrottlingException} (client fault)
121
+ * <p/>
122
+ *
123
+ * @throws {@link ValidationException} (client fault)
124
+ * <p/>
125
+ *
126
+ * @throws {@link SecurityIRServiceException}
127
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
128
+ *
129
+ * @public
130
+ */
131
+ export declare class GetCaseCommand extends GetCaseCommand_base {
132
+ /** @internal type navigation helper, not in runtime. */
133
+ protected static __types: {
134
+ api: {
135
+ input: GetCaseRequest;
136
+ output: GetCaseResponse;
137
+ };
138
+ sdk: {
139
+ input: GetCaseCommandInput;
140
+ output: GetCaseCommandOutput;
141
+ };
142
+ };
143
+ }
@@ -0,0 +1,120 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetMembershipRequest, GetMembershipResponse } 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 GetMembershipCommand}.
14
+ */
15
+ export interface GetMembershipCommandInput extends GetMembershipRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetMembershipCommand}.
21
+ */
22
+ export interface GetMembershipCommandOutput extends GetMembershipResponse, __MetadataBearer {
23
+ }
24
+ declare const GetMembershipCommand_base: {
25
+ new (input: GetMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<GetMembershipCommandInput, GetMembershipCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<GetMembershipCommandInput, GetMembershipCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to get details of a designated service 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, GetMembershipCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, GetMembershipCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // GetMembershipRequest
38
+ * membershipId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetMembershipCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetMembershipResponse
43
+ * // membershipId: "STRING_VALUE", // required
44
+ * // accountId: "STRING_VALUE",
45
+ * // 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",
46
+ * // membershipName: "STRING_VALUE",
47
+ * // membershipArn: "STRING_VALUE",
48
+ * // membershipStatus: "Active" || "Cancelled" || "Terminated",
49
+ * // membershipActivationTimestamp: new Date("TIMESTAMP"),
50
+ * // membershipDeactivationTimestamp: new Date("TIMESTAMP"),
51
+ * // customerType: "Standalone" || "Organization",
52
+ * // numberOfAccountsCovered: Number("long"),
53
+ * // incidentResponseTeam: [ // IncidentResponseTeam
54
+ * // { // IncidentResponder
55
+ * // name: "STRING_VALUE", // required
56
+ * // jobTitle: "STRING_VALUE", // required
57
+ * // email: "STRING_VALUE", // required
58
+ * // },
59
+ * // ],
60
+ * // optInFeatures: [ // OptInFeatures
61
+ * // { // OptInFeature
62
+ * // featureName: "Triage", // required
63
+ * // isEnabled: true || false, // required
64
+ * // },
65
+ * // ],
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param GetMembershipCommandInput - {@link GetMembershipCommandInput}
71
+ * @returns {@link GetMembershipCommandOutput}
72
+ * @see {@link GetMembershipCommandInput} for command's `input` shape.
73
+ * @see {@link GetMembershipCommandOutput} for command's `response` shape.
74
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p/>
78
+ *
79
+ * @throws {@link ConflictException} (client fault)
80
+ * <p/>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p/>
84
+ *
85
+ * @throws {@link InvalidTokenException} (client fault)
86
+ * <p/>
87
+ *
88
+ * @throws {@link ResourceNotFoundException} (client fault)
89
+ * <p/>
90
+ *
91
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
92
+ * <p/>
93
+ *
94
+ * @throws {@link ServiceQuotaExceededException} (client fault)
95
+ * <p/>
96
+ *
97
+ * @throws {@link ThrottlingException} (client fault)
98
+ * <p/>
99
+ *
100
+ * @throws {@link ValidationException} (client fault)
101
+ * <p/>
102
+ *
103
+ * @throws {@link SecurityIRServiceException}
104
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
105
+ *
106
+ * @public
107
+ */
108
+ export declare class GetMembershipCommand extends GetMembershipCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: GetMembershipRequest;
113
+ output: GetMembershipResponse;
114
+ };
115
+ sdk: {
116
+ input: GetMembershipCommandInput;
117
+ output: GetMembershipCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListCaseEditsRequest, ListCaseEditsResponse } 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 ListCaseEditsCommand}.
14
+ */
15
+ export interface ListCaseEditsCommandInput extends ListCaseEditsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCaseEditsCommand}.
21
+ */
22
+ export interface ListCaseEditsCommandOutput extends ListCaseEditsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListCaseEditsCommand_base: {
25
+ new (input: ListCaseEditsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCaseEditsCommandInput, ListCaseEditsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListCaseEditsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCaseEditsCommandInput, ListCaseEditsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permissions to view the aidt log for edits made to a designated 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, ListCaseEditsCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, ListCaseEditsCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // ListCaseEditsRequest
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * caseId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListCaseEditsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListCaseEditsResponse
45
+ * // nextToken: "STRING_VALUE",
46
+ * // items: [ // CaseEditItems
47
+ * // { // CaseEditItem
48
+ * // eventTimestamp: new Date("TIMESTAMP"),
49
+ * // principal: "STRING_VALUE",
50
+ * // action: "STRING_VALUE",
51
+ * // message: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // total: Number("int"),
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListCaseEditsCommandInput - {@link ListCaseEditsCommandInput}
60
+ * @returns {@link ListCaseEditsCommandOutput}
61
+ * @see {@link ListCaseEditsCommandInput} for command's `input` shape.
62
+ * @see {@link ListCaseEditsCommandOutput} for command's `response` shape.
63
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p/>
67
+ *
68
+ * @throws {@link ConflictException} (client fault)
69
+ * <p/>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p/>
73
+ *
74
+ * @throws {@link InvalidTokenException} (client fault)
75
+ * <p/>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p/>
79
+ *
80
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
81
+ * <p/>
82
+ *
83
+ * @throws {@link ServiceQuotaExceededException} (client fault)
84
+ * <p/>
85
+ *
86
+ * @throws {@link ThrottlingException} (client fault)
87
+ * <p/>
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ * <p/>
91
+ *
92
+ * @throws {@link SecurityIRServiceException}
93
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
94
+ *
95
+ * @public
96
+ */
97
+ export declare class ListCaseEditsCommand extends ListCaseEditsCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: ListCaseEditsRequest;
102
+ output: ListCaseEditsResponse;
103
+ };
104
+ sdk: {
105
+ input: ListCaseEditsCommandInput;
106
+ output: ListCaseEditsCommandOutput;
107
+ };
108
+ };
109
+ }