@aws-sdk/client-network-security-manager 3.1139.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 (253) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +503 -0
  3. package/dist-cjs/index.js +2327 -0
  4. package/dist-es/NetworkSecurityManager.js +129 -0
  5. package/dist-es/NetworkSecurityManagerClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateDeploymentCommand.js +4 -0
  10. package/dist-es/commands/CreateDeploymentSnapshotCommand.js +4 -0
  11. package/dist-es/commands/CreatePolicyCommand.js +4 -0
  12. package/dist-es/commands/CreatePolicySnapshotCommand.js +4 -0
  13. package/dist-es/commands/CreateRuleCommand.js +4 -0
  14. package/dist-es/commands/CreateRuleSnapshotCommand.js +4 -0
  15. package/dist-es/commands/CreateScopeCommand.js +4 -0
  16. package/dist-es/commands/CreateScopeSnapshotCommand.js +4 -0
  17. package/dist-es/commands/CreateTemplateCommand.js +4 -0
  18. package/dist-es/commands/CreateTemplateSnapshotCommand.js +4 -0
  19. package/dist-es/commands/DeleteAdminAccountCommand.js +4 -0
  20. package/dist-es/commands/DeleteDeploymentCommand.js +4 -0
  21. package/dist-es/commands/DeletePolicyCommand.js +4 -0
  22. package/dist-es/commands/DeleteRuleCommand.js +4 -0
  23. package/dist-es/commands/DeleteScopeCommand.js +4 -0
  24. package/dist-es/commands/DeleteTemplateCommand.js +4 -0
  25. package/dist-es/commands/GenerateRuleConfigurationCommand.js +4 -0
  26. package/dist-es/commands/GetAdminAccountCommand.js +4 -0
  27. package/dist-es/commands/GetDeploymentCommand.js +4 -0
  28. package/dist-es/commands/GetPolicyCommand.js +4 -0
  29. package/dist-es/commands/GetRuleCommand.js +4 -0
  30. package/dist-es/commands/GetScopeCommand.js +4 -0
  31. package/dist-es/commands/GetTemplateCommand.js +4 -0
  32. package/dist-es/commands/ListAdminAccountsCommand.js +4 -0
  33. package/dist-es/commands/ListAggregateResourceSynchronizationStatusesCommand.js +4 -0
  34. package/dist-es/commands/ListDeploymentSnapshotsCommand.js +4 -0
  35. package/dist-es/commands/ListDeploymentsCommand.js +4 -0
  36. package/dist-es/commands/ListPoliciesCommand.js +4 -0
  37. package/dist-es/commands/ListPolicySnapshotsCommand.js +4 -0
  38. package/dist-es/commands/ListResourceAssociationsCommand.js +4 -0
  39. package/dist-es/commands/ListResourceSynchronizationStatusesCommand.js +4 -0
  40. package/dist-es/commands/ListRuleSnapshotsCommand.js +4 -0
  41. package/dist-es/commands/ListRulesCommand.js +4 -0
  42. package/dist-es/commands/ListScopeSnapshotsCommand.js +4 -0
  43. package/dist-es/commands/ListScopesCommand.js +4 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  45. package/dist-es/commands/ListTemplateSnapshotsCommand.js +4 -0
  46. package/dist-es/commands/ListTemplatesCommand.js +4 -0
  47. package/dist-es/commands/PutAdminAccountCommand.js +4 -0
  48. package/dist-es/commands/TagResourceCommand.js +4 -0
  49. package/dist-es/commands/UntagResourceCommand.js +4 -0
  50. package/dist-es/commands/UpdateDeploymentCommand.js +4 -0
  51. package/dist-es/commands/UpdatePolicyCommand.js +4 -0
  52. package/dist-es/commands/UpdateRuleCommand.js +4 -0
  53. package/dist-es/commands/UpdateScopeCommand.js +4 -0
  54. package/dist-es/commands/UpdateTemplateCommand.js +4 -0
  55. package/dist-es/commands/index.js +46 -0
  56. package/dist-es/endpoint/EndpointParameters.js +11 -0
  57. package/dist-es/endpoint/bdd.js +29 -0
  58. package/dist-es/endpoint/endpointResolver.js +14 -0
  59. package/dist-es/extensionConfiguration.js +1 -0
  60. package/dist-es/index.js +10 -0
  61. package/dist-es/models/NetworkSecurityManagerServiceException.js +8 -0
  62. package/dist-es/models/enums.js +91 -0
  63. package/dist-es/models/errors.js +138 -0
  64. package/dist-es/models/models_0.js +1 -0
  65. package/dist-es/pagination/Interfaces.js +1 -0
  66. package/dist-es/pagination/ListAdminAccountsPaginator.js +4 -0
  67. package/dist-es/pagination/ListAggregateResourceSynchronizationStatusesPaginator.js +4 -0
  68. package/dist-es/pagination/ListDeploymentSnapshotsPaginator.js +4 -0
  69. package/dist-es/pagination/ListDeploymentsPaginator.js +4 -0
  70. package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
  71. package/dist-es/pagination/ListPolicySnapshotsPaginator.js +4 -0
  72. package/dist-es/pagination/ListResourceAssociationsPaginator.js +4 -0
  73. package/dist-es/pagination/ListResourceSynchronizationStatusesPaginator.js +4 -0
  74. package/dist-es/pagination/ListRuleSnapshotsPaginator.js +4 -0
  75. package/dist-es/pagination/ListRulesPaginator.js +4 -0
  76. package/dist-es/pagination/ListScopeSnapshotsPaginator.js +4 -0
  77. package/dist-es/pagination/ListScopesPaginator.js +4 -0
  78. package/dist-es/pagination/ListTemplateSnapshotsPaginator.js +4 -0
  79. package/dist-es/pagination/ListTemplatesPaginator.js +4 -0
  80. package/dist-es/pagination/index.js +15 -0
  81. package/dist-es/runtimeConfig.browser.js +29 -0
  82. package/dist-es/runtimeConfig.js +43 -0
  83. package/dist-es/runtimeConfig.native.js +9 -0
  84. package/dist-es/runtimeConfig.shared.js +40 -0
  85. package/dist-es/runtimeExtensions.js +9 -0
  86. package/dist-es/schemas/schemas_0.js +1326 -0
  87. package/dist-types/NetworkSecurityManager.d.ts +443 -0
  88. package/dist-types/NetworkSecurityManagerClient.d.ts +232 -0
  89. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  90. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  91. package/dist-types/commandBuilder.d.ts +18 -0
  92. package/dist-types/commands/CreateDeploymentCommand.d.ts +206 -0
  93. package/dist-types/commands/CreateDeploymentSnapshotCommand.d.ts +153 -0
  94. package/dist-types/commands/CreatePolicyCommand.d.ts +198 -0
  95. package/dist-types/commands/CreatePolicySnapshotCommand.d.ts +158 -0
  96. package/dist-types/commands/CreateRuleCommand.d.ts +148 -0
  97. package/dist-types/commands/CreateRuleSnapshotCommand.d.ts +133 -0
  98. package/dist-types/commands/CreateScopeCommand.d.ts +292 -0
  99. package/dist-types/commands/CreateScopeSnapshotCommand.d.ts +205 -0
  100. package/dist-types/commands/CreateTemplateCommand.d.ts +160 -0
  101. package/dist-types/commands/CreateTemplateSnapshotCommand.d.ts +139 -0
  102. package/dist-types/commands/DeleteAdminAccountCommand.d.ts +94 -0
  103. package/dist-types/commands/DeleteDeploymentCommand.d.ts +97 -0
  104. package/dist-types/commands/DeletePolicyCommand.d.ts +97 -0
  105. package/dist-types/commands/DeleteRuleCommand.d.ts +97 -0
  106. package/dist-types/commands/DeleteScopeCommand.d.ts +97 -0
  107. package/dist-types/commands/DeleteTemplateCommand.d.ts +97 -0
  108. package/dist-types/commands/GenerateRuleConfigurationCommand.d.ts +107 -0
  109. package/dist-types/commands/GetAdminAccountCommand.d.ts +168 -0
  110. package/dist-types/commands/GetDeploymentCommand.d.ts +174 -0
  111. package/dist-types/commands/GetPolicyCommand.d.ts +149 -0
  112. package/dist-types/commands/GetRuleCommand.d.ts +148 -0
  113. package/dist-types/commands/GetScopeCommand.d.ts +196 -0
  114. package/dist-types/commands/GetTemplateCommand.d.ts +130 -0
  115. package/dist-types/commands/ListAdminAccountsCommand.d.ts +112 -0
  116. package/dist-types/commands/ListAggregateResourceSynchronizationStatusesCommand.d.ts +181 -0
  117. package/dist-types/commands/ListDeploymentSnapshotsCommand.d.ts +124 -0
  118. package/dist-types/commands/ListDeploymentsCommand.d.ts +122 -0
  119. package/dist-types/commands/ListPoliciesCommand.d.ts +126 -0
  120. package/dist-types/commands/ListPolicySnapshotsCommand.d.ts +128 -0
  121. package/dist-types/commands/ListResourceAssociationsCommand.d.ts +116 -0
  122. package/dist-types/commands/ListResourceSynchronizationStatusesCommand.d.ts +194 -0
  123. package/dist-types/commands/ListRuleSnapshotsCommand.d.ts +138 -0
  124. package/dist-types/commands/ListRulesCommand.d.ts +126 -0
  125. package/dist-types/commands/ListScopeSnapshotsCommand.d.ts +124 -0
  126. package/dist-types/commands/ListScopesCommand.d.ts +123 -0
  127. package/dist-types/commands/ListTagsForResourceCommand.d.ts +106 -0
  128. package/dist-types/commands/ListTemplateSnapshotsCommand.d.ts +126 -0
  129. package/dist-types/commands/ListTemplatesCommand.d.ts +124 -0
  130. package/dist-types/commands/PutAdminAccountCommand.d.ts +218 -0
  131. package/dist-types/commands/TagResourceCommand.d.ts +107 -0
  132. package/dist-types/commands/UntagResourceCommand.d.ts +106 -0
  133. package/dist-types/commands/UpdateDeploymentCommand.d.ts +214 -0
  134. package/dist-types/commands/UpdatePolicyCommand.d.ts +192 -0
  135. package/dist-types/commands/UpdateRuleCommand.d.ts +142 -0
  136. package/dist-types/commands/UpdateScopeCommand.d.ts +288 -0
  137. package/dist-types/commands/UpdateTemplateCommand.d.ts +154 -0
  138. package/dist-types/commands/index.d.ts +46 -0
  139. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  140. package/dist-types/endpoint/bdd.d.ts +2 -0
  141. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  142. package/dist-types/extensionConfiguration.d.ts +9 -0
  143. package/dist-types/index.d.ts +18 -0
  144. package/dist-types/models/NetworkSecurityManagerServiceException.d.ts +14 -0
  145. package/dist-types/models/enums.d.ts +227 -0
  146. package/dist-types/models/errors.d.ts +177 -0
  147. package/dist-types/models/models_0.d.ts +4006 -0
  148. package/dist-types/pagination/Interfaces.d.ts +8 -0
  149. package/dist-types/pagination/ListAdminAccountsPaginator.d.ts +7 -0
  150. package/dist-types/pagination/ListAggregateResourceSynchronizationStatusesPaginator.d.ts +7 -0
  151. package/dist-types/pagination/ListDeploymentSnapshotsPaginator.d.ts +7 -0
  152. package/dist-types/pagination/ListDeploymentsPaginator.d.ts +7 -0
  153. package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
  154. package/dist-types/pagination/ListPolicySnapshotsPaginator.d.ts +7 -0
  155. package/dist-types/pagination/ListResourceAssociationsPaginator.d.ts +7 -0
  156. package/dist-types/pagination/ListResourceSynchronizationStatusesPaginator.d.ts +7 -0
  157. package/dist-types/pagination/ListRuleSnapshotsPaginator.d.ts +7 -0
  158. package/dist-types/pagination/ListRulesPaginator.d.ts +7 -0
  159. package/dist-types/pagination/ListScopeSnapshotsPaginator.d.ts +7 -0
  160. package/dist-types/pagination/ListScopesPaginator.d.ts +7 -0
  161. package/dist-types/pagination/ListTemplateSnapshotsPaginator.d.ts +7 -0
  162. package/dist-types/pagination/ListTemplatesPaginator.d.ts +7 -0
  163. package/dist-types/pagination/index.d.ts +15 -0
  164. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  165. package/dist-types/runtimeConfig.d.ts +57 -0
  166. package/dist-types/runtimeConfig.native.d.ts +56 -0
  167. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  168. package/dist-types/runtimeExtensions.d.ts +17 -0
  169. package/dist-types/schemas/schemas_0.d.ts +197 -0
  170. package/dist-types/ts3.4/NetworkSecurityManager.d.ts +857 -0
  171. package/dist-types/ts3.4/NetworkSecurityManagerClient.d.ts +340 -0
  172. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -0
  173. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  174. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  175. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +38 -0
  176. package/dist-types/ts3.4/commands/CreateDeploymentSnapshotCommand.d.ts +39 -0
  177. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +38 -0
  178. package/dist-types/ts3.4/commands/CreatePolicySnapshotCommand.d.ts +39 -0
  179. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +38 -0
  180. package/dist-types/ts3.4/commands/CreateRuleSnapshotCommand.d.ts +39 -0
  181. package/dist-types/ts3.4/commands/CreateScopeCommand.d.ts +38 -0
  182. package/dist-types/ts3.4/commands/CreateScopeSnapshotCommand.d.ts +39 -0
  183. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +38 -0
  184. package/dist-types/ts3.4/commands/CreateTemplateSnapshotCommand.d.ts +39 -0
  185. package/dist-types/ts3.4/commands/DeleteAdminAccountCommand.d.ts +38 -0
  186. package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +38 -0
  187. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +38 -0
  188. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +38 -0
  189. package/dist-types/ts3.4/commands/DeleteScopeCommand.d.ts +38 -0
  190. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +38 -0
  191. package/dist-types/ts3.4/commands/GenerateRuleConfigurationCommand.d.ts +42 -0
  192. package/dist-types/ts3.4/commands/GetAdminAccountCommand.d.ts +38 -0
  193. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +38 -0
  194. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +38 -0
  195. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +38 -0
  196. package/dist-types/ts3.4/commands/GetScopeCommand.d.ts +38 -0
  197. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +38 -0
  198. package/dist-types/ts3.4/commands/ListAdminAccountsCommand.d.ts +39 -0
  199. package/dist-types/ts3.4/commands/ListAggregateResourceSynchronizationStatusesCommand.d.ts +42 -0
  200. package/dist-types/ts3.4/commands/ListDeploymentSnapshotsCommand.d.ts +39 -0
  201. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +38 -0
  202. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +38 -0
  203. package/dist-types/ts3.4/commands/ListPolicySnapshotsCommand.d.ts +39 -0
  204. package/dist-types/ts3.4/commands/ListResourceAssociationsCommand.d.ts +39 -0
  205. package/dist-types/ts3.4/commands/ListResourceSynchronizationStatusesCommand.d.ts +42 -0
  206. package/dist-types/ts3.4/commands/ListRuleSnapshotsCommand.d.ts +38 -0
  207. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +38 -0
  208. package/dist-types/ts3.4/commands/ListScopeSnapshotsCommand.d.ts +39 -0
  209. package/dist-types/ts3.4/commands/ListScopesCommand.d.ts +38 -0
  210. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  211. package/dist-types/ts3.4/commands/ListTemplateSnapshotsCommand.d.ts +39 -0
  212. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +38 -0
  213. package/dist-types/ts3.4/commands/PutAdminAccountCommand.d.ts +38 -0
  214. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  215. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  216. package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +38 -0
  217. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +38 -0
  218. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +38 -0
  219. package/dist-types/ts3.4/commands/UpdateScopeCommand.d.ts +38 -0
  220. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +38 -0
  221. package/dist-types/ts3.4/commands/index.d.ts +46 -0
  222. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  223. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  224. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  225. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  226. package/dist-types/ts3.4/index.d.ts +13 -0
  227. package/dist-types/ts3.4/models/NetworkSecurityManagerServiceException.d.ts +9 -0
  228. package/dist-types/ts3.4/models/enums.d.ts +112 -0
  229. package/dist-types/ts3.4/models/errors.d.ts +66 -0
  230. package/dist-types/ts3.4/models/models_0.d.ts +1146 -0
  231. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  232. package/dist-types/ts3.4/pagination/ListAdminAccountsPaginator.d.ts +11 -0
  233. package/dist-types/ts3.4/pagination/ListAggregateResourceSynchronizationStatusesPaginator.d.ts +11 -0
  234. package/dist-types/ts3.4/pagination/ListDeploymentSnapshotsPaginator.d.ts +11 -0
  235. package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +11 -0
  236. package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
  237. package/dist-types/ts3.4/pagination/ListPolicySnapshotsPaginator.d.ts +11 -0
  238. package/dist-types/ts3.4/pagination/ListResourceAssociationsPaginator.d.ts +11 -0
  239. package/dist-types/ts3.4/pagination/ListResourceSynchronizationStatusesPaginator.d.ts +11 -0
  240. package/dist-types/ts3.4/pagination/ListRuleSnapshotsPaginator.d.ts +11 -0
  241. package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +8 -0
  242. package/dist-types/ts3.4/pagination/ListScopeSnapshotsPaginator.d.ts +11 -0
  243. package/dist-types/ts3.4/pagination/ListScopesPaginator.d.ts +8 -0
  244. package/dist-types/ts3.4/pagination/ListTemplateSnapshotsPaginator.d.ts +11 -0
  245. package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
  246. package/dist-types/ts3.4/pagination/index.d.ts +15 -0
  247. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  248. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  249. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  250. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  251. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  252. package/dist-types/ts3.4/schemas/schemas_0.d.ts +197 -0
  253. package/package.json +69 -0
