@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
12
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
13
+
14
+
15
+
16
+
17
+
18
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
19
+
20
+
21
+ ### Features
22
+
23
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
24
+
25
+
26
+
27
+
28
+
29
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
35
+
36
+
37
+
38
+
39
+
40
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
41
+
42
+
43
+ ### Features
44
+
45
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
46
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
47
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
7
54
 
8
55
 
@@ -35,12 +35,6 @@ const UpdateEmergencyContactSettingsCommand_1 = require("./commands/UpdateEmerge
35
35
  const UpdateProtectionGroupCommand_1 = require("./commands/UpdateProtectionGroupCommand");
36
36
  const UpdateSubscriptionCommand_1 = require("./commands/UpdateSubscriptionCommand");
37
37
  const ShieldClient_1 = require("./ShieldClient");
38
- /**
39
- * <fullname>Shield Advanced</fullname>
40
- * <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,
41
- * 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
42
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">WAF and Shield Developer Guide</a>.</p>
43
- */
44
38
  class Shield extends ShieldClient_1.ShieldClient {
45
39
  associateDRTLogBucket(args, optionsOrCb, cb) {
46
40
  const command = new AssociateDRTLogBucketCommand_1.AssociateDRTLogBucketCommand(args);
@@ -506,4 +500,3 @@ class Shield extends ShieldClient_1.ShieldClient {
506
500
  }
507
501
  }
508
502
  exports.Shield = Shield;
509
- //# sourceMappingURL=Shield.js.map
@@ -10,12 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <fullname>Shield Advanced</fullname>
15
- * <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,
16
- * 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
17
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">WAF and Shield Developer Guide</a>.</p>
18
- */
19
13
  class ShieldClient extends smithy_client_1.Client {
20
14
  constructor(configuration) {
21
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -34,14 +28,8 @@ class ShieldClient extends smithy_client_1.Client {
34
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
35
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
36
30
  }
37
- /**
38
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
39
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
40
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
41
- */
42
31
  destroy() {
43
32
  super.destroy();
44
33
  }
45
34
  }
46
35
  exports.ShieldClient = ShieldClient;
47
- //# sourceMappingURL=ShieldClient.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <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>
10
- * <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>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ShieldClient, AssociateDRTLogBucketCommand } from "@aws-sdk/client-shield"; // ES Modules import
15
- * // const { ShieldClient, AssociateDRTLogBucketCommand } = require("@aws-sdk/client-shield"); // CommonJS import
16
- * const client = new ShieldClient(config);
17
- * const command = new AssociateDRTLogBucketCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link AssociateDRTLogBucketCommandInput} for command's `input` shape.
22
- * @see {@link AssociateDRTLogBucketCommandOutput} for command's `response` shape.
23
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class AssociateDRTLogBucketCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class AssociateDRTLogBucketCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.AssociateDRTLogBucketCommand = AssociateDRTLogBucketCommand;
62
- //# sourceMappingURL=AssociateDRTLogBucketCommand.js.map
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <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>
10
- * <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>
11
- * <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>
12
- *
13
- * <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>
14
- * <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>
15
- * <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>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { ShieldClient, AssociateDRTRoleCommand } from "@aws-sdk/client-shield"; // ES Modules import
20
- * // const { ShieldClient, AssociateDRTRoleCommand } = require("@aws-sdk/client-shield"); // CommonJS import
21
- * const client = new ShieldClient(config);
22
- * const command = new AssociateDRTRoleCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link AssociateDRTRoleCommandInput} for command's `input` shape.
27
- * @see {@link AssociateDRTRoleCommandOutput} for command's `response` shape.
28
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class AssociateDRTRoleCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class AssociateDRTRoleCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.AssociateDRTRoleCommand = AssociateDRTRoleCommand;
67
- //# sourceMappingURL=AssociateDRTRoleCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <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>
10
- * <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>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ShieldClient, AssociateHealthCheckCommand } from "@aws-sdk/client-shield"; // ES Modules import
15
- * // const { ShieldClient, AssociateHealthCheckCommand } = require("@aws-sdk/client-shield"); // CommonJS import
16
- * const client = new ShieldClient(config);
17
- * const command = new AssociateHealthCheckCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link AssociateHealthCheckCommandInput} for command's `input` shape.
22
- * @see {@link AssociateHealthCheckCommandOutput} for command's `response` shape.
23
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class AssociateHealthCheckCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class AssociateHealthCheckCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.AssociateHealthCheckCommand = AssociateHealthCheckCommand;
62
- //# sourceMappingURL=AssociateHealthCheckCommand.js.map
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <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>
10
- * <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>
11
- * <note>
12
- * <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>
13
- * <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>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ShieldClient, AssociateProactiveEngagementDetailsCommand } from "@aws-sdk/client-shield"; // ES Modules import
19
- * // const { ShieldClient, AssociateProactiveEngagementDetailsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
20
- * const client = new ShieldClient(config);
21
- * const command = new AssociateProactiveEngagementDetailsCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link AssociateProactiveEngagementDetailsCommandInput} for command's `input` shape.
26
- * @see {@link AssociateProactiveEngagementDetailsCommandOutput} for command's `response` shape.
27
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class AssociateProactiveEngagementDetailsCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class AssociateProactiveEngagementDetailsCommand extends smithy_client_1.Command
63
34
  }
