@aws-sdk/client-securityagent 3.1070.0 → 3.1071.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 (162) hide show
  1. package/README.md +217 -0
  2. package/dist-cjs/index.js +573 -1
  3. package/dist-cjs/models/errors.js +12 -0
  4. package/dist-cjs/schemas/schemas_0.js +1143 -103
  5. package/dist-es/SecurityAgent.js +76 -0
  6. package/dist-es/commands/BatchCreateSecurityRequirementsCommand.js +16 -0
  7. package/dist-es/commands/BatchDeleteSecurityRequirementsCommand.js +16 -0
  8. package/dist-es/commands/BatchDeleteThreatModelsCommand.js +16 -0
  9. package/dist-es/commands/BatchGetSecurityRequirementsCommand.js +16 -0
  10. package/dist-es/commands/BatchGetThreatModelJobTasksCommand.js +16 -0
  11. package/dist-es/commands/BatchGetThreatModelJobsCommand.js +16 -0
  12. package/dist-es/commands/BatchGetThreatModelsCommand.js +16 -0
  13. package/dist-es/commands/BatchGetThreatsCommand.js +16 -0
  14. package/dist-es/commands/BatchUpdateSecurityRequirementsCommand.js +16 -0
  15. package/dist-es/commands/CreatePrivateConnectionCommand.js +16 -0
  16. package/dist-es/commands/CreateSecurityRequirementPackCommand.js +16 -0
  17. package/dist-es/commands/CreateThreatCommand.js +16 -0
  18. package/dist-es/commands/CreateThreatModelCommand.js +16 -0
  19. package/dist-es/commands/DeletePrivateConnectionCommand.js +16 -0
  20. package/dist-es/commands/DeleteSecurityRequirementPackCommand.js +16 -0
  21. package/dist-es/commands/DescribePrivateConnectionCommand.js +16 -0
  22. package/dist-es/commands/GetSecurityRequirementPackCommand.js +16 -0
  23. package/dist-es/commands/ImportSecurityRequirementsCommand.js +16 -0
  24. package/dist-es/commands/ListPrivateConnectionsCommand.js +16 -0
  25. package/dist-es/commands/ListSecurityRequirementPacksCommand.js +16 -0
  26. package/dist-es/commands/ListSecurityRequirementsCommand.js +16 -0
  27. package/dist-es/commands/ListThreatModelJobTasksCommand.js +16 -0
  28. package/dist-es/commands/ListThreatModelJobsCommand.js +16 -0
  29. package/dist-es/commands/ListThreatModelsCommand.js +16 -0
  30. package/dist-es/commands/ListThreatsCommand.js +16 -0
  31. package/dist-es/commands/StartThreatModelJobCommand.js +16 -0
  32. package/dist-es/commands/StopThreatModelJobCommand.js +16 -0
  33. package/dist-es/commands/UpdatePrivateConnectionCertificateCommand.js +16 -0
  34. package/dist-es/commands/UpdateSecurityRequirementPackCommand.js +16 -0
  35. package/dist-es/commands/UpdateThreatCommand.js +16 -0
  36. package/dist-es/commands/UpdateThreatModelCommand.js +16 -0
  37. package/dist-es/commands/index.js +31 -0
  38. package/dist-es/models/enums.js +93 -0
  39. package/dist-es/models/errors.js +12 -0
  40. package/dist-es/pagination/ListPrivateConnectionsPaginator.js +4 -0
  41. package/dist-es/pagination/ListSecurityRequirementPacksPaginator.js +4 -0
  42. package/dist-es/pagination/ListSecurityRequirementsPaginator.js +4 -0
  43. package/dist-es/pagination/ListThreatModelJobTasksPaginator.js +4 -0
  44. package/dist-es/pagination/ListThreatModelJobsPaginator.js +4 -0
  45. package/dist-es/pagination/ListThreatModelsPaginator.js +4 -0
  46. package/dist-es/pagination/ListThreatsPaginator.js +4 -0
  47. package/dist-es/pagination/index.js +7 -0
  48. package/dist-es/schemas/schemas_0.js +1040 -103
  49. package/dist-types/SecurityAgent.d.ts +268 -0
  50. package/dist-types/SecurityAgentClient.d.ts +33 -2
  51. package/dist-types/commands/BatchCreateSecurityRequirementsCommand.d.ts +124 -0
  52. package/dist-types/commands/BatchDeletePentestsCommand.d.ts +8 -0
  53. package/dist-types/commands/BatchDeleteSecurityRequirementsCommand.d.ts +106 -0
  54. package/dist-types/commands/BatchDeleteThreatModelsCommand.d.ts +87 -0
  55. package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +5 -1
  56. package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +5 -0
  57. package/dist-types/commands/BatchGetFindingsCommand.d.ts +3 -0
  58. package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +9 -1
  59. package/dist-types/commands/BatchGetPentestsCommand.d.ts +8 -0
  60. package/dist-types/commands/BatchGetSecurityRequirementsCommand.d.ts +112 -0
  61. package/dist-types/commands/BatchGetThreatModelJobTasksCommand.d.ts +101 -0
  62. package/dist-types/commands/BatchGetThreatModelJobsCommand.d.ts +130 -0
  63. package/dist-types/commands/BatchGetThreatModelsCommand.d.ts +147 -0
  64. package/dist-types/commands/BatchGetThreatsCommand.d.ts +121 -0
  65. package/dist-types/commands/BatchUpdateSecurityRequirementsCommand.d.ts +112 -0
  66. package/dist-types/commands/CreateCodeReviewCommand.d.ts +10 -0
  67. package/dist-types/commands/CreateIntegrationCommand.d.ts +22 -1
  68. package/dist-types/commands/CreatePentestCommand.d.ts +11 -0
  69. package/dist-types/commands/CreatePrivateConnectionCommand.d.ts +132 -0
  70. package/dist-types/commands/CreateSecurityRequirementPackCommand.d.ts +102 -0
  71. package/dist-types/commands/CreateThreatCommand.d.ts +141 -0
  72. package/dist-types/commands/CreateThreatModelCommand.d.ts +201 -0
  73. package/dist-types/commands/DeletePrivateConnectionCommand.d.ts +106 -0
  74. package/dist-types/commands/DeleteSecurityRequirementPackCommand.d.ts +92 -0
  75. package/dist-types/commands/DescribePrivateConnectionCommand.d.ts +103 -0
  76. package/dist-types/commands/GetIntegrationCommand.d.ts +3 -1
  77. package/dist-types/commands/GetSecurityRequirementPackCommand.d.ts +100 -0
  78. package/dist-types/commands/ImportSecurityRequirementsCommand.d.ts +107 -0
  79. package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +1 -1
  80. package/dist-types/commands/ListCodeReviewJobTasksCommand.d.ts +1 -1
  81. package/dist-types/commands/ListFindingsCommand.d.ts +1 -0
  82. package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +34 -1
  83. package/dist-types/commands/ListIntegrationsCommand.d.ts +4 -2
  84. package/dist-types/commands/ListPentestJobTasksCommand.d.ts +1 -1
  85. package/dist-types/commands/ListPrivateConnectionsCommand.d.ts +106 -0
  86. package/dist-types/commands/ListSecurityRequirementPacksCommand.d.ts +105 -0
  87. package/dist-types/commands/ListSecurityRequirementsCommand.d.ts +102 -0
  88. package/dist-types/commands/ListThreatModelJobTasksCommand.d.ts +91 -0
  89. package/dist-types/commands/ListThreatModelJobsCommand.d.ts +90 -0
  90. package/dist-types/commands/ListThreatModelsCommand.d.ts +87 -0
  91. package/dist-types/commands/ListThreatsCommand.d.ts +96 -0
  92. package/dist-types/commands/StartCodeReviewJobCommand.d.ts +3 -0
  93. package/dist-types/commands/StartThreatModelJobCommand.d.ts +83 -0
  94. package/dist-types/commands/StopThreatModelJobCommand.d.ts +75 -0
  95. package/dist-types/commands/UpdateCodeReviewCommand.d.ts +10 -0
  96. package/dist-types/commands/UpdateFindingCommand.d.ts +7 -0
  97. package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +28 -0
  98. package/dist-types/commands/UpdatePentestCommand.d.ts +11 -0
  99. package/dist-types/commands/UpdatePrivateConnectionCertificateCommand.d.ts +107 -0
  100. package/dist-types/commands/UpdateSecurityRequirementPackCommand.d.ts +100 -0
  101. package/dist-types/commands/UpdateThreatCommand.d.ts +139 -0
  102. package/dist-types/commands/UpdateThreatModelCommand.d.ts +196 -0
  103. package/dist-types/commands/index.d.ts +31 -0
  104. package/dist-types/models/enums.d.ts +250 -0
  105. package/dist-types/models/errors.d.ts +12 -0
  106. package/dist-types/models/models_0.d.ts +4254 -818
  107. package/dist-types/pagination/ListPrivateConnectionsPaginator.d.ts +7 -0
  108. package/dist-types/pagination/ListSecurityRequirementPacksPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListSecurityRequirementsPaginator.d.ts +7 -0
  110. package/dist-types/pagination/ListThreatModelJobTasksPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListThreatModelJobsPaginator.d.ts +7 -0
  112. package/dist-types/pagination/ListThreatModelsPaginator.d.ts +7 -0
  113. package/dist-types/pagination/ListThreatsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/index.d.ts +7 -0
  115. package/dist-types/schemas/schemas_0.d.ts +134 -0
  116. package/dist-types/ts3.4/SecurityAgent.d.ts +584 -0
  117. package/dist-types/ts3.4/SecurityAgentClient.d.ts +186 -0
  118. package/dist-types/ts3.4/commands/BatchCreateSecurityRequirementsCommand.d.ts +53 -0
  119. package/dist-types/ts3.4/commands/BatchDeleteSecurityRequirementsCommand.d.ts +53 -0
  120. package/dist-types/ts3.4/commands/BatchDeleteThreatModelsCommand.d.ts +53 -0
  121. package/dist-types/ts3.4/commands/BatchGetSecurityRequirementsCommand.d.ts +53 -0
  122. package/dist-types/ts3.4/commands/BatchGetThreatModelJobTasksCommand.d.ts +53 -0
  123. package/dist-types/ts3.4/commands/BatchGetThreatModelJobsCommand.d.ts +53 -0
  124. package/dist-types/ts3.4/commands/BatchGetThreatModelsCommand.d.ts +53 -0
  125. package/dist-types/ts3.4/commands/BatchGetThreatsCommand.d.ts +52 -0
  126. package/dist-types/ts3.4/commands/BatchUpdateSecurityRequirementsCommand.d.ts +53 -0
  127. package/dist-types/ts3.4/commands/CreatePrivateConnectionCommand.d.ts +53 -0
  128. package/dist-types/ts3.4/commands/CreateSecurityRequirementPackCommand.d.ts +53 -0
  129. package/dist-types/ts3.4/commands/CreateThreatCommand.d.ts +49 -0
  130. package/dist-types/ts3.4/commands/CreateThreatModelCommand.d.ts +52 -0
  131. package/dist-types/ts3.4/commands/DeletePrivateConnectionCommand.d.ts +53 -0
  132. package/dist-types/ts3.4/commands/DeleteSecurityRequirementPackCommand.d.ts +53 -0
  133. package/dist-types/ts3.4/commands/DescribePrivateConnectionCommand.d.ts +53 -0
  134. package/dist-types/ts3.4/commands/GetSecurityRequirementPackCommand.d.ts +53 -0
  135. package/dist-types/ts3.4/commands/ImportSecurityRequirementsCommand.d.ts +53 -0
  136. package/dist-types/ts3.4/commands/ListPrivateConnectionsCommand.d.ts +53 -0
  137. package/dist-types/ts3.4/commands/ListSecurityRequirementPacksCommand.d.ts +53 -0
  138. package/dist-types/ts3.4/commands/ListSecurityRequirementsCommand.d.ts +53 -0
  139. package/dist-types/ts3.4/commands/ListThreatModelJobTasksCommand.d.ts +53 -0
  140. package/dist-types/ts3.4/commands/ListThreatModelJobsCommand.d.ts +53 -0
  141. package/dist-types/ts3.4/commands/ListThreatModelsCommand.d.ts +52 -0
  142. package/dist-types/ts3.4/commands/ListThreatsCommand.d.ts +49 -0
  143. package/dist-types/ts3.4/commands/StartThreatModelJobCommand.d.ts +53 -0
  144. package/dist-types/ts3.4/commands/StopThreatModelJobCommand.d.ts +53 -0
  145. package/dist-types/ts3.4/commands/UpdatePrivateConnectionCertificateCommand.d.ts +53 -0
  146. package/dist-types/ts3.4/commands/UpdateSecurityRequirementPackCommand.d.ts +53 -0
  147. package/dist-types/ts3.4/commands/UpdateThreatCommand.d.ts +49 -0
  148. package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +52 -0
  149. package/dist-types/ts3.4/commands/index.d.ts +31 -0
  150. package/dist-types/ts3.4/models/enums.d.ts +123 -0
  151. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  152. package/dist-types/ts3.4/models/models_0.d.ts +924 -0
  153. package/dist-types/ts3.4/pagination/ListPrivateConnectionsPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListSecurityRequirementPacksPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListSecurityRequirementsPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/ListThreatModelJobTasksPaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/ListThreatModelJobsPaginator.d.ts +11 -0
  158. package/dist-types/ts3.4/pagination/ListThreatModelsPaginator.d.ts +11 -0
  159. package/dist-types/ts3.4/pagination/ListThreatsPaginator.d.ts +11 -0
  160. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  161. package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
  162. package/package.json +3 -3
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListPrivateConnectionsInput, ListPrivateConnectionsOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPrivateConnectionsCommand}.
14
+ */
15
+ export interface ListPrivateConnectionsCommandInput extends ListPrivateConnectionsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPrivateConnectionsCommand}.
21
+ */
22
+ export interface ListPrivateConnectionsCommandOutput extends ListPrivateConnectionsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListPrivateConnectionsCommand_base: {
25
+ new (input: ListPrivateConnectionsCommandInput): import("@smithy/core/client").CommandImpl<ListPrivateConnectionsCommandInput, ListPrivateConnectionsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListPrivateConnectionsCommandInput]): import("@smithy/core/client").CommandImpl<ListPrivateConnectionsCommandInput, ListPrivateConnectionsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists the private connections in your account.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, ListPrivateConnectionsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, ListPrivateConnectionsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
38
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
39
+ * const config = {}; // type is SecurityAgentClientConfig
40
+ * const client = new SecurityAgentClient(config);
41
+ * const input = { // ListPrivateConnectionsInput
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListPrivateConnectionsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListPrivateConnectionsOutput
48
+ * // privateConnections: [ // PrivateConnectionList // required
49
+ * // { // PrivateConnectionSummary
50
+ * // name: "STRING_VALUE", // required
51
+ * // type: "SERVICE_MANAGED" || "SELF_MANAGED", // required
52
+ * // status: "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
53
+ * // resourceGatewayId: "STRING_VALUE",
54
+ * // hostAddress: "STRING_VALUE",
55
+ * // vpcId: "STRING_VALUE",
56
+ * // resourceConfigurationId: "STRING_VALUE",
57
+ * // certificateExpiryTime: new Date("TIMESTAMP"),
58
+ * // dnsResolution: "PUBLIC" || "IN_VPC",
59
+ * // failureMessage: "STRING_VALUE",
60
+ * // tags: { // TagMap
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // },
64
+ * // ],
65
+ * // nextToken: "STRING_VALUE",
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param ListPrivateConnectionsCommandInput - {@link ListPrivateConnectionsCommandInput}
71
+ * @returns {@link ListPrivateConnectionsCommandOutput}
72
+ * @see {@link ListPrivateConnectionsCommandInput} for command's `input` shape.
73
+ * @see {@link ListPrivateConnectionsCommandOutput} for command's `response` shape.
74
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>You do not have sufficient access to perform this action.</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>An unexpected error occurred during the processing of your request.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>The request was denied due to request throttling.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
87
+ *
88
+ * @throws {@link SecurityAgentServiceException}
89
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListPrivateConnectionsCommand extends ListPrivateConnectionsCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListPrivateConnectionsInput;
99
+ output: ListPrivateConnectionsOutput;
100
+ };
101
+ sdk: {
102
+ input: ListPrivateConnectionsCommandInput;
103
+ output: ListPrivateConnectionsCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListSecurityRequirementPacksInput, ListSecurityRequirementPacksOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListSecurityRequirementPacksCommand}.
14
+ */
15
+ export interface ListSecurityRequirementPacksCommandInput extends ListSecurityRequirementPacksInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSecurityRequirementPacksCommand}.
21
+ */
22
+ export interface ListSecurityRequirementPacksCommandOutput extends ListSecurityRequirementPacksOutput, __MetadataBearer {
23
+ }
24
+ declare const ListSecurityRequirementPacksCommand_base: {
25
+ new (input: ListSecurityRequirementPacksCommandInput): import("@smithy/core/client").CommandImpl<ListSecurityRequirementPacksCommandInput, ListSecurityRequirementPacksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListSecurityRequirementPacksCommandInput]): import("@smithy/core/client").CommandImpl<ListSecurityRequirementPacksCommandInput, ListSecurityRequirementPacksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists all security requirement packs in the caller's account.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, ListSecurityRequirementPacksCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, ListSecurityRequirementPacksCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
38
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
39
+ * const config = {}; // type is SecurityAgentClientConfig
40
+ * const client = new SecurityAgentClient(config);
41
+ * const input = { // ListSecurityRequirementPacksInput
42
+ * filter: { // ListSecurityRequirementPackFilter
43
+ * managementType: "AWS_MANAGED" || "CUSTOMER_MANAGED",
44
+ * status: "ENABLED" || "DISABLED",
45
+ * },
46
+ * nextToken: "STRING_VALUE",
47
+ * maxResults: Number("int"),
48
+ * };
49
+ * const command = new ListSecurityRequirementPacksCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // ListSecurityRequirementPacksOutput
52
+ * // securityRequirementPackSummaries: [ // SecurityRequirementPackSummaryList // required
53
+ * // { // SecurityRequirementPackSummary
54
+ * // packId: "STRING_VALUE", // required
55
+ * // name: "STRING_VALUE", // required
56
+ * // description: "STRING_VALUE",
57
+ * // vendorName: "STRING_VALUE",
58
+ * // managementType: "AWS_MANAGED" || "CUSTOMER_MANAGED", // required
59
+ * // status: "ENABLED" || "DISABLED", // required
60
+ * // createdAt: new Date("TIMESTAMP"), // required
61
+ * // updatedAt: new Date("TIMESTAMP"), // required
62
+ * // },
63
+ * // ],
64
+ * // nextToken: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param ListSecurityRequirementPacksCommandInput - {@link ListSecurityRequirementPacksCommandInput}
70
+ * @returns {@link ListSecurityRequirementPacksCommandOutput}
71
+ * @see {@link ListSecurityRequirementPacksCommandInput} for command's `input` shape.
72
+ * @see {@link ListSecurityRequirementPacksCommandOutput} for command's `response` shape.
73
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You do not have sufficient access to perform this action.</p>
77
+ *
78
+ * @throws {@link InternalServerException} (server fault)
79
+ * <p>An unexpected error occurred during the processing of your request.</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>The request was denied due to request throttling.</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
86
+ *
87
+ * @throws {@link SecurityAgentServiceException}
88
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class ListSecurityRequirementPacksCommand extends ListSecurityRequirementPacksCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: ListSecurityRequirementPacksInput;
98
+ output: ListSecurityRequirementPacksOutput;
99
+ };
100
+ sdk: {
101
+ input: ListSecurityRequirementPacksCommandInput;
102
+ output: ListSecurityRequirementPacksCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListSecurityRequirementsInput, ListSecurityRequirementsOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListSecurityRequirementsCommand}.
14
+ */
15
+ export interface ListSecurityRequirementsCommandInput extends ListSecurityRequirementsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSecurityRequirementsCommand}.
21
+ */
22
+ export interface ListSecurityRequirementsCommandOutput extends ListSecurityRequirementsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListSecurityRequirementsCommand_base: {
25
+ new (input: ListSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<ListSecurityRequirementsCommandInput, ListSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListSecurityRequirementsCommandInput): import("@smithy/core/client").CommandImpl<ListSecurityRequirementsCommandInput, ListSecurityRequirementsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists security requirements within a pack.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, ListSecurityRequirementsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, ListSecurityRequirementsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
38
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
39
+ * const config = {}; // type is SecurityAgentClientConfig
40
+ * const client = new SecurityAgentClient(config);
41
+ * const input = { // ListSecurityRequirementsInput
42
+ * packId: "STRING_VALUE", // required
43
+ * nextToken: "STRING_VALUE",
44
+ * maxResults: Number("int"),
45
+ * };
46
+ * const command = new ListSecurityRequirementsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListSecurityRequirementsOutput
49
+ * // securityRequirementSummaries: [ // SecurityRequirementSummaryList // required
50
+ * // { // SecurityRequirementSummary
51
+ * // packId: "STRING_VALUE", // required
52
+ * // name: "STRING_VALUE", // required
53
+ * // description: "STRING_VALUE", // required
54
+ * // createdAt: new Date("TIMESTAMP"), // required
55
+ * // updatedAt: new Date("TIMESTAMP"), // required
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListSecurityRequirementsCommandInput - {@link ListSecurityRequirementsCommandInput}
64
+ * @returns {@link ListSecurityRequirementsCommandOutput}
65
+ * @see {@link ListSecurityRequirementsCommandInput} for command's `input` shape.
66
+ * @see {@link ListSecurityRequirementsCommandOutput} for command's `response` shape.
67
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>You do not have sufficient access to perform this action.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>An unexpected error occurred during the processing of your request.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to request throttling.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
83
+ *
84
+ * @throws {@link SecurityAgentServiceException}
85
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class ListSecurityRequirementsCommand extends ListSecurityRequirementsCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: ListSecurityRequirementsInput;
95
+ output: ListSecurityRequirementsOutput;
96
+ };
97
+ sdk: {
98
+ input: ListSecurityRequirementsCommandInput;
99
+ output: ListSecurityRequirementsCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListThreatModelJobTasksInput, ListThreatModelJobTasksOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListThreatModelJobTasksCommand}.
14
+ */
15
+ export interface ListThreatModelJobTasksCommandInput extends ListThreatModelJobTasksInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListThreatModelJobTasksCommand}.
21
+ */
22
+ export interface ListThreatModelJobTasksCommandOutput extends ListThreatModelJobTasksOutput, __MetadataBearer {
23
+ }
24
+ declare const ListThreatModelJobTasksCommand_base: {
25
+ new (input: ListThreatModelJobTasksCommandInput): import("@smithy/core/client").CommandImpl<ListThreatModelJobTasksCommandInput, ListThreatModelJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListThreatModelJobTasksCommandInput): import("@smithy/core/client").CommandImpl<ListThreatModelJobTasksCommandInput, ListThreatModelJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Returns a paginated list of task summaries for the specified threat model job.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, ListThreatModelJobTasksCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, ListThreatModelJobTasksCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
38
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
39
+ * const config = {}; // type is SecurityAgentClientConfig
40
+ * const client = new SecurityAgentClient(config);
41
+ * const input = { // ListThreatModelJobTasksInput
42
+ * agentSpaceId: "STRING_VALUE", // required
43
+ * maxResults: Number("int"),
44
+ * threatModelJobId: "STRING_VALUE", // required
45
+ * nextToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new ListThreatModelJobTasksCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListThreatModelJobTasksOutput
50
+ * // threatModelJobTaskSummaries: [ // ThreatModelJobTaskSummaryList
51
+ * // { // ThreatModelJobTaskSummary
52
+ * // taskId: "STRING_VALUE", // required
53
+ * // threatModelId: "STRING_VALUE",
54
+ * // threatModelJobId: "STRING_VALUE",
55
+ * // agentSpaceId: "STRING_VALUE",
56
+ * // title: "STRING_VALUE",
57
+ * // executionStatus: "IN_PROGRESS" || "ABORTED" || "COMPLETED" || "INTERNAL_ERROR" || "FAILED",
58
+ * // createdAt: new Date("TIMESTAMP"),
59
+ * // updatedAt: new Date("TIMESTAMP"),
60
+ * // },
61
+ * // ],
62
+ * // nextToken: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListThreatModelJobTasksCommandInput - {@link ListThreatModelJobTasksCommandInput}
68
+ * @returns {@link ListThreatModelJobTasksCommandOutput}
69
+ * @see {@link ListThreatModelJobTasksCommandInput} for command's `input` shape.
70
+ * @see {@link ListThreatModelJobTasksCommandOutput} for command's `response` shape.
71
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
72
+ *
73
+ * @throws {@link SecurityAgentServiceException}
74
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class ListThreatModelJobTasksCommand extends ListThreatModelJobTasksCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: ListThreatModelJobTasksInput;
84
+ output: ListThreatModelJobTasksOutput;
85
+ };
86
+ sdk: {
87
+ input: ListThreatModelJobTasksCommandInput;
88
+ output: ListThreatModelJobTasksCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListThreatModelJobsInput, ListThreatModelJobsOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListThreatModelJobsCommand}.
14
+ */
15
+ export interface ListThreatModelJobsCommandInput extends ListThreatModelJobsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListThreatModelJobsCommand}.
21
+ */
22
+ export interface ListThreatModelJobsCommandOutput extends ListThreatModelJobsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListThreatModelJobsCommand_base: {
25
+ new (input: ListThreatModelJobsCommandInput): import("@smithy/core/client").CommandImpl<ListThreatModelJobsCommandInput, ListThreatModelJobsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListThreatModelJobsCommandInput): import("@smithy/core/client").CommandImpl<ListThreatModelJobsCommandInput, ListThreatModelJobsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Returns a paginated list of threat model job summaries for the specified threat model.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, ListThreatModelJobsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, ListThreatModelJobsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
38
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
39
+ * const config = {}; // type is SecurityAgentClientConfig
40
+ * const client = new SecurityAgentClient(config);
41
+ * const input = { // ListThreatModelJobsInput
42
+ * maxResults: Number("int"),
43
+ * threatModelId: "STRING_VALUE", // required
44
+ * agentSpaceId: "STRING_VALUE", // required
45
+ * nextToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new ListThreatModelJobsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListThreatModelJobsOutput
50
+ * // threatModelJobSummaries: [ // ThreatModelJobSummaryList
51
+ * // { // ThreatModelJobSummary
52
+ * // threatModelJobId: "STRING_VALUE", // required
53
+ * // threatModelId: "STRING_VALUE", // required
54
+ * // agentSpaceId: "STRING_VALUE",
55
+ * // title: "STRING_VALUE",
56
+ * // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
57
+ * // createdAt: new Date("TIMESTAMP"),
58
+ * // updatedAt: new Date("TIMESTAMP"),
59
+ * // },
60
+ * // ],
61
+ * // nextToken: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListThreatModelJobsCommandInput - {@link ListThreatModelJobsCommandInput}
67
+ * @returns {@link ListThreatModelJobsCommandOutput}
68
+ * @see {@link ListThreatModelJobsCommandInput} for command's `input` shape.
69
+ * @see {@link ListThreatModelJobsCommandOutput} for command's `response` shape.
70
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
71
+ *
72
+ * @throws {@link SecurityAgentServiceException}
73
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class ListThreatModelJobsCommand extends ListThreatModelJobsCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: ListThreatModelJobsInput;
83
+ output: ListThreatModelJobsOutput;
84
+ };
85
+ sdk: {
86
+ input: ListThreatModelJobsCommandInput;
87
+ output: ListThreatModelJobsCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListThreatModelsInput, ListThreatModelsOutput } from "../models/models_0";
4
+ import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListThreatModelsCommand}.
14
+ */
15
+ export interface ListThreatModelsCommandInput extends ListThreatModelsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListThreatModelsCommand}.
21
+ */
22
+ export interface ListThreatModelsCommandOutput extends ListThreatModelsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListThreatModelsCommand_base: {
25
+ new (input: ListThreatModelsCommandInput): import("@smithy/core/client").CommandImpl<ListThreatModelsCommandInput, ListThreatModelsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListThreatModelsCommandInput): import("@smithy/core/client").CommandImpl<ListThreatModelsCommandInput, ListThreatModelsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Returns a paginated list of threat model summaries for the specified agent space.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SecurityAgentClient, ListThreatModelsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
37
+ * // const { SecurityAgentClient, ListThreatModelsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
38
+ * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
39
+ * const config = {}; // type is SecurityAgentClientConfig
40
+ * const client = new SecurityAgentClient(config);
41
+ * const input = { // ListThreatModelsInput
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * agentSpaceId: "STRING_VALUE", // required
45
+ * };
46
+ * const command = new ListThreatModelsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListThreatModelsOutput
49
+ * // threatModelSummaries: [ // ThreatModelSummaryList
50
+ * // { // ThreatModelSummary
51
+ * // threatModelId: "STRING_VALUE", // required
52
+ * // agentSpaceId: "STRING_VALUE", // required
53
+ * // title: "STRING_VALUE", // required
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // updatedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListThreatModelsCommandInput - {@link ListThreatModelsCommandInput}
64
+ * @returns {@link ListThreatModelsCommandOutput}
65
+ * @see {@link ListThreatModelsCommandInput} for command's `input` shape.
66
+ * @see {@link ListThreatModelsCommandOutput} for command's `response` shape.
67
+ * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
68
+ *
69
+ * @throws {@link SecurityAgentServiceException}
70
+ * <p>Base exception class for all service exceptions from SecurityAgent service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class ListThreatModelsCommand extends ListThreatModelsCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: ListThreatModelsInput;
80
+ output: ListThreatModelsOutput;
81
+ };
82
+ sdk: {
83
+ input: ListThreatModelsCommandInput;
84
+ output: ListThreatModelsCommandOutput;
85
+ };
86
+ };
87
+ }