@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,126 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListTemplateSnapshotsInput, ListTemplateSnapshotsOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListTemplateSnapshotsCommand}.
11
+ */
12
+ export interface ListTemplateSnapshotsCommandInput extends ListTemplateSnapshotsInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListTemplateSnapshotsCommand}.
18
+ */
19
+ export interface ListTemplateSnapshotsCommandOutput extends ListTemplateSnapshotsOutput, __MetadataBearer {
20
+ }
21
+ declare const ListTemplateSnapshotsCommand_base: {
22
+ new (input: ListTemplateSnapshotsCommandInput): import("@smithy/core/client").CommandImpl<ListTemplateSnapshotsCommandInput, ListTemplateSnapshotsCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListTemplateSnapshotsCommandInput): import("@smithy/core/client").CommandImpl<ListTemplateSnapshotsCommandInput, ListTemplateSnapshotsCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the snapshots 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, ListTemplateSnapshotsCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, ListTemplateSnapshotsCommand } = 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 = { // ListTemplateSnapshotsInput
37
+ * templateIdentifier: "STRING_VALUE", // required
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListTemplateSnapshotsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListTemplateSnapshotsOutput
44
+ * // nextToken: "STRING_VALUE",
45
+ * // snapshots: [ // TemplateSummaryList // required
46
+ * // { // TemplateSummary
47
+ * // templateId: "STRING_VALUE", // required
48
+ * // templateArn: "STRING_VALUE", // required
49
+ * // templateName: "STRING_VALUE", // required
50
+ * // status: "DRAFT" || "ACTIVE" || "DISABLED",
51
+ * // version: "STRING_VALUE",
52
+ * // hasPublishedVersion: true || false,
53
+ * // firewallType: "WAF",
54
+ * // updatedAt: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // ],
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListTemplateSnapshotsCommandInput - {@link ListTemplateSnapshotsCommandInput}
62
+ * @returns {@link ListTemplateSnapshotsCommandOutput}
63
+ * @see {@link ListTemplateSnapshotsCommandInput} for command's `input` shape.
64
+ * @see {@link ListTemplateSnapshotsCommandOutput} for command's `response` shape.
65
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You do not have sufficient permissions to perform this action.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <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>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
81
+ *
82
+ * @throws {@link NetworkSecurityManagerServiceException}
83
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
84
+ *
85
+ *
86
+ * @example List the snapshots of a template
87
+ * ```javascript
88
+ * // Lists the immutable snapshots that have been created for a template.
89
+ * const input = {
90
+ * maxResults: 10,
91
+ * templateIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789"
92
+ * };
93
+ * const command = new ListTemplateSnapshotsCommand(input);
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * {
97
+ * snapshots: [
98
+ * {
99
+ * firewallType: "WAF",
100
+ * status: "ACTIVE",
101
+ * templateArn: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789:2",
102
+ * templateId: "xyz789",
103
+ * templateName: "standard-waf-template",
104
+ * updatedAt: "2026-08-20T12:00:00Z",
105
+ * version: "2"
106
+ * }
107
+ * ]
108
+ * }
109
+ * *\/
110
+ * ```
111
+ *
112
+ * @public
113
+ */
114
+ export declare class ListTemplateSnapshotsCommand extends ListTemplateSnapshotsCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: ListTemplateSnapshotsInput;
119
+ output: ListTemplateSnapshotsOutput;
120
+ };
121
+ sdk: {
122
+ input: ListTemplateSnapshotsCommandInput;
123
+ output: ListTemplateSnapshotsCommandOutput;
124
+ };
125
+ };
126
+ }
@@ -0,0 +1,124 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListTemplatesInput, ListTemplatesOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListTemplatesCommand}.
11
+ */
12
+ export interface ListTemplatesCommandInput extends ListTemplatesInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListTemplatesCommand}.
18
+ */
19
+ export interface ListTemplatesCommandOutput extends ListTemplatesOutput, __MetadataBearer {
20
+ }
21
+ declare const ListTemplatesCommand_base: {
22
+ new (input: ListTemplatesCommandInput): import("@smithy/core/client").CommandImpl<ListTemplatesCommandInput, ListTemplatesCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListTemplatesCommandInput]): import("@smithy/core/client").CommandImpl<ListTemplatesCommandInput, ListTemplatesCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the templates in the account. You can filter the results by status and page through them using <code>maxResults</code> and <code>nextToken</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkSecurityManagerClient, ListTemplatesCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, ListTemplatesCommand } = 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 = { // ListTemplatesInput
37
+ * maxResults: Number("int"),
38
+ * nextToken: "STRING_VALUE",
39
+ * status: "ACTIVE" || "DRAFT" || "DISABLED",
40
+ * };
41
+ * const command = new ListTemplatesCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListTemplatesOutput
44
+ * // nextToken: "STRING_VALUE",
45
+ * // templates: [ // TemplateSummaryList // required
46
+ * // { // TemplateSummary
47
+ * // templateId: "STRING_VALUE", // required
48
+ * // templateArn: "STRING_VALUE", // required
49
+ * // templateName: "STRING_VALUE", // required
50
+ * // status: "DRAFT" || "ACTIVE" || "DISABLED",
51
+ * // version: "STRING_VALUE",
52
+ * // hasPublishedVersion: true || false,
53
+ * // firewallType: "WAF",
54
+ * // updatedAt: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // ],
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListTemplatesCommandInput - {@link ListTemplatesCommandInput}
62
+ * @returns {@link ListTemplatesCommandOutput}
63
+ * @see {@link ListTemplatesCommandInput} for command's `input` shape.
64
+ * @see {@link ListTemplatesCommandOutput} for command's `response` shape.
65
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You do not have sufficient permissions to perform this action.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
78
+ *
79
+ * @throws {@link NetworkSecurityManagerServiceException}
80
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
81
+ *
82
+ *
83
+ * @example List templates
84
+ * ```javascript
85
+ * // Lists the published templates in the account, one page at a time.
86
+ * const input = {
87
+ * maxResults: 10,
88
+ * status: "ACTIVE"
89
+ * };
90
+ * const command = new ListTemplatesCommand(input);
91
+ * const response = await client.send(command);
92
+ * /* response is
93
+ * {
94
+ * templates: [
95
+ * {
96
+ * firewallType: "WAF",
97
+ * hasPublishedVersion: true,
98
+ * status: "ACTIVE",
99
+ * templateArn: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789",
100
+ * templateId: "xyz789",
101
+ * templateName: "standard-waf-template",
102
+ * updatedAt: "2026-08-20T12:00:00Z",
103
+ * version: "2"
104
+ * }
105
+ * ]
106
+ * }
107
+ * *\/
108
+ * ```
109
+ *
110
+ * @public
111
+ */
112
+ export declare class ListTemplatesCommand extends ListTemplatesCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: ListTemplatesInput;
117
+ output: ListTemplatesOutput;
118
+ };
119
+ sdk: {
120
+ input: ListTemplatesCommandInput;
121
+ output: ListTemplatesCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -0,0 +1,218 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { PutAdminAccountRequest, PutAdminAccountResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link PutAdminAccountCommand}.
11
+ */
12
+ export interface PutAdminAccountCommandInput extends PutAdminAccountRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link PutAdminAccountCommand}.
18
+ */
19
+ export interface PutAdminAccountCommandOutput extends PutAdminAccountResponse, __MetadataBearer {
20
+ }
21
+ declare const PutAdminAccountCommand_base: {
22
+ new (input: PutAdminAccountCommandInput): import("@smithy/core/client").CommandImpl<PutAdminAccountCommandInput, PutAdminAccountCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutAdminAccountCommandInput): import("@smithy/core/client").CommandImpl<PutAdminAccountCommandInput, PutAdminAccountCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Sets the AWS account that serves as an AWS Network Security Manager administrator account, and optionally configures the scope of resources that the administrator can manage.</p> <p>You can't set an administrator account again immediately after you remove it, or while the service creates its service-linked role. Retry the request after a few minutes.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkSecurityManagerClient, PutAdminAccountCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, PutAdminAccountCommand } = 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 = { // PutAdminAccountRequest
37
+ * accountId: "STRING_VALUE", // required
38
+ * priority: Number("int"), // required
39
+ * adminScope: { // AdminScopeInput
40
+ * scopeFilter: { // AdminScopeFilterInput Union: only one key present
41
+ * includeAll: {},
42
+ * includeOnly: { // AdminScopeSelectionInput
43
+ * accounts: [ // AccountIdList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * organizationalUnits: [ // OrganizationalUnitIdList
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * },
50
+ * excludeOnly: {
51
+ * accounts: [
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * organizationalUnits: [
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * },
58
+ * },
59
+ * firewallTypeScope: { // AdminFirewallTypeScope
60
+ * allFirewallTypesEnabled: true || false,
61
+ * firewallTypes: [ // FirewallTypeList
62
+ * "WAF" || "SHIELD_ADVANCED",
63
+ * ],
64
+ * },
65
+ * },
66
+ * };
67
+ * const command = new PutAdminAccountCommand(input);
68
+ * const response = await client.send(command);
69
+ * // { // PutAdminAccountResponse
70
+ * // adminAccountDetails: { // AdminAccountDetails
71
+ * // adminAccount: "STRING_VALUE", // required
72
+ * // priority: Number("int"), // required
73
+ * // adminScope: { // AdminScope
74
+ * // scopeFilter: { // AdminScopeFilter Union: only one key present
75
+ * // includeAll: {},
76
+ * // includeOnly: { // AdminScopeSelection
77
+ * // accounts: [ // AccountReferenceList
78
+ * // { // AccountReference
79
+ * // accountId: "STRING_VALUE", // required
80
+ * // name: "STRING_VALUE",
81
+ * // email: "STRING_VALUE",
82
+ * // },
83
+ * // ],
84
+ * // organizationalUnits: [ // OrganizationalUnitReferenceList
85
+ * // { // OrganizationalUnitReference
86
+ * // ouId: "STRING_VALUE", // required
87
+ * // name: "STRING_VALUE",
88
+ * // },
89
+ * // ],
90
+ * // },
91
+ * // excludeOnly: {
92
+ * // accounts: [
93
+ * // {
94
+ * // accountId: "STRING_VALUE", // required
95
+ * // name: "STRING_VALUE",
96
+ * // email: "STRING_VALUE",
97
+ * // },
98
+ * // ],
99
+ * // organizationalUnits: [
100
+ * // {
101
+ * // ouId: "STRING_VALUE", // required
102
+ * // name: "STRING_VALUE",
103
+ * // },
104
+ * // ],
105
+ * // },
106
+ * // },
107
+ * // firewallTypeScope: { // AdminFirewallTypeScope
108
+ * // allFirewallTypesEnabled: true || false,
109
+ * // firewallTypes: [ // FirewallTypeList
110
+ * // "WAF" || "SHIELD_ADVANCED",
111
+ * // ],
112
+ * // },
113
+ * // },
114
+ * // status: "ONBOARDED" || "OFFBOARDED",
115
+ * // },
116
+ * // };
117
+ *
118
+ * ```
119
+ *
120
+ * @param PutAdminAccountCommandInput - {@link PutAdminAccountCommandInput}
121
+ * @returns {@link PutAdminAccountCommandOutput}
122
+ * @see {@link PutAdminAccountCommandInput} for command's `input` shape.
123
+ * @see {@link PutAdminAccountCommandOutput} for command's `response` shape.
124
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
125
+ *
126
+ * @throws {@link AccessDeniedException} (client fault)
127
+ * <p>You do not have sufficient permissions to perform this action.</p>
128
+ *
129
+ * @throws {@link ConflictException} (client fault)
130
+ * <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>
131
+ *
132
+ * @throws {@link InternalServerException} (server fault)
133
+ * <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
134
+ *
135
+ * @throws {@link ServiceQuotaExceededException} (client fault)
136
+ * <p>The request would exceed a service quota.</p>
137
+ *
138
+ * @throws {@link ServiceUnavailableException} (server fault)
139
+ * <p>The service is temporarily unavailable. This is a retryable error.</p>
140
+ *
141
+ * @throws {@link ThrottlingException} (client fault)
142
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
143
+ *
144
+ * @throws {@link ValidationException} (client fault)
145
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
146
+ *
147
+ * @throws {@link NetworkSecurityManagerServiceException}
148
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
149
+ *
150
+ *
151
+ * @example Designate an administrator account
152
+ * ```javascript
153
+ * // Designates an account as a Network Security Manager administrator, scoped to a specific organizational unit and the WAF firewall type.
154
+ * const input = {
155
+ * accountId: "234567890123",
156
+ * adminScope: {
157
+ * firewallTypeScope: {
158
+ * allFirewallTypesEnabled: false,
159
+ * firewallTypes: [
160
+ * "WAF"
161
+ * ]
162
+ * },
163
+ * scopeFilter: {
164
+ * includeOnly: {
165
+ * organizationalUnits: [
166
+ * "ou-abcd-12345678"
167
+ * ]
168
+ * }
169
+ * }
170
+ * },
171
+ * priority: 2
172
+ * };
173
+ * const command = new PutAdminAccountCommand(input);
174
+ * const response = await client.send(command);
175
+ * /* response is
176
+ * {
177
+ * adminAccountDetails: {
178
+ * adminAccount: "234567890123",
179
+ * adminScope: {
180
+ * firewallTypeScope: {
181
+ * allFirewallTypesEnabled: false,
182
+ * firewallTypes: [
183
+ * "WAF"
184
+ * ]
185
+ * },
186
+ * scopeFilter: {
187
+ * includeOnly: {
188
+ * organizationalUnits: [
189
+ * {
190
+ * name: "Production",
191
+ * ouId: "ou-abcd-12345678"
192
+ * }
193
+ * ]
194
+ * }
195
+ * }
196
+ * },
197
+ * priority: 2,
198
+ * status: "ONBOARDED"
199
+ * }
200
+ * }
201
+ * *\/
202
+ * ```
203
+ *
204
+ * @public
205
+ */
206
+ export declare class PutAdminAccountCommand extends PutAdminAccountCommand_base {
207
+ /** @internal type navigation helper, not in runtime. */
208
+ protected static __types: {
209
+ api: {
210
+ input: PutAdminAccountRequest;
211
+ output: PutAdminAccountResponse;
212
+ };
213
+ sdk: {
214
+ input: PutAdminAccountCommandInput;
215
+ output: PutAdminAccountCommandOutput;
216
+ };
217
+ };
218
+ }
@@ -0,0 +1,107 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { TagResourceInput, TagResourceOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link TagResourceCommand}.
11
+ */
12
+ export interface TagResourceCommandInput extends TagResourceInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link TagResourceCommand}.
18
+ */
19
+ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
20
+ }
21
+ declare const TagResourceCommand_base: {
22
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Adds or overwrites the specified tags on the given resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkSecurityManagerClient, TagResourceCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, TagResourceCommand } = 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 = { // TagResourceInput
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tags: { // TagMap // required
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * };
42
+ * const command = new TagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
49
+ * @returns {@link TagResourceCommandOutput}
50
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You do not have sufficient permissions to perform this action.</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 ResourceNotFoundException} (client fault)
61
+ * <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>
62
+ *
63
+ * @throws {@link TagPolicyViolationException} (client fault)
64
+ * <p>The request violates a tag policy that is in effect for the account or organization.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
71
+ *
72
+ * @throws {@link NetworkSecurityManagerServiceException}
73
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
74
+ *
75
+ *
76
+ * @example Tag a resource
77
+ * ```javascript
78
+ * // Adds tags to a Network Security Manager resource.
79
+ * const input = {
80
+ * resourceArn: "arn:aws:network-security-manager:us-east-1:123456789012:policy:xyz789",
81
+ * tags: {
82
+ * Environment: "Production",
83
+ * Team: "NetworkSecurity"
84
+ * }
85
+ * };
86
+ * const command = new TagResourceCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * { /* metadata only *\/ }
90
+ * *\/
91
+ * ```
92
+ *
93
+ * @public
94
+ */
95
+ export declare class TagResourceCommand extends TagResourceCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: TagResourceInput;
100
+ output: {};
101
+ };
102
+ sdk: {
103
+ input: TagResourceCommandInput;
104
+ output: TagResourceCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -0,0 +1,106 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UntagResourceCommand}.
11
+ */
12
+ export interface UntagResourceCommandInput extends UntagResourceInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UntagResourceCommand}.
18
+ */
19
+ export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
20
+ }
21
+ declare const UntagResourceCommand_base: {
22
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Removes the specified tags from the given resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkSecurityManagerClient, UntagResourceCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
32
+ * // const { NetworkSecurityManagerClient, UntagResourceCommand } = 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 = { // UntagResourceInput
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tagKeys: [ // TagKeyList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new UntagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
49
+ * @returns {@link UntagResourceCommandOutput}
50
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You do not have sufficient permissions to perform this action.</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 ResourceNotFoundException} (client fault)
61
+ * <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>
62
+ *
63
+ * @throws {@link TagPolicyViolationException} (client fault)
64
+ * <p>The request violates a tag policy that is in effect for the account or organization.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
71
+ *
72
+ * @throws {@link NetworkSecurityManagerServiceException}
73
+ * <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
74
+ *
75
+ *
76
+ * @example Remove tags from a resource
77
+ * ```javascript
78
+ * // Removes the specified tag keys from a Network Security Manager resource.
79
+ * const input = {
80
+ * resourceArn: "arn:aws:network-security-manager:us-east-1:123456789012:policy:xyz789",
81
+ * tagKeys: [
82
+ * "Environment"
83
+ * ]
84
+ * };
85
+ * const command = new UntagResourceCommand(input);
86
+ * const response = await client.send(command);
87
+ * /* response is
88
+ * { /* metadata only *\/ }
89
+ * *\/
90
+ * ```
91
+ *
92
+ * @public
93
+ */
94
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: UntagResourceInput;
99
+ output: {};
100
+ };
101
+ sdk: {
102
+ input: UntagResourceCommandInput;
103
+ output: UntagResourceCommandOutput;
104
+ };
105
+ };
106
+ }