@aws-sdk/client-shield 3.35.0 → 3.38.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 (301) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Shield.js +0 -7
  3. package/dist-cjs/ShieldClient.js +0 -12
  4. package/dist-cjs/commands/AssociateDRTLogBucketCommand.js +0 -26
  5. package/dist-cjs/commands/AssociateDRTRoleCommand.js +0 -31
  6. package/dist-cjs/commands/AssociateHealthCheckCommand.js +0 -26
  7. package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js +0 -30
  8. package/dist-cjs/commands/CreateProtectionCommand.js +0 -26
  9. package/dist-cjs/commands/CreateProtectionGroupCommand.js +0 -25
  10. package/dist-cjs/commands/CreateSubscriptionCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteProtectionCommand.js +0 -25
  12. package/dist-cjs/commands/DeleteProtectionGroupCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteSubscriptionCommand.js +0 -27
  14. package/dist-cjs/commands/DescribeAttackCommand.js +0 -25
  15. package/dist-cjs/commands/DescribeAttackStatisticsCommand.js +0 -27
  16. package/dist-cjs/commands/DescribeDRTAccessCommand.js +0 -25
  17. package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js +0 -25
  18. package/dist-cjs/commands/DescribeProtectionCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeProtectionGroupCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeSubscriptionCommand.js +0 -25
  21. package/dist-cjs/commands/DisableProactiveEngagementCommand.js +0 -25
  22. package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js +0 -26
  23. package/dist-cjs/commands/DisassociateDRTRoleCommand.js +0 -26
  24. package/dist-cjs/commands/DisassociateHealthCheckCommand.js +0 -26
  25. package/dist-cjs/commands/EnableProactiveEngagementCommand.js +0 -25
  26. package/dist-cjs/commands/GetSubscriptionStateCommand.js +0 -25
  27. package/dist-cjs/commands/ListAttacksCommand.js +0 -26
  28. package/dist-cjs/commands/ListProtectionGroupsCommand.js +0 -25
  29. package/dist-cjs/commands/ListProtectionsCommand.js +0 -25
  30. package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js +0 -25
  31. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  32. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  33. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  34. package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js +0 -25
  35. package/dist-cjs/commands/UpdateProtectionGroupCommand.js +0 -25
  36. package/dist-cjs/commands/UpdateSubscriptionCommand.js +0 -25
  37. package/dist-cjs/commands/index.js +36 -0
  38. package/dist-cjs/endpoints.js +1 -2
  39. package/dist-cjs/index.js +4 -41
  40. package/dist-cjs/models/index.js +0 -1
  41. package/dist-cjs/models/models_0.js +0 -313
  42. package/dist-cjs/pagination/Interfaces.js +0 -1
  43. package/dist-cjs/pagination/ListAttacksPaginator.js +0 -11
  44. package/dist-cjs/pagination/ListProtectionGroupsPaginator.js +0 -11
  45. package/dist-cjs/pagination/ListProtectionsPaginator.js +0 -11
  46. package/dist-cjs/pagination/ListResourcesInProtectionGroupPaginator.js +0 -11
  47. package/dist-cjs/pagination/index.js +8 -0
  48. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  49. package/dist-cjs/runtimeConfig.browser.js +1 -6
  50. package/dist-cjs/runtimeConfig.js +2 -7
  51. package/dist-cjs/runtimeConfig.native.js +0 -4
  52. package/dist-cjs/runtimeConfig.shared.js +0 -4
  53. package/dist-es/Shield.js +0 -1
  54. package/dist-es/ShieldClient.js +0 -1
  55. package/dist-es/commands/AssociateDRTLogBucketCommand.js +0 -1
  56. package/dist-es/commands/AssociateDRTRoleCommand.js +0 -1
  57. package/dist-es/commands/AssociateHealthCheckCommand.js +0 -1
  58. package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +0 -1
  59. package/dist-es/commands/CreateProtectionCommand.js +0 -1
  60. package/dist-es/commands/CreateProtectionGroupCommand.js +0 -1
  61. package/dist-es/commands/CreateSubscriptionCommand.js +0 -1
  62. package/dist-es/commands/DeleteProtectionCommand.js +0 -1
  63. package/dist-es/commands/DeleteProtectionGroupCommand.js +0 -1
  64. package/dist-es/commands/DeleteSubscriptionCommand.js +0 -1
  65. package/dist-es/commands/DescribeAttackCommand.js +0 -1
  66. package/dist-es/commands/DescribeAttackStatisticsCommand.js +0 -1
  67. package/dist-es/commands/DescribeDRTAccessCommand.js +0 -1
  68. package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +0 -1
  69. package/dist-es/commands/DescribeProtectionCommand.js +0 -1
  70. package/dist-es/commands/DescribeProtectionGroupCommand.js +0 -1
  71. package/dist-es/commands/DescribeSubscriptionCommand.js +0 -1
  72. package/dist-es/commands/DisableProactiveEngagementCommand.js +0 -1
  73. package/dist-es/commands/DisassociateDRTLogBucketCommand.js +0 -1
  74. package/dist-es/commands/DisassociateDRTRoleCommand.js +0 -1
  75. package/dist-es/commands/DisassociateHealthCheckCommand.js +0 -1
  76. package/dist-es/commands/EnableProactiveEngagementCommand.js +0 -1
  77. package/dist-es/commands/GetSubscriptionStateCommand.js +0 -1
  78. package/dist-es/commands/ListAttacksCommand.js +0 -1
  79. package/dist-es/commands/ListProtectionGroupsCommand.js +0 -1
  80. package/dist-es/commands/ListProtectionsCommand.js +0 -1
  81. package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +0 -1
  82. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  83. package/dist-es/commands/TagResourceCommand.js +0 -1
  84. package/dist-es/commands/UntagResourceCommand.js +0 -1
  85. package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +0 -1
  86. package/dist-es/commands/UpdateProtectionGroupCommand.js +0 -1
  87. package/dist-es/commands/UpdateSubscriptionCommand.js +0 -1
  88. package/dist-es/commands/index.js +33 -0
  89. package/dist-es/endpoints.js +1 -2
  90. package/dist-es/index.js +4 -41
  91. package/dist-es/models/index.js +0 -1
  92. package/dist-es/models/models_0.js +0 -1
  93. package/dist-es/pagination/Interfaces.js +0 -1
  94. package/dist-es/pagination/ListAttacksPaginator.js +0 -1
  95. package/dist-es/pagination/ListProtectionGroupsPaginator.js +0 -1
  96. package/dist-es/pagination/ListProtectionsPaginator.js +0 -1
  97. package/dist-es/pagination/ListResourcesInProtectionGroupPaginator.js +0 -1
  98. package/dist-es/pagination/index.js +5 -0
  99. package/dist-es/protocols/Aws_json1_1.js +0 -1
  100. package/dist-es/runtimeConfig.browser.js +1 -2
  101. package/dist-es/runtimeConfig.js +2 -3
  102. package/dist-es/runtimeConfig.native.js +0 -1
  103. package/dist-es/runtimeConfig.shared.js +0 -1
  104. package/dist-types/commands/index.d.ts +33 -0
  105. package/dist-types/index.d.ts +4 -40
  106. package/dist-types/pagination/index.d.ts +5 -0
  107. package/dist-types/ts3.4/Shield.d.ts +34 -129
  108. package/dist-types/ts3.4/ShieldClient.d.ts +24 -92
  109. package/dist-types/ts3.4/commands/AssociateDRTLogBucketCommand.d.ts +2 -21
  110. package/dist-types/ts3.4/commands/AssociateDRTRoleCommand.d.ts +2 -26
  111. package/dist-types/ts3.4/commands/AssociateHealthCheckCommand.d.ts +2 -21
  112. package/dist-types/ts3.4/commands/AssociateProactiveEngagementDetailsCommand.d.ts +2 -25
  113. package/dist-types/ts3.4/commands/CreateProtectionCommand.d.ts +2 -21
  114. package/dist-types/ts3.4/commands/CreateProtectionGroupCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +2 -22
  116. package/dist-types/ts3.4/commands/DeleteProtectionCommand.d.ts +2 -20
  117. package/dist-types/ts3.4/commands/DeleteProtectionGroupCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/DeleteSubscriptionCommand.d.ts +2 -22
  119. package/dist-types/ts3.4/commands/DescribeAttackCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/DescribeAttackStatisticsCommand.d.ts +2 -22
  121. package/dist-types/ts3.4/commands/DescribeDRTAccessCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/DescribeEmergencyContactSettingsCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/DescribeProtectionCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/DescribeProtectionGroupCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/DescribeSubscriptionCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/DisableProactiveEngagementCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/DisassociateDRTLogBucketCommand.d.ts +2 -21
  128. package/dist-types/ts3.4/commands/DisassociateDRTRoleCommand.d.ts +2 -21
  129. package/dist-types/ts3.4/commands/DisassociateHealthCheckCommand.d.ts +2 -21
  130. package/dist-types/ts3.4/commands/EnableProactiveEngagementCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/GetSubscriptionStateCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/ListAttacksCommand.d.ts +2 -21
  133. package/dist-types/ts3.4/commands/ListProtectionGroupsCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/ListProtectionsCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/ListResourcesInProtectionGroupCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/UpdateEmergencyContactSettingsCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/UpdateProtectionGroupCommand.d.ts +2 -20
  141. package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/index.d.ts +33 -0
  143. package/dist-types/ts3.4/index.d.ts +4 -40
  144. package/dist-types/ts3.4/models/models_0.d.ts +292 -1041
  145. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  146. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  147. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  148. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  149. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  150. package/package.json +33 -30
  151. package/dist-cjs/Shield.js.map +0 -1
  152. package/dist-cjs/ShieldClient.js.map +0 -1
  153. package/dist-cjs/commands/AssociateDRTLogBucketCommand.js.map +0 -1
  154. package/dist-cjs/commands/AssociateDRTRoleCommand.js.map +0 -1
  155. package/dist-cjs/commands/AssociateHealthCheckCommand.js.map +0 -1
  156. package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js.map +0 -1
  157. package/dist-cjs/commands/CreateProtectionCommand.js.map +0 -1
  158. package/dist-cjs/commands/CreateProtectionGroupCommand.js.map +0 -1
  159. package/dist-cjs/commands/CreateSubscriptionCommand.js.map +0 -1
  160. package/dist-cjs/commands/DeleteProtectionCommand.js.map +0 -1
  161. package/dist-cjs/commands/DeleteProtectionGroupCommand.js.map +0 -1
  162. package/dist-cjs/commands/DeleteSubscriptionCommand.js.map +0 -1
  163. package/dist-cjs/commands/DescribeAttackCommand.js.map +0 -1
  164. package/dist-cjs/commands/DescribeAttackStatisticsCommand.js.map +0 -1
  165. package/dist-cjs/commands/DescribeDRTAccessCommand.js.map +0 -1
  166. package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js.map +0 -1
  167. package/dist-cjs/commands/DescribeProtectionCommand.js.map +0 -1
  168. package/dist-cjs/commands/DescribeProtectionGroupCommand.js.map +0 -1
  169. package/dist-cjs/commands/DescribeSubscriptionCommand.js.map +0 -1
  170. package/dist-cjs/commands/DisableProactiveEngagementCommand.js.map +0 -1
  171. package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js.map +0 -1
  172. package/dist-cjs/commands/DisassociateDRTRoleCommand.js.map +0 -1
  173. package/dist-cjs/commands/DisassociateHealthCheckCommand.js.map +0 -1
  174. package/dist-cjs/commands/EnableProactiveEngagementCommand.js.map +0 -1
  175. package/dist-cjs/commands/GetSubscriptionStateCommand.js.map +0 -1
  176. package/dist-cjs/commands/ListAttacksCommand.js.map +0 -1
  177. package/dist-cjs/commands/ListProtectionGroupsCommand.js.map +0 -1
  178. package/dist-cjs/commands/ListProtectionsCommand.js.map +0 -1
  179. package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js.map +0 -1
  180. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  181. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  182. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  183. package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js.map +0 -1
  184. package/dist-cjs/commands/UpdateProtectionGroupCommand.js.map +0 -1
  185. package/dist-cjs/commands/UpdateSubscriptionCommand.js.map +0 -1
  186. package/dist-cjs/endpoints.js.map +0 -1
  187. package/dist-cjs/index.js.map +0 -1
  188. package/dist-cjs/models/index.js.map +0 -1
  189. package/dist-cjs/models/models_0.js.map +0 -1
  190. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  191. package/dist-cjs/pagination/ListAttacksPaginator.js.map +0 -1
  192. package/dist-cjs/pagination/ListProtectionGroupsPaginator.js.map +0 -1
  193. package/dist-cjs/pagination/ListProtectionsPaginator.js.map +0 -1
  194. package/dist-cjs/pagination/ListResourcesInProtectionGroupPaginator.js.map +0 -1
  195. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  196. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  197. package/dist-cjs/runtimeConfig.js.map +0 -1
  198. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  199. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  200. package/dist-es/Shield.js.map +0 -1
  201. package/dist-es/ShieldClient.js.map +0 -1
  202. package/dist-es/commands/AssociateDRTLogBucketCommand.js.map +0 -1
  203. package/dist-es/commands/AssociateDRTRoleCommand.js.map +0 -1
  204. package/dist-es/commands/AssociateHealthCheckCommand.js.map +0 -1
  205. package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js.map +0 -1
  206. package/dist-es/commands/CreateProtectionCommand.js.map +0 -1
  207. package/dist-es/commands/CreateProtectionGroupCommand.js.map +0 -1
  208. package/dist-es/commands/CreateSubscriptionCommand.js.map +0 -1
  209. package/dist-es/commands/DeleteProtectionCommand.js.map +0 -1
  210. package/dist-es/commands/DeleteProtectionGroupCommand.js.map +0 -1
  211. package/dist-es/commands/DeleteSubscriptionCommand.js.map +0 -1
  212. package/dist-es/commands/DescribeAttackCommand.js.map +0 -1
  213. package/dist-es/commands/DescribeAttackStatisticsCommand.js.map +0 -1
  214. package/dist-es/commands/DescribeDRTAccessCommand.js.map +0 -1
  215. package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js.map +0 -1
  216. package/dist-es/commands/DescribeProtectionCommand.js.map +0 -1
  217. package/dist-es/commands/DescribeProtectionGroupCommand.js.map +0 -1
  218. package/dist-es/commands/DescribeSubscriptionCommand.js.map +0 -1
  219. package/dist-es/commands/DisableProactiveEngagementCommand.js.map +0 -1
  220. package/dist-es/commands/DisassociateDRTLogBucketCommand.js.map +0 -1
  221. package/dist-es/commands/DisassociateDRTRoleCommand.js.map +0 -1
  222. package/dist-es/commands/DisassociateHealthCheckCommand.js.map +0 -1
  223. package/dist-es/commands/EnableProactiveEngagementCommand.js.map +0 -1
  224. package/dist-es/commands/GetSubscriptionStateCommand.js.map +0 -1
  225. package/dist-es/commands/ListAttacksCommand.js.map +0 -1
  226. package/dist-es/commands/ListProtectionGroupsCommand.js.map +0 -1
  227. package/dist-es/commands/ListProtectionsCommand.js.map +0 -1
  228. package/dist-es/commands/ListResourcesInProtectionGroupCommand.js.map +0 -1
  229. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  230. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  231. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  232. package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js.map +0 -1
  233. package/dist-es/commands/UpdateProtectionGroupCommand.js.map +0 -1
  234. package/dist-es/commands/UpdateSubscriptionCommand.js.map +0 -1
  235. package/dist-es/endpoints.js.map +0 -1
  236. package/dist-es/index.js.map +0 -1
  237. package/dist-es/models/index.js.map +0 -1
  238. package/dist-es/models/models_0.js.map +0 -1
  239. package/dist-es/pagination/Interfaces.js.map +0 -1
  240. package/dist-es/pagination/ListAttacksPaginator.js.map +0 -1
  241. package/dist-es/pagination/ListProtectionGroupsPaginator.js.map +0 -1
  242. package/dist-es/pagination/ListProtectionsPaginator.js.map +0 -1
  243. package/dist-es/pagination/ListResourcesInProtectionGroupPaginator.js.map +0 -1
  244. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  245. package/dist-es/runtimeConfig.browser.js.map +0 -1
  246. package/dist-es/runtimeConfig.js.map +0 -1
  247. package/dist-es/runtimeConfig.native.js.map +0 -1
  248. package/dist-es/runtimeConfig.shared.js.map +0 -1
  249. package/jest.config.js +0 -4
  250. package/src/Shield.ts +0 -1236
  251. package/src/ShieldClient.ts +0 -398
  252. package/src/commands/AssociateDRTLogBucketCommand.ts +0 -96
  253. package/src/commands/AssociateDRTRoleCommand.ts +0 -101
  254. package/src/commands/AssociateHealthCheckCommand.ts +0 -96
  255. package/src/commands/AssociateProactiveEngagementDetailsCommand.ts +0 -111
  256. package/src/commands/CreateProtectionCommand.ts +0 -96
  257. package/src/commands/CreateProtectionGroupCommand.ts +0 -95
  258. package/src/commands/CreateSubscriptionCommand.ts +0 -97
  259. package/src/commands/DeleteProtectionCommand.ts +0 -95
  260. package/src/commands/DeleteProtectionGroupCommand.ts +0 -95
  261. package/src/commands/DeleteSubscriptionCommand.ts +0 -97
  262. package/src/commands/DescribeAttackCommand.ts +0 -95
  263. package/src/commands/DescribeAttackStatisticsCommand.ts +0 -97
  264. package/src/commands/DescribeDRTAccessCommand.ts +0 -95
  265. package/src/commands/DescribeEmergencyContactSettingsCommand.ts +0 -103
  266. package/src/commands/DescribeProtectionCommand.ts +0 -95
  267. package/src/commands/DescribeProtectionGroupCommand.ts +0 -95
  268. package/src/commands/DescribeSubscriptionCommand.ts +0 -95
  269. package/src/commands/DisableProactiveEngagementCommand.ts +0 -98
  270. package/src/commands/DisassociateDRTLogBucketCommand.ts +0 -96
  271. package/src/commands/DisassociateDRTRoleCommand.ts +0 -96
  272. package/src/commands/DisassociateHealthCheckCommand.ts +0 -96
  273. package/src/commands/EnableProactiveEngagementCommand.ts +0 -98
  274. package/src/commands/GetSubscriptionStateCommand.ts +0 -95
  275. package/src/commands/ListAttacksCommand.ts +0 -96
  276. package/src/commands/ListProtectionGroupsCommand.ts +0 -95
  277. package/src/commands/ListProtectionsCommand.ts +0 -95
  278. package/src/commands/ListResourcesInProtectionGroupCommand.ts +0 -103
  279. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  280. package/src/commands/TagResourceCommand.ts +0 -95
  281. package/src/commands/UntagResourceCommand.ts +0 -95
  282. package/src/commands/UpdateEmergencyContactSettingsCommand.ts +0 -103
  283. package/src/commands/UpdateProtectionGroupCommand.ts +0 -95
  284. package/src/commands/UpdateSubscriptionCommand.ts +0 -95
  285. package/src/endpoints.ts +0 -68
  286. package/src/index.ts +0 -41
  287. package/src/models/index.ts +0 -1
  288. package/src/models/models_0.ts +0 -2292
  289. package/src/pagination/Interfaces.ts +0 -8
  290. package/src/pagination/ListAttacksPaginator.ts +0 -55
  291. package/src/pagination/ListProtectionGroupsPaginator.ts +0 -59
  292. package/src/pagination/ListProtectionsPaginator.ts +0 -59
  293. package/src/pagination/ListResourcesInProtectionGroupPaginator.ts +0 -59
  294. package/src/protocols/Aws_json1_1.ts +0 -4754
  295. package/src/runtimeConfig.browser.ts +0 -41
  296. package/src/runtimeConfig.native.ts +0 -17
  297. package/src/runtimeConfig.shared.ts +0 -17
  298. package/src/runtimeConfig.ts +0 -46
  299. package/tsconfig.es.json +0 -10
  300. package/tsconfig.json +0 -33
  301. package/tsconfig.types.json +0 -9
