@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,149 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateCaseRequest, UpdateCaseResponse } 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 UpdateCaseCommand}.
14
+ */
15
+ export interface UpdateCaseCommandInput extends UpdateCaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateCaseCommand}.
21
+ */
22
+ export interface UpdateCaseCommandOutput extends UpdateCaseResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateCaseCommand_base: {
25
+ new (input: UpdateCaseCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCaseCommandInput, UpdateCaseCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateCaseCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCaseCommandInput, UpdateCaseCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to update 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, UpdateCaseCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, UpdateCaseCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // UpdateCaseRequest
38
+ * caseId: "STRING_VALUE", // required
39
+ * title: "STRING_VALUE",
40
+ * description: "STRING_VALUE",
41
+ * reportedIncidentStartDate: new Date("TIMESTAMP"),
42
+ * actualIncidentStartDate: new Date("TIMESTAMP"),
43
+ * engagementType: "Security Incident" || "Investigation",
44
+ * watchersToAdd: [ // Watchers
45
+ * { // Watcher
46
+ * email: "STRING_VALUE", // required
47
+ * name: "STRING_VALUE",
48
+ * jobTitle: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * watchersToDelete: [
52
+ * {
53
+ * email: "STRING_VALUE", // required
54
+ * name: "STRING_VALUE",
55
+ * jobTitle: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * threatActorIpAddressesToAdd: [ // ThreatActorIpList
59
+ * { // ThreatActorIp
60
+ * ipAddress: "STRING_VALUE", // required
61
+ * userAgent: "STRING_VALUE",
62
+ * },
63
+ * ],
64
+ * threatActorIpAddressesToDelete: [
65
+ * {
66
+ * ipAddress: "STRING_VALUE", // required
67
+ * userAgent: "STRING_VALUE",
68
+ * },
69
+ * ],
70
+ * impactedServicesToAdd: [ // ImpactedServicesList
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * impactedServicesToDelete: [
74
+ * "STRING_VALUE",
75
+ * ],
76
+ * impactedAwsRegionsToAdd: [ // ImpactedAwsRegionList
77
+ * { // ImpactedAwsRegion
78
+ * 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
79
+ * },
80
+ * ],
81
+ * impactedAwsRegionsToDelete: [
82
+ * {
83
+ * 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
84
+ * },
85
+ * ],
86
+ * impactedAccountsToAdd: [ // ImpactedAccounts
87
+ * "STRING_VALUE",
88
+ * ],
89
+ * impactedAccountsToDelete: [
90
+ * "STRING_VALUE",
91
+ * ],
92
+ * };
93
+ * const command = new UpdateCaseCommand(input);
94
+ * const response = await client.send(command);
95
+ * // {};
96
+ *
97
+ * ```
98
+ *
99
+ * @param UpdateCaseCommandInput - {@link UpdateCaseCommandInput}
100
+ * @returns {@link UpdateCaseCommandOutput}
101
+ * @see {@link UpdateCaseCommandInput} for command's `input` shape.
102
+ * @see {@link UpdateCaseCommandOutput} for command's `response` shape.
103
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
104
+ *
105
+ * @throws {@link AccessDeniedException} (client fault)
106
+ * <p/>
107
+ *
108
+ * @throws {@link ConflictException} (client fault)
109
+ * <p/>
110
+ *
111
+ * @throws {@link InternalServerException} (server fault)
112
+ * <p/>
113
+ *
114
+ * @throws {@link InvalidTokenException} (client fault)
115
+ * <p/>
116
+ *
117
+ * @throws {@link ResourceNotFoundException} (client fault)
118
+ * <p/>
119
+ *
120
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
121
+ * <p/>
122
+ *
123
+ * @throws {@link ServiceQuotaExceededException} (client fault)
124
+ * <p/>
125
+ *
126
+ * @throws {@link ThrottlingException} (client fault)
127
+ * <p/>
128
+ *
129
+ * @throws {@link ValidationException} (client fault)
130
+ * <p/>
131
+ *
132
+ * @throws {@link SecurityIRServiceException}
133
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
134
+ *
135
+ * @public
136
+ */
137
+ export declare class UpdateCaseCommand extends UpdateCaseCommand_base {
138
+ /** @internal type navigation helper, not in runtime. */
139
+ protected static __types: {
140
+ api: {
141
+ input: UpdateCaseRequest;
142
+ output: {};
143
+ };
144
+ sdk: {
145
+ input: UpdateCaseCommandInput;
146
+ output: UpdateCaseCommandOutput;
147
+ };
148
+ };
149
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateCaseCommentRequest, UpdateCaseCommentResponse } 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 UpdateCaseCommentCommand}.
14
+ */
15
+ export interface UpdateCaseCommentCommandInput extends UpdateCaseCommentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateCaseCommentCommand}.
21
+ */
22
+ export interface UpdateCaseCommentCommandOutput extends UpdateCaseCommentResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateCaseCommentCommand_base: {
25
+ new (input: UpdateCaseCommentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCaseCommentCommandInput, UpdateCaseCommentCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateCaseCommentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCaseCommentCommandInput, UpdateCaseCommentCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to update an existing case comment.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, UpdateCaseCommentCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, UpdateCaseCommentCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // UpdateCaseCommentRequest
38
+ * caseId: "STRING_VALUE", // required
39
+ * commentId: "STRING_VALUE", // required
40
+ * body: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new UpdateCaseCommentCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // UpdateCaseCommentResponse
45
+ * // commentId: "STRING_VALUE", // required
46
+ * // body: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param UpdateCaseCommentCommandInput - {@link UpdateCaseCommentCommandInput}
52
+ * @returns {@link UpdateCaseCommentCommandOutput}
53
+ * @see {@link UpdateCaseCommentCommandInput} for command's `input` shape.
54
+ * @see {@link UpdateCaseCommentCommandOutput} 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 UpdateCaseCommentCommand extends UpdateCaseCommentCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: UpdateCaseCommentRequest;
94
+ output: UpdateCaseCommentResponse;
95
+ };
96
+ sdk: {
97
+ input: UpdateCaseCommentCommandInput;
98
+ output: UpdateCaseCommentCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateCaseStatusRequest, UpdateCaseStatusResponse } 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 UpdateCaseStatusCommand}.
14
+ */
15
+ export interface UpdateCaseStatusCommandInput extends UpdateCaseStatusRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateCaseStatusCommand}.
21
+ */
22
+ export interface UpdateCaseStatusCommandOutput extends UpdateCaseStatusResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateCaseStatusCommand_base: {
25
+ new (input: UpdateCaseStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCaseStatusCommandInput, UpdateCaseStatusCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateCaseStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCaseStatusCommandInput, UpdateCaseStatusCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to update the status for a designated cases. Options include <code>Submitted |
31
+ * Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed</code>.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityIRClient, UpdateCaseStatusCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
37
+ * // const { SecurityIRClient, UpdateCaseStatusCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
38
+ * const client = new SecurityIRClient(config);
39
+ * const input = { // UpdateCaseStatusRequest
40
+ * caseId: "STRING_VALUE", // required
41
+ * caseStatus: "Submitted" || "Detection and Analysis" || "Containment, Eradication and Recovery" || "Post-incident Activities", // required
42
+ * };
43
+ * const command = new UpdateCaseStatusCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateCaseStatusResponse
46
+ * // caseStatus: "Submitted" || "Detection and Analysis" || "Containment, Eradication and Recovery" || "Post-incident Activities",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param UpdateCaseStatusCommandInput - {@link UpdateCaseStatusCommandInput}
52
+ * @returns {@link UpdateCaseStatusCommandOutput}
53
+ * @see {@link UpdateCaseStatusCommandInput} for command's `input` shape.
54
+ * @see {@link UpdateCaseStatusCommandOutput} 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 UpdateCaseStatusCommand extends UpdateCaseStatusCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: UpdateCaseStatusRequest;
94
+ output: UpdateCaseStatusResponse;
95
+ };
96
+ sdk: {
97
+ input: UpdateCaseStatusCommandInput;
98
+ output: UpdateCaseStatusCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,110 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateMembershipRequest, UpdateMembershipResponse } 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 UpdateMembershipCommand}.
14
+ */
15
+ export interface UpdateMembershipCommandInput extends UpdateMembershipRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateMembershipCommand}.
21
+ */
22
+ export interface UpdateMembershipCommandOutput extends UpdateMembershipResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateMembershipCommand_base: {
25
+ new (input: UpdateMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMembershipCommandInput, UpdateMembershipCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMembershipCommandInput, UpdateMembershipCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants access to UpdateMembership to change membership configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, UpdateMembershipCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, UpdateMembershipCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // UpdateMembershipRequest
38
+ * membershipId: "STRING_VALUE", // required
39
+ * membershipName: "STRING_VALUE",
40
+ * incidentResponseTeam: [ // IncidentResponseTeam
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
+ * };
54
+ * const command = new UpdateMembershipCommand(input);
55
+ * const response = await client.send(command);
56
+ * // {};
57
+ *
58
+ * ```
59
+ *
60
+ * @param UpdateMembershipCommandInput - {@link UpdateMembershipCommandInput}
61
+ * @returns {@link UpdateMembershipCommandOutput}
62
+ * @see {@link UpdateMembershipCommandInput} for command's `input` shape.
63
+ * @see {@link UpdateMembershipCommandOutput} for command's `response` shape.
64
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p/>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p/>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p/>
74
+ *
75
+ * @throws {@link InvalidTokenException} (client fault)
76
+ * <p/>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p/>
80
+ *
81
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
82
+ * <p/>
83
+ *
84
+ * @throws {@link ServiceQuotaExceededException} (client fault)
85
+ * <p/>
86
+ *
87
+ * @throws {@link ThrottlingException} (client fault)
88
+ * <p/>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p/>
92
+ *
93
+ * @throws {@link SecurityIRServiceException}
94
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
95
+ *
96
+ * @public
97
+ */
98
+ export declare class UpdateMembershipCommand extends UpdateMembershipCommand_base {
99
+ /** @internal type navigation helper, not in runtime. */
100
+ protected static __types: {
101
+ api: {
102
+ input: UpdateMembershipRequest;
103
+ output: {};
104
+ };
105
+ sdk: {
106
+ input: UpdateMembershipCommandInput;
107
+ output: UpdateMembershipCommandOutput;
108
+ };
109
+ };
110
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateResolverTypeRequest, UpdateResolverTypeResponse } 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 UpdateResolverTypeCommand}.
14
+ */
15
+ export interface UpdateResolverTypeCommandInput extends UpdateResolverTypeRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateResolverTypeCommand}.
21
+ */
22
+ export interface UpdateResolverTypeCommandOutput extends UpdateResolverTypeResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateResolverTypeCommand_base: {
25
+ new (input: UpdateResolverTypeCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResolverTypeCommandInput, UpdateResolverTypeCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateResolverTypeCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResolverTypeCommandInput, UpdateResolverTypeCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to update the resolver type for a case.</p>
31
+ * <important>
32
+ * <p>This is a one-way action and cannot be reversed.</p>
33
+ * </important>
34
+ * <p>Options include self-supported &gt; AWS-supported.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { SecurityIRClient, UpdateResolverTypeCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
39
+ * // const { SecurityIRClient, UpdateResolverTypeCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
40
+ * const client = new SecurityIRClient(config);
41
+ * const input = { // UpdateResolverTypeRequest
42
+ * caseId: "STRING_VALUE", // required
43
+ * resolverType: "AWS" || "Self", // required
44
+ * };
45
+ * const command = new UpdateResolverTypeCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // UpdateResolverTypeResponse
48
+ * // caseId: "STRING_VALUE", // required
49
+ * // caseStatus: "Submitted" || "Acknowledged" || "Detection and Analysis" || "Containment, Eradication and Recovery" || "Post-incident Activities" || "Ready to Close" || "Closed",
50
+ * // resolverType: "AWS" || "Self",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param UpdateResolverTypeCommandInput - {@link UpdateResolverTypeCommandInput}
56
+ * @returns {@link UpdateResolverTypeCommandOutput}
57
+ * @see {@link UpdateResolverTypeCommandInput} for command's `input` shape.
58
+ * @see {@link UpdateResolverTypeCommandOutput} for command's `response` shape.
59
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p/>
63
+ *
64
+ * @throws {@link ConflictException} (client fault)
65
+ * <p/>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p/>
69
+ *
70
+ * @throws {@link InvalidTokenException} (client fault)
71
+ * <p/>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p/>
75
+ *
76
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
77
+ * <p/>
78
+ *
79
+ * @throws {@link ServiceQuotaExceededException} (client fault)
80
+ * <p/>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p/>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p/>
87
+ *
88
+ * @throws {@link SecurityIRServiceException}
89
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
90
+ *
91
+ * @public
92
+ */
93
+ export declare class UpdateResolverTypeCommand extends UpdateResolverTypeCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: UpdateResolverTypeRequest;
98
+ output: UpdateResolverTypeResponse;
99
+ };
100
+ sdk: {
101
+ input: UpdateResolverTypeCommandInput;
102
+ output: UpdateResolverTypeCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -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,34 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | Provider<boolean>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | Provider<string>;
9
+ }
10
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ defaultSigningName: string;
12
+ };
13
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
14
+ defaultSigningName: string;
15
+ };
16
+ export declare const commonParams: {
17
+ readonly UseFIPS: {
18
+ readonly type: "builtInParams";
19
+ readonly name: "useFipsEndpoint";
20
+ };
21
+ readonly Endpoint: {
22
+ readonly type: "builtInParams";
23
+ readonly name: "endpoint";
24
+ };
25
+ readonly Region: {
26
+ readonly type: "builtInParams";
27
+ readonly name: "region";
28
+ };
29
+ };
30
+ export interface EndpointParameters extends __EndpointParameters {
31
+ UseFIPS?: boolean;
32
+ Endpoint?: string;
33
+ Region?: string;
34
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface SecurityIRExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * <p>This guide provides documents the action and response elements for customer use of the service.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./SecurityIRClient";
7
+ export * from "./SecurityIR";
8
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { SecurityIRExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./pagination";
13
+ export * from "./models";
14
+ export { SecurityIRServiceException } from "./models/SecurityIRServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from SecurityIR service.
8
+ */
9
+ export declare class SecurityIRServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }