@aws-sdk/client-fms 3.194.0 → 3.196.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 (152) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/FMSClient.js +11 -8
  3. package/dist-cjs/commands/AssociateAdminAccountCommand.js +10 -0
  4. package/dist-cjs/commands/AssociateThirdPartyFirewallCommand.js +10 -0
  5. package/dist-cjs/commands/DeleteAppsListCommand.js +10 -0
  6. package/dist-cjs/commands/DeleteNotificationChannelCommand.js +10 -0
  7. package/dist-cjs/commands/DeletePolicyCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteProtocolsListCommand.js +10 -0
  9. package/dist-cjs/commands/DisassociateAdminAccountCommand.js +10 -0
  10. package/dist-cjs/commands/DisassociateThirdPartyFirewallCommand.js +10 -0
  11. package/dist-cjs/commands/GetAdminAccountCommand.js +10 -0
  12. package/dist-cjs/commands/GetAppsListCommand.js +10 -0
  13. package/dist-cjs/commands/GetComplianceDetailCommand.js +10 -0
  14. package/dist-cjs/commands/GetNotificationChannelCommand.js +10 -0
  15. package/dist-cjs/commands/GetPolicyCommand.js +10 -0
  16. package/dist-cjs/commands/GetProtectionStatusCommand.js +10 -0
  17. package/dist-cjs/commands/GetProtocolsListCommand.js +10 -0
  18. package/dist-cjs/commands/GetThirdPartyFirewallAssociationStatusCommand.js +10 -0
  19. package/dist-cjs/commands/GetViolationDetailsCommand.js +10 -0
  20. package/dist-cjs/commands/ListAppsListsCommand.js +10 -0
  21. package/dist-cjs/commands/ListComplianceStatusCommand.js +10 -0
  22. package/dist-cjs/commands/ListMemberAccountsCommand.js +10 -0
  23. package/dist-cjs/commands/ListPoliciesCommand.js +10 -0
  24. package/dist-cjs/commands/ListProtocolsListsCommand.js +10 -0
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  26. package/dist-cjs/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +10 -0
  27. package/dist-cjs/commands/PutAppsListCommand.js +10 -0
  28. package/dist-cjs/commands/PutNotificationChannelCommand.js +10 -0
  29. package/dist-cjs/commands/PutPolicyCommand.js +10 -0
  30. package/dist-cjs/commands/PutProtocolsListCommand.js +10 -0
  31. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  32. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  33. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  34. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  35. package/dist-cjs/endpoint/ruleset.js +318 -0
  36. package/dist-cjs/runtimeConfig.shared.js +3 -3
  37. package/dist-es/FMSClient.js +12 -9
  38. package/dist-es/commands/AssociateAdminAccountCommand.js +10 -0
  39. package/dist-es/commands/AssociateThirdPartyFirewallCommand.js +10 -0
  40. package/dist-es/commands/DeleteAppsListCommand.js +10 -0
  41. package/dist-es/commands/DeleteNotificationChannelCommand.js +10 -0
  42. package/dist-es/commands/DeletePolicyCommand.js +10 -0
  43. package/dist-es/commands/DeleteProtocolsListCommand.js +10 -0
  44. package/dist-es/commands/DisassociateAdminAccountCommand.js +10 -0
  45. package/dist-es/commands/DisassociateThirdPartyFirewallCommand.js +10 -0
  46. package/dist-es/commands/GetAdminAccountCommand.js +10 -0
  47. package/dist-es/commands/GetAppsListCommand.js +10 -0
  48. package/dist-es/commands/GetComplianceDetailCommand.js +10 -0
  49. package/dist-es/commands/GetNotificationChannelCommand.js +10 -0
  50. package/dist-es/commands/GetPolicyCommand.js +10 -0
  51. package/dist-es/commands/GetProtectionStatusCommand.js +10 -0
  52. package/dist-es/commands/GetProtocolsListCommand.js +10 -0
  53. package/dist-es/commands/GetThirdPartyFirewallAssociationStatusCommand.js +10 -0
  54. package/dist-es/commands/GetViolationDetailsCommand.js +10 -0
  55. package/dist-es/commands/ListAppsListsCommand.js +10 -0
  56. package/dist-es/commands/ListComplianceStatusCommand.js +10 -0
  57. package/dist-es/commands/ListMemberAccountsCommand.js +10 -0
  58. package/dist-es/commands/ListPoliciesCommand.js +10 -0
  59. package/dist-es/commands/ListProtocolsListsCommand.js +10 -0
  60. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  61. package/dist-es/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +10 -0
  62. package/dist-es/commands/PutAppsListCommand.js +10 -0
  63. package/dist-es/commands/PutNotificationChannelCommand.js +10 -0
  64. package/dist-es/commands/PutPolicyCommand.js +10 -0
  65. package/dist-es/commands/PutProtocolsListCommand.js +10 -0
  66. package/dist-es/commands/TagResourceCommand.js +10 -0
  67. package/dist-es/commands/UntagResourceCommand.js +10 -0
  68. package/dist-es/endpoint/EndpointParameters.js +8 -0
  69. package/dist-es/endpoint/endpointResolver.js +8 -0
  70. package/dist-es/endpoint/ruleset.js +315 -0
  71. package/dist-es/runtimeConfig.shared.js +2 -2
  72. package/dist-types/FMSClient.d.ts +6 -9
  73. package/dist-types/commands/AssociateAdminAccountCommand.d.ts +2 -0
  74. package/dist-types/commands/AssociateThirdPartyFirewallCommand.d.ts +2 -0
  75. package/dist-types/commands/DeleteAppsListCommand.d.ts +2 -0
  76. package/dist-types/commands/DeleteNotificationChannelCommand.d.ts +2 -0
  77. package/dist-types/commands/DeletePolicyCommand.d.ts +2 -0
  78. package/dist-types/commands/DeleteProtocolsListCommand.d.ts +2 -0
  79. package/dist-types/commands/DisassociateAdminAccountCommand.d.ts +2 -0
  80. package/dist-types/commands/DisassociateThirdPartyFirewallCommand.d.ts +2 -0
  81. package/dist-types/commands/GetAdminAccountCommand.d.ts +2 -0
  82. package/dist-types/commands/GetAppsListCommand.d.ts +2 -0
  83. package/dist-types/commands/GetComplianceDetailCommand.d.ts +2 -0
  84. package/dist-types/commands/GetNotificationChannelCommand.d.ts +2 -0
  85. package/dist-types/commands/GetPolicyCommand.d.ts +2 -0
  86. package/dist-types/commands/GetProtectionStatusCommand.d.ts +2 -0
  87. package/dist-types/commands/GetProtocolsListCommand.d.ts +2 -0
  88. package/dist-types/commands/GetThirdPartyFirewallAssociationStatusCommand.d.ts +2 -0
  89. package/dist-types/commands/GetViolationDetailsCommand.d.ts +2 -0
  90. package/dist-types/commands/ListAppsListsCommand.d.ts +2 -0
  91. package/dist-types/commands/ListComplianceStatusCommand.d.ts +2 -0
  92. package/dist-types/commands/ListMemberAccountsCommand.d.ts +2 -0
  93. package/dist-types/commands/ListPoliciesCommand.d.ts +2 -0
  94. package/dist-types/commands/ListProtocolsListsCommand.d.ts +2 -0
  95. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  96. package/dist-types/commands/ListThirdPartyFirewallFirewallPoliciesCommand.d.ts +2 -0
  97. package/dist-types/commands/PutAppsListCommand.d.ts +2 -0
  98. package/dist-types/commands/PutNotificationChannelCommand.d.ts +2 -0
  99. package/dist-types/commands/PutPolicyCommand.d.ts +2 -0
  100. package/dist-types/commands/PutProtocolsListCommand.d.ts +2 -0
  101. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  102. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  103. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  104. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  105. package/dist-types/endpoint/ruleset.d.ts +2 -0
  106. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  107. package/dist-types/runtimeConfig.d.ts +4 -2
  108. package/dist-types/runtimeConfig.native.d.ts +4 -2
  109. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  110. package/dist-types/ts3.4/FMSClient.d.ts +15 -8
  111. package/dist-types/ts3.4/commands/AssociateAdminAccountCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/AssociateThirdPartyFirewallCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/commands/DeleteAppsListCommand.d.ts +2 -0
  114. package/dist-types/ts3.4/commands/DeleteNotificationChannelCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/DeleteProtocolsListCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/DisassociateAdminAccountCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/DisassociateThirdPartyFirewallCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/GetAdminAccountCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/commands/GetAppsListCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/commands/GetComplianceDetailCommand.d.ts +2 -0
  122. package/dist-types/ts3.4/commands/GetNotificationChannelCommand.d.ts +2 -0
  123. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/commands/GetProtectionStatusCommand.d.ts +2 -0
  125. package/dist-types/ts3.4/commands/GetProtocolsListCommand.d.ts +2 -0
  126. package/dist-types/ts3.4/commands/GetThirdPartyFirewallAssociationStatusCommand.d.ts +2 -0
  127. package/dist-types/ts3.4/commands/GetViolationDetailsCommand.d.ts +2 -0
  128. package/dist-types/ts3.4/commands/ListAppsListsCommand.d.ts +2 -0
  129. package/dist-types/ts3.4/commands/ListComplianceStatusCommand.d.ts +2 -0
  130. package/dist-types/ts3.4/commands/ListMemberAccountsCommand.d.ts +2 -0
  131. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +2 -0
  132. package/dist-types/ts3.4/commands/ListProtocolsListsCommand.d.ts +2 -0
  133. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  134. package/dist-types/ts3.4/commands/ListThirdPartyFirewallFirewallPoliciesCommand.d.ts +2 -0
  135. package/dist-types/ts3.4/commands/PutAppsListCommand.d.ts +2 -0
  136. package/dist-types/ts3.4/commands/PutNotificationChannelCommand.d.ts +2 -0
  137. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +2 -0
  138. package/dist-types/ts3.4/commands/PutProtocolsListCommand.d.ts +2 -0
  139. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  140. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  141. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  142. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  143. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  144. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  145. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  146. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  147. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  148. package/package.json +5 -3
  149. package/dist-cjs/endpoints.js +0 -320
  150. package/dist-es/endpoints.js +0 -316
  151. package/dist-types/endpoints.d.ts +0 -2
  152. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,316 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "af-south-1": {
4
- variants: [
5
- {
6
- hostname: "fms-fips.af-south-1.amazonaws.com",
7
- tags: ["fips"],
8
- },
9
- ],
10
- },
11
- "ap-east-1": {
12
- variants: [
13
- {
14
- hostname: "fms-fips.ap-east-1.amazonaws.com",
15
- tags: ["fips"],
16
- },
17
- ],
18
- },
19
- "ap-northeast-1": {
20
- variants: [
21
- {
22
- hostname: "fms-fips.ap-northeast-1.amazonaws.com",
23
- tags: ["fips"],
24
- },
25
- ],
26
- },
27
- "ap-northeast-2": {
28
- variants: [
29
- {
30
- hostname: "fms-fips.ap-northeast-2.amazonaws.com",
31
- tags: ["fips"],
32
- },
33
- ],
34
- },
35
- "ap-south-1": {
36
- variants: [
37
- {
38
- hostname: "fms-fips.ap-south-1.amazonaws.com",
39
- tags: ["fips"],
40
- },
41
- ],
42
- },
43
- "ap-southeast-1": {
44
- variants: [
45
- {
46
- hostname: "fms-fips.ap-southeast-1.amazonaws.com",
47
- tags: ["fips"],
48
- },
49
- ],
50
- },
51
- "ap-southeast-2": {
52
- variants: [
53
- {
54
- hostname: "fms-fips.ap-southeast-2.amazonaws.com",
55
- tags: ["fips"],
56
- },
57
- ],
58
- },
59
- "ca-central-1": {
60
- variants: [
61
- {
62
- hostname: "fms-fips.ca-central-1.amazonaws.com",
63
- tags: ["fips"],
64
- },
65
- ],
66
- },
67
- "eu-central-1": {
68
- variants: [
69
- {
70
- hostname: "fms-fips.eu-central-1.amazonaws.com",
71
- tags: ["fips"],
72
- },
73
- ],
74
- },
75
- "eu-south-1": {
76
- variants: [
77
- {
78
- hostname: "fms-fips.eu-south-1.amazonaws.com",
79
- tags: ["fips"],
80
- },
81
- ],
82
- },
83
- "eu-west-1": {
84
- variants: [
85
- {
86
- hostname: "fms-fips.eu-west-1.amazonaws.com",
87
- tags: ["fips"],
88
- },
89
- ],
90
- },
91
- "eu-west-2": {
92
- variants: [
93
- {
94
- hostname: "fms-fips.eu-west-2.amazonaws.com",
95
- tags: ["fips"],
96
- },
97
- ],
98
- },
99
- "eu-west-3": {
100
- variants: [
101
- {
102
- hostname: "fms-fips.eu-west-3.amazonaws.com",
103
- tags: ["fips"],
104
- },
105
- ],
106
- },
107
- "me-south-1": {
108
- variants: [
109
- {
110
- hostname: "fms-fips.me-south-1.amazonaws.com",
111
- tags: ["fips"],
112
- },
113
- ],
114
- },
115
- "sa-east-1": {
116
- variants: [
117
- {
118
- hostname: "fms-fips.sa-east-1.amazonaws.com",
119
- tags: ["fips"],
120
- },
121
- ],
122
- },
123
- "us-east-1": {
124
- variants: [
125
- {
126
- hostname: "fms-fips.us-east-1.amazonaws.com",
127
- tags: ["fips"],
128
- },
129
- ],
130
- },
131
- "us-east-2": {
132
- variants: [
133
- {
134
- hostname: "fms-fips.us-east-2.amazonaws.com",
135
- tags: ["fips"],
136
- },
137
- ],
138
- },
139
- "us-gov-east-1": {
140
- variants: [
141
- {
142
- hostname: "fms-fips.us-gov-east-1.amazonaws.com",
143
- tags: ["fips"],
144
- },
145
- ],
146
- },
147
- "us-gov-west-1": {
148
- variants: [
149
- {
150
- hostname: "fms-fips.us-gov-west-1.amazonaws.com",
151
- tags: ["fips"],
152
- },
153
- ],
154
- },
155
- "us-west-1": {
156
- variants: [
157
- {
158
- hostname: "fms-fips.us-west-1.amazonaws.com",
159
- tags: ["fips"],
160
- },
161
- ],
162
- },
163
- "us-west-2": {
164
- variants: [
165
- {
166
- hostname: "fms-fips.us-west-2.amazonaws.com",
167
- tags: ["fips"],
168
- },
169
- ],
170
- },
171
- };
172
- const partitionHash = {
173
- aws: {
174
- regions: [
175
- "af-south-1",
176
- "ap-east-1",
177
- "ap-northeast-1",
178
- "ap-northeast-2",
179
- "ap-northeast-3",
180
- "ap-south-1",
181
- "ap-southeast-1",
182
- "ap-southeast-2",
183
- "ap-southeast-3",
184
- "ca-central-1",
185
- "eu-central-1",
186
- "eu-north-1",
187
- "eu-south-1",
188
- "eu-west-1",
189
- "eu-west-2",
190
- "eu-west-3",
191
- "fips-af-south-1",
192
- "fips-ap-east-1",
193
- "fips-ap-northeast-1",
194
- "fips-ap-northeast-2",
195
- "fips-ap-south-1",
196
- "fips-ap-southeast-1",
197
- "fips-ap-southeast-2",
198
- "fips-ca-central-1",
199
- "fips-eu-central-1",
200
- "fips-eu-south-1",
201
- "fips-eu-west-1",
202
- "fips-eu-west-2",
203
- "fips-eu-west-3",
204
- "fips-me-south-1",
205
- "fips-sa-east-1",
206
- "fips-us-east-1",
207
- "fips-us-east-2",
208
- "fips-us-west-1",
209
- "fips-us-west-2",
210
- "me-central-1",
211
- "me-south-1",
212
- "sa-east-1",
213
- "us-east-1",
214
- "us-east-2",
215
- "us-west-1",
216
- "us-west-2",
217
- ],
218
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
219
- variants: [
220
- {
221
- hostname: "fms.{region}.amazonaws.com",
222
- tags: [],
223
- },
224
- {
225
- hostname: "fms-fips.{region}.amazonaws.com",
226
- tags: ["fips"],
227
- },
228
- {
229
- hostname: "fms-fips.{region}.api.aws",
230
- tags: ["dualstack", "fips"],
231
- },
232
- {
233
- hostname: "fms.{region}.api.aws",
234
- tags: ["dualstack"],
235
- },
236
- ],
237
- },
238
- "aws-cn": {
239
- regions: ["cn-north-1", "cn-northwest-1"],
240
- regionRegex: "^cn\\-\\w+\\-\\d+$",
241
- variants: [
242
- {
243
- hostname: "fms.{region}.amazonaws.com.cn",
244
- tags: [],
245
- },
246
- {
247
- hostname: "fms-fips.{region}.amazonaws.com.cn",
248
- tags: ["fips"],
249
- },
250
- {
251
- hostname: "fms-fips.{region}.api.amazonwebservices.com.cn",
252
- tags: ["dualstack", "fips"],
253
- },
254
- {
255
- hostname: "fms.{region}.api.amazonwebservices.com.cn",
256
- tags: ["dualstack"],
257
- },
258
- ],
259
- },
260
- "aws-iso": {
261
- regions: ["us-iso-east-1", "us-iso-west-1"],
262
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
263
- variants: [
264
- {
265
- hostname: "fms.{region}.c2s.ic.gov",
266
- tags: [],
267
- },
268
- {
269
- hostname: "fms-fips.{region}.c2s.ic.gov",
270
- tags: ["fips"],
271
- },
272
- ],
273
- },
274
- "aws-iso-b": {
275
- regions: ["us-isob-east-1"],
276
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
277
- variants: [
278
- {
279
- hostname: "fms.{region}.sc2s.sgov.gov",
280
- tags: [],
281
- },
282
- {
283
- hostname: "fms-fips.{region}.sc2s.sgov.gov",
284
- tags: ["fips"],
285
- },
286
- ],
287
- },
288
- "aws-us-gov": {
289
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
290
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
291
- variants: [
292
- {
293
- hostname: "fms.{region}.amazonaws.com",
294
- tags: [],
295
- },
296
- {
297
- hostname: "fms-fips.{region}.amazonaws.com",
298
- tags: ["fips"],
299
- },
300
- {
301
- hostname: "fms-fips.{region}.api.aws",
302
- tags: ["dualstack", "fips"],
303
- },
304
- {
305
- hostname: "fms.{region}.api.aws",
306
- tags: ["dualstack"],
307
- },
308
- ],
309
- },
310
- };
311
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
312
- ...options,
313
- signingService: "fms",
314
- regionHash,
315
- partitionHash,
316
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;