@@ -3973,4 +3973,3 @@ var loadRestJsonErrorCode = function (output, data) {
3973
3973
  }
3974
3974
  return "";
3975
3975
  };
3976
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
4
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
7
8
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
8
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
- import packageInfo from "../package.json";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
12
  export var getRuntimeConfig = function (config) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
14
  var clientSharedValues = getSharedRuntimeConfig(config);
15
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
16
  };
17
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -6,17 +7,15 @@ import { Hash } from "@aws-sdk/hash-node";
6
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
9
  import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
- import packageInfo from "../package.json";
15
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
21
21
  };
22
- //# sourceMappingURL=runtimeConfig.js.map
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
6
6
  var browserDefaults = getBrowserRuntimeConfig(config);
7
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
8
  };
9
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -0,0 +1,33 @@
1
+ export * from "./AssociateDRTLogBucketCommand";
2
+ export * from "./AssociateDRTRoleCommand";
3
+ export * from "./AssociateHealthCheckCommand";
4
+ export * from "./AssociateProactiveEngagementDetailsCommand";
5
+ export * from "./CreateProtectionCommand";
6
+ export * from "./CreateProtectionGroupCommand";
7
+ export * from "./CreateSubscriptionCommand";
8
+ export * from "./DeleteProtectionCommand";
9
+ export * from "./DeleteProtectionGroupCommand";
10
+ export * from "./DeleteSubscriptionCommand";
11
+ export * from "./DescribeAttackCommand";
12
+ export * from "./DescribeAttackStatisticsCommand";
13
+ export * from "./DescribeDRTAccessCommand";
14
+ export * from "./DescribeEmergencyContactSettingsCommand";
15
+ export * from "./DescribeProtectionCommand";
16
+ export * from "./DescribeProtectionGroupCommand";
17
+ export * from "./DescribeSubscriptionCommand";
18
+ export * from "./DisableProactiveEngagementCommand";
19
+ export * from "./DisassociateDRTLogBucketCommand";
20
+ export * from "./DisassociateDRTRoleCommand";
21
+ export * from "./DisassociateHealthCheckCommand";
22
+ export * from "./EnableProactiveEngagementCommand";
23
+ export * from "./GetSubscriptionStateCommand";
24
+ export * from "./ListAttacksCommand";
25
+ export * from "./ListProtectionGroupsCommand";
26
+ export * from "./ListProtectionsCommand";
27
+ export * from "./ListResourcesInProtectionGroupCommand";
28
+ export * from "./ListTagsForResourceCommand";
29
+ export * from "./TagResourceCommand";
30
+ export * from "./UntagResourceCommand";
31
+ export * from "./UpdateEmergencyContactSettingsCommand";
32
+ export * from "./UpdateProtectionGroupCommand";
33
+ export * from "./UpdateSubscriptionCommand";
@@ -1,41 +1,5 @@
1
- export * from "./ShieldClient";
2
1
  export * from "./Shield";