64
35
  }
65
36
  exports.AssociateProactiveEngagementDetailsCommand = AssociateProactiveEngagementDetailsCommand;
66
- //# sourceMappingURL=AssociateProactiveEngagementDetailsCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <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>
10
- * <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>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ShieldClient, CreateProtectionCommand } from "@aws-sdk/client-shield"; // ES Modules import
15
- * // const { ShieldClient, CreateProtectionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
16
- * const client = new ShieldClient(config);
17
- * const command = new CreateProtectionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateProtectionCommandInput} for command's `input` shape.
22
- * @see {@link CreateProtectionCommandOutput} for command's `response` shape.
23
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateProtectionCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class CreateProtectionCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.CreateProtectionCommand = CreateProtectionCommand;
62
- //# sourceMappingURL=CreateProtectionCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <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>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ShieldClient, CreateProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
14
- * // const { ShieldClient, CreateProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
15
- * const client = new ShieldClient(config);
16
- * const command = new CreateProtectionGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateProtectionGroupCommandInput} for command's `input` shape.
21
- * @see {@link CreateProtectionGroupCommandOutput} for command's `response` shape.
22
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateProtectionGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class CreateProtectionGroupCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreateProtectionGroupCommand = CreateProtectionGroupCommand;
61
- //# sourceMappingURL=CreateProtectionGroupCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Activates Shield Advanced for an account.</p>
10
- *
11
- * <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>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ShieldClient, CreateSubscriptionCommand } from "@aws-sdk/client-shield"; // ES Modules import
16
- * // const { ShieldClient, CreateSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
17
- * const client = new ShieldClient(config);
18
- * const command = new CreateSubscriptionCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateSubscriptionCommandInput} for command's `input` shape.
23
- * @see {@link CreateSubscriptionCommandOutput} for command's `response` shape.
24
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class CreateSubscriptionCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class CreateSubscriptionCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.CreateSubscriptionCommand = CreateSubscriptionCommand;
63
- //# sourceMappingURL=CreateSubscriptionCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes an Shield Advanced <a>Protection</a>.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ShieldClient, DeleteProtectionCommand } from "@aws-sdk/client-shield"; // ES Modules import
14
- * // const { ShieldClient, DeleteProtectionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
15
- * const client = new ShieldClient(config);
16
- * const command = new DeleteProtectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteProtectionCommandInput} for command's `input` shape.
21
- * @see {@link DeleteProtectionCommandOutput} for command's `response` shape.
22
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteProtectionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteProtectionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteProtectionCommand = DeleteProtectionCommand;
61
- //# sourceMappingURL=DeleteProtectionCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Removes the specified protection group.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ShieldClient, DeleteProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
14
- * // const { ShieldClient, DeleteProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
15
- * const client = new ShieldClient(config);
16
- * const command = new DeleteProtectionGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteProtectionGroupCommandInput} for command's `input` shape.
21
- * @see {@link DeleteProtectionGroupCommandOutput} for command's `response` shape.
22
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteProtectionGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteProtectionGroupCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteProtectionGroupCommand = DeleteProtectionGroupCommand;
61
- //# sourceMappingURL=DeleteProtectionGroupCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * @deprecated
10
- *
11
- * <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>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ShieldClient, DeleteSubscriptionCommand } from "@aws-sdk/client-shield"; // ES Modules import
16
- * // const { ShieldClient, DeleteSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
17
- * const client = new ShieldClient(config);
18
- * const command = new DeleteSubscriptionCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteSubscriptionCommandInput} for command's `input` shape.
23
- * @see {@link DeleteSubscriptionCommandOutput} for command's `response` shape.
24
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteSubscriptionCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DeleteSubscriptionCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DeleteSubscriptionCommand = DeleteSubscriptionCommand;
63
- //# sourceMappingURL=DeleteSubscriptionCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describes the details of a DDoS attack. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ShieldClient, DescribeAttackCommand } from "@aws-sdk/client-shield"; // ES Modules import
14
- * // const { ShieldClient, DescribeAttackCommand } = require("@aws-sdk/client-shield"); // CommonJS import
15
- * const client = new ShieldClient(config);
16
- * const command = new DescribeAttackCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeAttackCommandInput} for command's `input` shape.
21
- * @see {@link DescribeAttackCommandOutput} for command's `response` shape.
22
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeAttackCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeAttackCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeAttackCommand = DescribeAttackCommand;
61
- //# sourceMappingURL=DescribeAttackCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <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>
10
- * <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>
11
- * <p>The time range indicates the period covered by the attack statistics data items.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ShieldClient, DescribeAttackStatisticsCommand } from "@aws-sdk/client-shield"; // ES Modules import
16
- * // const { ShieldClient, DescribeAttackStatisticsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
17
- * const client = new ShieldClient(config);
18
- * const command = new DescribeAttackStatisticsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeAttackStatisticsCommandInput} for command's `input` shape.
23
- * @see {@link DescribeAttackStatisticsCommandOutput} for command's `response` shape.
24
- * @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeAttackStatisticsCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DescribeAttackStatisticsCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DescribeAttackStatisticsCommand = DescribeAttackStatisticsCommand;
63
- //# sourceMappingURL=DescribeAttackStatisticsCommand.js.map