@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,4006 @@
1
+ import type { DocumentType as __DocumentType } from "@smithy/types";
2
+ import type { AdminAccountStatus, EntityStatus, EntityStatusFilter, ExistingCustomerWebACLResolution, IpAddressType, PolicyFirewallType, ResourceType, RuleFirewallType, RuleType, Scheme, ScopeResourceType, ServiceResourceType, SynchronizationStatus, TemplateFirewallType, WAFConfigDataType, WAFConflictResolutionOptions } from "./enums";
3
+ /**
4
+ * <p>A set of AWS accounts and organizational units.</p>
5
+ * @public
6
+ */
7
+ export interface AccountSet {
8
+ /**
9
+ * <p>The list of AWS account IDs.</p>
10
+ * @public
11
+ */
12
+ accountIds?: string[] | undefined;
13
+ /**
14
+ * <p>The AWS Organizations organizational units (OUs) in the selection.</p>
15
+ * @public
16
+ */
17
+ organizationalUnits?: string[] | undefined;
18
+ }
19
+ /**
20
+ * @public
21
+ */
22
+ export interface Unit {
23
+ }
24
+ /**
25
+ * <p>Determines which accounts are in scope. Exactly one of <code>includeAll</code>, <code>include</code>, or <code>exclude</code> is set.</p>
26
+ * @public
27
+ */
28
+ export type AccountFilter = AccountFilter.ExcludeMember | AccountFilter.IncludeMember | AccountFilter.IncludeAllMember | AccountFilter.$UnknownMember;
29
+ /**
30
+ * @public
31
+ */
32
+ export declare namespace AccountFilter {
33
+ /**
34
+ * <p>Includes all accounts. No account filtering is applied.</p>
35
+ * @public
36
+ */
37
+ interface IncludeAllMember {
38
+ includeAll: Unit;
39
+ include?: never;
40
+ exclude?: never;
41
+ $unknown?: never;
42
+ }
43
+ /**
44
+ * <p>Includes only the specified accounts and organizational units.</p>
45
+ * @public
46
+ */
47
+ interface IncludeMember {
48
+ includeAll?: never;
49
+ include: AccountSet;
50
+ exclude?: never;
51
+ $unknown?: never;
52
+ }
53
+ /**
54
+ * <p>Excludes the specified accounts and organizational units. All others are in scope.</p>
55
+ * @public
56
+ */
57
+ interface ExcludeMember {
58
+ includeAll?: never;
59
+ include?: never;
60
+ exclude: AccountSet;
61
+ $unknown?: never;
62
+ }
63
+ /**
64
+ * @public
65
+ */
66
+ interface $UnknownMember {
67
+ includeAll?: never;
68
+ include?: never;
69
+ exclude?: never;
70
+ $unknown: [string, any];
71
+ }
72
+ /**
73
+ * @deprecated unused in schema-serde mode.
74
+ *
75
+ */
76
+ interface Visitor<T> {
77
+ includeAll: (value: Unit) => T;
78
+ include: (value: AccountSet) => T;
79
+ exclude: (value: AccountSet) => T;
80
+ _: (name: string, value: any) => T;
81
+ }
82
+ }
83
+ /**
84
+ * <p>A reference to an AWS account, with optional display metadata.</p>
85
+ * @public
86
+ */
87
+ export interface AccountReference {
88
+ /**
89
+ * <p>The AWS account ID.</p>
90
+ * @public
91
+ */
92
+ accountId: string | undefined;
93
+ /**
94
+ * <p>The display name of the account.</p>
95
+ * @public
96
+ */
97
+ name?: string | undefined;
98
+ /**
99
+ * <p>The email address associated with the account.</p>
100
+ * @public
101
+ */
102
+ email?: string | undefined;
103
+ }
104
+ /**
105
+ * <p>Defines the firewall types that an administrator can create and manage.</p>
106
+ * @public
107
+ */
108
+ export interface AdminFirewallTypeScope {
109
+ /**
110
+ * <p>Specifies whether the administrator can manage all firewall types, except for third-party firewall types.</p>
111
+ * @public
112
+ */
113
+ allFirewallTypesEnabled?: boolean | undefined;
114
+ /**
115
+ * <p>The list of firewall types that the administrator can manage.</p>
116
+ * @public
117
+ */
118
+ firewallTypes?: PolicyFirewallType[] | undefined;
119
+ }
120
+ /**
121
+ * <p>A reference to an AWS Organizations organizational unit (OU), with optional display metadata.</p>
122
+ * @public
123
+ */
124
+ export interface OrganizationalUnitReference {
125
+ /**
126
+ * <p>The ID of the AWS Organizations organizational unit (OU).</p>
127
+ * @public
128
+ */
129
+ ouId: string | undefined;
130
+ /**
131
+ * <p>The display name of the organizational unit.</p>
132
+ * @public
133
+ */
134
+ name?: string | undefined;
135
+ }
136
+ /**
137
+ * <p>A selection of accounts and organizational units. This is the reference form, which includes display metadata.</p>
138
+ * @public
139
+ */
140
+ export interface AdminScopeSelection {
141
+ /**
142
+ * <p>The AWS accounts in the selection.</p>
143
+ * @public
144
+ */
145
+ accounts?: AccountReference[] | undefined;
146
+ /**
147
+ * <p>The AWS Organizations organizational units (OUs) in the selection.</p>
148
+ * @public
149
+ */
150
+ organizationalUnits?: OrganizationalUnitReference[] | undefined;
151
+ }
152
+ /**
153
+ * <p>Determines which accounts and organizational units are in an administrator's scope. This is the reference form, which includes display metadata.</p>
154
+ * @public
155
+ */
156
+ export type AdminScopeFilter = AdminScopeFilter.ExcludeOnlyMember | AdminScopeFilter.IncludeAllMember | AdminScopeFilter.IncludeOnlyMember | AdminScopeFilter.$UnknownMember;
157
+ /**
158
+ * @public
159
+ */
160
+ export declare namespace AdminScopeFilter {
161
+ /**
162
+ * <p>All accounts and organizational units are in scope.</p>
163
+ * @public
164
+ */
165
+ interface IncludeAllMember {
166
+ includeAll: Unit;
167
+ includeOnly?: never;
168
+ excludeOnly?: never;
169
+ $unknown?: never;
170
+ }
171
+ /**
172
+ * <p>Only the specified accounts and organizational units are in the administrator's scope.</p>
173
+ * @public
174
+ */
175
+ interface IncludeOnlyMember {
176
+ includeAll?: never;
177
+ includeOnly: AdminScopeSelection;
178
+ excludeOnly?: never;
179
+ $unknown?: never;
180
+ }
181
+ /**
182
+ * <p>The accounts and organizational units to exclude from the administrator's scope. All others are in scope.</p>
183
+ * @public
184
+ */
185
+ interface ExcludeOnlyMember {
186
+ includeAll?: never;
187
+ includeOnly?: never;
188
+ excludeOnly: AdminScopeSelection;
189
+ $unknown?: never;
190
+ }
191
+ /**
192
+ * @public
193
+ */
194
+ interface $UnknownMember {
195
+ includeAll?: never;
196
+ includeOnly?: never;
197
+ excludeOnly?: never;
198
+ $unknown: [string, any];
199
+ }
200
+ /**
201
+ * @deprecated unused in schema-serde mode.
202
+ *
203
+ */
204
+ interface Visitor<T> {
205
+ includeAll: (value: Unit) => T;
206
+ includeOnly: (value: AdminScopeSelection) => T;
207
+ excludeOnly: (value: AdminScopeSelection) => T;
208
+ _: (name: string, value: any) => T;
209
+ }
210
+ }
211
+ /**
212
+ * <p>Defines the accounts, organizational units, and firewall types that an administrator can manage.</p>
213
+ * @public
214
+ */
215
+ export interface AdminScope {
216
+ /**
217
+ * <p>The filter that determines which accounts and organizational units are in the administrator's scope.</p>
218
+ * @public
219
+ */
220
+ scopeFilter?: AdminScopeFilter | undefined;
221
+ /**
222
+ * <p>The firewall types that the administrator can create and manage.</p>
223
+ * @public
224
+ */
225
+ firewallTypeScope?: AdminFirewallTypeScope | undefined;
226
+ }
227
+ /**
228
+ * <p>The details of an AWS Network Security Manager administrator account.</p>
229
+ * @public
230
+ */
231
+ export interface AdminAccountDetails {
232
+ /**
233
+ * <p>The AWS account ID of the administrator account.</p>
234
+ * @public
235
+ */
236
+ adminAccount: string | undefined;
237
+ /**
238
+ * <p>The priority assigned to the administrator account.</p>
239
+ * @public
240
+ */
241
+ priority: number | undefined;
242
+ /**
243
+ * <p>The administrative scope, which defines the accounts, organizational units, and firewall types that the administrator can manage.</p>
244
+ * @public
245
+ */
246
+ adminScope?: AdminScope | undefined;
247
+ /**
248
+ * <p>The status of the administrator account, either <code>ONBOARDED</code> or <code>OFFBOARDED</code>.</p>
249
+ * @public
250
+ */
251
+ status?: AdminAccountStatus | undefined;
252
+ }
253
+ /**
254
+ * <p>Summary information about an AWS Network Security Manager administrator account.</p>
255
+ * @public
256
+ */
257
+ export interface AdminAccountSummary {
258
+ /**
259
+ * <p>The AWS account ID.</p>
260
+ * @public
261
+ */
262
+ accountId: string | undefined;
263
+ /**
264
+ * <p>The priority assigned to the administrator account.</p>
265
+ * @public
266
+ */
267
+ priority?: number | undefined;
268
+ /**
269
+ * <p>The name of the administrator account.</p>
270
+ * @public
271
+ */
272
+ name?: string | undefined;
273
+ /**
274
+ * <p>The email address associated with the account.</p>
275
+ * @public
276
+ */
277
+ email?: string | undefined;
278
+ }
279
+ /**
280
+ * <p>A selection of accounts and organizational units. This is the input form, which uses account and organizational unit IDs.</p>
281
+ * @public
282
+ */
283
+ export interface AdminScopeSelectionInput {
284
+ /**
285
+ * <p>The AWS accounts in the selection.</p>
286
+ * @public
287
+ */
288
+ accounts?: string[] | undefined;
289
+ /**
290
+ * <p>The AWS Organizations organizational units (OUs) in the selection.</p>
291
+ * @public
292
+ */
293
+ organizationalUnits?: string[] | undefined;
294
+ }
295
+ /**
296
+ * <p>Determines which accounts and organizational units are in an administrator's scope. This is the input form, which uses account and organizational unit IDs.</p>
297
+ * @public
298
+ */
299
+ export type AdminScopeFilterInput = AdminScopeFilterInput.ExcludeOnlyMember | AdminScopeFilterInput.IncludeAllMember | AdminScopeFilterInput.IncludeOnlyMember | AdminScopeFilterInput.$UnknownMember;
300
+ /**
301
+ * @public
302
+ */
303
+ export declare namespace AdminScopeFilterInput {
304
+ /**
305
+ * <p>All accounts and organizational units are in scope.</p>
306
+ * @public
307
+ */
308
+ interface IncludeAllMember {
309
+ includeAll: Unit;
310
+ includeOnly?: never;
311
+ excludeOnly?: never;
312
+ $unknown?: never;
313
+ }
314
+ /**
315
+ * <p>Only the specified accounts and organizational units are in the administrator's scope.</p>
316
+ * @public
317
+ */
318
+ interface IncludeOnlyMember {
319
+ includeAll?: never;
320
+ includeOnly: AdminScopeSelectionInput;
321
+ excludeOnly?: never;
322
+ $unknown?: never;
323
+ }
324
+ /**
325
+ * <p>The accounts and organizational units to exclude from the administrator's scope. All others are in scope.</p>
326
+ * @public
327
+ */
328
+ interface ExcludeOnlyMember {
329
+ includeAll?: never;
330
+ includeOnly?: never;
331
+ excludeOnly: AdminScopeSelectionInput;
332
+ $unknown?: never;
333
+ }
334
+ /**
335
+ * @public
336
+ */
337
+ interface $UnknownMember {
338
+ includeAll?: never;
339
+ includeOnly?: never;
340
+ excludeOnly?: never;
341
+ $unknown: [string, any];
342
+ }
343
+ /**
344
+ * @deprecated unused in schema-serde mode.
345
+ *
346
+ */
347
+ interface Visitor<T> {
348
+ includeAll: (value: Unit) => T;
349
+ includeOnly: (value: AdminScopeSelectionInput) => T;
350
+ excludeOnly: (value: AdminScopeSelectionInput) => T;
351
+ _: (name: string, value: any) => T;
352
+ }
353
+ }
354
+ /**
355
+ * <p>The administrative scope configuration provided on input, using account and organizational unit IDs.</p>
356
+ * @public
357
+ */
358
+ export interface AdminScopeInput {
359
+ /**
360
+ * <p>The filter that determines which accounts and organizational units are in the administrator's scope.</p>
361
+ * @public
362
+ */
363
+ scopeFilter?: AdminScopeFilterInput | undefined;
364
+ /**
365
+ * <p>The firewall types that the administrator can create and manage.</p>
366
+ * @public
367
+ */
368
+ firewallTypeScope?: AdminFirewallTypeScope | undefined;
369
+ }
370
+ /**
371
+ * <p>Filter criteria specific to Application Load Balancers.</p>
372
+ * @public
373
+ */
374
+ export interface AlbConfiguration {
375
+ /**
376
+ * <p>The scheme of the Application Load Balancer, either <code>internet-facing</code> or <code>internal</code>.</p>
377
+ * @public
378
+ */
379
+ scheme?: Scheme | undefined;
380
+ /**
381
+ * <p>The IP address type of the Application Load Balancer.</p>
382
+ * @public
383
+ */
384
+ ipAddressType?: IpAddressType | undefined;
385
+ }
386
+ /**
387
+ * <p>An association between a deployment and a policy, as returned in outputs. The corresponding request structure is <code>PolicyReference</code>.</p>
388
+ * @public
389
+ */
390
+ export interface AssociatedPolicy {
391
+ /**
392
+ * <p>The ARN of the associated policy, including its version qualifier when a specific published version is pinned (for example, <code>...:policy:abc123:3</code>).</p>
393
+ * @public
394
+ */
395
+ policyArn: string | undefined;
396
+ }
397
+ /**
398
+ * <p>An association between a template and a rule, as returned in outputs. The corresponding request structure is <code>RuleReference</code>.</p>
399
+ * @public
400
+ */
401
+ export interface AssociatedRule {
402
+ /**
403
+ * <p>The ARN of the associated rule.</p>
404
+ * @public
405
+ */
406
+ ruleArn: string | undefined;
407
+ }
408
+ /**
409
+ * <p>An association between a deployment and a scope, as returned in outputs. The corresponding request structure is <code>ScopeReference</code>.</p>
410
+ * @public
411
+ */
412
+ export interface AssociatedScope {
413
+ /**
414
+ * <p>The ARN of the associated scope.</p>
415
+ * @public
416
+ */
417
+ scopeArn: string | undefined;
418
+ }
419
+ /**
420
+ * <p>An association between a policy and either a template or a rule, as returned in outputs. Exactly one of <code>templateArn</code> or <code>ruleArn</code> is set. The corresponding request structure is <code>TemplateOrRuleReference</code>.</p>
421
+ * @public
422
+ */
423
+ export type AssociatedTemplateOrRule = AssociatedTemplateOrRule.RuleArnMember | AssociatedTemplateOrRule.TemplateArnMember | AssociatedTemplateOrRule.$UnknownMember;
424
+ /**
425
+ * @public
426
+ */
427
+ export declare namespace AssociatedTemplateOrRule {
428
+ /**
429
+ * <p>The ARN of the associated template.</p>
430
+ * @public
431
+ */
432
+ interface TemplateArnMember {
433
+ templateArn: string;
434
+ ruleArn?: never;
435
+ $unknown?: never;
436
+ }
437
+ /**
438
+ * <p>The ARN of the associated rule.</p>
439
+ * @public
440
+ */
441
+ interface RuleArnMember {
442
+ templateArn?: never;
443
+ ruleArn: string;
444
+ $unknown?: never;
445
+ }
446
+ /**
447
+ * @public
448
+ */
449
+ interface $UnknownMember {
450
+ templateArn?: never;
451
+ ruleArn?: never;
452
+ $unknown: [string, any];
453
+ }
454
+ /**
455
+ * @deprecated unused in schema-serde mode.
456
+ *
457
+ */
458
+ interface Visitor<T> {
459
+ templateArn: (value: string) => T;
460
+ ruleArn: (value: string) => T;
461
+ _: (name: string, value: any) => T;
462
+ }
463
+ }
464
+ /**
465
+ * <p>Describes a single configuration value that does not match the intended configuration.</p>
466
+ * @public
467
+ */
468
+ export interface ConfigurationIssue {
469
+ /**
470
+ * <p>The name of the configuration setting that is in conflict.</p>
471
+ * @public
472
+ */
473
+ configurationName?: string | undefined;
474
+ /**
475
+ * <p>The configuration value that AWS Network Security Manager expected.</p>
476
+ * @public
477
+ */
478
+ expectedValue?: string | undefined;
479
+ /**
480
+ * <p>The configuration value that was found on the resource.</p>
481
+ * @public
482
+ */
483
+ actualValue?: string | undefined;
484
+ }
485
+ /**
486
+ * <p>A reference to a policy in a create or update request.</p>
487
+ * @public
488
+ */
489
+ export interface PolicyReference {
490
+ /**
491
+ * <p>The identifier of the policy. This is the policy's Amazon Resource Name (ARN), optionally version-qualified to pin a specific published version.</p>
492
+ * @public
493
+ */
494
+ policyIdentifier: string | undefined;
495
+ }
496
+ /**
497
+ * <p>A reference to a scope in a create or update request.</p>
498
+ * @public
499
+ */
500
+ export interface ScopeReference {
501
+ /**
502
+ * <p>The identifier of the scope. This is the scope's Amazon Resource Name (ARN).</p>
503
+ * @public
504
+ */
505
+ scopeIdentifier: string | undefined;
506
+ }
507
+ /**
508
+ * <p>Configuration settings that control a deployment's behavior.</p>
509
+ * @public
510
+ */
511
+ export interface DeploymentConfiguration {
512
+ /**
513
+ * <p>Specifies whether aggregate synchronization status details for the resources covered by this deployment are visible across accounts. Default: <code>false</code>.</p>
514
+ * @public
515
+ */
516
+ enableCrossAccountVisibility: boolean | undefined;
517
+ }
518
+ /**
519
+ * @public
520
+ */
521
+ export interface CreateDeploymentInput {
522
+ /**
523
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
524
+ * @public
525
+ */
526
+ clientToken?: string | undefined;
527
+ /**
528
+ * <p>The name of the deployment.</p>
529
+ * @public
530
+ */
531
+ deploymentName: string | undefined;
532
+ /**
533
+ * <p>A description of the deployment.</p>
534
+ * @public
535
+ */
536
+ deploymentDescription?: string | undefined;
537
+ /**
538
+ * <p>The configuration settings for the deployment.</p>
539
+ * @public
540
+ */
541
+ deploymentConfiguration: DeploymentConfiguration | undefined;
542
+ /**
543
+ * <p>The policies associated with the deployment.</p>
544
+ * @public
545
+ */
546
+ associatedPolicyList: PolicyReference[] | undefined;
547
+ /**
548
+ * <p>The scope associated with the deployment. A deployment has exactly one scope.</p>
549
+ * @public
550
+ */
551
+ associatedScopeList: ScopeReference[] | undefined;
552
+ /**
553
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>). Default: <code>true</code>.</p>
554
+ * @public
555
+ */
556
+ isPublished?: boolean | undefined;
557
+ /**
558
+ * <p>The tags to add to the resource when it is created.</p>
559
+ * @public
560
+ */
561
+ tags?: Record<string, string> | undefined;
562
+ }
563
+ /**
564
+ * <p>Coverage information for one firewall type within a deployment. It lists the deployment's policies that have this firewall type. It also lists the resource types in the deployment's scope that the firewall type protects.</p>
565
+ * @public
566
+ */
567
+ export interface DeploymentCoverageEntry {
568
+ /**
569
+ * <p>The firewall type that the policies in this entry share.</p>
570
+ * @public
571
+ */
572
+ firewallType: PolicyFirewallType | undefined;
573
+ /**
574
+ * <p>The Amazon Resource Names (ARNs) of the deployment's policies that have this firewall type.</p>
575
+ * @public
576
+ */
577
+ policyArns: string[] | undefined;
578
+ /**
579
+ * <p>The resource types in the deployment's scope that this firewall type protects. This list is empty if the scope does not select any resource types that the firewall type protects.</p>
580
+ * @public
581
+ */
582
+ inScopeResourceTypes: ScopeResourceType[] | undefined;
583
+ }
584
+ /**
585
+ * <p>A warning about a potential issue with a deployment.</p>
586
+ * @public
587
+ */
588
+ export interface DeploymentWarningEntry {
589
+ /**
590
+ * <p>A code that identifies the type of warning.</p>
591
+ * @public
592
+ */
593
+ code: string | undefined;
594
+ /**
595
+ * <p>The ARN of the policy that the warning relates to.</p>
596
+ * @public
597
+ */
598
+ policyArn: string | undefined;
599
+ /**
600
+ * <p>A human-readable description of the warning.</p>
601
+ * @public
602
+ */
603
+ message: string | undefined;
604
+ }
605
+ /**
606
+ * @public
607
+ */
608
+ export interface CreateDeploymentOutput {
609
+ /**
610
+ * <p>The service-generated id of the deployment.</p>
611
+ * @public
612
+ */
613
+ deploymentId: string | undefined;
614
+ /**
615
+ * <p>The Amazon Resource Name (ARN) of the deployment.</p>
616
+ * @public
617
+ */
618
+ deploymentArn: string | undefined;
619
+ /**
620
+ * <p>The name of the deployment.</p>
621
+ * @public
622
+ */
623
+ deploymentName: string | undefined;
624
+ /**
625
+ * <p>A description of the deployment.</p>
626
+ * @public
627
+ */
628
+ deploymentDescription?: string | undefined;
629
+ /**
630
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
631
+ * @public
632
+ */
633
+ status: EntityStatus | undefined;
634
+ /**
635
+ * <p>The configuration settings for the deployment.</p>
636
+ * @public
637
+ */
638
+ deploymentConfiguration?: DeploymentConfiguration | undefined;
639
+ /**
640
+ * <p>The policies associated with the deployment.</p>
641
+ * @public
642
+ */
643
+ associatedPolicyList: AssociatedPolicy[] | undefined;
644
+ /**
645
+ * <p>The scope associated with the deployment. A deployment has exactly one scope.</p>
646
+ * @public
647
+ */
648
+ associatedScopeList: AssociatedScope[] | undefined;
649
+ /**
650
+ * <p>The version of the resource.</p>
651
+ * @public
652
+ */
653
+ version: string | undefined;
654
+ /**
655
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
656
+ * @public
657
+ */
658
+ updateToken?: string | undefined;
659
+ /**
660
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
661
+ * @public
662
+ */
663
+ isSnapshot?: boolean | undefined;
664
+ /**
665
+ * <p>Specifies whether a published version of the resource exists.</p>
666
+ * @public
667
+ */
668
+ hasPublishedVersion?: boolean | undefined;
669
+ /**
670
+ * <p>The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.</p>
671
+ * @public
672
+ */
673
+ deploymentCoverage?: DeploymentCoverageEntry[] | undefined;
674
+ /**
675
+ * <p>Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.</p>
676
+ * @public
677
+ */
678
+ warnings?: DeploymentWarningEntry[] | undefined;
679
+ /**
680
+ * <p>The time when the resource was last updated.</p>
681
+ * @public
682
+ */
683
+ updatedAt?: Date | undefined;
684
+ }
685
+ /**
686
+ * <p>Describes a single request field that failed validation.</p>
687
+ * @public
688
+ */
689
+ export interface ValidationExceptionField {
690
+ /**
691
+ * <p>The name of the field that failed validation.</p>
692
+ * @public
693
+ */
694
+ name: string | undefined;
695
+ /**
696
+ * <p>A message describing the validation error for the field.</p>
697
+ * @public
698
+ */
699
+ message: string | undefined;
700
+ }
701
+ /**
702
+ * @public
703
+ */
704
+ export interface CreateDeploymentSnapshotInput {
705
+ /**
706
+ * <p>The identifier of the deployment. This is the deployment's Amazon Resource Name (ARN).</p>
707
+ * @public
708
+ */
709
+ deploymentIdentifier: string | undefined;
710
+ /**
711
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
712
+ * @public
713
+ */
714
+ clientToken?: string | undefined;
715
+ /**
716
+ * <p>The tags to add to the snapshot when it is created.</p>
717
+ * @public
718
+ */
719
+ tags?: Record<string, string> | undefined;
720
+ }
721
+ /**
722
+ * @public
723
+ */
724
+ export interface CreateDeploymentSnapshotOutput {
725
+ /**
726
+ * <p>The service-generated id of the deployment.</p>
727
+ * @public
728
+ */
729
+ deploymentId: string | undefined;
730
+ /**
731
+ * <p>The Amazon Resource Name (ARN) of the deployment.</p>
732
+ * @public
733
+ */
734
+ deploymentArn: string | undefined;
735
+ /**
736
+ * <p>The name of the deployment.</p>
737
+ * @public
738
+ */
739
+ deploymentName: string | undefined;
740
+ /**
741
+ * <p>A description of the deployment.</p>
742
+ * @public
743
+ */
744
+ deploymentDescription?: string | undefined;
745
+ /**
746
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
747
+ * @public
748
+ */
749
+ status: EntityStatus | undefined;
750
+ /**
751
+ * <p>The configuration settings for the deployment.</p>
752
+ * @public
753
+ */
754
+ deploymentConfiguration?: DeploymentConfiguration | undefined;
755
+ /**
756
+ * <p>The policies associated with the deployment.</p>
757
+ * @public
758
+ */
759
+ associatedPolicyList: AssociatedPolicy[] | undefined;
760
+ /**
761
+ * <p>The scope associated with the deployment. A deployment has exactly one scope.</p>
762
+ * @public
763
+ */
764
+ associatedScopeList: AssociatedScope[] | undefined;
765
+ /**
766
+ * <p>The version of the resource.</p>
767
+ * @public
768
+ */
769
+ version: string | undefined;
770
+ /**
771
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
772
+ * @public
773
+ */
774
+ updateToken?: string | undefined;
775
+ /**
776
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
777
+ * @public
778
+ */
779
+ isSnapshot?: boolean | undefined;
780
+ /**
781
+ * <p>Specifies whether a published version of the resource exists.</p>
782
+ * @public
783
+ */
784
+ hasPublishedVersion?: boolean | undefined;
785
+ /**
786
+ * <p>The time when the snapshot was created.</p>
787
+ * @public
788
+ */
789
+ updatedAt?: Date | undefined;
790
+ }
791
+ /**
792
+ * <p>A reference to either a template or a rule in a create or update request. Set exactly one of <code>templateIdentifier</code> or <code>ruleIdentifier</code>.</p>
793
+ * @public
794
+ */
795
+ export type TemplateOrRuleReference = TemplateOrRuleReference.RuleIdentifierMember | TemplateOrRuleReference.TemplateIdentifierMember | TemplateOrRuleReference.$UnknownMember;
796
+ /**
797
+ * @public
798
+ */
799
+ export declare namespace TemplateOrRuleReference {
800
+ /**
801
+ * <p>The identifier of the template. This is the template's Amazon Resource Name (ARN).</p>
802
+ * @public
803
+ */
804
+ interface TemplateIdentifierMember {
805
+ templateIdentifier: string;
806
+ ruleIdentifier?: never;
807
+ $unknown?: never;
808
+ }
809
+ /**
810
+ * <p>The identifier of the rule. This is the rule's Amazon Resource Name (ARN).</p>
811
+ * @public
812
+ */
813
+ interface RuleIdentifierMember {
814
+ templateIdentifier?: never;
815
+ ruleIdentifier: string;
816
+ $unknown?: never;
817
+ }
818
+ /**
819
+ * @public
820
+ */
821
+ interface $UnknownMember {
822
+ templateIdentifier?: never;
823
+ ruleIdentifier?: never;
824
+ $unknown: [string, any];
825
+ }
826
+ /**
827
+ * @deprecated unused in schema-serde mode.
828
+ *
829
+ */
830
+ interface Visitor<T> {
831
+ templateIdentifier: (value: string) => T;
832
+ ruleIdentifier: (value: string) => T;
833
+ _: (name: string, value: any) => T;
834
+ }
835
+ }
836
+ /**
837
+ * <p>AWS WAF-specific policy configuration settings.</p>
838
+ * @public
839
+ */
840
+ export interface WafConfig {
841
+ /**
842
+ * <p>Determines how AWS Network Security Manager handles remediation when a resource already has a customer-created web ACL. Required for AWS WAF policies.</p>
843
+ * @public
844
+ */
845
+ existingCustomerWebACLResolution: ExistingCustomerWebACLResolution | undefined;
846
+ /**
847
+ * <p>The conflict-resolution strategy for AWS WAF policies. Required for AWS WAF policies.</p>
848
+ * @public
849
+ */
850
+ conflictResolution: WAFConflictResolutionOptions | undefined;
851
+ }
852
+ /**
853
+ * <p>Configuration settings that control a policy's behavior.</p>
854
+ * @public
855
+ */
856
+ export interface PolicyConfiguration {
857
+ /**
858
+ * <p>Specifies whether AWS Network Security Manager automatically remediates noncompliant resources. Default: <code>false</code>.</p>
859
+ * @public
860
+ */
861
+ remediationEnabled: boolean | undefined;
862
+ /**
863
+ * <p>Specifies whether AWS Network Security Manager automatically removes the resources it created when they are no longer needed. Default: <code>false</code>.</p>
864
+ * @public
865
+ */
866
+ resourcesCleanUp: boolean | undefined;
867
+ /**
868
+ * <p>AWS WAF-specific policy settings. This is populated only for AWS WAF policies.</p>
869
+ * @public
870
+ */
871
+ wafConfig?: WafConfig | undefined;
872
+ }
873
+ /**
874
+ * @public
875
+ */
876
+ export interface CreatePolicyInput {
877
+ /**
878
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
879
+ * @public
880
+ */
881
+ clientToken?: string | undefined;
882
+ /**
883
+ * <p>The name of the policy.</p>
884
+ * @public
885
+ */
886
+ policyName: string | undefined;
887
+ /**
888
+ * <p>A description of the policy.</p>
889
+ * @public
890
+ */
891
+ policyDescription?: string | undefined;
892
+ /**
893
+ * <p>The priority of the resource. A lower number indicates a higher priority.</p>
894
+ * @public
895
+ */
896
+ priority: number | undefined;
897
+ /**
898
+ * <p>The templates and rules to associate with the policy. For AWS WAF policies, specify 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, this list must be empty.</p>
899
+ * @public
900
+ */
901
+ associatedTemplateAndRuleList?: TemplateOrRuleReference[] | undefined;
902
+ /**
903
+ * <p>The firewall type associated with the resource.</p>
904
+ * @public
905
+ */
906
+ firewallType: PolicyFirewallType | undefined;
907
+ /**
908
+ * <p>The configuration settings that control the policy's behavior, including remediation and firewall-type-specific settings.</p>
909
+ * @public
910
+ */
911
+ policyConfiguration: PolicyConfiguration | undefined;
912
+ /**
913
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>). Default: <code>true</code>.</p>
914
+ * @public
915
+ */
916
+ isPublished?: boolean | undefined;
917
+ /**
918
+ * <p>The tags to add to the resource when it is created.</p>
919
+ * @public
920
+ */
921
+ tags?: Record<string, string> | undefined;
922
+ }
923
+ /**
924
+ * @public
925
+ */
926
+ export interface CreatePolicyOutput {
927
+ /**
928
+ * <p>The service-generated id of the policy.</p>
929
+ * @public
930
+ */
931
+ policyId: string | undefined;
932
+ /**
933
+ * <p>The Amazon Resource Name (ARN) of the policy.</p>
934
+ * @public
935
+ */
936
+ policyArn: string | undefined;
937
+ /**
938
+ * <p>The name of the policy.</p>
939
+ * @public
940
+ */
941
+ policyName: string | undefined;
942
+ /**
943
+ * <p>A description of the policy.</p>
944
+ * @public
945
+ */
946
+ policyDescription?: string | undefined;
947
+ /**
948
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
949
+ * @public
950
+ */
951
+ status: EntityStatus | undefined;
952
+ /**
953
+ * <p>The priority of the resource. A lower number indicates a higher priority.</p>
954
+ * @public
955
+ */
956
+ priority: number | undefined;
957
+ /**
958
+ * <p>The templates and rules associated with the policy. For AWS WAF policies, this list contains 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, this list is empty.</p>
959
+ * @public
960
+ */
961
+ associatedTemplateAndRuleList: AssociatedTemplateOrRule[] | undefined;
962
+ /**
963
+ * <p>The version of the resource.</p>
964
+ * @public
965
+ */
966
+ version: string | undefined;
967
+ /**
968
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
969
+ * @public
970
+ */
971
+ updateToken?: string | undefined;
972
+ /**
973
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
974
+ * @public
975
+ */
976
+ isSnapshot?: boolean | undefined;
977
+ /**
978
+ * <p>Specifies whether a published version of the resource exists.</p>
979
+ * @public
980
+ */
981
+ hasPublishedVersion?: boolean | undefined;
982
+ /**
983
+ * <p>The firewall type associated with the resource.</p>
984
+ * @public
985
+ */
986
+ firewallType: PolicyFirewallType | undefined;
987
+ /**
988
+ * <p>The configuration settings that control the policy's behavior, including remediation and firewall-type-specific settings.</p>
989
+ * @public
990
+ */
991
+ policyConfiguration?: PolicyConfiguration | undefined;
992
+ /**
993
+ * <p>The time when the resource was last updated.</p>
994
+ * @public
995
+ */
996
+ updatedAt?: Date | undefined;
997
+ }
998
+ /**
999
+ * @public
1000
+ */
1001
+ export interface CreatePolicySnapshotInput {
1002
+ /**
1003
+ * <p>The identifier of the policy. This is the policy's Amazon Resource Name (ARN).</p>
1004
+ * @public
1005
+ */
1006
+ policyIdentifier: string | undefined;
1007
+ /**
1008
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
1009
+ * @public
1010
+ */
1011
+ clientToken?: string | undefined;
1012
+ /**
1013
+ * <p>The tags to add to the snapshot when it is created.</p>
1014
+ * @public
1015
+ */
1016
+ tags?: Record<string, string> | undefined;
1017
+ }
1018
+ /**
1019
+ * @public
1020
+ */
1021
+ export interface CreatePolicySnapshotOutput {
1022
+ /**
1023
+ * <p>The service-generated id of the policy.</p>
1024
+ * @public
1025
+ */
1026
+ policyId: string | undefined;
1027
+ /**
1028
+ * <p>The Amazon Resource Name (ARN) of the policy.</p>
1029
+ * @public
1030
+ */
1031
+ policyArn: string | undefined;
1032
+ /**
1033
+ * <p>The name of the policy.</p>
1034
+ * @public
1035
+ */
1036
+ policyName: string | undefined;
1037
+ /**
1038
+ * <p>A description of the policy.</p>
1039
+ * @public
1040
+ */
1041
+ policyDescription?: string | undefined;
1042
+ /**
1043
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
1044
+ * @public
1045
+ */
1046
+ status: EntityStatus | undefined;
1047
+ /**
1048
+ * <p>The priority of the resource. A lower number indicates a higher priority.</p>
1049
+ * @public
1050
+ */
1051
+ priority: number | undefined;
1052
+ /**
1053
+ * <p>The templates and rules associated with the policy. For AWS WAF policies, this list contains 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, this list is empty.</p>
1054
+ * @public
1055
+ */
1056
+ associatedTemplateAndRuleList: AssociatedTemplateOrRule[] | undefined;
1057
+ /**
1058
+ * <p>The version of the resource.</p>
1059
+ * @public
1060
+ */
1061
+ version: string | undefined;
1062
+ /**
1063
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
1064
+ * @public
1065
+ */
1066
+ updateToken?: string | undefined;
1067
+ /**
1068
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
1069
+ * @public
1070
+ */
1071
+ isSnapshot?: boolean | undefined;
1072
+ /**
1073
+ * <p>Specifies whether a published version of the resource exists.</p>
1074
+ * @public
1075
+ */
1076
+ hasPublishedVersion?: boolean | undefined;
1077
+ /**
1078
+ * <p>The firewall type associated with the resource.</p>
1079
+ * @public
1080
+ */
1081
+ firewallType: PolicyFirewallType | undefined;
1082
+ /**
1083
+ * <p>The configuration settings that control the policy's behavior, including remediation and firewall-type-specific settings.</p>
1084
+ * @public
1085
+ */
1086
+ policyConfiguration?: PolicyConfiguration | undefined;
1087
+ /**
1088
+ * <p>The time when the snapshot was created.</p>
1089
+ * @public
1090
+ */
1091
+ updatedAt?: Date | undefined;
1092
+ }
1093
+ /**
1094
+ * @public
1095
+ */
1096
+ export interface CreateRuleInput {
1097
+ /**
1098
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
1099
+ * @public
1100
+ */
1101
+ clientToken?: string | undefined;
1102
+ /**
1103
+ * <p>The name of the rule.</p>
1104
+ * @public
1105
+ */
1106
+ ruleName: string | undefined;
1107
+ /**
1108
+ * <p>The firewall type associated with the resource.</p>
1109
+ * @public
1110
+ */
1111
+ firewallType: RuleFirewallType | undefined;
1112
+ /**
1113
+ * <p>The type of the rule. <code>CONFIGURATION</code> rules contain firewall settings, and <code>INSPECTION</code> rules contain rule groups.</p>
1114
+ * @public
1115
+ */
1116
+ ruleType: RuleType | undefined;
1117
+ /**
1118
+ * <p>A description of the rule.</p>
1119
+ * @public
1120
+ */
1121
+ ruleDescription?: string | undefined;
1122
+ /**
1123
+ * <p>The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type. For an AWS WAF <code>INSPECTION</code> rule, provide an AWS WAF rule group. For an AWS WAF <code>CONFIGURATION</code> rule, provide a single web ACL setting, such as <code>DefaultAction</code> or <code>VisibilityConfig</code>; use <code>wafConfigDataType</code> to declare which setting the document contains. For the schema of each setting and complete examples, see <a href="https://docs.aws.amazon.com/network-security-manager/latest/devguide/what-is.html">Writing rule configurations</a> in the <i>AWS Network Security Manager Developer Guide</i>.</p>
1124
+ * @public
1125
+ */
1126
+ configuration: __DocumentType | undefined;
1127
+ /**
1128
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>). Default: <code>true</code>.</p>
1129
+ * @public
1130
+ */
1131
+ isPublished?: boolean | undefined;
1132
+ /**
1133
+ * <p>The tags to add to the resource when it is created.</p>
1134
+ * @public
1135
+ */
1136
+ tags?: Record<string, string> | undefined;
1137
+ }
1138
+ /**
1139
+ * @public
1140
+ */
1141
+ export interface CreateRuleOutput {
1142
+ /**
1143
+ * <p>The service-generated id of the rule.</p>
1144
+ * @public
1145
+ */
1146
+ ruleId: string | undefined;
1147
+ /**
1148
+ * <p>The Amazon Resource Name (ARN) of the rule.</p>
1149
+ * @public
1150
+ */
1151
+ ruleArn: string | undefined;
1152
+ /**
1153
+ * <p>The name of the rule.</p>
1154
+ * @public
1155
+ */
1156
+ ruleName: string | undefined;
1157
+ /**
1158
+ * <p>The firewall type associated with the resource.</p>
1159
+ * @public
1160
+ */
1161
+ firewallType: RuleFirewallType | undefined;
1162
+ /**
1163
+ * <p>The type of the rule. <code>CONFIGURATION</code> rules contain firewall settings, and <code>INSPECTION</code> rules contain rule groups.</p>
1164
+ * @public
1165
+ */
1166
+ ruleType?: RuleType | undefined;
1167
+ /**
1168
+ * <p>A description of the rule.</p>
1169
+ * @public
1170
+ */
1171
+ ruleDescription?: string | undefined;
1172
+ /**
1173
+ * <p>The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.</p>
1174
+ * @public
1175
+ */
1176
+ configuration: __DocumentType | undefined;
1177
+ /**
1178
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
1179
+ * @public
1180
+ */
1181
+ status: EntityStatus | undefined;
1182
+ /**
1183
+ * <p>The version of the resource.</p>
1184
+ * @public
1185
+ */
1186
+ version: string | undefined;
1187
+ /**
1188
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
1189
+ * @public
1190
+ */
1191
+ updateToken?: string | undefined;
1192
+ /**
1193
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
1194
+ * @public
1195
+ */
1196
+ isSnapshot?: boolean | undefined;
1197
+ /**
1198
+ * <p>Specifies whether a published version of the resource exists.</p>
1199
+ * @public
1200
+ */
1201
+ hasPublishedVersion?: boolean | undefined;
1202
+ /**
1203
+ * <p>The time when the resource was last updated.</p>
1204
+ * @public
1205
+ */
1206
+ updatedAt?: Date | undefined;
1207
+ }
1208
+ /**
1209
+ * @public
1210
+ */
1211
+ export interface CreateRuleSnapshotInput {
1212
+ /**
1213
+ * <p>The identifier of the rule. This is the rule's Amazon Resource Name (ARN).</p>
1214
+ * @public
1215
+ */
1216
+ ruleIdentifier: string | undefined;
1217
+ /**
1218
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
1219
+ * @public
1220
+ */
1221
+ clientToken?: string | undefined;
1222
+ /**
1223
+ * <p>The tags to add to the snapshot when it is created.</p>
1224
+ * @public
1225
+ */
1226
+ tags?: Record<string, string> | undefined;
1227
+ }
1228
+ /**
1229
+ * @public
1230
+ */
1231
+ export interface CreateRuleSnapshotOutput {
1232
+ /**
1233
+ * <p>The service-generated id of the rule.</p>
1234
+ * @public
1235
+ */
1236
+ ruleId: string | undefined;
1237
+ /**
1238
+ * <p>The Amazon Resource Name (ARN) of the rule.</p>
1239
+ * @public
1240
+ */
1241
+ ruleArn: string | undefined;
1242
+ /**
1243
+ * <p>The name of the rule.</p>
1244
+ * @public
1245
+ */
1246
+ ruleName: string | undefined;
1247
+ /**
1248
+ * <p>The firewall type associated with the resource.</p>
1249
+ * @public
1250
+ */
1251
+ firewallType: RuleFirewallType | undefined;
1252
+ /**
1253
+ * <p>The type of the rule. <code>CONFIGURATION</code> rules contain firewall settings, and <code>INSPECTION</code> rules contain rule groups.</p>
1254
+ * @public
1255
+ */
1256
+ ruleType?: RuleType | undefined;
1257
+ /**
1258
+ * <p>A description of the rule.</p>
1259
+ * @public
1260
+ */
1261
+ ruleDescription?: string | undefined;
1262
+ /**
1263
+ * <p>The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.</p>
1264
+ * @public
1265
+ */
1266
+ configuration: __DocumentType | undefined;
1267
+ /**
1268
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
1269
+ * @public
1270
+ */
1271
+ status: EntityStatus | undefined;
1272
+ /**
1273
+ * <p>The version of the resource.</p>
1274
+ * @public
1275
+ */
1276
+ version: string | undefined;
1277
+ /**
1278
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
1279
+ * @public
1280
+ */
1281
+ updateToken?: string | undefined;
1282
+ /**
1283
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
1284
+ * @public
1285
+ */
1286
+ isSnapshot?: boolean | undefined;
1287
+ /**
1288
+ * <p>Specifies whether a published version of the resource exists.</p>
1289
+ * @public
1290
+ */
1291
+ hasPublishedVersion?: boolean | undefined;
1292
+ /**
1293
+ * <p>The time when the snapshot was created.</p>
1294
+ * @public
1295
+ */
1296
+ updatedAt?: Date | undefined;
1297
+ }
1298
+ /**
1299
+ * <p>A leaf condition that matches resources by tag or by resource-type-specific configuration.</p>
1300
+ * @public
1301
+ */
1302
+ export type ResourceCriteria = ResourceCriteria.AlbConfigMember | ResourceCriteria.TagsMember | ResourceCriteria.$UnknownMember;
1303
+ /**
1304
+ * @public
1305
+ */
1306
+ export declare namespace ResourceCriteria {
1307
+ /**
1308
+ * <p>Tag key-value pairs used to match resources.</p>
1309
+ * @public
1310
+ */
1311
+ interface TagsMember {
1312
+ tags: Record<string, string>;
1313
+ albConfig?: never;
1314
+ $unknown?: never;
1315
+ }
1316
+ /**
1317
+ * <p>Filter criteria specific to Application Load Balancers.</p>
1318
+ * @public
1319
+ */
1320
+ interface AlbConfigMember {
1321
+ tags?: never;
1322
+ albConfig: AlbConfiguration;
1323
+ $unknown?: never;
1324
+ }
1325
+ /**
1326
+ * @public
1327
+ */
1328
+ interface $UnknownMember {
1329
+ tags?: never;
1330
+ albConfig?: never;
1331
+ $unknown: [string, any];
1332
+ }
1333
+ /**
1334
+ * @deprecated unused in schema-serde mode.
1335
+ *
1336
+ */
1337
+ interface Visitor<T> {
1338
+ tags: (value: Record<string, string>) => T;
1339
+ albConfig: (value: AlbConfiguration) => T;
1340
+ _: (name: string, value: any) => T;
1341
+ }
1342
+ }
1343
+ /**
1344
+ * @public
1345
+ */
1346
+ export interface CreateScopeSnapshotInput {
1347
+ /**
1348
+ * <p>The identifier of the scope. This is the scope's Amazon Resource Name (ARN).</p>
1349
+ * @public
1350
+ */
1351
+ scopeIdentifier: string | undefined;
1352
+ /**
1353
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
1354
+ * @public
1355
+ */
1356
+ clientToken?: string | undefined;
1357
+ /**
1358
+ * <p>The tags to add to the snapshot when it is created.</p>
1359
+ * @public
1360
+ */
1361
+ tags?: Record<string, string> | undefined;
1362
+ }
1363
+ /**
1364
+ * <p>A reference to a rule in a create or update request.</p>
1365
+ * @public
1366
+ */
1367
+ export interface RuleReference {
1368
+ /**
1369
+ * <p>The identifier of the rule. This is the rule's Amazon Resource Name (ARN).</p>
1370
+ * @public
1371
+ */
1372
+ ruleIdentifier: string | undefined;
1373
+ }
1374
+ /**
1375
+ * @public
1376
+ */
1377
+ export interface CreateTemplateInput {
1378
+ /**
1379
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
1380
+ * @public
1381
+ */
1382
+ clientToken?: string | undefined;
1383
+ /**
1384
+ * <p>The name of the template.</p>
1385
+ * @public
1386
+ */
1387
+ templateName: string | undefined;
1388
+ /**
1389
+ * <p>A description of the template.</p>
1390
+ * @public
1391
+ */
1392
+ templateDescription?: string | undefined;
1393
+ /**
1394
+ * <p>The rules associated with the template.</p>
1395
+ * @public
1396
+ */
1397
+ associatedRuleList: RuleReference[] | undefined;
1398
+ /**
1399
+ * <p>The firewall type associated with the resource.</p>
1400
+ * @public
1401
+ */
1402
+ firewallType: TemplateFirewallType | undefined;
1403
+ /**
1404
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>). Default: <code>true</code>.</p>
1405
+ * @public
1406
+ */
1407
+ isPublished?: boolean | undefined;
1408
+ /**
1409
+ * <p>The tags to add to the resource when it is created.</p>
1410
+ * @public
1411
+ */
1412
+ tags?: Record<string, string> | undefined;
1413
+ }
1414
+ /**
1415
+ * @public
1416
+ */
1417
+ export interface CreateTemplateOutput {
1418
+ /**
1419
+ * <p>The service-generated id of the template.</p>
1420
+ * @public
1421
+ */
1422
+ templateId: string | undefined;
1423
+ /**
1424
+ * <p>The Amazon Resource Name (ARN) of the template.</p>
1425
+ * @public
1426
+ */
1427
+ templateArn: string | undefined;
1428
+ /**
1429
+ * <p>The name of the template.</p>
1430
+ * @public
1431
+ */
1432
+ templateName: string | undefined;
1433
+ /**
1434
+ * <p>A description of the template.</p>
1435
+ * @public
1436
+ */
1437
+ templateDescription?: string | undefined;
1438
+ /**
1439
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
1440
+ * @public
1441
+ */
1442
+ status: EntityStatus | undefined;
1443
+ /**
1444
+ * <p>The version of the resource.</p>
1445
+ * @public
1446
+ */
1447
+ version: string | undefined;
1448
+ /**
1449
+ * <p>The rules associated with the template.</p>
1450
+ * @public
1451
+ */
1452
+ associatedRuleList: AssociatedRule[] | undefined;
1453
+ /**
1454
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
1455
+ * @public
1456
+ */
1457
+ updateToken?: string | undefined;
1458
+ /**
1459
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
1460
+ * @public
1461
+ */
1462
+ isSnapshot?: boolean | undefined;
1463
+ /**
1464
+ * <p>Specifies whether a published version of the resource exists.</p>
1465
+ * @public
1466
+ */
1467
+ hasPublishedVersion?: boolean | undefined;
1468
+ /**
1469
+ * <p>The firewall type associated with the resource.</p>
1470
+ * @public
1471
+ */
1472
+ firewallType: TemplateFirewallType | undefined;
1473
+ /**
1474
+ * <p>The time when the resource was last updated.</p>
1475
+ * @public
1476
+ */
1477
+ updatedAt?: Date | undefined;
1478
+ }
1479
+ /**
1480
+ * @public
1481
+ */
1482
+ export interface CreateTemplateSnapshotInput {
1483
+ /**
1484
+ * <p>The identifier of the template. This is the template's Amazon Resource Name (ARN).</p>
1485
+ * @public
1486
+ */
1487
+ templateIdentifier: string | undefined;
1488
+ /**
1489
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
1490
+ * @public
1491
+ */
1492
+ clientToken?: string | undefined;
1493
+ /**
1494
+ * <p>The tags to add to the snapshot when it is created.</p>
1495
+ * @public
1496
+ */
1497
+ tags?: Record<string, string> | undefined;
1498
+ }
1499
+ /**
1500
+ * @public
1501
+ */
1502
+ export interface CreateTemplateSnapshotOutput {
1503
+ /**
1504
+ * <p>The service-generated id of the template.</p>
1505
+ * @public
1506
+ */
1507
+ templateId: string | undefined;
1508
+ /**
1509
+ * <p>The Amazon Resource Name (ARN) of the template.</p>
1510
+ * @public
1511
+ */
1512
+ templateArn: string | undefined;
1513
+ /**
1514
+ * <p>The name of the template.</p>
1515
+ * @public
1516
+ */
1517
+ templateName: string | undefined;
1518
+ /**
1519
+ * <p>A description of the template.</p>
1520
+ * @public
1521
+ */
1522
+ templateDescription?: string | undefined;
1523
+ /**
1524
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
1525
+ * @public
1526
+ */
1527
+ status: EntityStatus | undefined;
1528
+ /**
1529
+ * <p>The version of the resource.</p>
1530
+ * @public
1531
+ */
1532
+ version: string | undefined;
1533
+ /**
1534
+ * <p>The rules associated with the template.</p>
1535
+ * @public
1536
+ */
1537
+ associatedRuleList: AssociatedRule[] | undefined;
1538
+ /**
1539
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
1540
+ * @public
1541
+ */
1542
+ updateToken?: string | undefined;
1543
+ /**
1544
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
1545
+ * @public
1546
+ */
1547
+ isSnapshot?: boolean | undefined;
1548
+ /**
1549
+ * <p>Specifies whether a published version of the resource exists.</p>
1550
+ * @public
1551
+ */
1552
+ hasPublishedVersion?: boolean | undefined;
1553
+ /**
1554
+ * <p>The firewall type associated with the resource.</p>
1555
+ * @public
1556
+ */
1557
+ firewallType: TemplateFirewallType | undefined;
1558
+ /**
1559
+ * <p>The time when the snapshot was created.</p>
1560
+ * @public
1561
+ */
1562
+ updatedAt?: Date | undefined;
1563
+ }
1564
+ /**
1565
+ * @public
1566
+ */
1567
+ export interface DeleteAdminAccountRequest {
1568
+ /**
1569
+ * <p>The AWS account ID of the administrator account to remove.</p>
1570
+ * @public
1571
+ */
1572
+ accountId: string | undefined;
1573
+ }
1574
+ /**
1575
+ * @public
1576
+ */
1577
+ export interface DeleteDeploymentInput {
1578
+ /**
1579
+ * <p>The identifier of the deployment. This is the deployment's Amazon Resource Name (ARN).</p>
1580
+ * @public
1581
+ */
1582
+ deploymentIdentifier: string | undefined;
1583
+ }
1584
+ /**
1585
+ * @public
1586
+ */
1587
+ export interface DeletePolicyInput {
1588
+ /**
1589
+ * <p>The identifier of the policy. This is the policy's Amazon Resource Name (ARN).</p>
1590
+ * @public
1591
+ */
1592
+ policyIdentifier: string | undefined;
1593
+ }
1594
+ /**
1595
+ * @public
1596
+ */
1597
+ export interface DeleteRuleInput {
1598
+ /**
1599
+ * <p>The identifier of the rule. This is the rule's Amazon Resource Name (ARN).</p>
1600
+ * @public
1601
+ */
1602
+ ruleIdentifier: string | undefined;
1603
+ }
1604
+ /**
1605
+ * @public
1606
+ */
1607
+ export interface DeleteScopeInput {
1608
+ /**
1609
+ * <p>The identifier of the scope. This is the scope's Amazon Resource Name (ARN).</p>
1610
+ * @public
1611
+ */
1612
+ scopeIdentifier: string | undefined;
1613
+ }
1614
+ /**
1615
+ * @public
1616
+ */
1617
+ export interface DeleteTemplateInput {
1618
+ /**
1619
+ * <p>The identifier of the template. This is the template's Amazon Resource Name (ARN).</p>
1620
+ * @public
1621
+ */
1622
+ templateIdentifier: string | undefined;
1623
+ }
1624
+ /**
1625
+ * @public
1626
+ */
1627
+ export interface GetDeploymentInput {
1628
+ /**
1629
+ * <p>The identifier of the deployment. This is the deployment's Amazon Resource Name (ARN).</p>
1630
+ * @public
1631
+ */
1632
+ deploymentIdentifier: string | undefined;
1633
+ }
1634
+ /**
1635
+ * @public
1636
+ */
1637
+ export interface GetDeploymentOutput {
1638
+ /**
1639
+ * <p>The service-generated id of the deployment.</p>
1640
+ * @public
1641
+ */
1642
+ deploymentId: string | undefined;
1643
+ /**
1644
+ * <p>The Amazon Resource Name (ARN) of the deployment.</p>
1645
+ * @public
1646
+ */
1647
+ deploymentArn: string | undefined;
1648
+ /**
1649
+ * <p>The name of the deployment.</p>
1650
+ * @public
1651
+ */
1652
+ deploymentName: string | undefined;
1653
+ /**
1654
+ * <p>A description of the deployment.</p>
1655
+ * @public
1656
+ */
1657
+ deploymentDescription?: string | undefined;
1658
+ /**
1659
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable), <code>ACTIVE</code> (published, in use), or <code>DISABLED</code> (deactivated; changes cannot be published until the resource is re-enabled).</p>
1660
+ * @public
1661
+ */
1662
+ status: EntityStatus | undefined;
1663
+ /**
1664
+ * <p>The configuration settings for the deployment.</p>
1665
+ * @public
1666
+ */
1667
+ deploymentConfiguration?: DeploymentConfiguration | undefined;
1668
+ /**
1669
+ * <p>The policies associated with the deployment.</p>
1670
+ * @public
1671
+ */
1672
+ associatedPolicyList: AssociatedPolicy[] | undefined;
1673
+ /**
1674
+ * <p>The scope associated with the deployment. A deployment has exactly one scope.</p>
1675
+ * @public
1676
+ */
1677
+ associatedScopeList: AssociatedScope[] | undefined;
1678
+ /**
1679
+ * <p>The version of the resource.</p>
1680
+ * @public
1681
+ */
1682
+ version: string | undefined;
1683
+ /**
1684
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
1685
+ * @public
1686
+ */
1687
+ updateToken?: string | undefined;
1688
+ /**
1689
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
1690
+ * @public
1691
+ */
1692
+ isSnapshot?: boolean | undefined;
1693
+ /**
1694
+ * <p>Specifies whether a published version of the resource exists.</p>
1695
+ * @public
1696
+ */
1697
+ hasPublishedVersion?: boolean | undefined;
1698
+ /**
1699
+ * <p>The time when the resource was last updated.</p>
1700
+ * @public
1701
+ */
1702
+ updatedAt?: Date | undefined;
1703
+ /**
1704
+ * <p>The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.</p>
1705
+ * @public
1706
+ */
1707
+ deploymentCoverage?: DeploymentCoverageEntry[] | undefined;
1708
+ /**
1709
+ * <p>Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.</p>
1710
+ * @public
1711
+ */
1712
+ warnings?: DeploymentWarningEntry[] | undefined;
1713
+ }
1714
+ /**
1715
+ * @public
1716
+ */
1717
+ export interface ListDeploymentsInput {
1718
+ /**
1719
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
1720
+ * @public
1721
+ */
1722
+ maxResults?: number | undefined;
1723
+ /**
1724
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
1725
+ * @public
1726
+ */
1727
+ nextToken?: string | undefined;
1728
+ /**
1729
+ * <p>Filters the results by status: <code>ACTIVE</code>, <code>DRAFT</code>, or <code>DISABLED</code>.</p>
1730
+ * @public
1731
+ */
1732
+ status?: EntityStatusFilter | undefined;
1733
+ }
1734
+ /**
1735
+ * <p>Summary information about a deployment.</p>
1736
+ * @public
1737
+ */
1738
+ export interface DeploymentSummary {
1739
+ /**
1740
+ * <p>The service-generated id of the deployment.</p>
1741
+ * @public
1742
+ */
1743
+ deploymentId: string | undefined;
1744
+ /**
1745
+ * <p>The Amazon Resource Name (ARN) of the deployment.</p>
1746
+ * @public
1747
+ */
1748
+ deploymentArn: string | undefined;
1749
+ /**
1750
+ * <p>The name of the deployment.</p>
1751
+ * @public
1752
+ */
1753
+ deploymentName?: string | undefined;
1754
+ /**
1755
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable), <code>ACTIVE</code> (published, in use), or <code>DISABLED</code> (deactivated; changes cannot be published until the resource is re-enabled).</p>
1756
+ * @public
1757
+ */
1758
+ status?: EntityStatus | undefined;
1759
+ /**
1760
+ * <p>The version of the resource.</p>
1761
+ * @public
1762
+ */
1763
+ version?: string | undefined;
1764
+ /**
1765
+ * <p>Specifies whether a published version of the resource exists.</p>
1766
+ * @public
1767
+ */
1768
+ hasPublishedVersion?: boolean | undefined;
1769
+ /**
1770
+ * <p>The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.</p>
1771
+ * @public
1772
+ */
1773
+ updatedAt?: Date | undefined;
1774
+ }
1775
+ /**
1776
+ * @public
1777
+ */
1778
+ export interface ListDeploymentsOutput {
1779
+ /**
1780
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
1781
+ * @public
1782
+ */
1783
+ nextToken?: string | undefined;
1784
+ /**
1785
+ * <p>The list of deployments.</p>
1786
+ * @public
1787
+ */
1788
+ deployments: DeploymentSummary[] | undefined;
1789
+ }
1790
+ /**
1791
+ * @public
1792
+ */
1793
+ export interface ListDeploymentSnapshotsInput {
1794
+ /**
1795
+ * <p>The identifier of the deployment. This is the deployment's Amazon Resource Name (ARN).</p>
1796
+ * @public
1797
+ */
1798
+ deploymentIdentifier: string | undefined;
1799
+ /**
1800
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
1801
+ * @public
1802
+ */
1803
+ maxResults?: number | undefined;
1804
+ /**
1805
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
1806
+ * @public
1807
+ */
1808
+ nextToken?: string | undefined;
1809
+ }
1810
+ /**
1811
+ * @public
1812
+ */
1813
+ export interface ListDeploymentSnapshotsOutput {
1814
+ /**
1815
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
1816
+ * @public
1817
+ */
1818
+ nextToken?: string | undefined;
1819
+ /**
1820
+ * <p>The snapshots of the deployment.</p>
1821
+ * @public
1822
+ */
1823
+ snapshots: DeploymentSummary[] | undefined;
1824
+ }
1825
+ /**
1826
+ * @public
1827
+ */
1828
+ export interface ListResourceSynchronizationStatusesInput {
1829
+ /**
1830
+ * <p>The identifier of the deployment to list synchronization statuses for. This is the deployment's Amazon Resource Name (ARN).</p>
1831
+ * @public
1832
+ */
1833
+ deploymentIdentifier: string | undefined;
1834
+ /**
1835
+ * <p>Filters the results by synchronization status, such as <code>IN_SYNC</code> or <code>OUT_OF_SYNC</code>.</p>
1836
+ * @public
1837
+ */
1838
+ synchronizationStatus?: SynchronizationStatus | undefined;
1839
+ /**
1840
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
1841
+ * @public
1842
+ */
1843
+ maxResults?: number | undefined;
1844
+ /**
1845
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
1846
+ * @public
1847
+ */
1848
+ nextToken?: string | undefined;
1849
+ }
1850
+ /**
1851
+ * <p>Indicates that details are not visible because of cross-account restrictions.</p>
1852
+ * @public
1853
+ */
1854
+ export interface NotVisibleMarker {
1855
+ /**
1856
+ * <p>The reason the details are not visible.</p>
1857
+ * @public
1858
+ */
1859
+ reason: string | undefined;
1860
+ }
1861
+ /**
1862
+ * <p>Details about the ways in which a firewall's configuration differs from the intended configuration.</p>
1863
+ * @public
1864
+ */
1865
+ export interface InvalidFirewallReasons {
1866
+ /**
1867
+ * <p>Single-value configuration settings whose values do not match the expected values.</p>
1868
+ * @public
1869
+ */
1870
+ incorrectSingleValueConfigurations?: ConfigurationIssue[] | undefined;
1871
+ /**
1872
+ * <p>Appendable configuration values that are expected but missing.</p>
1873
+ * @public
1874
+ */
1875
+ missingAppendableConfigurationValues?: ConfigurationIssue[] | undefined;
1876
+ /**
1877
+ * <p>Appendable configuration values that are present but not expected.</p>
1878
+ * @public
1879
+ */
1880
+ unexpectedAppendableConfigurationValues?: ConfigurationIssue[] | undefined;
1881
+ /**
1882
+ * <p>Appendable configuration values that are present but in the wrong order.</p>
1883
+ * @public
1884
+ */
1885
+ incorrectAppendableConfigurationOrder?: ConfigurationIssue[] | undefined;
1886
+ /**
1887
+ * <p>Mergeable configuration values that are expected but missing.</p>
1888
+ * @public
1889
+ */
1890
+ missingMergeableConfigurationValues?: ConfigurationIssue[] | undefined;
1891
+ /**
1892
+ * <p>Mergeable configuration values that are present but not expected.</p>
1893
+ * @public
1894
+ */
1895
+ unexpectedMergeableConfigurationValues?: ConfigurationIssue[] | undefined;
1896
+ }
1897
+ /**
1898
+ * <p>Describes why a firewall is out of sync. Exactly one of <code>missingFirewall</code> or <code>invalidFirewall</code> is set.</p>
1899
+ * @public
1900
+ */
1901
+ export type FirewallSyncReason = FirewallSyncReason.InvalidFirewallMember | FirewallSyncReason.MissingFirewallMember | FirewallSyncReason.$UnknownMember;
1902
+ /**
1903
+ * @public
1904
+ */
1905
+ export declare namespace FirewallSyncReason {
1906
+ /**
1907
+ * <p>Indicates that an expected firewall is missing. The value describes the missing firewall.</p>
1908
+ * @public
1909
+ */
1910
+ interface MissingFirewallMember {
1911
+ missingFirewall: string;
1912
+ invalidFirewall?: never;
1913
+ $unknown?: never;
1914
+ }
1915
+ /**
1916
+ * <p>Details about a firewall whose configuration does not match the intended configuration.</p>
1917
+ * @public
1918
+ */
1919
+ interface InvalidFirewallMember {
1920
+ missingFirewall?: never;
1921
+ invalidFirewall: InvalidFirewallReasons;
1922
+ $unknown?: never;
1923
+ }
1924
+ /**
1925
+ * @public
1926
+ */
1927
+ interface $UnknownMember {
1928
+ missingFirewall?: never;
1929
+ invalidFirewall?: never;
1930
+ $unknown: [string, any];
1931
+ }
1932
+ /**
1933
+ * @deprecated unused in schema-serde mode.
1934
+ *
1935
+ */
1936
+ interface Visitor<T> {
1937
+ missingFirewall: (value: string) => T;
1938
+ invalidFirewall: (value: InvalidFirewallReasons) => T;
1939
+ _: (name: string, value: any) => T;
1940
+ }
1941
+ }
1942
+ /**
1943
+ * <p>The out-of-sync reasons for a resource, or a marker indicating that the details are not visible. Exactly one member is set.</p>
1944
+ * @public
1945
+ */
1946
+ export type OutOfSyncReasonsView = OutOfSyncReasonsView.NotVisibleMember | OutOfSyncReasonsView.ReasonsMember | OutOfSyncReasonsView.$UnknownMember;
1947
+ /**
1948
+ * @public
1949
+ */
1950
+ export declare namespace OutOfSyncReasonsView {
1951
+ /**
1952
+ * <p>The out-of-sync reasons, keyed by firewall type.</p>
1953
+ * @public
1954
+ */
1955
+ interface ReasonsMember {
1956
+ reasons: Partial<Record<PolicyFirewallType, FirewallSyncReason>>;
1957
+ notVisible?: never;
1958
+ $unknown?: never;
1959
+ }
1960
+ /**
1961
+ * <p>Indicates that the details are not visible because of cross-account restrictions.</p>
1962
+ * @public
1963
+ */
1964
+ interface NotVisibleMember {
1965
+ reasons?: never;
1966
+ notVisible: NotVisibleMarker;
1967
+ $unknown?: never;
1968
+ }
1969
+ /**
1970
+ * @public
1971
+ */
1972
+ interface $UnknownMember {
1973
+ reasons?: never;
1974
+ notVisible?: never;
1975
+ $unknown: [string, any];
1976
+ }
1977
+ /**
1978
+ * @deprecated unused in schema-serde mode.
1979
+ *
1980
+ */
1981
+ interface Visitor<T> {
1982
+ reasons: (value: Partial<Record<PolicyFirewallType, FirewallSyncReason>>) => T;
1983
+ notVisible: (value: NotVisibleMarker) => T;
1984
+ _: (name: string, value: any) => T;
1985
+ }
1986
+ }
1987
+ /**
1988
+ * <p>Details about a remediation issue for a firewall type.</p>
1989
+ * @public
1990
+ */
1991
+ export interface RemediationIssueDetails {
1992
+ /**
1993
+ * <p>The type of remediation issue.</p>
1994
+ * @public
1995
+ */
1996
+ issueType?: string | undefined;
1997
+ /**
1998
+ * <p>A human-readable description of the remediation issue.</p>
1999
+ * @public
2000
+ */
2001
+ message?: string | undefined;
2002
+ /**
2003
+ * <p>A recommended action for resolving the remediation issue.</p>
2004
+ * @public
2005
+ */
2006
+ correctiveAction?: string | undefined;
2007
+ }
2008
+ /**
2009
+ * <p>Remediation issue details for a resource, or a marker indicating that the details are not visible. Exactly one member is set.</p>
2010
+ * @public
2011
+ */
2012
+ export type RemediationIssuesView = RemediationIssuesView.IssuesMember | RemediationIssuesView.NotVisibleMember | RemediationIssuesView.$UnknownMember;
2013
+ /**
2014
+ * @public
2015
+ */
2016
+ export declare namespace RemediationIssuesView {
2017
+ /**
2018
+ * <p>The remediation issues, keyed by firewall type.</p>
2019
+ * @public
2020
+ */
2021
+ interface IssuesMember {
2022
+ issues: Partial<Record<PolicyFirewallType, RemediationIssueDetails>>;
2023
+ notVisible?: never;
2024
+ $unknown?: never;
2025
+ }
2026
+ /**
2027
+ * <p>Indicates that the details are not visible because of cross-account restrictions.</p>
2028
+ * @public
2029
+ */
2030
+ interface NotVisibleMember {
2031
+ issues?: never;
2032
+ notVisible: NotVisibleMarker;
2033
+ $unknown?: never;
2034
+ }
2035
+ /**
2036
+ * @public
2037
+ */
2038
+ interface $UnknownMember {
2039
+ issues?: never;
2040
+ notVisible?: never;
2041
+ $unknown: [string, any];
2042
+ }
2043
+ /**
2044
+ * @deprecated unused in schema-serde mode.
2045
+ *
2046
+ */
2047
+ interface Visitor<T> {
2048
+ issues: (value: Partial<Record<PolicyFirewallType, RemediationIssueDetails>>) => T;
2049
+ notVisible: (value: NotVisibleMarker) => T;
2050
+ _: (name: string, value: any) => T;
2051
+ }
2052
+ }
2053
+ /**
2054
+ * <p>The synchronization status of a resource covered by a deployment.</p>
2055
+ * @public
2056
+ */
2057
+ export interface ResourceSynchronizationStatusSummary {
2058
+ /**
2059
+ * <p>The synchronization status of the resource, such as <code>IN_SYNC</code> or <code>OUT_OF_SYNC</code>.</p>
2060
+ * @public
2061
+ */
2062
+ synchronizationStatus: SynchronizationStatus | undefined;
2063
+ /**
2064
+ * <p>The AWS account ID that owns the resource.</p>
2065
+ * @public
2066
+ */
2067
+ accountId: string | undefined;
2068
+ /**
2069
+ * <p>The ARN of the resource whose synchronization status is reported.</p>
2070
+ * @public
2071
+ */
2072
+ resourceArn: string | undefined;
2073
+ /**
2074
+ * <p>The ARN of the deployment that the synchronization status is associated with. This is absent for aggregate (cross-deployment) statuses.</p>
2075
+ * @public
2076
+ */
2077
+ deploymentArn?: string | undefined;
2078
+ /**
2079
+ * <p>The type of the resource, in AWS CloudFormation format.</p>
2080
+ * @public
2081
+ */
2082
+ resourceType?: ResourceType | undefined;
2083
+ /**
2084
+ * <p>The time when the resource was last updated.</p>
2085
+ * @public
2086
+ */
2087
+ updatedAt: Date | undefined;
2088
+ /**
2089
+ * <p>The reasons the resource is out of sync, keyed by firewall type. This is null when the resource is in sync.</p>
2090
+ * @public
2091
+ */
2092
+ outOfSyncReasons?: OutOfSyncReasonsView | undefined;
2093
+ /**
2094
+ * <p>Details about remediation issues, keyed by firewall type. This is null when there are no remediation issues.</p>
2095
+ * @public
2096
+ */
2097
+ remediationIssues?: RemediationIssuesView | undefined;
2098
+ /**
2099
+ * <p>The time when the synchronization status was last evaluated.</p>
2100
+ * @public
2101
+ */
2102
+ evaluatedAt?: Date | undefined;
2103
+ }
2104
+ /**
2105
+ * @public
2106
+ */
2107
+ export interface ListResourceSynchronizationStatusesOutput {
2108
+ /**
2109
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2110
+ * @public
2111
+ */
2112
+ nextToken?: string | undefined;
2113
+ /**
2114
+ * <p>The list of resource synchronization statuses.</p>
2115
+ * @public
2116
+ */
2117
+ resourceSynchronizationStatuses: ResourceSynchronizationStatusSummary[] | undefined;
2118
+ }
2119
+ /**
2120
+ * @public
2121
+ */
2122
+ export interface UpdateDeploymentInput {
2123
+ /**
2124
+ * <p>The identifier of the deployment. This is the deployment's Amazon Resource Name (ARN).</p>
2125
+ * @public
2126
+ */
2127
+ deploymentIdentifier: string | undefined;
2128
+ /**
2129
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
2130
+ * @public
2131
+ */
2132
+ updateToken: string | undefined;
2133
+ /**
2134
+ * <p>A description of the deployment.</p>
2135
+ * @public
2136
+ */
2137
+ deploymentDescription?: string | undefined;
2138
+ /**
2139
+ * <p>The configuration settings for the deployment.</p>
2140
+ * @public
2141
+ */
2142
+ deploymentConfiguration?: DeploymentConfiguration | undefined;
2143
+ /**
2144
+ * <p>The policies associated with the deployment.</p>
2145
+ * @public
2146
+ */
2147
+ associatedPolicyList?: PolicyReference[] | undefined;
2148
+ /**
2149
+ * <p>The scope associated with the deployment. A deployment has exactly one scope.</p>
2150
+ * @public
2151
+ */
2152
+ associatedScopeList?: ScopeReference[] | undefined;
2153
+ /**
2154
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>).</p>
2155
+ * @public
2156
+ */
2157
+ isPublished: boolean | undefined;
2158
+ /**
2159
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
2160
+ * @public
2161
+ */
2162
+ clientToken?: string | undefined;
2163
+ }
2164
+ /**
2165
+ * @public
2166
+ */
2167
+ export interface UpdateDeploymentOutput {
2168
+ /**
2169
+ * <p>The service-generated id of the deployment.</p>
2170
+ * @public
2171
+ */
2172
+ deploymentId: string | undefined;
2173
+ /**
2174
+ * <p>The Amazon Resource Name (ARN) of the deployment.</p>
2175
+ * @public
2176
+ */
2177
+ deploymentArn: string | undefined;
2178
+ /**
2179
+ * <p>The name of the deployment.</p>
2180
+ * @public
2181
+ */
2182
+ deploymentName: string | undefined;
2183
+ /**
2184
+ * <p>A description of the deployment.</p>
2185
+ * @public
2186
+ */
2187
+ deploymentDescription?: string | undefined;
2188
+ /**
2189
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
2190
+ * @public
2191
+ */
2192
+ status: EntityStatus | undefined;
2193
+ /**
2194
+ * <p>The configuration settings for the deployment.</p>
2195
+ * @public
2196
+ */
2197
+ deploymentConfiguration?: DeploymentConfiguration | undefined;
2198
+ /**
2199
+ * <p>The policies associated with the deployment.</p>
2200
+ * @public
2201
+ */
2202
+ associatedPolicyList: AssociatedPolicy[] | undefined;
2203
+ /**
2204
+ * <p>The scope associated with the deployment. A deployment has exactly one scope.</p>
2205
+ * @public
2206
+ */
2207
+ associatedScopeList: AssociatedScope[] | undefined;
2208
+ /**
2209
+ * <p>The version of the resource.</p>
2210
+ * @public
2211
+ */
2212
+ version: string | undefined;
2213
+ /**
2214
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
2215
+ * @public
2216
+ */
2217
+ updateToken?: string | undefined;
2218
+ /**
2219
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
2220
+ * @public
2221
+ */
2222
+ isSnapshot?: boolean | undefined;
2223
+ /**
2224
+ * <p>Specifies whether a published version of the resource exists.</p>
2225
+ * @public
2226
+ */
2227
+ hasPublishedVersion?: boolean | undefined;
2228
+ /**
2229
+ * <p>The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.</p>
2230
+ * @public
2231
+ */
2232
+ deploymentCoverage?: DeploymentCoverageEntry[] | undefined;
2233
+ /**
2234
+ * <p>Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.</p>
2235
+ * @public
2236
+ */
2237
+ warnings?: DeploymentWarningEntry[] | undefined;
2238
+ /**
2239
+ * <p>The time when the resource was last updated.</p>
2240
+ * @public
2241
+ */
2242
+ updatedAt?: Date | undefined;
2243
+ }
2244
+ /**
2245
+ * @public
2246
+ */
2247
+ export interface GenerateRuleConfigurationRequest {
2248
+ /**
2249
+ * <p>A natural-language description of the configuration that you want to generate.</p>
2250
+ * @public
2251
+ */
2252
+ prompt: string | undefined;
2253
+ /**
2254
+ * <p>The firewall type of the rule.</p>
2255
+ * @public
2256
+ */
2257
+ ruleFirewallType: RuleFirewallType | undefined;
2258
+ /**
2259
+ * <p>The type of the rule. <code>CONFIGURATION</code> rules contain firewall settings, and <code>INSPECTION</code> rules contain rule groups.</p>
2260
+ * @public
2261
+ */
2262
+ ruleType: RuleType | undefined;
2263
+ /**
2264
+ * <p>For AWS WAF configuration rules, the specific AWS WAF configuration variant to generate. This is optional; if you omit it, the service selects the variant.</p>
2265
+ * @public
2266
+ */
2267
+ wafConfigDataType?: WAFConfigDataType | undefined;
2268
+ /**
2269
+ * <p>An existing configuration to edit, as a JSON string. When you provide this value, the operation edits the configuration. When you omit it, the operation generates a new configuration.</p>
2270
+ * @public
2271
+ */
2272
+ currentConfiguration?: string | undefined;
2273
+ /**
2274
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
2275
+ * @public
2276
+ */
2277
+ clientToken?: string | undefined;
2278
+ }
2279
+ /**
2280
+ * @public
2281
+ */
2282
+ export interface GenerateRuleConfigurationResponse {
2283
+ /**
2284
+ * <p>The generated configuration, as a JSON string. You can use this value in the <code>configuration</code> field of a rule.</p>
2285
+ * @public
2286
+ */
2287
+ configuration: string | undefined;
2288
+ /**
2289
+ * <p>Reserved for a future human-readable description of the generated configuration. This field is currently not populated.</p>
2290
+ * @public
2291
+ */
2292
+ description?: string | undefined;
2293
+ }
2294
+ /**
2295
+ * @public
2296
+ */
2297
+ export interface GetAdminAccountRequest {
2298
+ /**
2299
+ * <p>The AWS account ID of the administrator account to retrieve.</p>
2300
+ * @public
2301
+ */
2302
+ accountId: string | undefined;
2303
+ }
2304
+ /**
2305
+ * @public
2306
+ */
2307
+ export interface GetAdminAccountResponse {
2308
+ /**
2309
+ * <p>The details of the administrator account.</p>
2310
+ * @public
2311
+ */
2312
+ adminAccountDetails?: AdminAccountDetails | undefined;
2313
+ }
2314
+ /**
2315
+ * @public
2316
+ */
2317
+ export interface GetPolicyInput {
2318
+ /**
2319
+ * <p>The identifier of the policy. This is the policy's Amazon Resource Name (ARN).</p>
2320
+ * @public
2321
+ */
2322
+ policyIdentifier: string | undefined;
2323
+ }
2324
+ /**
2325
+ * @public
2326
+ */
2327
+ export interface GetPolicyOutput {
2328
+ /**
2329
+ * <p>The service-generated id of the policy.</p>
2330
+ * @public
2331
+ */
2332
+ policyId: string | undefined;
2333
+ /**
2334
+ * <p>The Amazon Resource Name (ARN) of the policy.</p>
2335
+ * @public
2336
+ */
2337
+ policyArn: string | undefined;
2338
+ /**
2339
+ * <p>The name of the policy.</p>
2340
+ * @public
2341
+ */
2342
+ policyName: string | undefined;
2343
+ /**
2344
+ * <p>A description of the policy.</p>
2345
+ * @public
2346
+ */
2347
+ policyDescription?: string | undefined;
2348
+ /**
2349
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
2350
+ * @public
2351
+ */
2352
+ status: EntityStatus | undefined;
2353
+ /**
2354
+ * <p>The priority of the resource. A lower number indicates a higher priority.</p>
2355
+ * @public
2356
+ */
2357
+ priority: number | undefined;
2358
+ /**
2359
+ * <p>The templates and rules associated with the policy. For AWS WAF policies, this list contains 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, this list is empty.</p>
2360
+ * @public
2361
+ */
2362
+ associatedTemplateAndRuleList: AssociatedTemplateOrRule[] | undefined;
2363
+ /**
2364
+ * <p>The version of the resource.</p>
2365
+ * @public
2366
+ */
2367
+ version: string | undefined;
2368
+ /**
2369
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
2370
+ * @public
2371
+ */
2372
+ updateToken?: string | undefined;
2373
+ /**
2374
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
2375
+ * @public
2376
+ */
2377
+ isSnapshot?: boolean | undefined;
2378
+ /**
2379
+ * <p>Specifies whether a published version of the resource exists.</p>
2380
+ * @public
2381
+ */
2382
+ hasPublishedVersion?: boolean | undefined;
2383
+ /**
2384
+ * <p>The firewall type associated with the resource.</p>
2385
+ * @public
2386
+ */
2387
+ firewallType: PolicyFirewallType | undefined;
2388
+ /**
2389
+ * <p>The configuration settings that control the policy's behavior, including remediation and firewall-type-specific settings.</p>
2390
+ * @public
2391
+ */
2392
+ policyConfiguration?: PolicyConfiguration | undefined;
2393
+ /**
2394
+ * <p>The time when the resource was last updated.</p>
2395
+ * @public
2396
+ */
2397
+ updatedAt?: Date | undefined;
2398
+ }
2399
+ /**
2400
+ * @public
2401
+ */
2402
+ export interface GetRuleInput {
2403
+ /**
2404
+ * <p>The identifier of the rule. This is the rule's Amazon Resource Name (ARN).</p>
2405
+ * @public
2406
+ */
2407
+ ruleIdentifier: string | undefined;
2408
+ }
2409
+ /**
2410
+ * @public
2411
+ */
2412
+ export interface GetRuleOutput {
2413
+ /**
2414
+ * <p>The service-generated id of the rule.</p>
2415
+ * @public
2416
+ */
2417
+ ruleId: string | undefined;
2418
+ /**
2419
+ * <p>The Amazon Resource Name (ARN) of the rule.</p>
2420
+ * @public
2421
+ */
2422
+ ruleArn: string | undefined;
2423
+ /**
2424
+ * <p>The name of the rule.</p>
2425
+ * @public
2426
+ */
2427
+ ruleName: string | undefined;
2428
+ /**
2429
+ * <p>The firewall type associated with the resource.</p>
2430
+ * @public
2431
+ */
2432
+ firewallType: RuleFirewallType | undefined;
2433
+ /**
2434
+ * <p>The type of the rule. <code>CONFIGURATION</code> rules contain firewall settings, and <code>INSPECTION</code> rules contain rule groups.</p>
2435
+ * @public
2436
+ */
2437
+ ruleType?: RuleType | undefined;
2438
+ /**
2439
+ * <p>A description of the rule.</p>
2440
+ * @public
2441
+ */
2442
+ ruleDescription?: string | undefined;
2443
+ /**
2444
+ * <p>The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.</p>
2445
+ * @public
2446
+ */
2447
+ configuration: __DocumentType | undefined;
2448
+ /**
2449
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
2450
+ * @public
2451
+ */
2452
+ status: EntityStatus | undefined;
2453
+ /**
2454
+ * <p>The version of the resource.</p>
2455
+ * @public
2456
+ */
2457
+ version: string | undefined;
2458
+ /**
2459
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
2460
+ * @public
2461
+ */
2462
+ updateToken?: string | undefined;
2463
+ /**
2464
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
2465
+ * @public
2466
+ */
2467
+ isSnapshot?: boolean | undefined;
2468
+ /**
2469
+ * <p>Specifies whether a published version of the resource exists.</p>
2470
+ * @public
2471
+ */
2472
+ hasPublishedVersion?: boolean | undefined;
2473
+ /**
2474
+ * <p>The time when the resource was last updated.</p>
2475
+ * @public
2476
+ */
2477
+ updatedAt?: Date | undefined;
2478
+ }
2479
+ /**
2480
+ * @public
2481
+ */
2482
+ export interface GetScopeInput {
2483
+ /**
2484
+ * <p>The identifier of the scope. This is the scope's Amazon Resource Name (ARN).</p>
2485
+ * @public
2486
+ */
2487
+ scopeIdentifier: string | undefined;
2488
+ }
2489
+ /**
2490
+ * @public
2491
+ */
2492
+ export interface GetTemplateInput {
2493
+ /**
2494
+ * <p>The identifier of the template. This is the template's Amazon Resource Name (ARN).</p>
2495
+ * @public
2496
+ */
2497
+ templateIdentifier: string | undefined;
2498
+ }
2499
+ /**
2500
+ * @public
2501
+ */
2502
+ export interface GetTemplateOutput {
2503
+ /**
2504
+ * <p>The service-generated id of the template.</p>
2505
+ * @public
2506
+ */
2507
+ templateId: string | undefined;
2508
+ /**
2509
+ * <p>The Amazon Resource Name (ARN) of the template.</p>
2510
+ * @public
2511
+ */
2512
+ templateArn: string | undefined;
2513
+ /**
2514
+ * <p>The name of the template.</p>
2515
+ * @public
2516
+ */
2517
+ templateName: string | undefined;
2518
+ /**
2519
+ * <p>A description of the template.</p>
2520
+ * @public
2521
+ */
2522
+ templateDescription?: string | undefined;
2523
+ /**
2524
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
2525
+ * @public
2526
+ */
2527
+ status: EntityStatus | undefined;
2528
+ /**
2529
+ * <p>The version of the resource.</p>
2530
+ * @public
2531
+ */
2532
+ version: string | undefined;
2533
+ /**
2534
+ * <p>The rules associated with the template.</p>
2535
+ * @public
2536
+ */
2537
+ associatedRuleList: AssociatedRule[] | undefined;
2538
+ /**
2539
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
2540
+ * @public
2541
+ */
2542
+ updateToken?: string | undefined;
2543
+ /**
2544
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
2545
+ * @public
2546
+ */
2547
+ isSnapshot?: boolean | undefined;
2548
+ /**
2549
+ * <p>Specifies whether a published version of the resource exists.</p>
2550
+ * @public
2551
+ */
2552
+ hasPublishedVersion?: boolean | undefined;
2553
+ /**
2554
+ * <p>The firewall type associated with the resource.</p>
2555
+ * @public
2556
+ */
2557
+ firewallType: TemplateFirewallType | undefined;
2558
+ /**
2559
+ * <p>The time when the resource was last updated.</p>
2560
+ * @public
2561
+ */
2562
+ updatedAt?: Date | undefined;
2563
+ }
2564
+ /**
2565
+ * @public
2566
+ */
2567
+ export interface ListAdminAccountsRequest {
2568
+ /**
2569
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
2570
+ * @public
2571
+ */
2572
+ maxResults?: number | undefined;
2573
+ /**
2574
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2575
+ * @public
2576
+ */
2577
+ nextToken?: string | undefined;
2578
+ }
2579
+ /**
2580
+ * @public
2581
+ */
2582
+ export interface ListAdminAccountsResponse {
2583
+ /**
2584
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2585
+ * @public
2586
+ */
2587
+ nextToken?: string | undefined;
2588
+ /**
2589
+ * <p>The list of administrator accounts.</p>
2590
+ * @public
2591
+ */
2592
+ adminAccounts: AdminAccountSummary[] | undefined;
2593
+ }
2594
+ /**
2595
+ * @public
2596
+ */
2597
+ export interface ListAggregateResourceSynchronizationStatusesInput {
2598
+ /**
2599
+ * <p>Filters the results by synchronization status, such as <code>IN_SYNC</code> or <code>OUT_OF_SYNC</code>.</p>
2600
+ * @public
2601
+ */
2602
+ synchronizationStatus?: SynchronizationStatus | undefined;
2603
+ /**
2604
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
2605
+ * @public
2606
+ */
2607
+ maxResults?: number | undefined;
2608
+ /**
2609
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2610
+ * @public
2611
+ */
2612
+ nextToken?: string | undefined;
2613
+ }
2614
+ /**
2615
+ * @public
2616
+ */
2617
+ export interface ListAggregateResourceSynchronizationStatusesOutput {
2618
+ /**
2619
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2620
+ * @public
2621
+ */
2622
+ nextToken?: string | undefined;
2623
+ /**
2624
+ * <p>The list of resource synchronization statuses.</p>
2625
+ * @public
2626
+ */
2627
+ resourceSynchronizationStatuses: ResourceSynchronizationStatusSummary[] | undefined;
2628
+ }
2629
+ /**
2630
+ * @public
2631
+ */
2632
+ export interface ListPoliciesInput {
2633
+ /**
2634
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
2635
+ * @public
2636
+ */
2637
+ maxResults?: number | undefined;
2638
+ /**
2639
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2640
+ * @public
2641
+ */
2642
+ nextToken?: string | undefined;
2643
+ /**
2644
+ * <p>Filters the results by status, either <code>ACTIVE</code> or <code>DRAFT</code>.</p>
2645
+ * @public
2646
+ */
2647
+ status?: EntityStatusFilter | undefined;
2648
+ }
2649
+ /**
2650
+ * <p>Summary information about a policy.</p>
2651
+ * @public
2652
+ */
2653
+ export interface PolicySummary {
2654
+ /**
2655
+ * <p>The service-generated id of the policy.</p>
2656
+ * @public
2657
+ */
2658
+ policyId: string | undefined;
2659
+ /**
2660
+ * <p>The Amazon Resource Name (ARN) of the policy.</p>
2661
+ * @public
2662
+ */
2663
+ policyArn: string | undefined;
2664
+ /**
2665
+ * <p>The name of the policy.</p>
2666
+ * @public
2667
+ */
2668
+ policyName?: string | undefined;
2669
+ /**
2670
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
2671
+ * @public
2672
+ */
2673
+ status?: EntityStatus | undefined;
2674
+ /**
2675
+ * <p>The version of the resource.</p>
2676
+ * @public
2677
+ */
2678
+ version?: string | undefined;
2679
+ /**
2680
+ * <p>Specifies whether a published version of the resource exists.</p>
2681
+ * @public
2682
+ */
2683
+ hasPublishedVersion?: boolean | undefined;
2684
+ /**
2685
+ * <p>The firewall type associated with the resource.</p>
2686
+ * @public
2687
+ */
2688
+ firewallType?: PolicyFirewallType | undefined;
2689
+ /**
2690
+ * <p>The priority of the resource. A lower number indicates a higher priority.</p>
2691
+ * @public
2692
+ */
2693
+ priority?: number | undefined;
2694
+ /**
2695
+ * <p>The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.</p>
2696
+ * @public
2697
+ */
2698
+ updatedAt?: Date | undefined;
2699
+ }
2700
+ /**
2701
+ * @public
2702
+ */
2703
+ export interface ListPoliciesOutput {
2704
+ /**
2705
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2706
+ * @public
2707
+ */
2708
+ nextToken?: string | undefined;
2709
+ /**
2710
+ * <p>The list of policies.</p>
2711
+ * @public
2712
+ */
2713
+ policies: PolicySummary[] | undefined;
2714
+ }
2715
+ /**
2716
+ * @public
2717
+ */
2718
+ export interface ListPolicySnapshotsInput {
2719
+ /**
2720
+ * <p>The identifier of the policy. This is the policy's Amazon Resource Name (ARN).</p>
2721
+ * @public
2722
+ */
2723
+ policyIdentifier: string | undefined;
2724
+ /**
2725
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
2726
+ * @public
2727
+ */
2728
+ maxResults?: number | undefined;
2729
+ /**
2730
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2731
+ * @public
2732
+ */
2733
+ nextToken?: string | undefined;
2734
+ }
2735
+ /**
2736
+ * @public
2737
+ */
2738
+ export interface ListPolicySnapshotsOutput {
2739
+ /**
2740
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2741
+ * @public
2742
+ */
2743
+ nextToken?: string | undefined;
2744
+ /**
2745
+ * <p>The snapshots of the policy.</p>
2746
+ * @public
2747
+ */
2748
+ snapshots: PolicySummary[] | undefined;
2749
+ }
2750
+ /**
2751
+ * @public
2752
+ */
2753
+ export interface ListResourceAssociationsInput {
2754
+ /**
2755
+ * <p>The identifier of the resource to list associations for. This is the resource's Amazon Resource Name (ARN).</p>
2756
+ * @public
2757
+ */
2758
+ resourceIdentifier: string | undefined;
2759
+ /**
2760
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
2761
+ * @public
2762
+ */
2763
+ maxResults?: number | undefined;
2764
+ /**
2765
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2766
+ * @public
2767
+ */
2768
+ nextToken?: string | undefined;
2769
+ }
2770
+ /**
2771
+ * <p>Describes an association between a resource and another entity.</p>
2772
+ * @public
2773
+ */
2774
+ export interface ResourceAssociation {
2775
+ /**
2776
+ * <p>The ARN of the associated resource.</p>
2777
+ * @public
2778
+ */
2779
+ arn: string | undefined;
2780
+ /**
2781
+ * <p>The type of the associated resource, such as <code>Policy</code>, <code>Template</code>, or <code>Deployment</code>.</p>
2782
+ * @public
2783
+ */
2784
+ resourceType: ServiceResourceType | undefined;
2785
+ }
2786
+ /**
2787
+ * @public
2788
+ */
2789
+ export interface ListResourceAssociationsOutput {
2790
+ /**
2791
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2792
+ * @public
2793
+ */
2794
+ nextToken?: string | undefined;
2795
+ /**
2796
+ * <p>The list of resource associations.</p>
2797
+ * @public
2798
+ */
2799
+ resourceAssociations: ResourceAssociation[] | undefined;
2800
+ }
2801
+ /**
2802
+ * @public
2803
+ */
2804
+ export interface ListRulesInput {
2805
+ /**
2806
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
2807
+ * @public
2808
+ */
2809
+ maxResults?: number | undefined;
2810
+ /**
2811
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2812
+ * @public
2813
+ */
2814
+ nextToken?: string | undefined;
2815
+ /**
2816
+ * <p>Filters the results by status, either <code>ACTIVE</code> or <code>DRAFT</code>.</p>
2817
+ * @public
2818
+ */
2819
+ status?: EntityStatusFilter | undefined;
2820
+ }
2821
+ /**
2822
+ * <p>Summary information about a rule.</p>
2823
+ * @public
2824
+ */
2825
+ export interface RuleSummary {
2826
+ /**
2827
+ * <p>The service-generated id of the rule.</p>
2828
+ * @public
2829
+ */
2830
+ ruleId: string | undefined;
2831
+ /**
2832
+ * <p>The Amazon Resource Name (ARN) of the rule.</p>
2833
+ * @public
2834
+ */
2835
+ ruleArn: string | undefined;
2836
+ /**
2837
+ * <p>The name of the rule.</p>
2838
+ * @public
2839
+ */
2840
+ ruleName: string | undefined;
2841
+ /**
2842
+ * <p>The firewall type associated with the resource.</p>
2843
+ * @public
2844
+ */
2845
+ firewallType?: RuleFirewallType | undefined;
2846
+ /**
2847
+ * <p>The type of the rule. <code>CONFIGURATION</code> rules contain firewall settings, and <code>INSPECTION</code> rules contain rule groups.</p>
2848
+ * @public
2849
+ */
2850
+ ruleType?: RuleType | undefined;
2851
+ /**
2852
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
2853
+ * @public
2854
+ */
2855
+ status?: EntityStatus | undefined;
2856
+ /**
2857
+ * <p>The version of the resource.</p>
2858
+ * @public
2859
+ */
2860
+ version?: string | undefined;
2861
+ /**
2862
+ * <p>Specifies whether a published version of the resource exists.</p>
2863
+ * @public
2864
+ */
2865
+ hasPublishedVersion?: boolean | undefined;
2866
+ /**
2867
+ * <p>The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.</p>
2868
+ * @public
2869
+ */
2870
+ updatedAt?: Date | undefined;
2871
+ }
2872
+ /**
2873
+ * @public
2874
+ */
2875
+ export interface ListRulesOutput {
2876
+ /**
2877
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2878
+ * @public
2879
+ */
2880
+ nextToken?: string | undefined;
2881
+ /**
2882
+ * <p>The list of rules.</p>
2883
+ * @public
2884
+ */
2885
+ rules: RuleSummary[] | undefined;
2886
+ }
2887
+ /**
2888
+ * @public
2889
+ */
2890
+ export interface ListRuleSnapshotsInput {
2891
+ /**
2892
+ * <p>The identifier of the rule. This is the rule's Amazon Resource Name (ARN).</p>
2893
+ * @public
2894
+ */
2895
+ ruleIdentifier: string | undefined;
2896
+ /**
2897
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
2898
+ * @public
2899
+ */
2900
+ maxResults?: number | undefined;
2901
+ /**
2902
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2903
+ * @public
2904
+ */
2905
+ nextToken?: string | undefined;
2906
+ }
2907
+ /**
2908
+ * @public
2909
+ */
2910
+ export interface ListRuleSnapshotsOutput {
2911
+ /**
2912
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2913
+ * @public
2914
+ */
2915
+ nextToken?: string | undefined;
2916
+ /**
2917
+ * <p>The snapshots of the rule.</p>
2918
+ * @public
2919
+ */
2920
+ snapshots: RuleSummary[] | undefined;
2921
+ }
2922
+ /**
2923
+ * @public
2924
+ */
2925
+ export interface ListScopesInput {
2926
+ /**
2927
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
2928
+ * @public
2929
+ */
2930
+ maxResults?: number | undefined;
2931
+ /**
2932
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2933
+ * @public
2934
+ */
2935
+ nextToken?: string | undefined;
2936
+ /**
2937
+ * <p>Filters the results by status: <code>ACTIVE</code>, <code>DRAFT</code>, or <code>DISABLED</code>.</p>
2938
+ * @public
2939
+ */
2940
+ status?: EntityStatusFilter | undefined;
2941
+ }
2942
+ /**
2943
+ * <p>Summary information about a scope.</p>
2944
+ * @public
2945
+ */
2946
+ export interface ScopeSummary {
2947
+ /**
2948
+ * <p>The service-generated id of the scope.</p>
2949
+ * @public
2950
+ */
2951
+ scopeId: string | undefined;
2952
+ /**
2953
+ * <p>The Amazon Resource Name (ARN) of the scope.</p>
2954
+ * @public
2955
+ */
2956
+ scopeArn: string | undefined;
2957
+ /**
2958
+ * <p>The name of the scope.</p>
2959
+ * @public
2960
+ */
2961
+ scopeName?: string | undefined;
2962
+ /**
2963
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable), <code>ACTIVE</code> (published, in use), or <code>DISABLED</code> (deactivated; changes cannot be published until the resource is re-enabled).</p>
2964
+ * @public
2965
+ */
2966
+ status?: EntityStatus | undefined;
2967
+ /**
2968
+ * <p>The version of the resource.</p>
2969
+ * @public
2970
+ */
2971
+ version?: string | undefined;
2972
+ /**
2973
+ * <p>Specifies whether a published version of the resource exists.</p>
2974
+ * @public
2975
+ */
2976
+ hasPublishedVersion?: boolean | undefined;
2977
+ /**
2978
+ * <p>The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.</p>
2979
+ * @public
2980
+ */
2981
+ updatedAt?: Date | undefined;
2982
+ }
2983
+ /**
2984
+ * @public
2985
+ */
2986
+ export interface ListScopesOutput {
2987
+ /**
2988
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
2989
+ * @public
2990
+ */
2991
+ nextToken?: string | undefined;
2992
+ /**
2993
+ * <p>The list of scopes.</p>
2994
+ * @public
2995
+ */
2996
+ scopes: ScopeSummary[] | undefined;
2997
+ }
2998
+ /**
2999
+ * @public
3000
+ */
3001
+ export interface ListScopeSnapshotsInput {
3002
+ /**
3003
+ * <p>The identifier of the scope. This is the scope's Amazon Resource Name (ARN).</p>
3004
+ * @public
3005
+ */
3006
+ scopeIdentifier: string | undefined;
3007
+ /**
3008
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
3009
+ * @public
3010
+ */
3011
+ maxResults?: number | undefined;
3012
+ /**
3013
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
3014
+ * @public
3015
+ */
3016
+ nextToken?: string | undefined;
3017
+ }
3018
+ /**
3019
+ * @public
3020
+ */
3021
+ export interface ListScopeSnapshotsOutput {
3022
+ /**
3023
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
3024
+ * @public
3025
+ */
3026
+ nextToken?: string | undefined;
3027
+ /**
3028
+ * <p>The snapshots of the scope.</p>
3029
+ * @public
3030
+ */
3031
+ snapshots: ScopeSummary[] | undefined;
3032
+ }
3033
+ /**
3034
+ * @public
3035
+ */
3036
+ export interface ListTagsForResourceInput {
3037
+ /**
3038
+ * <p>The ARN of the resource to list tags for. The ARN must not include a <code>:DRAFT</code> qualifier.</p>
3039
+ * @public
3040
+ */
3041
+ resourceArn: string | undefined;
3042
+ }
3043
+ /**
3044
+ * @public
3045
+ */
3046
+ export interface ListTagsForResourceOutput {
3047
+ /**
3048
+ * <p>The tags associated with the resource. Each tag is a key-value pair.</p>
3049
+ * @public
3050
+ */
3051
+ tags?: Record<string, string> | undefined;
3052
+ }
3053
+ /**
3054
+ * @public
3055
+ */
3056
+ export interface ListTemplatesInput {
3057
+ /**
3058
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
3059
+ * @public
3060
+ */
3061
+ maxResults?: number | undefined;
3062
+ /**
3063
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
3064
+ * @public
3065
+ */
3066
+ nextToken?: string | undefined;
3067
+ /**
3068
+ * <p>Filters the results by status, either <code>ACTIVE</code> or <code>DRAFT</code>.</p>
3069
+ * @public
3070
+ */
3071
+ status?: EntityStatusFilter | undefined;
3072
+ }
3073
+ /**
3074
+ * <p>Summary information about a template.</p>
3075
+ * @public
3076
+ */
3077
+ export interface TemplateSummary {
3078
+ /**
3079
+ * <p>The service-generated id of the template.</p>
3080
+ * @public
3081
+ */
3082
+ templateId: string | undefined;
3083
+ /**
3084
+ * <p>The Amazon Resource Name (ARN) of the template.</p>
3085
+ * @public
3086
+ */
3087
+ templateArn: string | undefined;
3088
+ /**
3089
+ * <p>The name of the template.</p>
3090
+ * @public
3091
+ */
3092
+ templateName: string | undefined;
3093
+ /**
3094
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
3095
+ * @public
3096
+ */
3097
+ status?: EntityStatus | undefined;
3098
+ /**
3099
+ * <p>The version of the resource.</p>
3100
+ * @public
3101
+ */
3102
+ version?: string | undefined;
3103
+ /**
3104
+ * <p>Specifies whether a published version of the resource exists.</p>
3105
+ * @public
3106
+ */
3107
+ hasPublishedVersion?: boolean | undefined;
3108
+ /**
3109
+ * <p>The firewall type associated with the resource.</p>
3110
+ * @public
3111
+ */
3112
+ firewallType?: TemplateFirewallType | undefined;
3113
+ /**
3114
+ * <p>The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.</p>
3115
+ * @public
3116
+ */
3117
+ updatedAt?: Date | undefined;
3118
+ }
3119
+ /**
3120
+ * @public
3121
+ */
3122
+ export interface ListTemplatesOutput {
3123
+ /**
3124
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
3125
+ * @public
3126
+ */
3127
+ nextToken?: string | undefined;
3128
+ /**
3129
+ * <p>The list of templates.</p>
3130
+ * @public
3131
+ */
3132
+ templates: TemplateSummary[] | undefined;
3133
+ }
3134
+ /**
3135
+ * @public
3136
+ */
3137
+ export interface ListTemplateSnapshotsInput {
3138
+ /**
3139
+ * <p>The identifier of the template. This is the template's Amazon Resource Name (ARN).</p>
3140
+ * @public
3141
+ */
3142
+ templateIdentifier: string | undefined;
3143
+ /**
3144
+ * <p>The maximum number of results to return in a single call. Valid range: 1-100. To retrieve the remaining results, use the returned <code>nextToken</code> value in a subsequent call.</p>
3145
+ * @public
3146
+ */
3147
+ maxResults?: number | undefined;
3148
+ /**
3149
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
3150
+ * @public
3151
+ */
3152
+ nextToken?: string | undefined;
3153
+ }
3154
+ /**
3155
+ * @public
3156
+ */
3157
+ export interface ListTemplateSnapshotsOutput {
3158
+ /**
3159
+ * <p>The token for the next page of results. To retrieve the next page, call the operation again and provide this value. When there are no more results, this value is null.</p>
3160
+ * @public
3161
+ */
3162
+ nextToken?: string | undefined;
3163
+ /**
3164
+ * <p>The snapshots of the template.</p>
3165
+ * @public
3166
+ */
3167
+ snapshots: TemplateSummary[] | undefined;
3168
+ }
3169
+ /**
3170
+ * @public
3171
+ */
3172
+ export interface UpdatePolicyInput {
3173
+ /**
3174
+ * <p>The identifier of the policy. This is the policy's Amazon Resource Name (ARN).</p>
3175
+ * @public
3176
+ */
3177
+ policyIdentifier: string | undefined;
3178
+ /**
3179
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3180
+ * @public
3181
+ */
3182
+ updateToken: string | undefined;
3183
+ /**
3184
+ * <p>A description of the policy.</p>
3185
+ * @public
3186
+ */
3187
+ policyDescription?: string | undefined;
3188
+ /**
3189
+ * <p>The priority of the resource. A lower number indicates a higher priority.</p>
3190
+ * @public
3191
+ */
3192
+ priority?: number | undefined;
3193
+ /**
3194
+ * <p>The templates and rules to associate with the policy. For AWS WAF policies, specify 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, this list must be empty.</p>
3195
+ * @public
3196
+ */
3197
+ associatedTemplateAndRuleList?: TemplateOrRuleReference[] | undefined;
3198
+ /**
3199
+ * <p>The configuration settings that control the policy's behavior, including remediation and firewall-type-specific settings.</p>
3200
+ * @public
3201
+ */
3202
+ policyConfiguration?: PolicyConfiguration | undefined;
3203
+ /**
3204
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>).</p>
3205
+ * @public
3206
+ */
3207
+ isPublished: boolean | undefined;
3208
+ /**
3209
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
3210
+ * @public
3211
+ */
3212
+ clientToken?: string | undefined;
3213
+ }
3214
+ /**
3215
+ * @public
3216
+ */
3217
+ export interface UpdatePolicyOutput {
3218
+ /**
3219
+ * <p>The service-generated id of the policy.</p>
3220
+ * @public
3221
+ */
3222
+ policyId: string | undefined;
3223
+ /**
3224
+ * <p>The Amazon Resource Name (ARN) of the policy.</p>
3225
+ * @public
3226
+ */
3227
+ policyArn: string | undefined;
3228
+ /**
3229
+ * <p>The name of the policy.</p>
3230
+ * @public
3231
+ */
3232
+ policyName: string | undefined;
3233
+ /**
3234
+ * <p>A description of the policy.</p>
3235
+ * @public
3236
+ */
3237
+ policyDescription?: string | undefined;
3238
+ /**
3239
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
3240
+ * @public
3241
+ */
3242
+ status: EntityStatus | undefined;
3243
+ /**
3244
+ * <p>The priority of the resource. A lower number indicates a higher priority.</p>
3245
+ * @public
3246
+ */
3247
+ priority: number | undefined;
3248
+ /**
3249
+ * <p>The templates and rules associated with the policy. For AWS WAF policies, this list contains 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, this list is empty.</p>
3250
+ * @public
3251
+ */
3252
+ associatedTemplateAndRuleList: AssociatedTemplateOrRule[] | undefined;
3253
+ /**
3254
+ * <p>The version of the resource.</p>
3255
+ * @public
3256
+ */
3257
+ version: string | undefined;
3258
+ /**
3259
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3260
+ * @public
3261
+ */
3262
+ updateToken?: string | undefined;
3263
+ /**
3264
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
3265
+ * @public
3266
+ */
3267
+ isSnapshot?: boolean | undefined;
3268
+ /**
3269
+ * <p>Specifies whether a published version of the resource exists.</p>
3270
+ * @public
3271
+ */
3272
+ hasPublishedVersion?: boolean | undefined;
3273
+ /**
3274
+ * <p>The firewall type associated with the resource.</p>
3275
+ * @public
3276
+ */
3277
+ firewallType: PolicyFirewallType | undefined;
3278
+ /**
3279
+ * <p>The configuration settings that control the policy's behavior, including remediation and firewall-type-specific settings.</p>
3280
+ * @public
3281
+ */
3282
+ policyConfiguration?: PolicyConfiguration | undefined;
3283
+ /**
3284
+ * <p>The time when the resource was last updated.</p>
3285
+ * @public
3286
+ */
3287
+ updatedAt?: Date | undefined;
3288
+ }
3289
+ /**
3290
+ * @public
3291
+ */
3292
+ export interface PutAdminAccountRequest {
3293
+ /**
3294
+ * <p>The AWS account ID to set as the AWS Network Security Manager administrator account.</p>
3295
+ * @public
3296
+ */
3297
+ accountId: string | undefined;
3298
+ /**
3299
+ * <p>The priority to assign to the administrator account.</p>
3300
+ * @public
3301
+ */
3302
+ priority: number | undefined;
3303
+ /**
3304
+ * <p>The scope of accounts, organizational units, and firewall types that the administrator can manage.</p>
3305
+ * @public
3306
+ */
3307
+ adminScope?: AdminScopeInput | undefined;
3308
+ }
3309
+ /**
3310
+ * @public
3311
+ */
3312
+ export interface PutAdminAccountResponse {
3313
+ /**
3314
+ * <p>The details of the administrator account that was set.</p>
3315
+ * @public
3316
+ */
3317
+ adminAccountDetails?: AdminAccountDetails | undefined;
3318
+ }
3319
+ /**
3320
+ * @public
3321
+ */
3322
+ export interface UpdateRuleInput {
3323
+ /**
3324
+ * <p>The identifier of the rule. This is the rule's Amazon Resource Name (ARN).</p>
3325
+ * @public
3326
+ */
3327
+ ruleIdentifier: string | undefined;
3328
+ /**
3329
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3330
+ * @public
3331
+ */
3332
+ updateToken: string | undefined;
3333
+ /**
3334
+ * <p>The type of the rule. <code>CONFIGURATION</code> rules contain firewall settings, and <code>INSPECTION</code> rules contain rule groups.</p>
3335
+ * @public
3336
+ */
3337
+ ruleType?: RuleType | undefined;
3338
+ /**
3339
+ * <p>A description of the rule.</p>
3340
+ * @public
3341
+ */
3342
+ ruleDescription?: string | undefined;
3343
+ /**
3344
+ * <p>The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type. For an AWS WAF <code>INSPECTION</code> rule, provide an AWS WAF rule group. For an AWS WAF <code>CONFIGURATION</code> rule, provide a single web ACL setting, such as <code>DefaultAction</code> or <code>VisibilityConfig</code>; use <code>wafConfigDataType</code> to declare which setting the document contains. For the schema of each setting and complete examples, see <a href="https://docs.aws.amazon.com/network-security-manager/latest/devguide/what-is.html">Writing rule configurations</a> in the <i>AWS Network Security Manager Developer Guide</i>.</p>
3345
+ * @public
3346
+ */
3347
+ configuration?: __DocumentType | undefined;
3348
+ /**
3349
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>).</p>
3350
+ * @public
3351
+ */
3352
+ isPublished: boolean | undefined;
3353
+ /**
3354
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
3355
+ * @public
3356
+ */
3357
+ clientToken?: string | undefined;
3358
+ }
3359
+ /**
3360
+ * @public
3361
+ */
3362
+ export interface UpdateRuleOutput {
3363
+ /**
3364
+ * <p>The service-generated id of the rule.</p>
3365
+ * @public
3366
+ */
3367
+ ruleId: string | undefined;
3368
+ /**
3369
+ * <p>The Amazon Resource Name (ARN) of the rule.</p>
3370
+ * @public
3371
+ */
3372
+ ruleArn: string | undefined;
3373
+ /**
3374
+ * <p>The name of the rule.</p>
3375
+ * @public
3376
+ */
3377
+ ruleName: string | undefined;
3378
+ /**
3379
+ * <p>The firewall type associated with the resource.</p>
3380
+ * @public
3381
+ */
3382
+ firewallType: RuleFirewallType | undefined;
3383
+ /**
3384
+ * <p>The type of the rule. <code>CONFIGURATION</code> rules contain firewall settings, and <code>INSPECTION</code> rules contain rule groups.</p>
3385
+ * @public
3386
+ */
3387
+ ruleType?: RuleType | undefined;
3388
+ /**
3389
+ * <p>A description of the rule.</p>
3390
+ * @public
3391
+ */
3392
+ ruleDescription?: string | undefined;
3393
+ /**
3394
+ * <p>The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.</p>
3395
+ * @public
3396
+ */
3397
+ configuration: __DocumentType | undefined;
3398
+ /**
3399
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
3400
+ * @public
3401
+ */
3402
+ status: EntityStatus | undefined;
3403
+ /**
3404
+ * <p>The version of the resource.</p>
3405
+ * @public
3406
+ */
3407
+ version: string | undefined;
3408
+ /**
3409
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3410
+ * @public
3411
+ */
3412
+ updateToken?: string | undefined;
3413
+ /**
3414
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
3415
+ * @public
3416
+ */
3417
+ isSnapshot?: boolean | undefined;
3418
+ /**
3419
+ * <p>Specifies whether a published version of the resource exists.</p>
3420
+ * @public
3421
+ */
3422
+ hasPublishedVersion?: boolean | undefined;
3423
+ /**
3424
+ * <p>The time when the resource was last updated.</p>
3425
+ * @public
3426
+ */
3427
+ updatedAt?: Date | undefined;
3428
+ }
3429
+ /**
3430
+ * @public
3431
+ */
3432
+ export interface TagResourceInput {
3433
+ /**
3434
+ * <p>The ARN of the resource to tag. The ARN must not include a <code>:DRAFT</code> qualifier.</p>
3435
+ * @public
3436
+ */
3437
+ resourceArn: string | undefined;
3438
+ /**
3439
+ * <p>The tags to add to the resource.</p>
3440
+ * @public
3441
+ */
3442
+ tags: Record<string, string> | undefined;
3443
+ }
3444
+ /**
3445
+ * @public
3446
+ */
3447
+ export interface TagResourceOutput {
3448
+ }
3449
+ /**
3450
+ * @public
3451
+ */
3452
+ export interface UpdateTemplateInput {
3453
+ /**
3454
+ * <p>The identifier of the template. This is the template's Amazon Resource Name (ARN).</p>
3455
+ * @public
3456
+ */
3457
+ templateIdentifier: string | undefined;
3458
+ /**
3459
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3460
+ * @public
3461
+ */
3462
+ updateToken: string | undefined;
3463
+ /**
3464
+ * <p>A description of the template.</p>
3465
+ * @public
3466
+ */
3467
+ templateDescription?: string | undefined;
3468
+ /**
3469
+ * <p>The rules associated with the template.</p>
3470
+ * @public
3471
+ */
3472
+ associatedRuleList?: RuleReference[] | undefined;
3473
+ /**
3474
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>).</p>
3475
+ * @public
3476
+ */
3477
+ isPublished: boolean | undefined;
3478
+ /**
3479
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
3480
+ * @public
3481
+ */
3482
+ clientToken?: string | undefined;
3483
+ }
3484
+ /**
3485
+ * @public
3486
+ */
3487
+ export interface UpdateTemplateOutput {
3488
+ /**
3489
+ * <p>The service-generated id of the template.</p>
3490
+ * @public
3491
+ */
3492
+ templateId: string | undefined;
3493
+ /**
3494
+ * <p>The Amazon Resource Name (ARN) of the template.</p>
3495
+ * @public
3496
+ */
3497
+ templateArn: string | undefined;
3498
+ /**
3499
+ * <p>The name of the template.</p>
3500
+ * @public
3501
+ */
3502
+ templateName: string | undefined;
3503
+ /**
3504
+ * <p>A description of the template.</p>
3505
+ * @public
3506
+ */
3507
+ templateDescription?: string | undefined;
3508
+ /**
3509
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
3510
+ * @public
3511
+ */
3512
+ status: EntityStatus | undefined;
3513
+ /**
3514
+ * <p>The version of the resource.</p>
3515
+ * @public
3516
+ */
3517
+ version: string | undefined;
3518
+ /**
3519
+ * <p>The rules associated with the template.</p>
3520
+ * @public
3521
+ */
3522
+ associatedRuleList: AssociatedRule[] | undefined;
3523
+ /**
3524
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3525
+ * @public
3526
+ */
3527
+ updateToken?: string | undefined;
3528
+ /**
3529
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
3530
+ * @public
3531
+ */
3532
+ isSnapshot?: boolean | undefined;
3533
+ /**
3534
+ * <p>Specifies whether a published version of the resource exists.</p>
3535
+ * @public
3536
+ */
3537
+ hasPublishedVersion?: boolean | undefined;
3538
+ /**
3539
+ * <p>The firewall type associated with the resource.</p>
3540
+ * @public
3541
+ */
3542
+ firewallType: TemplateFirewallType | undefined;
3543
+ /**
3544
+ * <p>The time when the resource was last updated.</p>
3545
+ * @public
3546
+ */
3547
+ updatedAt?: Date | undefined;
3548
+ }
3549
+ /**
3550
+ * @public
3551
+ */
3552
+ export interface UntagResourceInput {
3553
+ /**
3554
+ * <p>The ARN of the resource to remove tags from. The ARN must not include a <code>:DRAFT</code> qualifier.</p>
3555
+ * @public
3556
+ */
3557
+ resourceArn: string | undefined;
3558
+ /**
3559
+ * <p>The keys of the tags to remove from the resource.</p>
3560
+ * @public
3561
+ */
3562
+ tagKeys: string[] | undefined;
3563
+ }
3564
+ /**
3565
+ * @public
3566
+ */
3567
+ export interface UntagResourceOutput {
3568
+ }
3569
+ /**
3570
+ * <p>A logical expression that selects resources. Exactly one of <code>criteria</code>, <code>and</code>, <code>or</code>, or <code>not</code> is set.</p>
3571
+ * @public
3572
+ */
3573
+ export type ResourceLogicalExpression = ResourceLogicalExpression.AndMember | ResourceLogicalExpression.CriteriaMember | ResourceLogicalExpression.NotMember | ResourceLogicalExpression.OrMember | ResourceLogicalExpression.$UnknownMember;
3574
+ /**
3575
+ * @public
3576
+ */
3577
+ export declare namespace ResourceLogicalExpression {
3578
+ /**
3579
+ * <p>A leaf condition that matches resources by tag or by resource-type-specific configuration.</p>
3580
+ * @public
3581
+ */
3582
+ interface CriteriaMember {
3583
+ criteria: ResourceCriteria;
3584
+ and?: never;
3585
+ or?: never;
3586
+ not?: never;
3587
+ $unknown?: never;
3588
+ }
3589
+ /**
3590
+ * <p>A list of subexpressions that must all match.</p>
3591
+ * @public
3592
+ */
3593
+ interface AndMember {
3594
+ criteria?: never;
3595
+ and: ResourceLogicalExpression[];
3596
+ or?: never;
3597
+ not?: never;
3598
+ $unknown?: never;
3599
+ }
3600
+ /**
3601
+ * <p>A list of subexpressions of which at least one must match.</p>
3602
+ * @public
3603
+ */
3604
+ interface OrMember {
3605
+ criteria?: never;
3606
+ and?: never;
3607
+ or: ResourceLogicalExpression[];
3608
+ not?: never;
3609
+ $unknown?: never;
3610
+ }
3611
+ /**
3612
+ * <p>A subexpression that must not match.</p>
3613
+ * @public
3614
+ */
3615
+ interface NotMember {
3616
+ criteria?: never;
3617
+ and?: never;
3618
+ or?: never;
3619
+ not: ResourceLogicalExpression;
3620
+ $unknown?: never;
3621
+ }
3622
+ /**
3623
+ * @public
3624
+ */
3625
+ interface $UnknownMember {
3626
+ criteria?: never;
3627
+ and?: never;
3628
+ or?: never;
3629
+ not?: never;
3630
+ $unknown: [string, any];
3631
+ }
3632
+ /**
3633
+ * @deprecated unused in schema-serde mode.
3634
+ *
3635
+ */
3636
+ interface Visitor<T> {
3637
+ criteria: (value: ResourceCriteria) => T;
3638
+ and: (value: ResourceLogicalExpression[]) => T;
3639
+ or: (value: ResourceLogicalExpression[]) => T;
3640
+ not: (value: ResourceLogicalExpression) => T;
3641
+ _: (name: string, value: any) => T;
3642
+ }
3643
+ }
3644
+ /**
3645
+ * <p>A set of resources defined by explicit ARNs, a logical expression, or both.</p>
3646
+ * @public
3647
+ */
3648
+ export interface ResourceSet {
3649
+ /**
3650
+ * <p>An explicit list of resource ARNs.</p>
3651
+ * @public
3652
+ */
3653
+ explicitArns?: string[] | undefined;
3654
+ /**
3655
+ * <p>A logical expression that selects resources by combining criteria with AND, OR, and NOT operators.</p>
3656
+ * @public
3657
+ */
3658
+ expression?: ResourceLogicalExpression | undefined;
3659
+ }
3660
+ /**
3661
+ * <p>Defines which resources of a given type are in scope. Exactly one of <code>includeAll</code>, <code>include</code>, or <code>exclude</code> is set.</p>
3662
+ * @public
3663
+ */
3664
+ export interface ResourceScope {
3665
+ /**
3666
+ * <p>Includes all resources of the resource type.</p>
3667
+ * @public
3668
+ */
3669
+ includeAll?: boolean | undefined;
3670
+ /**
3671
+ * <p>Includes the resources that match the specified criteria or explicit ARNs.</p>
3672
+ * @public
3673
+ */
3674
+ include?: ResourceSet | undefined;
3675
+ /**
3676
+ * <p>Excludes the resources that match the specified criteria or explicit ARNs.</p>
3677
+ * @public
3678
+ */
3679
+ exclude?: ResourceSet | undefined;
3680
+ }
3681
+ /**
3682
+ * <p>Defines which accounts and resources are in scope.</p>
3683
+ * @public
3684
+ */
3685
+ export interface ScopeConfiguration {
3686
+ /**
3687
+ * <p>The account filter that determines which accounts are in scope. When set, exactly one of <code>includeAll</code>, <code>include</code>, or <code>exclude</code> is set.</p> <p>Organization administrators must include an account filter in every scope configuration. Single-account administrators must omit it: a scope without an account filter applies only to the administrator's own account. The presence of an account filter is fixed when the scope is created: an update can't add an account filter to a scope that was created without one, or remove the account filter from a scope that was created with one.</p>
3688
+ * @public
3689
+ */
3690
+ accountFilter?: AccountFilter | undefined;
3691
+ /**
3692
+ * <p>The resource-level scoping configuration, keyed by resource type, that defines which resources within the selected accounts are in scope.</p>
3693
+ * @public
3694
+ */
3695
+ resourceScopes: Partial<Record<ScopeResourceType, ResourceScope>> | undefined;
3696
+ }
3697
+ /**
3698
+ * @public
3699
+ */
3700
+ export interface CreateScopeInput {
3701
+ /**
3702
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
3703
+ * @public
3704
+ */
3705
+ clientToken?: string | undefined;
3706
+ /**
3707
+ * <p>The name of the scope.</p>
3708
+ * @public
3709
+ */
3710
+ scopeName: string | undefined;
3711
+ /**
3712
+ * <p>A description of the scope.</p>
3713
+ * @public
3714
+ */
3715
+ scopeDescription?: string | undefined;
3716
+ /**
3717
+ * <p>The configuration that defines which accounts and resources are in scope.</p>
3718
+ * @public
3719
+ */
3720
+ scopeConfiguration: ScopeConfiguration | undefined;
3721
+ /**
3722
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>). Default: <code>true</code>.</p>
3723
+ * @public
3724
+ */
3725
+ isPublished?: boolean | undefined;
3726
+ /**
3727
+ * <p>The tags to add to the resource when it is created.</p>
3728
+ * @public
3729
+ */
3730
+ tags?: Record<string, string> | undefined;
3731
+ }
3732
+ /**
3733
+ * @public
3734
+ */
3735
+ export interface CreateScopeOutput {
3736
+ /**
3737
+ * <p>The service-generated id of the scope.</p>
3738
+ * @public
3739
+ */
3740
+ scopeId: string | undefined;
3741
+ /**
3742
+ * <p>The Amazon Resource Name (ARN) of the scope.</p>
3743
+ * @public
3744
+ */
3745
+ scopeArn: string | undefined;
3746
+ /**
3747
+ * <p>The name of the scope.</p>
3748
+ * @public
3749
+ */
3750
+ scopeName: string | undefined;
3751
+ /**
3752
+ * <p>A description of the scope.</p>
3753
+ * @public
3754
+ */
3755
+ scopeDescription?: string | undefined;
3756
+ /**
3757
+ * <p>The configuration that defines which accounts and resources are in scope.</p>
3758
+ * @public
3759
+ */
3760
+ scopeConfiguration?: ScopeConfiguration | undefined;
3761
+ /**
3762
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
3763
+ * @public
3764
+ */
3765
+ status: EntityStatus | undefined;
3766
+ /**
3767
+ * <p>The version of the resource.</p>
3768
+ * @public
3769
+ */
3770
+ version: string | undefined;
3771
+ /**
3772
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3773
+ * @public
3774
+ */
3775
+ updateToken?: string | undefined;
3776
+ /**
3777
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
3778
+ * @public
3779
+ */
3780
+ isSnapshot?: boolean | undefined;
3781
+ /**
3782
+ * <p>Specifies whether a published version of the resource exists.</p>
3783
+ * @public
3784
+ */
3785
+ hasPublishedVersion?: boolean | undefined;
3786
+ /**
3787
+ * <p>The time when the resource was last updated.</p>
3788
+ * @public
3789
+ */
3790
+ updatedAt?: Date | undefined;
3791
+ }
3792
+ /**
3793
+ * @public
3794
+ */
3795
+ export interface CreateScopeSnapshotOutput {
3796
+ /**
3797
+ * <p>The service-generated id of the scope.</p>
3798
+ * @public
3799
+ */
3800
+ scopeId: string | undefined;
3801
+ /**
3802
+ * <p>The Amazon Resource Name (ARN) of the scope.</p>
3803
+ * @public
3804
+ */
3805
+ scopeArn: string | undefined;
3806
+ /**
3807
+ * <p>The name of the scope.</p>
3808
+ * @public
3809
+ */
3810
+ scopeName: string | undefined;
3811
+ /**
3812
+ * <p>A description of the scope.</p>
3813
+ * @public
3814
+ */
3815
+ scopeDescription?: string | undefined;
3816
+ /**
3817
+ * <p>The configuration that defines which accounts and resources are in scope.</p>
3818
+ * @public
3819
+ */
3820
+ scopeConfiguration?: ScopeConfiguration | undefined;
3821
+ /**
3822
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
3823
+ * @public
3824
+ */
3825
+ status: EntityStatus | undefined;
3826
+ /**
3827
+ * <p>The version of the resource.</p>
3828
+ * @public
3829
+ */
3830
+ version: string | undefined;
3831
+ /**
3832
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3833
+ * @public
3834
+ */
3835
+ updateToken?: string | undefined;
3836
+ /**
3837
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
3838
+ * @public
3839
+ */
3840
+ isSnapshot?: boolean | undefined;
3841
+ /**
3842
+ * <p>Specifies whether a published version of the resource exists.</p>
3843
+ * @public
3844
+ */
3845
+ hasPublishedVersion?: boolean | undefined;
3846
+ /**
3847
+ * <p>The time when the snapshot was created.</p>
3848
+ * @public
3849
+ */
3850
+ updatedAt?: Date | undefined;
3851
+ }
3852
+ /**
3853
+ * @public
3854
+ */
3855
+ export interface GetScopeOutput {
3856
+ /**
3857
+ * <p>The service-generated id of the scope.</p>
3858
+ * @public
3859
+ */
3860
+ scopeId: string | undefined;
3861
+ /**
3862
+ * <p>The Amazon Resource Name (ARN) of the scope.</p>
3863
+ * @public
3864
+ */
3865
+ scopeArn: string | undefined;
3866
+ /**
3867
+ * <p>The name of the scope.</p>
3868
+ * @public
3869
+ */
3870
+ scopeName: string | undefined;
3871
+ /**
3872
+ * <p>A description of the scope.</p>
3873
+ * @public
3874
+ */
3875
+ scopeDescription?: string | undefined;
3876
+ /**
3877
+ * <p>The configuration that defines which accounts and resources are in scope.</p>
3878
+ * @public
3879
+ */
3880
+ scopeConfiguration?: ScopeConfiguration | undefined;
3881
+ /**
3882
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable), <code>ACTIVE</code> (published, in use), or <code>DISABLED</code> (deactivated; changes cannot be published until the resource is re-enabled).</p>
3883
+ * @public
3884
+ */
3885
+ status: EntityStatus | undefined;
3886
+ /**
3887
+ * <p>The version of the resource.</p>
3888
+ * @public
3889
+ */
3890
+ version: string | undefined;
3891
+ /**
3892
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3893
+ * @public
3894
+ */
3895
+ updateToken?: string | undefined;
3896
+ /**
3897
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
3898
+ * @public
3899
+ */
3900
+ isSnapshot?: boolean | undefined;
3901
+ /**
3902
+ * <p>Specifies whether a published version of the resource exists.</p>
3903
+ * @public
3904
+ */
3905
+ hasPublishedVersion?: boolean | undefined;
3906
+ /**
3907
+ * <p>The time when the resource was last updated.</p>
3908
+ * @public
3909
+ */
3910
+ updatedAt?: Date | undefined;
3911
+ }
3912
+ /**
3913
+ * @public
3914
+ */
3915
+ export interface UpdateScopeInput {
3916
+ /**
3917
+ * <p>The identifier of the scope. This is the scope's Amazon Resource Name (ARN).</p>
3918
+ * @public
3919
+ */
3920
+ scopeIdentifier: string | undefined;
3921
+ /**
3922
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3923
+ * @public
3924
+ */
3925
+ updateToken: string | undefined;
3926
+ /**
3927
+ * <p>A description of the scope.</p>
3928
+ * @public
3929
+ */
3930
+ scopeDescription?: string | undefined;
3931
+ /**
3932
+ * <p>The configuration that defines which accounts and resources are in scope. If you don't include this member, the scope keeps its existing configuration.</p> <p>A new configuration can change which accounts and resources are selected, but it can't add or remove the account filter itself: a scope created for multi-account use stays multi-account, and a scope created for single-account use stays single-account.</p>
3933
+ * @public
3934
+ */
3935
+ scopeConfiguration?: ScopeConfiguration | undefined;
3936
+ /**
3937
+ * <p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>).</p>
3938
+ * @public
3939
+ */
3940
+ isPublished: boolean | undefined;
3941
+ /**
3942
+ * <p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>
3943
+ * @public
3944
+ */
3945
+ clientToken?: string | undefined;
3946
+ }
3947
+ /**
3948
+ * @public
3949
+ */
3950
+ export interface UpdateScopeOutput {
3951
+ /**
3952
+ * <p>The service-generated id of the scope.</p>
3953
+ * @public
3954
+ */
3955
+ scopeId: string | undefined;
3956
+ /**
3957
+ * <p>The Amazon Resource Name (ARN) of the scope.</p>
3958
+ * @public
3959
+ */
3960
+ scopeArn: string | undefined;
3961
+ /**
3962
+ * <p>The name of the scope.</p>
3963
+ * @public
3964
+ */
3965
+ scopeName: string | undefined;
3966
+ /**
3967
+ * <p>A description of the scope.</p>
3968
+ * @public
3969
+ */
3970
+ scopeDescription?: string | undefined;
3971
+ /**
3972
+ * <p>The configuration that defines which accounts and resources are in scope.</p>
3973
+ * @public
3974
+ */
3975
+ scopeConfiguration?: ScopeConfiguration | undefined;
3976
+ /**
3977
+ * <p>The current status of the resource: <code>DRAFT</code> (unpublished, editable) or <code>ACTIVE</code> (published, in use).</p>
3978
+ * @public
3979
+ */
3980
+ status: EntityStatus | undefined;
3981
+ /**
3982
+ * <p>The version of the resource.</p>
3983
+ * @public
3984
+ */
3985
+ version: string | undefined;
3986
+ /**
3987
+ * <p>A token used for optimistic concurrency control. Each read and write returns an <code>updateToken</code>. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.</p>
3988
+ * @public
3989
+ */
3990
+ updateToken?: string | undefined;
3991
+ /**
3992
+ * <p>Specifies whether the resource is a snapshot of a published version.</p>
3993
+ * @public
3994
+ */
3995
+ isSnapshot?: boolean | undefined;
3996
+ /**
3997
+ * <p>Specifies whether a published version of the resource exists.</p>
3998
+ * @public
3999
+ */
4000
+ hasPublishedVersion?: boolean | undefined;
4001
+ /**
4002
+ * <p>The time when the resource was last updated.</p>
4003
+ * @public
4004
+ */
4005
+ updatedAt?: Date | undefined;
4006
+ }