3
- export * from "./commands/AssociateDRTLogBucketCommand";
4
- export * from "./commands/AssociateDRTRoleCommand";
5
- export * from "./commands/AssociateHealthCheckCommand";
6
- export * from "./commands/AssociateProactiveEngagementDetailsCommand";
7
- export * from "./commands/CreateProtectionCommand";
8
- export * from "./commands/CreateProtectionGroupCommand";
9
- export * from "./commands/CreateSubscriptionCommand";
10
- export * from "./commands/DeleteProtectionCommand";
11
- export * from "./commands/DeleteProtectionGroupCommand";
12
- export * from "./commands/DeleteSubscriptionCommand";
13
- export * from "./commands/DescribeAttackCommand";
14
- export * from "./commands/DescribeAttackStatisticsCommand";
15
- export * from "./commands/DescribeDRTAccessCommand";
16
- export * from "./commands/DescribeEmergencyContactSettingsCommand";
17
- export * from "./commands/DescribeProtectionCommand";
18
- export * from "./commands/DescribeProtectionGroupCommand";
19
- export * from "./commands/DescribeSubscriptionCommand";
20
- export * from "./commands/DisableProactiveEngagementCommand";
21
- export * from "./commands/DisassociateDRTLogBucketCommand";
22
- export * from "./commands/DisassociateDRTRoleCommand";
23
- export * from "./commands/DisassociateHealthCheckCommand";
24
- export * from "./commands/EnableProactiveEngagementCommand";
25
- export * from "./commands/GetSubscriptionStateCommand";
26
- export * from "./commands/ListAttacksCommand";
27
- export * from "./pagination/ListAttacksPaginator";
28
- export * from "./commands/ListProtectionGroupsCommand";
29
- export * from "./pagination/ListProtectionGroupsPaginator";
30
- export * from "./commands/ListProtectionsCommand";
31
- export * from "./pagination/ListProtectionsPaginator";
32
- export * from "./commands/ListResourcesInProtectionGroupCommand";
33
- export * from "./pagination/ListResourcesInProtectionGroupPaginator";
34
- export * from "./commands/ListTagsForResourceCommand";
35
- export * from "./commands/TagResourceCommand";
36
- export * from "./commands/UntagResourceCommand";
37
- export * from "./commands/UpdateEmergencyContactSettingsCommand";
38
- export * from "./commands/UpdateProtectionGroupCommand";
39
- export * from "./commands/UpdateSubscriptionCommand";
40
- export * from "./pagination/Interfaces";
41
- export * from "./models/index";
2
+ export * from "./ShieldClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAttacksPaginator";
3
+ export * from "./ListProtectionGroupsPaginator";
4
+ export * from "./ListProtectionsPaginator";
5
+ export * from "./ListResourcesInProtectionGroupPaginator";
@@ -33,232 +33,137 @@ import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSetti
33
33
  import { UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput } from "./commands/UpdateProtectionGroupCommand";