@@ -0,0 +1,160 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateTemplateInput, CreateTemplateOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateTemplateCommand}.
11
+ */
12
+ export interface CreateTemplateCommandInput extends CreateTemplateInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateTemplateCommand}.
18
+ */
19
+ export interface CreateTemplateCommandOutput extends CreateTemplateOutput, __MetadataBearer {
20
+ }
21
+ declare const CreateTemplateCommand_base: {
22
+ new (input: CreateTemplateCommandInput): import("@smithy/core/client").CommandImpl<CreateTemplateCommandInput, CreateTemplateCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateTemplateCommandInput): import("@smithy/core/client").CommandImpl<CreateTemplateCommandInput, CreateTemplateCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a template. A template groups one or more rules to simplify reuse across policies. You can also associate rules with a policy directly, without a template. Use <code>isPublished</code> to create the template in published (<code>ACTIVE</code>) or draft (<code>DRAFT</code>) state.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkSecurityManagerClient, CreateTemplateCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, CreateTemplateCommand } = require("@aws-sdk/client-network-security-manager"); // CommonJS import
33
+ * // import type { NetworkSecurityManagerClientConfig } from "@aws-sdk/client-network-security-manager";
34
+ * const config = {}; // type is NetworkSecurityManagerClientConfig
35
+ * const client = new NetworkSecurityManagerClient(config);
36
+ * const input = { // CreateTemplateInput
37
+ * clientToken: "STRING_VALUE",
38
+ * templateName: "STRING_VALUE", // required
39
+ * templateDescription: "STRING_VALUE",
40
+ * associatedRuleList: [ // RuleReferenceList // required
41
+ * { // RuleReference
42
+ * ruleIdentifier: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * firewallType: "WAF", // required
46
+ * isPublished: true || false,
47
+ * tags: { // TagMap
48
+ * "<keys>": "STRING_VALUE",
49
+ * },
50
+ * };
51
+ * const command = new CreateTemplateCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // CreateTemplateOutput
54
+ * // templateId: "STRING_VALUE", // required
55
+ * // templateArn: "STRING_VALUE", // required
56
+ * // templateName: "STRING_VALUE", // required
57
+ * // templateDescription: "STRING_VALUE",
58
+ * // status: "DRAFT" || "ACTIVE" || "DISABLED", // required
59
+ * // version: "STRING_VALUE", // required
60
+ * // associatedRuleList: [ // AssociatedRuleList // required
61
+ * // { // AssociatedRule
62
+ * // ruleArn: "STRING_VALUE", // required
63
+ * // },
64
+ * // ],
65
+ * // updateToken: "STRING_VALUE",
66
+ * // isSnapshot: true || false,
67
+ * // hasPublishedVersion: true || false,
68
+ * // firewallType: "WAF", // required
69
+ * // updatedAt: new Date("TIMESTAMP"),
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param CreateTemplateCommandInput - {@link CreateTemplateCommandInput}
75
+ * @returns {@link CreateTemplateCommandOutput}
76
+ * @see {@link CreateTemplateCommandInput} for command's `input` shape.
77
+ * @see {@link CreateTemplateCommandOutput} for command's `response` shape.
78
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>You do not have sufficient permissions to perform this action.</p>
82
+ *
83
+ * @throws {@link ConflictException} (client fault)
84
+ * <p>The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.</p>
85
+ *
86
+ * @throws {@link InternalServerException} (server fault)
87
+ * <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
88
+ *
89
+ * @throws {@link ServiceQuotaExceededException} (client fault)
90
+ * <p>The request would exceed a service quota.</p>
91
+ *
92
+ * @throws {@link ServiceUnavailableException} (server fault)
93
+ * <p>The service is temporarily unavailable. This is a retryable error.</p>
94
+ *
95
+ * @throws {@link TagPolicyViolationException} (client fault)
96
+ * <p>The request violates a tag policy that is in effect for the account or organization.</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
103
+ *
104
+ * @throws {@link NetworkSecurityManagerServiceException}
105
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
106
+ *
107
+ *
108
+ * @example Create a WAF template
109
+ * ```javascript
110
+ * // Creates a new WAF template in published (ACTIVE) state with an associated rule.
111
+ * const input = {
112
+ * associatedRuleList: [
113
+ * {
114
+ * ruleIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
115
+ * }
116
+ * ],
117
+ * clientToken: "550e8400-e29b-41d4-a716-446655440004",
118
+ * firewallType: "WAF",
119
+ * isPublished: true,
120
+ * templateDescription: "Standard WAF template with baseline rule groups",
121
+ * templateName: "standard-waf-template"
122
+ * };
123
+ * const command = new CreateTemplateCommand(input);
124
+ * const response = await client.send(command);
125
+ * /* response is
126
+ * {
127
+ * associatedRuleList: [
128
+ * {
129
+ * ruleArn: "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
130
+ * }
131
+ * ],
132
+ * firewallType: "WAF",
133
+ * hasPublishedVersion: true,
134
+ * isSnapshot: false,
135
+ * status: "ACTIVE",
136
+ * templateArn: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789",
137
+ * templateDescription: "Standard WAF template with baseline rule groups",
138
+ * templateId: "xyz789",
139
+ * templateName: "standard-waf-template",
140
+ * updateToken: "d2e3f4a5-5b6c-4d7e-8f9a-9b0c1d2e3f4a",
141
+ * version: "1"
142
+ * }
143
+ * *\/
144
+ * ```
145
+ *
146
+ * @public
147
+ */
148
+ export declare class CreateTemplateCommand extends CreateTemplateCommand_base {
149
+ /** @internal type navigation helper, not in runtime. */
150
+ protected static __types: {
151
+ api: {
152
+ input: CreateTemplateInput;
153
+ output: CreateTemplateOutput;
154
+ };
155
+ sdk: {
156
+ input: CreateTemplateCommandInput;
157
+ output: CreateTemplateCommandOutput;
158
+ };
159
+ };
160
+ }
@@ -0,0 +1,139 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateTemplateSnapshotInput, CreateTemplateSnapshotOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateTemplateSnapshotCommand}.
11
+ */
12
+ export interface CreateTemplateSnapshotCommandInput extends CreateTemplateSnapshotInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateTemplateSnapshotCommand}.
18
+ */
19
+ export interface CreateTemplateSnapshotCommandOutput extends CreateTemplateSnapshotOutput, __MetadataBearer {
20
+ }
21
+ declare const CreateTemplateSnapshotCommand_base: {
22
+ new (input: CreateTemplateSnapshotCommandInput): import("@smithy/core/client").CommandImpl<CreateTemplateSnapshotCommandInput, CreateTemplateSnapshotCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateTemplateSnapshotCommandInput): import("@smithy/core/client").CommandImpl<CreateTemplateSnapshotCommandInput, CreateTemplateSnapshotCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a snapshot of the current published version of the specified template.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkSecurityManagerClient, CreateTemplateSnapshotCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, CreateTemplateSnapshotCommand } = require("@aws-sdk/client-network-security-manager"); // CommonJS import
33
+ * // import type { NetworkSecurityManagerClientConfig } from "@aws-sdk/client-network-security-manager";
34
+ * const config = {}; // type is NetworkSecurityManagerClientConfig
35
+ * const client = new NetworkSecurityManagerClient(config);
36
+ * const input = { // CreateTemplateSnapshotInput
37
+ * templateIdentifier: "STRING_VALUE", // required
38
+ * clientToken: "STRING_VALUE",
39
+ * tags: { // TagMap
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * };
43
+ * const command = new CreateTemplateSnapshotCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // CreateTemplateSnapshotOutput
46
+ * // templateId: "STRING_VALUE", // required
47
+ * // templateArn: "STRING_VALUE", // required
48
+ * // templateName: "STRING_VALUE", // required
49
+ * // templateDescription: "STRING_VALUE",
50
+ * // status: "DRAFT" || "ACTIVE" || "DISABLED", // required
51
+ * // version: "STRING_VALUE", // required
52
+ * // associatedRuleList: [ // AssociatedRuleList // required
53
+ * // { // AssociatedRule
54
+ * // ruleArn: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // updateToken: "STRING_VALUE",
58
+ * // isSnapshot: true || false,
59
+ * // hasPublishedVersion: true || false,
60
+ * // firewallType: "WAF", // required
61
+ * // updatedAt: new Date("TIMESTAMP"),
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param CreateTemplateSnapshotCommandInput - {@link CreateTemplateSnapshotCommandInput}
67
+ * @returns {@link CreateTemplateSnapshotCommandOutput}
68
+ * @see {@link CreateTemplateSnapshotCommandInput} for command's `input` shape.
69
+ * @see {@link CreateTemplateSnapshotCommandOutput} for command's `response` shape.
70
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>You do not have sufficient permissions to perform this action.</p>
74
+ *
75
+ * @throws {@link ConflictException} (client fault)
76
+ * <p>The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.</p>
77
+ *
78
+ * @throws {@link InternalServerException} (server fault)
79
+ * <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.</p>
83
+ *
84
+ * @throws {@link ServiceQuotaExceededException} (client fault)
85
+ * <p>The request would exceed a service quota.</p>
86
+ *
87
+ * @throws {@link ThrottlingException} (client fault)
88
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
92
+ *
93
+ * @throws {@link NetworkSecurityManagerServiceException}
94
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
95
+ *
96
+ *
97
+ * @example Create a template snapshot
98
+ * ```javascript
99
+ * // Creates an immutable snapshot of the current published version of a template. The snapshot is addressable by a version-qualified ARN.
100
+ * const input = {
101
+ * clientToken: "550e8400-e29b-41d4-a716-446655440012",
102
+ * templateIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789"
103
+ * };
104
+ * const command = new CreateTemplateSnapshotCommand(input);
105
+ * const response = await client.send(command);
106
+ * /* response is
107
+ * {
108
+ * associatedRuleList: [
109
+ * {
110
+ * ruleArn: "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
111
+ * }
112
+ * ],
113
+ * firewallType: "WAF",
114
+ * isSnapshot: true,
115
+ * status: "ACTIVE",
116
+ * templateArn: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789:2",
117
+ * templateId: "xyz789",
118
+ * templateName: "standard-waf-template",
119
+ * updatedAt: "2026-08-20T12:00:00Z",
120
+ * version: "2"
121
+ * }
122
+ * *\/
123
+ * ```
124
+ *
125
+ * @public
126
+ */
127
+ export declare class CreateTemplateSnapshotCommand extends CreateTemplateSnapshotCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: CreateTemplateSnapshotInput;
132
+ output: CreateTemplateSnapshotOutput;
133
+ };
134
+ sdk: {
135
+ input: CreateTemplateSnapshotCommandInput;
136
+ output: CreateTemplateSnapshotCommandOutput;
137
+ };
138
+ };
139
+ }
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteAdminAccountRequest } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteAdminAccountCommand}.
11
+ */
12
+ export interface DeleteAdminAccountCommandInput extends DeleteAdminAccountRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteAdminAccountCommand}.
18
+ */
19
+ export interface DeleteAdminAccountCommandOutput extends __MetadataBearer {
20
+ }
21
+ declare const DeleteAdminAccountCommand_base: {
22
+ new (input: DeleteAdminAccountCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdminAccountCommandInput, DeleteAdminAccountCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAdminAccountCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdminAccountCommandInput, DeleteAdminAccountCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Removes the specified AWS Network Security Manager administrator account.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkSecurityManagerClient, DeleteAdminAccountCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, DeleteAdminAccountCommand } = require("@aws-sdk/client-network-security-manager"); // CommonJS import
33
+ * // import type { NetworkSecurityManagerClientConfig } from "@aws-sdk/client-network-security-manager";
34
+ * const config = {}; // type is NetworkSecurityManagerClientConfig
35
+ * const client = new NetworkSecurityManagerClient(config);
36
+ * const input = { // DeleteAdminAccountRequest
37
+ * accountId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteAdminAccountCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteAdminAccountCommandInput - {@link DeleteAdminAccountCommandInput}
46
+ * @returns {@link DeleteAdminAccountCommandOutput}
47
+ * @see {@link DeleteAdminAccountCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteAdminAccountCommandOutput} for command's `response` shape.
49
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You do not have sufficient permissions to perform this action.</p>
53
+ *
54
+ * @throws {@link InternalServerException} (server fault)
55
+ * <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
56
+ *
57
+ * @throws {@link ThrottlingException} (client fault)
58
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
59
+ *
60
+ * @throws {@link ValidationException} (client fault)
61
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
62
+ *
63
+ * @throws {@link NetworkSecurityManagerServiceException}
64
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
65
+ *
66
+ *
67
+ * @example Remove an administrator account
68
+ * ```javascript
69
+ * // Removes an account's Network Security Manager administrator designation.
70
+ * const input = {
71
+ * accountId: "234567890123"
72
+ * };
73
+ * const command = new DeleteAdminAccountCommand(input);
74
+ * const response = await client.send(command);
75
+ * /* response is
76
+ * { /* metadata only *\/ }
77
+ * *\/
78
+ * ```
79
+ *
80
+ * @public
81
+ */
82
+ export declare class DeleteAdminAccountCommand extends DeleteAdminAccountCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: DeleteAdminAccountRequest;
87
+ output: {};
88
+ };
89
+ sdk: {
90
+ input: DeleteAdminAccountCommandInput;
91
+ output: DeleteAdminAccountCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteDeploymentInput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteDeploymentCommand}.
11
+ */
12
+ export interface DeleteDeploymentCommandInput extends DeleteDeploymentInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteDeploymentCommand}.
18
+ */
19
+ export interface DeleteDeploymentCommandOutput extends __MetadataBearer {
20
+ }
21
+ declare const DeleteDeploymentCommand_base: {
22
+ new (input: DeleteDeploymentCommandInput): import("@smithy/core/client").CommandImpl<DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteDeploymentCommandInput): import("@smithy/core/client").CommandImpl<DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes the specified deployment.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkSecurityManagerClient, DeleteDeploymentCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, DeleteDeploymentCommand } = require("@aws-sdk/client-network-security-manager"); // CommonJS import
33
+ * // import type { NetworkSecurityManagerClientConfig } from "@aws-sdk/client-network-security-manager";
34
+ * const config = {}; // type is NetworkSecurityManagerClientConfig
35
+ * const client = new NetworkSecurityManagerClient(config);
36
+ * const input = { // DeleteDeploymentInput
37
+ * deploymentIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteDeploymentCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteDeploymentCommandInput - {@link DeleteDeploymentCommandInput}
46
+ * @returns {@link DeleteDeploymentCommandOutput}
47
+ * @see {@link DeleteDeploymentCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteDeploymentCommandOutput} for command's `response` shape.
49
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You do not have sufficient permissions to perform this action.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
65
+ *
66
+ * @throws {@link NetworkSecurityManagerServiceException}
67
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
68
+ *
69
+ *
70
+ * @example Delete a deployment
71
+ * ```javascript
72
+ * // Deletes a deployment by its ARN. Deleting an active deployment stops enforcement and triggers cleanup of managed firewall resources.
73
+ * const input = {
74
+ * deploymentIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:deployment:def456"
75
+ * };
76
+ * const command = new DeleteDeploymentCommand(input);
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* metadata only *\/ }
80
+ * *\/
81
+ * ```
82
+ *
83
+ * @public
84
+ */
85
+ export declare class DeleteDeploymentCommand extends DeleteDeploymentCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: DeleteDeploymentInput;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: DeleteDeploymentCommandInput;
94
+ output: DeleteDeploymentCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeletePolicyInput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeletePolicyCommand}.
11
+ */
12
+ export interface DeletePolicyCommandInput extends DeletePolicyInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeletePolicyCommand}.
18
+ */
19
+ export interface DeletePolicyCommandOutput extends __MetadataBearer {
20
+ }
21
+ declare const DeletePolicyCommand_base: {
22
+ new (input: DeletePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeletePolicyCommandInput, DeletePolicyCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeletePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeletePolicyCommandInput, DeletePolicyCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes the specified policy.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkSecurityManagerClient, DeletePolicyCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, DeletePolicyCommand } = require("@aws-sdk/client-network-security-manager"); // CommonJS import
33
+ * // import type { NetworkSecurityManagerClientConfig } from "@aws-sdk/client-network-security-manager";
34
+ * const config = {}; // type is NetworkSecurityManagerClientConfig
35
+ * const client = new NetworkSecurityManagerClient(config);
36
+ * const input = { // DeletePolicyInput
37
+ * policyIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeletePolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeletePolicyCommandInput - {@link DeletePolicyCommandInput}
46
+ * @returns {@link DeletePolicyCommandOutput}
47
+ * @see {@link DeletePolicyCommandInput} for command's `input` shape.
48
+ * @see {@link DeletePolicyCommandOutput} for command's `response` shape.
49
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You do not have sufficient permissions to perform this action.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
65
+ *
66
+ * @throws {@link NetworkSecurityManagerServiceException}
67
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
68
+ *
69
+ *
70
+ * @example Delete a policy
71
+ * ```javascript
72
+ * // Deletes a policy by its ARN. The policy must not be associated with any deployment.
73
+ * const input = {
74
+ * policyIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:policy:xyz789"
75
+ * };
76
+ * const command = new DeletePolicyCommand(input);
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* metadata only *\/ }
80
+ * *\/
81
+ * ```
82
+ *
83
+ * @public
84
+ */
85
+ export declare class DeletePolicyCommand extends DeletePolicyCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: DeletePolicyInput;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: DeletePolicyCommandInput;
94
+ output: DeletePolicyCommandOutput;
95
+ };
96
+ };
97
+ }