@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 { ListCasesRequest, ListCasesResponse } 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 ListCasesCommand}.
14
+ */
15
+ export interface ListCasesCommandInput extends ListCasesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCasesCommand}.
21
+ */
22
+ export interface ListCasesCommandOutput extends ListCasesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListCasesCommand_base: {
25
+ new (input: ListCasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListCasesCommandInput, ListCasesCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListCasesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCasesCommandInput, ListCasesCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to list all cases the requester has access to.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, ListCasesCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, ListCasesCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // ListCasesRequest
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
41
+ * const command = new ListCasesCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListCasesResponse
44
+ * // nextToken: "STRING_VALUE",
45
+ * // items: [ // ListCasesItems
46
+ * // { // ListCasesItem
47
+ * // caseId: "STRING_VALUE", // required
48
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
49
+ * // title: "STRING_VALUE",
50
+ * // caseArn: "STRING_VALUE",
51
+ * // engagementType: "Security Incident" || "Investigation",
52
+ * // caseStatus: "Submitted" || "Acknowledged" || "Detection and Analysis" || "Containment, Eradication and Recovery" || "Post-incident Activities" || "Ready to Close" || "Closed",
53
+ * // createdDate: new Date("TIMESTAMP"),
54
+ * // closedDate: new Date("TIMESTAMP"),
55
+ * // resolverType: "AWS" || "Self",
56
+ * // pendingAction: "Customer" || "None",
57
+ * // },
58
+ * // ],
59
+ * // total: Number("long"),
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListCasesCommandInput - {@link ListCasesCommandInput}
65
+ * @returns {@link ListCasesCommandOutput}
66
+ * @see {@link ListCasesCommandInput} for command's `input` shape.
67
+ * @see {@link ListCasesCommandOutput} 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 ListCasesCommand extends ListCasesCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: ListCasesRequest;
107
+ output: ListCasesResponse;
108
+ };
109
+ sdk: {
110
+ input: ListCasesCommandInput;
111
+ output: ListCasesCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -0,0 +1,111 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListCommentsRequest, ListCommentsResponse } 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 ListCommentsCommand}.
14
+ */
15
+ export interface ListCommentsCommandInput extends ListCommentsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCommentsCommand}.
21
+ */
22
+ export interface ListCommentsCommandOutput extends ListCommentsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListCommentsCommand_base: {
25
+ new (input: ListCommentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCommentsCommandInput, ListCommentsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListCommentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCommentsCommandInput, ListCommentsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permissions to list and view comments for 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, ListCommentsCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, ListCommentsCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // ListCommentsRequest
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * caseId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListCommentsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListCommentsResponse
45
+ * // nextToken: "STRING_VALUE",
46
+ * // items: [ // ListCommentsItems
47
+ * // { // ListCommentsItem
48
+ * // commentId: "STRING_VALUE", // required
49
+ * // createdDate: new Date("TIMESTAMP"),
50
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
51
+ * // creator: "STRING_VALUE",
52
+ * // lastUpdatedBy: "STRING_VALUE",
53
+ * // body: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // total: Number("int"),
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListCommentsCommandInput - {@link ListCommentsCommandInput}
62
+ * @returns {@link ListCommentsCommandOutput}
63
+ * @see {@link ListCommentsCommandInput} for command's `input` shape.
64
+ * @see {@link ListCommentsCommandOutput} for command's `response` shape.
65
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p/>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p/>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p/>
75
+ *
76
+ * @throws {@link InvalidTokenException} (client fault)
77
+ * <p/>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p/>
81
+ *
82
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
83
+ * <p/>
84
+ *
85
+ * @throws {@link ServiceQuotaExceededException} (client fault)
86
+ * <p/>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p/>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p/>
93
+ *
94
+ * @throws {@link SecurityIRServiceException}
95
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
96
+ *
97
+ * @public
98
+ */
99
+ export declare class ListCommentsCommand extends ListCommentsCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: ListCommentsRequest;
104
+ output: ListCommentsResponse;
105
+ };
106
+ sdk: {
107
+ input: ListCommentsCommandInput;
108
+ output: ListCommentsCommandOutput;
109
+ };
110
+ };
111
+ }
@@ -0,0 +1,108 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListMembershipsRequest, ListMembershipsResponse } 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 ListMembershipsCommand}.
14
+ */
15
+ export interface ListMembershipsCommandInput extends ListMembershipsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListMembershipsCommand}.
21
+ */
22
+ export interface ListMembershipsCommandOutput extends ListMembershipsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListMembershipsCommand_base: {
25
+ new (input: ListMembershipsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListMembershipsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to query the memberships a principal has access to.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, ListMembershipsCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, ListMembershipsCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // ListMembershipsRequest
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
41
+ * const command = new ListMembershipsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListMembershipsResponse
44
+ * // nextToken: "STRING_VALUE",
45
+ * // items: [ // ListMembershipItems
46
+ * // { // ListMembershipItem
47
+ * // membershipId: "STRING_VALUE", // required
48
+ * // accountId: "STRING_VALUE",
49
+ * // 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",
50
+ * // membershipArn: "STRING_VALUE",
51
+ * // membershipStatus: "Active" || "Cancelled" || "Terminated",
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListMembershipsCommandInput - {@link ListMembershipsCommandInput}
59
+ * @returns {@link ListMembershipsCommandOutput}
60
+ * @see {@link ListMembershipsCommandInput} for command's `input` shape.
61
+ * @see {@link ListMembershipsCommandOutput} for command's `response` shape.
62
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p/>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p/>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p/>
72
+ *
73
+ * @throws {@link InvalidTokenException} (client fault)
74
+ * <p/>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p/>
78
+ *
79
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
80
+ * <p/>
81
+ *
82
+ * @throws {@link ServiceQuotaExceededException} (client fault)
83
+ * <p/>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p/>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p/>
90
+ *
91
+ * @throws {@link SecurityIRServiceException}
92
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
93
+ *
94
+ * @public
95
+ */
96
+ export declare class ListMembershipsCommand extends ListMembershipsCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: ListMembershipsRequest;
101
+ output: ListMembershipsResponse;
102
+ };
103
+ sdk: {
104
+ input: ListMembershipsCommandInput;
105
+ output: ListMembershipsCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTagsForResourceInput, ListTagsForResourceOutput } 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 ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to view currently configured tags on a resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, ListTagsForResourceCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, ListTagsForResourceCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // ListTagsForResourceInput
38
+ * resourceArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new ListTagsForResourceCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListTagsForResourceOutput
43
+ * // tags: { // TagMap // required
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
51
+ * @returns {@link ListTagsForResourceCommandOutput}
52
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
53
+ * @see {@link ListTagsForResourceCommandOutput} 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 ResourceNotFoundException} (client fault)
60
+ * <p/>
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ * <p/>
64
+ *
65
+ * @throws {@link ConflictException} (client fault)
66
+ * <p/>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p/>
70
+ *
71
+ * @throws {@link InvalidTokenException} (client fault)
72
+ * <p/>
73
+ *
74
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
75
+ * <p/>
76
+ *
77
+ * @throws {@link ServiceQuotaExceededException} (client fault)
78
+ * <p/>
79
+ *
80
+ * @throws {@link ThrottlingException} (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 ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ListTagsForResourceInput;
93
+ output: ListTagsForResourceOutput;
94
+ };
95
+ sdk: {
96
+ input: ListTagsForResourceCommandInput;
97
+ output: ListTagsForResourceCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { TagResourceInput, TagResourceOutput } 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 TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to add a tag(s) to a designated resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, TagResourceCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, TagResourceCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // TagResourceInput
38
+ * resourceArn: "STRING_VALUE", // required
39
+ * tags: { // TagMap // required
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * };
43
+ * const command = new TagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
50
+ * @returns {@link TagResourceCommandOutput}
51
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link TagResourceCommandOutput} 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 ResourceNotFoundException} (client fault)
59
+ * <p/>
60
+ *
61
+ * @throws {@link ValidationException} (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 SecurityIncidentResponseNotActiveException} (client fault)
74
+ * <p/>
75
+ *
76
+ * @throws {@link ServiceQuotaExceededException} (client fault)
77
+ * <p/>
78
+ *
79
+ * @throws {@link ThrottlingException} (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 TagResourceCommand extends TagResourceCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: TagResourceInput;
92
+ output: {};
93
+ };
94
+ sdk: {
95
+ input: TagResourceCommandInput;
96
+ output: TagResourceCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UntagResourceInput, UntagResourceOutput } 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 UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to remove a tag(s) from a designate resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, UntagResourceCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, UntagResourceCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * const client = new SecurityIRClient(config);
37
+ * const input = { // UntagResourceInput
38
+ * resourceArn: "STRING_VALUE", // required
39
+ * tagKeys: [ // TagKeys // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new UntagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
50
+ * @returns {@link UntagResourceCommandOutput}
51
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link UntagResourceCommandOutput} 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 ResourceNotFoundException} (client fault)
59
+ * <p/>
60
+ *
61
+ * @throws {@link ValidationException} (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 SecurityIncidentResponseNotActiveException} (client fault)
74
+ * <p/>
75
+ *
76
+ * @throws {@link ServiceQuotaExceededException} (client fault)
77
+ * <p/>
78
+ *
79
+ * @throws {@link ThrottlingException} (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 UntagResourceCommand extends UntagResourceCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: UntagResourceInput;
92
+ output: {};
93
+ };
94
+ sdk: {
95
+ input: UntagResourceCommandInput;
96
+ output: UntagResourceCommandOutput;
97
+ };
98
+ };
99
+ }