34
34
  import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "./commands/UpdateSubscriptionCommand";
35
35
  import { ShieldClient } from "./ShieldClient";
36
- /**
37
- * <fullname>Shield Advanced</fullname>
38
- * <p>This is the <i>Shield Advanced API Reference</i>. This guide is for developers who need detailed information about the Shield Advanced API actions,
39
- * data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the
40
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">WAF and Shield Developer Guide</a>.</p>
41
- */
36
+
42
37
  export declare class Shield extends ShieldClient {
43
- /**
44
- * <p>Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.</p>
45
- * <p>To use the services of the SRT and make an <code>AssociateDRTLogBucket</code> request, you must be subscribed to the <a href="https://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
46
- */
38
+
47
39
  associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDRTLogBucketCommandOutput>;
48
40
  associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, cb: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void): void;
49
41
  associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void): void;
50
- /**
51
- * <p>Authorizes the Shield Response Team (SRT) using the specified role, to access your Amazon Web Services account to assist with DDoS attack mitigation during potential attacks. This enables the SRT to inspect your WAF configuration and create or update WAF rules and web ACLs.</p>
52
- * <p>You can associate only one <code>RoleArn</code> with your subscription. If you submit an <code>AssociateDRTRole</code> request for an account that already has an associated role, the new <code>RoleArn</code> will replace the existing <code>RoleArn</code>. </p>
53
- * <p>Prior to making the <code>AssociateDRTRole</code> request, you must attach the <a href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy">AWSShieldDRTAccessPolicy</a> managed policy to the role you will specify in the request. For more information see <a href=" https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html">Attaching and Detaching IAM Policies</a>. The role must also trust the service principal <code> drt.shield.amazonaws.com</code>. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html">IAM JSON Policy Elements: Principal</a>.</p>
54
- *
55
- * <p>The SRT will have access only to your WAF and Shield resources. By submitting this request, you authorize the SRT to inspect your WAF and Shield configuration and create and update WAF rules and web ACLs on your behalf. The SRT takes these actions only if explicitly authorized by you.</p>
56
- * <p>You must have the <code>iam:PassRole</code> permission to make an <code>AssociateDRTRole</code> request. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a User Permissions to Pass a Role to an Amazon Web Services Service</a>. </p>
57
- * <p>To use the services of the SRT and make an <code>AssociateDRTRole</code> request, you must be subscribed to the <a href="https://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
58
- */
42
+
59
43
  associateDRTRole(args: AssociateDRTRoleCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDRTRoleCommandOutput>;
60
44
  associateDRTRole(args: AssociateDRTRoleCommandInput, cb: (err: any, data?: AssociateDRTRoleCommandOutput) => void): void;
61
45
  associateDRTRole(args: AssociateDRTRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDRTRoleCommandOutput) => void): void;
62
- /**
63
- * <p>Adds health-based detection to the Shield Advanced protection for a resource. Shield Advanced health-based detection uses the health of your Amazon Web Services resource to improve responsiveness and accuracy in attack detection and mitigation. </p>
64
- * <p>You define the health check in Route 53 and then associate it with your Shield Advanced protection. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html#ddos-advanced-health-check-option">Shield Advanced Health-Based Detection</a> in the <i>WAF Developer Guide</i>. </p>
65
- */
46
+
66
47
  associateHealthCheck(args: AssociateHealthCheckCommandInput, options?: __HttpHandlerOptions): Promise<AssociateHealthCheckCommandOutput>;
67
48
  associateHealthCheck(args: AssociateHealthCheckCommandInput, cb: (err: any, data?: AssociateHealthCheckCommandOutput) => void): void;
68
49
  associateHealthCheck(args: AssociateHealthCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateHealthCheckCommandOutput) => void): void;
69
- /**
70
- * <p>Initializes proactive engagement and sets the list of contacts for the Shield Response Team (SRT) to use. You must provide at least one phone number in the emergency contact list. </p>
71
- * <p>After you have initialized proactive engagement using this call, to disable or enable proactive engagement, use the calls <code>DisableProactiveEngagement</code> and <code>EnableProactiveEngagement</code>. </p>
72
- * <note>
73
- * <p>This call defines the list of email addresses and phone numbers that the SRT can use to contact you for escalations to the SRT and to initiate proactive customer support.</p>
74
- * <p>The contacts that you provide in the request replace any contacts that were already defined. If you already have contacts defined and want to use them, retrieve the list using <code>DescribeEmergencyContactSettings</code> and then provide it to this call. </p>
75
- * </note>
76
- */
50
+
77
51
  associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, options?: __HttpHandlerOptions): Promise<AssociateProactiveEngagementDetailsCommandOutput>;
78
52
  associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void): void;
79
53
  associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void): void;
80
- /**
81
- * <p>Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, Global Accelerator accelerator, Elastic IP Address, or an Amazon Route 53 hosted zone.</p>
82
- * <p>You can add protection to only a single resource with each CreateProtection request. If you want to add protection to multiple resources at once, use the <a href="https://console.aws.amazon.com/waf/">WAF console</a>. For more information see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html">Getting Started with Shield Advanced</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/configure-new-protection.html">Add Shield Advanced Protection to more Amazon Web Services Resources</a>.</p>
83
- */
54
+
84
55
  createProtection(args: CreateProtectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateProtectionCommandOutput>;
85
56
  createProtection(args: CreateProtectionCommandInput, cb: (err: any, data?: CreateProtectionCommandOutput) => void): void;
86
57
  createProtection(args: CreateProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProtectionCommandOutput) => void): void;
87
- /**
88
- * <p>Creates a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. </p>
89
- */
58
+
90
59
  createProtectionGroup(args: CreateProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateProtectionGroupCommandOutput>;
91
60
  createProtectionGroup(args: CreateProtectionGroupCommandInput, cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void): void;
92
61
  createProtectionGroup(args: CreateProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void): void;
93
- /**
94
- * <p>Activates Shield Advanced for an account.</p>
95
- *
96
- * <p>When you initally create a subscription, your subscription is set to be automatically renewed at the end of the existing subscription period. You can change this by submitting an <code>UpdateSubscription</code> request. </p>
97
- */
62
+
98
63
  createSubscription(args: CreateSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubscriptionCommandOutput>;
99
64
  createSubscription(args: CreateSubscriptionCommandInput, cb: (err: any, data?: CreateSubscriptionCommandOutput) => void): void;
100
65
  createSubscription(args: CreateSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubscriptionCommandOutput) => void): void;
101
- /**
102
- * <p>Deletes an Shield Advanced <a>Protection</a>.</p>
103
- */
66
+
104
67
  deleteProtection(args: DeleteProtectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProtectionCommandOutput>;
105
68
  deleteProtection(args: DeleteProtectionCommandInput, cb: (err: any, data?: DeleteProtectionCommandOutput) => void): void;
106
69
  deleteProtection(args: DeleteProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProtectionCommandOutput) => void): void;
107
- /**
108
- * <p>Removes the specified protection group.</p>
109
- */
70
+
110
71
  deleteProtectionGroup(args: DeleteProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProtectionGroupCommandOutput>;
111
72
  deleteProtectionGroup(args: DeleteProtectionGroupCommandInput, cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void): void;
112
73
  deleteProtectionGroup(args: DeleteProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void): void;
113
- /**
114
- * @deprecated
115
- *
116
- * <p>Removes Shield Advanced from an account. Shield Advanced requires a 1-year subscription commitment. You cannot delete a subscription prior to the completion of that commitment. </p>
117
- */
74
+
118
75
  deleteSubscription(args: DeleteSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriptionCommandOutput>;
119
76
  deleteSubscription(args: DeleteSubscriptionCommandInput, cb: (err: any, data?: DeleteSubscriptionCommandOutput) => void): void;
120
77
  deleteSubscription(args: DeleteSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriptionCommandOutput) => void): void;
121
- /**
122
- * <p>Describes the details of a DDoS attack. </p>
123
- */
78
+
124
79
  describeAttack(args: DescribeAttackCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAttackCommandOutput>;
125
80
  describeAttack(args: DescribeAttackCommandInput, cb: (err: any, data?: DescribeAttackCommandOutput) => void): void;
126
81
  describeAttack(args: DescribeAttackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttackCommandOutput) => void): void;
127
- /**
128
- * <p>Provides information about the number and type of attacks Shield has detected in the last year for all resources that belong to your account, regardless of whether you've defined Shield protections for them. This operation is available to Shield customers as well as to Shield Advanced customers.</p>
129
- * <p>The operation returns data for the time range of midnight UTC, one year ago, to midnight UTC, today. For example, if the current time is <code>2020-10-26 15:39:32 PDT</code>, equal to <code>2020-10-26 22:39:32 UTC</code>, then the time range for the attack data returned is from <code>2019-10-26 00:00:00 UTC</code> to <code>2020-10-26 00:00:00 UTC</code>. </p>
130
- * <p>The time range indicates the period covered by the attack statistics data items.</p>
131
- */
82
+
132
83
  describeAttackStatistics(args: DescribeAttackStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAttackStatisticsCommandOutput>;
133
84
  describeAttackStatistics(args: DescribeAttackStatisticsCommandInput, cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void): void;
134
85
  describeAttackStatistics(args: DescribeAttackStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void): void;
135
- /**
136
- * <p>Returns the current role and list of Amazon S3 log buckets used by the Shield Response Team (SRT) to access your Amazon Web Services account while assisting with attack mitigation.</p>
137
- */
86
+
138
87
  describeDRTAccess(args: DescribeDRTAccessCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDRTAccessCommandOutput>;
139
88
  describeDRTAccess(args: DescribeDRTAccessCommandInput, cb: (err: any, data?: DescribeDRTAccessCommandOutput) => void): void;
140
89
  describeDRTAccess(args: DescribeDRTAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDRTAccessCommandOutput) => void): void;
141
- /**
142
- * <p>A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.</p>
143
- */
90
+
144
91
  describeEmergencyContactSettings(args: DescribeEmergencyContactSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEmergencyContactSettingsCommandOutput>;
145
92
  describeEmergencyContactSettings(args: DescribeEmergencyContactSettingsCommandInput, cb: (err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void): void;
146
93
  describeEmergencyContactSettings(args: DescribeEmergencyContactSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void): void;
147
- /**
148
- * <p>Lists the details of a <a>Protection</a> object.</p>
149
- */
94
+
150
95
  describeProtection(args: DescribeProtectionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProtectionCommandOutput>;
151
96
  describeProtection(args: DescribeProtectionCommandInput, cb: (err: any, data?: DescribeProtectionCommandOutput) => void): void;
152
97
  describeProtection(args: DescribeProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProtectionCommandOutput) => void): void;
153
- /**
154
- * <p>Returns the specification for the specified protection group.</p>
155
- */
98
+
156
99
  describeProtectionGroup(args: DescribeProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProtectionGroupCommandOutput>;
157
100
  describeProtectionGroup(args: DescribeProtectionGroupCommandInput, cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void): void;
158
101
  describeProtectionGroup(args: DescribeProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void): void;
159
- /**
160
- * <p>Provides details about the Shield Advanced subscription for an account.</p>
161
- */
102
+
162
103
  describeSubscription(args: DescribeSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSubscriptionCommandOutput>;
163
104
  describeSubscription(args: DescribeSubscriptionCommandInput, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
164
105
  describeSubscription(args: DescribeSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
165
- /**
166
- * <p>Removes authorization from the Shield Response Team (SRT) to notify contacts about escalations to the SRT and to initiate proactive customer support.</p>
167
- */
106
+
168
107
  disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, options?: __HttpHandlerOptions): Promise<DisableProactiveEngagementCommandOutput>;
169
108
  disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void): void;
170
109
  disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void): void;
171
- /**
172
- * <p>Removes the Shield Response Team's (SRT) access to the specified Amazon S3 bucket containing the logs that you shared previously.</p>
173
- * <p>To make a <code>DisassociateDRTLogBucket</code> request, you must be subscribed to the <a href="https://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>. However, if you are not subscribed to one of these support plans, but had been previously and had granted the SRT access to your account, you can submit a <code>DisassociateDRTLogBucket</code> request to remove this access.</p>
174
- */
110
+
175
111
  disassociateDRTLogBucket(args: DisassociateDRTLogBucketCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDRTLogBucketCommandOutput>;
176
112
  disassociateDRTLogBucket(args: DisassociateDRTLogBucketCommandInput, cb: (err: any, data?: DisassociateDRTLogBucketCommandOutput) => void): void;
177
113
  disassociateDRTLogBucket(args: DisassociateDRTLogBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDRTLogBucketCommandOutput) => void): void;
178
- /**
179
- * <p>Removes the Shield Response Team's (SRT) access to your Amazon Web Services account.</p>
180
- * <p>To make a <code>DisassociateDRTRole</code> request, you must be subscribed to the <a href="https://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>. However, if you are not subscribed to one of these support plans, but had been previously and had granted the SRT access to your account, you can submit a <code>DisassociateDRTRole</code> request to remove this access.</p>
181
- */
114
+
182
115
  disassociateDRTRole(args: DisassociateDRTRoleCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDRTRoleCommandOutput>;
183
116
  disassociateDRTRole(args: DisassociateDRTRoleCommandInput, cb: (err: any, data?: DisassociateDRTRoleCommandOutput) => void): void;
184
117
  disassociateDRTRole(args: DisassociateDRTRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDRTRoleCommandOutput) => void): void;
185
- /**
186
- * <p>Removes health-based detection from the Shield Advanced protection for a resource. Shield Advanced health-based detection uses the health of your Amazon Web Services resource to improve responsiveness and accuracy in attack detection and mitigation. </p>
187
- * <p>You define the health check in Route 53 and then associate or disassociate it with your Shield Advanced protection. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html#ddos-advanced-health-check-option">Shield Advanced Health-Based Detection</a> in the <i>WAF Developer Guide</i>. </p>
188
- */
118
+
189
119
  disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateHealthCheckCommandOutput>;
190
120
  disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
191
121
  disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
192
- /**
193
- * <p>Authorizes the Shield Response Team (SRT) to use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.</p>
194
- */
122
+
195
123
  enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, options?: __HttpHandlerOptions): Promise<EnableProactiveEngagementCommandOutput>;
196
124
  enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void): void;
197
125
  enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void): void;
198
- /**
199
- * <p>Returns the <code>SubscriptionState</code>, either <code>Active</code> or <code>Inactive</code>.</p>
200
- */
126
+
201
127
  getSubscriptionState(args: GetSubscriptionStateCommandInput, options?: __HttpHandlerOptions): Promise<GetSubscriptionStateCommandOutput>;
202
128
  getSubscriptionState(args: GetSubscriptionStateCommandInput, cb: (err: any, data?: GetSubscriptionStateCommandOutput) => void): void;
203
129
  getSubscriptionState(args: GetSubscriptionStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubscriptionStateCommandOutput) => void): void;
204
- /**
205
- * <p>Returns all ongoing DDoS attacks or all DDoS attacks during a specified time
206
- * period.</p>
207
- */
130
+
208
131
  listAttacks(args: ListAttacksCommandInput, options?: __HttpHandlerOptions): Promise<ListAttacksCommandOutput>;
209
132
  listAttacks(args: ListAttacksCommandInput, cb: (err: any, data?: ListAttacksCommandOutput) => void): void;
210
133
  listAttacks(args: ListAttacksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttacksCommandOutput) => void): void;
211
- /**
212
- * <p>Retrieves the <a>ProtectionGroup</a> objects for the account.</p>
213
- */
134
+
214
135
  listProtectionGroups(args: ListProtectionGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectionGroupsCommandOutput>;
215
136
  listProtectionGroups(args: ListProtectionGroupsCommandInput, cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void): void;
216
137
  listProtectionGroups(args: ListProtectionGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void): void;
217
- /**
218
- * <p>Lists all <a>Protection</a> objects for the account.</p>
219
- */
138
+
220
139
  listProtections(args: ListProtectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectionsCommandOutput>;
221
140
  listProtections(args: ListProtectionsCommandInput, cb: (err: any, data?: ListProtectionsCommandOutput) => void): void;
222
141
  listProtections(args: ListProtectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectionsCommandOutput) => void): void;
223
- /**
224
- * <p>Retrieves the resources that are included in the protection group. </p>
225
- */
142
+
226
143
  listResourcesInProtectionGroup(args: ListResourcesInProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesInProtectionGroupCommandOutput>;
227
144
  listResourcesInProtectionGroup(args: ListResourcesInProtectionGroupCommandInput, cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void): void;
228
145
  listResourcesInProtectionGroup(args: ListResourcesInProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void): void;
229
- /**
230
- * <p>Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in Shield.</p>
231
- */
146
+
232
147
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
233
148
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
234
149
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
235
- /**
236
- * <p>Adds or updates tags for a resource in Shield.</p>
237
- */
150
+
238
151
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
239
152
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
240
153
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
241
- /**
242
- * <p>Removes tags from a resource in Shield.</p>
243
- */
154
+
244
155
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
245
156
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
246
157
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
247
- /**
248
- * <p>Updates the details of the list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.</p>
249
- */
158
+
250
159
  updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEmergencyContactSettingsCommandOutput>;
251
160
  updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void): void;
252
161
  updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void): void;
253
- /**
254
- * <p>Updates an existing protection group. A protection group is a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. </p>
255
- */
162
+
256
163
  updateProtectionGroup(args: UpdateProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProtectionGroupCommandOutput>;
257
164
  updateProtectionGroup(args: UpdateProtectionGroupCommandInput, cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void): void;
258
165
  updateProtectionGroup(args: UpdateProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void): void;
259
- /**
260
- * <p>Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.</p>
261
- */
166
+
262
167
  updateSubscription(args: UpdateSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubscriptionCommandOutput>;
263
168
  updateSubscription(args: UpdateSubscriptionCommandInput, cb: (err: any, data?: UpdateSubscriptionCommandOutput) => void): void;
264
169
  updateSubscription(args: UpdateSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubscriptionCommandOutput) => void): void;
@@ -42,127 +42,59 @@ import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from
42
42
  export declare type ServiceInputTypes = AssociateDRTLogBucketCommandInput | AssociateDRTRoleCommandInput | AssociateHealthCheckCommandInput | AssociateProactiveEngagementDetailsCommandInput | CreateProtectionCommandInput | CreateProtectionGroupCommandInput | CreateSubscriptionCommandInput | DeleteProtectionCommandInput | DeleteProtectionGroupCommandInput | DeleteSubscriptionCommandInput | DescribeAttackCommandInput | DescribeAttackStatisticsCommandInput | DescribeDRTAccessCommandInput | DescribeEmergencyContactSettingsCommandInput | DescribeProtectionCommandInput | DescribeProtectionGroupCommandInput | DescribeSubscriptionCommandInput | DisableProactiveEngagementCommandInput | DisassociateDRTLogBucketCommandInput | DisassociateDRTRoleCommandInput | DisassociateHealthCheckCommandInput | EnableProactiveEngagementCommandInput | GetSubscriptionStateCommandInput | ListAttacksCommandInput | ListProtectionGroupsCommandInput | ListProtectionsCommandInput | ListResourcesInProtectionGroupCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEmergencyContactSettingsCommandInput | UpdateProtectionGroupCommandInput | UpdateSubscriptionCommandInput;
43
43
  export declare type ServiceOutputTypes = AssociateDRTLogBucketCommandOutput | AssociateDRTRoleCommandOutput | AssociateHealthCheckCommandOutput | AssociateProactiveEngagementDetailsCommandOutput | CreateProtectionCommandOutput | CreateProtectionGroupCommandOutput | CreateSubscriptionCommandOutput | DeleteProtectionCommandOutput | DeleteProtectionGroupCommandOutput | DeleteSubscriptionCommandOutput | DescribeAttackCommandOutput | DescribeAttackStatisticsCommandOutput | DescribeDRTAccessCommandOutput | DescribeEmergencyContactSettingsCommandOutput | DescribeProtectionCommandOutput | DescribeProtectionGroupCommandOutput | DescribeSubscriptionCommandOutput | DisableProactiveEngagementCommandOutput | DisassociateDRTLogBucketCommandOutput | DisassociateDRTRoleCommandOutput | DisassociateHealthCheckCommandOutput | EnableProactiveEngagementCommandOutput | GetSubscriptionStateCommandOutput | ListAttacksCommandOutput | ListProtectionGroupsCommandOutput | ListProtectionsCommandOutput | ListResourcesInProtectionGroupCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEmergencyContactSettingsCommandOutput | UpdateProtectionGroupCommandOutput | UpdateSubscriptionCommandOutput;
44
44
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
45
- /**
46
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
47
- */
45
+
48
46
  requestHandler?: __HttpHandler;
49
- /**
50
- * A constructor for a class implementing the {@link __Hash} interface
51
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
52
- * @internal
53
- */
47
+
54
48
  sha256?: __HashConstructor;
55
- /**
56
- * The function that will be used to convert strings into HTTP endpoints.
57
- * @internal
58
- */
49
+
59
50
  urlParser?: __UrlParser;
60
- /**
61
- * A function that can calculate the length of a request body.
62
- * @internal
63
- */
51
+
64
52
  bodyLengthChecker?: (body: any) => number | undefined;
65
- /**
66
- * A function that converts a stream into an array of bytes.
67
- * @internal
68
- */
53
+
69
54
  streamCollector?: __StreamCollector;
70
- /**
71
- * The function that will be used to convert a base64-encoded string to a byte array.
72
- * @internal
73
- */
55
+
74
56
  base64Decoder?: __Decoder;
75
- /**
76
- * The function that will be used to convert binary data to a base64-encoded string.
77
- * @internal
78
- */
57
+
79
58
  base64Encoder?: __Encoder;
80
- /**
81
- * The function that will be used to convert a UTF8-encoded string to a byte array.
82
- * @internal
83
- */
59
+
84
60
  utf8Decoder?: __Decoder;
85
- /**
86
- * The function that will be used to convert binary data to a UTF-8 encoded string.
87
- * @internal
88
- */
61
+
89
62
  utf8Encoder?: __Encoder;
90
- /**
91
- * The runtime environment.
92
- * @internal
93
- */
63
+
94
64
  runtime?: string;
95
- /**
96
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
97
- * trait of an operation.
98
- */
65
+
99
66
  disableHostPrefix?: boolean;
100
- /**
101
- * Value for how many times a request will be made at most in case of retry.
102
- */
67
+
103
68
  maxAttempts?: number | __Provider<number>;
104
- /**
105
- * Specifies which retry algorithm to use.
106
- */
69
+
107
70
  retryMode?: string | __Provider<string>;
108
- /**
109
- * Optional logger for logging debug/info/warn/error.
110
- */
71
+
111
72
  logger?: __Logger;
112
- /**
113
- * Unique service identifier.
114
- * @internal
115
- */
73
+
116
74
  serviceId?: string;
117
- /**
118
- * The AWS region to which this client will send requests
119
- */
75
+
120
76
  region?: string | __Provider<string>;
121
- /**
122
- * Default credentials provider; Not available in browser runtime.
123
- * @internal
124
- */
77
+
125
78
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
126
- /**
127
- * Fetch related hostname, signing name or signing region with given region.
128
- * @internal
129
- */
79
+
130
80
  regionInfoProvider?: RegionInfoProvider;
131
- /**
132
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
133
- * @internal
134
- */
81
+
135
82
  defaultUserAgentProvider?: Provider<__UserAgent>;
136
83
  }
137
84
  declare type ShieldClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
138
- /**
139
- * The configuration interface of ShieldClient class constructor that set the region, credentials and other options.
140
- */
85
+
141
86
  export interface ShieldClientConfig extends ShieldClientConfigType {
142
87
  }
143
88
  declare type ShieldClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
144
- /**
145
- * The resolved configuration interface of ShieldClient class. This is resolved and normalized from the {@link ShieldClientConfig | constructor configuration interface}.
146
- */
89
+
147
90
  export interface ShieldClientResolvedConfig extends ShieldClientResolvedConfigType {
148
91
  }
149
- /**
150
- * <fullname>Shield Advanced</fullname>
151
- * <p>This is the <i>Shield Advanced API Reference</i>. This guide is for developers who need detailed information about the Shield Advanced API actions,
152
- * data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the
153
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">WAF and Shield Developer Guide</a>.</p>
154
- */
92
+
155
93
  export declare class ShieldClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig> {
156
- /**
157
- * The resolved configuration of ShieldClient class. This is resolved and normalized from the {@link ShieldClientConfig | constructor configuration interface}.
158
- */
94
+
159
95
  readonly config: ShieldClientResolvedConfig;
160
96
  constructor(configuration: ShieldClientConfig);
161
- /**
162
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
163
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
164
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
165
- */
97
+
166
98
  destroy(): void;
167
99
  }
168
100
  export {};