@aws-sdk/client-rtbfabric 3.1045.0 → 3.1047.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 (215) hide show
  1. package/README.md +63 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  3. package/dist-cjs/endpoint/bdd.js +2 -2
  4. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  5. package/dist-cjs/index.js +539 -177
  6. package/dist-cjs/models/RTBFabricServiceException.js +3 -3
  7. package/dist-cjs/runtimeConfig.browser.js +12 -14
  8. package/dist-cjs/runtimeConfig.js +18 -22
  9. package/dist-cjs/runtimeConfig.shared.js +9 -10
  10. package/dist-cjs/schemas/schemas_0.js +200 -10
  11. package/dist-es/RTBFabric.js +31 -1
  12. package/dist-es/RTBFabricClient.js +5 -5
  13. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  14. package/dist-es/commands/AcceptLinkCommand.js +2 -2
  15. package/dist-es/commands/AssociateCertificateCommand.js +16 -0
  16. package/dist-es/commands/CreateInboundExternalLinkCommand.js +2 -2
  17. package/dist-es/commands/CreateLinkCommand.js +2 -2
  18. package/dist-es/commands/CreateLinkRoutingRuleCommand.js +16 -0
  19. package/dist-es/commands/CreateOutboundExternalLinkCommand.js +2 -2
  20. package/dist-es/commands/CreateRequesterGatewayCommand.js +2 -2
  21. package/dist-es/commands/CreateResponderGatewayCommand.js +2 -2
  22. package/dist-es/commands/DeleteInboundExternalLinkCommand.js +2 -2
  23. package/dist-es/commands/DeleteLinkCommand.js +2 -2
  24. package/dist-es/commands/DeleteLinkRoutingRuleCommand.js +16 -0
  25. package/dist-es/commands/DeleteOutboundExternalLinkCommand.js +2 -2
  26. package/dist-es/commands/DeleteRequesterGatewayCommand.js +2 -2
  27. package/dist-es/commands/DeleteResponderGatewayCommand.js +2 -2
  28. package/dist-es/commands/DisassociateCertificateCommand.js +16 -0
  29. package/dist-es/commands/GetCertificateAssociationCommand.js +16 -0
  30. package/dist-es/commands/GetInboundExternalLinkCommand.js +2 -2
  31. package/dist-es/commands/GetLinkCommand.js +2 -2
  32. package/dist-es/commands/GetLinkRoutingRuleCommand.js +16 -0
  33. package/dist-es/commands/GetOutboundExternalLinkCommand.js +2 -2
  34. package/dist-es/commands/GetRequesterGatewayCommand.js +2 -2
  35. package/dist-es/commands/GetResponderGatewayCommand.js +2 -2
  36. package/dist-es/commands/ListCertificateAssociationsCommand.js +16 -0
  37. package/dist-es/commands/ListLinkRoutingRulesCommand.js +16 -0
  38. package/dist-es/commands/ListLinksCommand.js +2 -2
  39. package/dist-es/commands/ListRequesterGatewaysCommand.js +2 -2
  40. package/dist-es/commands/ListResponderGatewaysCommand.js +2 -2
  41. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  42. package/dist-es/commands/RejectLinkCommand.js +2 -2
  43. package/dist-es/commands/TagResourceCommand.js +2 -2
  44. package/dist-es/commands/UntagResourceCommand.js +2 -2
  45. package/dist-es/commands/UpdateLinkCommand.js +2 -2
  46. package/dist-es/commands/UpdateLinkModuleFlowCommand.js +2 -2
  47. package/dist-es/commands/UpdateLinkRoutingRuleCommand.js +16 -0
  48. package/dist-es/commands/UpdateRequesterGatewayCommand.js +2 -2
  49. package/dist-es/commands/UpdateResponderGatewayCommand.js +2 -2
  50. package/dist-es/commands/index.js +9 -0
  51. package/dist-es/endpoint/bdd.js +1 -1
  52. package/dist-es/endpoint/endpointResolver.js +1 -1
  53. package/dist-es/models/RTBFabricServiceException.js +1 -1
  54. package/dist-es/models/enums.js +15 -0
  55. package/dist-es/pagination/ListCertificateAssociationsPaginator.js +4 -0
  56. package/dist-es/pagination/ListLinkRoutingRulesPaginator.js +4 -0
  57. package/dist-es/pagination/index.js +2 -0
  58. package/dist-es/runtimeConfig.browser.js +4 -6
  59. package/dist-es/runtimeConfig.js +4 -8
  60. package/dist-es/runtimeConfig.shared.js +3 -4
  61. package/dist-es/runtimeExtensions.js +2 -2
  62. package/dist-es/schemas/schemas_0.js +197 -7
  63. package/dist-es/waiters/index.js +4 -0
  64. package/dist-es/waiters/waitForCertificateAssociated.js +61 -0
  65. package/dist-es/waiters/waitForCertificateDisassociated.js +52 -0
  66. package/dist-es/waiters/waitForInboundExternalLinkActive.js +1 -1
  67. package/dist-es/waiters/waitForInboundExternalLinkDeleted.js +1 -1
  68. package/dist-es/waiters/waitForLinkAccepted.js +1 -1
  69. package/dist-es/waiters/waitForLinkActive.js +1 -1
  70. package/dist-es/waiters/waitForLinkDeleted.js +1 -1
  71. package/dist-es/waiters/waitForLinkRoutingRuleActive.js +49 -0
  72. package/dist-es/waiters/waitForLinkRoutingRuleDeleted.js +43 -0
  73. package/dist-es/waiters/waitForOutboundExternalLinkActive.js +1 -1
  74. package/dist-es/waiters/waitForOutboundExternalLinkDeleted.js +1 -1
  75. package/dist-es/waiters/waitForRequesterGatewayActive.js +1 -1
  76. package/dist-es/waiters/waitForRequesterGatewayDeleted.js +1 -1
  77. package/dist-es/waiters/waitForResponderGatewayActive.js +1 -1
  78. package/dist-es/waiters/waitForResponderGatewayDeleted.js +1 -1
  79. package/dist-types/RTBFabric.d.ts +102 -1
  80. package/dist-types/RTBFabricClient.d.ts +16 -7
  81. package/dist-types/commands/AcceptLinkCommand.d.ts +6 -4
  82. package/dist-types/commands/AssociateCertificateCommand.d.ts +120 -0
  83. package/dist-types/commands/CreateInboundExternalLinkCommand.d.ts +6 -4
  84. package/dist-types/commands/CreateLinkCommand.d.ts +6 -4
  85. package/dist-types/commands/CreateLinkRoutingRuleCommand.d.ts +140 -0
  86. package/dist-types/commands/CreateOutboundExternalLinkCommand.d.ts +9 -4
  87. package/dist-types/commands/CreateRequesterGatewayCommand.d.ts +6 -4
  88. package/dist-types/commands/CreateResponderGatewayCommand.d.ts +6 -4
  89. package/dist-types/commands/DeleteInboundExternalLinkCommand.d.ts +6 -4
  90. package/dist-types/commands/DeleteLinkCommand.d.ts +6 -4
  91. package/dist-types/commands/DeleteLinkRoutingRuleCommand.d.ts +115 -0
  92. package/dist-types/commands/DeleteOutboundExternalLinkCommand.d.ts +6 -4
  93. package/dist-types/commands/DeleteRequesterGatewayCommand.d.ts +9 -4
  94. package/dist-types/commands/DeleteResponderGatewayCommand.d.ts +9 -4
  95. package/dist-types/commands/DisassociateCertificateCommand.d.ts +118 -0
  96. package/dist-types/commands/GetCertificateAssociationCommand.d.ts +116 -0
  97. package/dist-types/commands/GetInboundExternalLinkCommand.d.ts +6 -4
  98. package/dist-types/commands/GetLinkCommand.d.ts +6 -4
  99. package/dist-types/commands/GetLinkRoutingRuleCommand.d.ts +140 -0
  100. package/dist-types/commands/GetOutboundExternalLinkCommand.d.ts +6 -4
  101. package/dist-types/commands/GetRequesterGatewayCommand.d.ts +6 -4
  102. package/dist-types/commands/GetResponderGatewayCommand.d.ts +6 -4
  103. package/dist-types/commands/ListCertificateAssociationsCommand.d.ts +125 -0
  104. package/dist-types/commands/ListLinkRoutingRulesCommand.d.ts +143 -0
  105. package/dist-types/commands/ListLinksCommand.d.ts +6 -4
  106. package/dist-types/commands/ListRequesterGatewaysCommand.d.ts +6 -4
  107. package/dist-types/commands/ListResponderGatewaysCommand.d.ts +6 -4
  108. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  109. package/dist-types/commands/RejectLinkCommand.d.ts +6 -4
  110. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  111. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  112. package/dist-types/commands/UpdateLinkCommand.d.ts +6 -4
  113. package/dist-types/commands/UpdateLinkModuleFlowCommand.d.ts +6 -4
  114. package/dist-types/commands/UpdateLinkRoutingRuleCommand.d.ts +134 -0
  115. package/dist-types/commands/UpdateRequesterGatewayCommand.d.ts +6 -4
  116. package/dist-types/commands/UpdateResponderGatewayCommand.d.ts +6 -4
  117. package/dist-types/commands/index.d.ts +9 -0
  118. package/dist-types/endpoint/bdd.d.ts +1 -1
  119. package/dist-types/extensionConfiguration.d.ts +1 -1
  120. package/dist-types/models/RTBFabricServiceException.d.ts +1 -1
  121. package/dist-types/models/enums.d.ts +31 -0
  122. package/dist-types/models/errors.d.ts +1 -1
  123. package/dist-types/models/models_0.d.ts +522 -1
  124. package/dist-types/pagination/ListCertificateAssociationsPaginator.d.ts +7 -0
  125. package/dist-types/pagination/ListLinkRoutingRulesPaginator.d.ts +7 -0
  126. package/dist-types/pagination/index.d.ts +2 -0
  127. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  128. package/dist-types/runtimeConfig.d.ts +2 -2
  129. package/dist-types/runtimeConfig.native.d.ts +2 -2
  130. package/dist-types/schemas/schemas_0.d.ts +31 -0
  131. package/dist-types/ts3.4/RTBFabric.d.ts +210 -1
  132. package/dist-types/ts3.4/RTBFabricClient.d.ts +62 -14
  133. package/dist-types/ts3.4/commands/AcceptLinkCommand.d.ts +6 -4
  134. package/dist-types/ts3.4/commands/AssociateCertificateCommand.d.ts +53 -0
  135. package/dist-types/ts3.4/commands/CreateInboundExternalLinkCommand.d.ts +6 -4
  136. package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +6 -4
  137. package/dist-types/ts3.4/commands/CreateLinkRoutingRuleCommand.d.ts +53 -0
  138. package/dist-types/ts3.4/commands/CreateOutboundExternalLinkCommand.d.ts +6 -4
  139. package/dist-types/ts3.4/commands/CreateRequesterGatewayCommand.d.ts +6 -4
  140. package/dist-types/ts3.4/commands/CreateResponderGatewayCommand.d.ts +6 -4
  141. package/dist-types/ts3.4/commands/DeleteInboundExternalLinkCommand.d.ts +6 -4
  142. package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +6 -4
  143. package/dist-types/ts3.4/commands/DeleteLinkRoutingRuleCommand.d.ts +53 -0
  144. package/dist-types/ts3.4/commands/DeleteOutboundExternalLinkCommand.d.ts +6 -4
  145. package/dist-types/ts3.4/commands/DeleteRequesterGatewayCommand.d.ts +6 -4
  146. package/dist-types/ts3.4/commands/DeleteResponderGatewayCommand.d.ts +6 -4
  147. package/dist-types/ts3.4/commands/DisassociateCertificateCommand.d.ts +53 -0
  148. package/dist-types/ts3.4/commands/GetCertificateAssociationCommand.d.ts +53 -0
  149. package/dist-types/ts3.4/commands/GetInboundExternalLinkCommand.d.ts +6 -4
  150. package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +6 -4
  151. package/dist-types/ts3.4/commands/GetLinkRoutingRuleCommand.d.ts +53 -0
  152. package/dist-types/ts3.4/commands/GetOutboundExternalLinkCommand.d.ts +6 -4
  153. package/dist-types/ts3.4/commands/GetRequesterGatewayCommand.d.ts +6 -4
  154. package/dist-types/ts3.4/commands/GetResponderGatewayCommand.d.ts +6 -4
  155. package/dist-types/ts3.4/commands/ListCertificateAssociationsCommand.d.ts +53 -0
  156. package/dist-types/ts3.4/commands/ListLinkRoutingRulesCommand.d.ts +53 -0
  157. package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +6 -8
  158. package/dist-types/ts3.4/commands/ListRequesterGatewaysCommand.d.ts +6 -4
  159. package/dist-types/ts3.4/commands/ListResponderGatewaysCommand.d.ts +6 -4
  160. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  161. package/dist-types/ts3.4/commands/RejectLinkCommand.d.ts +6 -4
  162. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  163. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  164. package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +6 -4
  165. package/dist-types/ts3.4/commands/UpdateLinkModuleFlowCommand.d.ts +6 -4
  166. package/dist-types/ts3.4/commands/UpdateLinkRoutingRuleCommand.d.ts +53 -0
  167. package/dist-types/ts3.4/commands/UpdateRequesterGatewayCommand.d.ts +6 -4
  168. package/dist-types/ts3.4/commands/UpdateResponderGatewayCommand.d.ts +6 -4
  169. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  170. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  171. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  172. package/dist-types/ts3.4/models/RTBFabricServiceException.d.ts +1 -1
  173. package/dist-types/ts3.4/models/enums.d.ts +18 -0
  174. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  175. package/dist-types/ts3.4/models/models_0.d.ts +127 -0
  176. package/dist-types/ts3.4/pagination/ListCertificateAssociationsPaginator.d.ts +11 -0
  177. package/dist-types/ts3.4/pagination/ListLinkRoutingRulesPaginator.d.ts +11 -0
  178. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  179. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  180. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  181. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  182. package/dist-types/ts3.4/schemas/schemas_0.d.ts +31 -0
  183. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  184. package/dist-types/ts3.4/waiters/waitForCertificateAssociated.d.ts +19 -0
  185. package/dist-types/ts3.4/waiters/waitForCertificateDisassociated.d.ts +24 -0
  186. package/dist-types/ts3.4/waiters/waitForInboundExternalLinkActive.d.ts +1 -1
  187. package/dist-types/ts3.4/waiters/waitForInboundExternalLinkDeleted.d.ts +1 -1
  188. package/dist-types/ts3.4/waiters/waitForLinkAccepted.d.ts +1 -1
  189. package/dist-types/ts3.4/waiters/waitForLinkActive.d.ts +1 -1
  190. package/dist-types/ts3.4/waiters/waitForLinkDeleted.d.ts +1 -1
  191. package/dist-types/ts3.4/waiters/waitForLinkRoutingRuleActive.d.ts +17 -0
  192. package/dist-types/ts3.4/waiters/waitForLinkRoutingRuleDeleted.d.ts +20 -0
  193. package/dist-types/ts3.4/waiters/waitForOutboundExternalLinkActive.d.ts +1 -1
  194. package/dist-types/ts3.4/waiters/waitForOutboundExternalLinkDeleted.d.ts +1 -1
  195. package/dist-types/ts3.4/waiters/waitForRequesterGatewayActive.d.ts +1 -1
  196. package/dist-types/ts3.4/waiters/waitForRequesterGatewayDeleted.d.ts +1 -1
  197. package/dist-types/ts3.4/waiters/waitForResponderGatewayActive.d.ts +1 -1
  198. package/dist-types/ts3.4/waiters/waitForResponderGatewayDeleted.d.ts +1 -1
  199. package/dist-types/waiters/index.d.ts +4 -0
  200. package/dist-types/waiters/waitForCertificateAssociated.d.ts +15 -0
  201. package/dist-types/waiters/waitForCertificateDisassociated.d.ts +16 -0
  202. package/dist-types/waiters/waitForInboundExternalLinkActive.d.ts +1 -1
  203. package/dist-types/waiters/waitForInboundExternalLinkDeleted.d.ts +1 -1
  204. package/dist-types/waiters/waitForLinkAccepted.d.ts +1 -1
  205. package/dist-types/waiters/waitForLinkActive.d.ts +1 -1
  206. package/dist-types/waiters/waitForLinkDeleted.d.ts +1 -1
  207. package/dist-types/waiters/waitForLinkRoutingRuleActive.d.ts +15 -0
  208. package/dist-types/waiters/waitForLinkRoutingRuleDeleted.d.ts +16 -0
  209. package/dist-types/waiters/waitForOutboundExternalLinkActive.d.ts +1 -1
  210. package/dist-types/waiters/waitForOutboundExternalLinkDeleted.d.ts +1 -1
  211. package/dist-types/waiters/waitForRequesterGatewayActive.d.ts +1 -1
  212. package/dist-types/waiters/waitForRequesterGatewayDeleted.d.ts +1 -1
  213. package/dist-types/waiters/waitForResponderGatewayActive.d.ts +1 -1
  214. package/dist-types/waiters/waitForResponderGatewayDeleted.d.ts +1 -1
  215. package/package.json +13 -35
@@ -0,0 +1,49 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetLinkRoutingRuleCommand, } from "../commands/GetLinkRoutingRuleCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetLinkRoutingRuleCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.status;
11
+ };
12
+ if (returnComparator() === "ACTIVE") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.status;
20
+ };
21
+ if (returnComparator() === "FAILED") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ try {
27
+ const returnComparator = () => {
28
+ return result.status;
29
+ };
30
+ if (returnComparator() === "DELETED") {
31
+ return { state: WaiterState.FAILURE, reason };
32
+ }
33
+ }
34
+ catch (e) { }
35
+ }
36
+ catch (exception) {
37
+ reason = exception;
38
+ }
39
+ return { state: WaiterState.RETRY, reason };
40
+ };
41
+ export const waitForLinkRoutingRuleActive = async (params, input) => {
42
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
43
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
44
+ };
45
+ export const waitUntilLinkRoutingRuleActive = async (params, input) => {
46
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
47
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
48
+ return checkExceptions(result);
49
+ };
@@ -0,0 +1,43 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetLinkRoutingRuleCommand, } from "../commands/GetLinkRoutingRuleCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetLinkRoutingRuleCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.status;
11
+ };
12
+ if (returnComparator() === "DELETED") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.status;
20
+ };
21
+ if (returnComparator() === "FAILED") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ }
27
+ catch (exception) {
28
+ reason = exception;
29
+ if (exception.name === "ResourceNotFoundException") {
30
+ return { state: WaiterState.SUCCESS, reason };
31
+ }
32
+ }
33
+ return { state: WaiterState.RETRY, reason };
34
+ };
35
+ export const waitForLinkRoutingRuleDeleted = async (params, input) => {
36
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
37
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
38
+ };
39
+ export const waitUntilLinkRoutingRuleDeleted = async (params, input) => {
40
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
41
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
42
+ return checkExceptions(result);
43
+ };
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { GetOutboundExternalLinkCommand, } from "../commands/GetOutboundExternalLinkCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { GetOutboundExternalLinkCommand, } from "../commands/GetOutboundExternalLinkCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { GetRequesterGatewayCommand, } from "../commands/GetRequesterGatewayCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { GetRequesterGatewayCommand, } from "../commands/GetRequesterGatewayCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { GetResponderGatewayCommand, } from "../commands/GetResponderGatewayCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { GetResponderGatewayCommand, } from "../commands/GetResponderGatewayCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,21 +1,29 @@
1
+ import { type WaiterResult } from "@smithy/core/client";
1
2
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
- import type { WaiterResult } from "@smithy/util-waiter";
3
3
  import { type AcceptLinkCommandInput, type AcceptLinkCommandOutput } from "./commands/AcceptLinkCommand";
4
+ import { type AssociateCertificateCommandInput, type AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
4
5
  import { type CreateInboundExternalLinkCommandInput, type CreateInboundExternalLinkCommandOutput } from "./commands/CreateInboundExternalLinkCommand";
5
6
  import { type CreateLinkCommandInput, type CreateLinkCommandOutput } from "./commands/CreateLinkCommand";
7
+ import { type CreateLinkRoutingRuleCommandInput, type CreateLinkRoutingRuleCommandOutput } from "./commands/CreateLinkRoutingRuleCommand";
6
8
  import { type CreateOutboundExternalLinkCommandInput, type CreateOutboundExternalLinkCommandOutput } from "./commands/CreateOutboundExternalLinkCommand";
7
9
  import { type CreateRequesterGatewayCommandInput, type CreateRequesterGatewayCommandOutput } from "./commands/CreateRequesterGatewayCommand";
8
10
  import { type CreateResponderGatewayCommandInput, type CreateResponderGatewayCommandOutput } from "./commands/CreateResponderGatewayCommand";
9
11
  import { type DeleteInboundExternalLinkCommandInput, type DeleteInboundExternalLinkCommandOutput } from "./commands/DeleteInboundExternalLinkCommand";
10
12
  import { type DeleteLinkCommandInput, type DeleteLinkCommandOutput } from "./commands/DeleteLinkCommand";
13
+ import { type DeleteLinkRoutingRuleCommandInput, type DeleteLinkRoutingRuleCommandOutput } from "./commands/DeleteLinkRoutingRuleCommand";
11
14
  import { type DeleteOutboundExternalLinkCommandInput, type DeleteOutboundExternalLinkCommandOutput } from "./commands/DeleteOutboundExternalLinkCommand";
12
15
  import { type DeleteRequesterGatewayCommandInput, type DeleteRequesterGatewayCommandOutput } from "./commands/DeleteRequesterGatewayCommand";
13
16
  import { type DeleteResponderGatewayCommandInput, type DeleteResponderGatewayCommandOutput } from "./commands/DeleteResponderGatewayCommand";
17
+ import { type DisassociateCertificateCommandInput, type DisassociateCertificateCommandOutput } from "./commands/DisassociateCertificateCommand";
18
+ import { type GetCertificateAssociationCommandInput, type GetCertificateAssociationCommandOutput } from "./commands/GetCertificateAssociationCommand";
14
19
  import { type GetInboundExternalLinkCommandInput, type GetInboundExternalLinkCommandOutput } from "./commands/GetInboundExternalLinkCommand";
15
20
  import { type GetLinkCommandInput, type GetLinkCommandOutput } from "./commands/GetLinkCommand";
21
+ import { type GetLinkRoutingRuleCommandInput, type GetLinkRoutingRuleCommandOutput } from "./commands/GetLinkRoutingRuleCommand";
16
22
  import { type GetOutboundExternalLinkCommandInput, type GetOutboundExternalLinkCommandOutput } from "./commands/GetOutboundExternalLinkCommand";
17
23
  import { type GetRequesterGatewayCommandInput, type GetRequesterGatewayCommandOutput } from "./commands/GetRequesterGatewayCommand";
18
24
  import { type GetResponderGatewayCommandInput, type GetResponderGatewayCommandOutput } from "./commands/GetResponderGatewayCommand";
25
+ import { type ListCertificateAssociationsCommandInput, type ListCertificateAssociationsCommandOutput } from "./commands/ListCertificateAssociationsCommand";
26
+ import { type ListLinkRoutingRulesCommandInput, type ListLinkRoutingRulesCommandOutput } from "./commands/ListLinkRoutingRulesCommand";
19
27
  import { type ListLinksCommandInput, type ListLinksCommandOutput } from "./commands/ListLinksCommand";
20
28
  import { type ListRequesterGatewaysCommandInput, type ListRequesterGatewaysCommandOutput } from "./commands/ListRequesterGatewaysCommand";
21
29
  import { type ListResponderGatewaysCommandInput, type ListResponderGatewaysCommandOutput } from "./commands/ListResponderGatewaysCommand";
@@ -25,6 +33,7 @@ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./c
25
33
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
26
34
  import { type UpdateLinkCommandInput, type UpdateLinkCommandOutput } from "./commands/UpdateLinkCommand";
27
35
  import { type UpdateLinkModuleFlowCommandInput, type UpdateLinkModuleFlowCommandOutput } from "./commands/UpdateLinkModuleFlowCommand";
36
+ import { type UpdateLinkRoutingRuleCommandInput, type UpdateLinkRoutingRuleCommandOutput } from "./commands/UpdateLinkRoutingRuleCommand";
28
37
  import { type UpdateRequesterGatewayCommandInput, type UpdateRequesterGatewayCommandOutput } from "./commands/UpdateRequesterGatewayCommand";
29
38
  import { type UpdateResponderGatewayCommandInput, type UpdateResponderGatewayCommandOutput } from "./commands/UpdateResponderGatewayCommand";
30
39
  import type { ResourceNotFoundException } from "./models/errors";
@@ -36,6 +45,12 @@ export interface RTBFabric {
36
45
  acceptLink(args: AcceptLinkCommandInput, options?: __HttpHandlerOptions): Promise<AcceptLinkCommandOutput>;
37
46
  acceptLink(args: AcceptLinkCommandInput, cb: (err: any, data?: AcceptLinkCommandOutput) => void): void;
38
47
  acceptLink(args: AcceptLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptLinkCommandOutput) => void): void;
48
+ /**
49
+ * @see {@link AssociateCertificateCommand}
50
+ */
51
+ associateCertificate(args: AssociateCertificateCommandInput, options?: __HttpHandlerOptions): Promise<AssociateCertificateCommandOutput>;
52
+ associateCertificate(args: AssociateCertificateCommandInput, cb: (err: any, data?: AssociateCertificateCommandOutput) => void): void;
53
+ associateCertificate(args: AssociateCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateCertificateCommandOutput) => void): void;
39
54
  /**
40
55
  * @see {@link CreateInboundExternalLinkCommand}
41
56
  */
@@ -48,6 +63,12 @@ export interface RTBFabric {
48
63
  createLink(args: CreateLinkCommandInput, options?: __HttpHandlerOptions): Promise<CreateLinkCommandOutput>;
49
64
  createLink(args: CreateLinkCommandInput, cb: (err: any, data?: CreateLinkCommandOutput) => void): void;
50
65
  createLink(args: CreateLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLinkCommandOutput) => void): void;
66
+ /**
67
+ * @see {@link CreateLinkRoutingRuleCommand}
68
+ */
69
+ createLinkRoutingRule(args: CreateLinkRoutingRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateLinkRoutingRuleCommandOutput>;
70
+ createLinkRoutingRule(args: CreateLinkRoutingRuleCommandInput, cb: (err: any, data?: CreateLinkRoutingRuleCommandOutput) => void): void;
71
+ createLinkRoutingRule(args: CreateLinkRoutingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLinkRoutingRuleCommandOutput) => void): void;
51
72
  /**
52
73
  * @see {@link CreateOutboundExternalLinkCommand}
53
74
  */
@@ -78,6 +99,12 @@ export interface RTBFabric {
78
99
  deleteLink(args: DeleteLinkCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLinkCommandOutput>;
79
100
  deleteLink(args: DeleteLinkCommandInput, cb: (err: any, data?: DeleteLinkCommandOutput) => void): void;
80
101
  deleteLink(args: DeleteLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLinkCommandOutput) => void): void;
102
+ /**
103
+ * @see {@link DeleteLinkRoutingRuleCommand}
104
+ */
105
+ deleteLinkRoutingRule(args: DeleteLinkRoutingRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLinkRoutingRuleCommandOutput>;
106
+ deleteLinkRoutingRule(args: DeleteLinkRoutingRuleCommandInput, cb: (err: any, data?: DeleteLinkRoutingRuleCommandOutput) => void): void;
107
+ deleteLinkRoutingRule(args: DeleteLinkRoutingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLinkRoutingRuleCommandOutput) => void): void;
81
108
  /**
82
109
  * @see {@link DeleteOutboundExternalLinkCommand}
83
110
  */
@@ -96,6 +123,18 @@ export interface RTBFabric {
96
123
  deleteResponderGateway(args: DeleteResponderGatewayCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResponderGatewayCommandOutput>;
97
124
  deleteResponderGateway(args: DeleteResponderGatewayCommandInput, cb: (err: any, data?: DeleteResponderGatewayCommandOutput) => void): void;
98
125
  deleteResponderGateway(args: DeleteResponderGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResponderGatewayCommandOutput) => void): void;
126
+ /**
127
+ * @see {@link DisassociateCertificateCommand}
128
+ */
129
+ disassociateCertificate(args: DisassociateCertificateCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateCertificateCommandOutput>;
130
+ disassociateCertificate(args: DisassociateCertificateCommandInput, cb: (err: any, data?: DisassociateCertificateCommandOutput) => void): void;
131
+ disassociateCertificate(args: DisassociateCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateCertificateCommandOutput) => void): void;
132
+ /**
133
+ * @see {@link GetCertificateAssociationCommand}
134
+ */
135
+ getCertificateAssociation(args: GetCertificateAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetCertificateAssociationCommandOutput>;
136
+ getCertificateAssociation(args: GetCertificateAssociationCommandInput, cb: (err: any, data?: GetCertificateAssociationCommandOutput) => void): void;
137
+ getCertificateAssociation(args: GetCertificateAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCertificateAssociationCommandOutput) => void): void;
99
138
  /**
100
139
  * @see {@link GetInboundExternalLinkCommand}
101
140
  */
@@ -108,6 +147,12 @@ export interface RTBFabric {
108
147
  getLink(args: GetLinkCommandInput, options?: __HttpHandlerOptions): Promise<GetLinkCommandOutput>;
109
148
  getLink(args: GetLinkCommandInput, cb: (err: any, data?: GetLinkCommandOutput) => void): void;
110
149
  getLink(args: GetLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLinkCommandOutput) => void): void;
150
+ /**
151
+ * @see {@link GetLinkRoutingRuleCommand}
152
+ */
153
+ getLinkRoutingRule(args: GetLinkRoutingRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetLinkRoutingRuleCommandOutput>;
154
+ getLinkRoutingRule(args: GetLinkRoutingRuleCommandInput, cb: (err: any, data?: GetLinkRoutingRuleCommandOutput) => void): void;
155
+ getLinkRoutingRule(args: GetLinkRoutingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLinkRoutingRuleCommandOutput) => void): void;
111
156
  /**
112
157
  * @see {@link GetOutboundExternalLinkCommand}
113
158
  */
@@ -126,6 +171,18 @@ export interface RTBFabric {
126
171
  getResponderGateway(args: GetResponderGatewayCommandInput, options?: __HttpHandlerOptions): Promise<GetResponderGatewayCommandOutput>;
127
172
  getResponderGateway(args: GetResponderGatewayCommandInput, cb: (err: any, data?: GetResponderGatewayCommandOutput) => void): void;
128
173
  getResponderGateway(args: GetResponderGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResponderGatewayCommandOutput) => void): void;
174
+ /**
175
+ * @see {@link ListCertificateAssociationsCommand}
176
+ */
177
+ listCertificateAssociations(args: ListCertificateAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCertificateAssociationsCommandOutput>;
178
+ listCertificateAssociations(args: ListCertificateAssociationsCommandInput, cb: (err: any, data?: ListCertificateAssociationsCommandOutput) => void): void;
179
+ listCertificateAssociations(args: ListCertificateAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCertificateAssociationsCommandOutput) => void): void;
180
+ /**
181
+ * @see {@link ListLinkRoutingRulesCommand}
182
+ */
183
+ listLinkRoutingRules(args: ListLinkRoutingRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListLinkRoutingRulesCommandOutput>;
184
+ listLinkRoutingRules(args: ListLinkRoutingRulesCommandInput, cb: (err: any, data?: ListLinkRoutingRulesCommandOutput) => void): void;
185
+ listLinkRoutingRules(args: ListLinkRoutingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLinkRoutingRulesCommandOutput) => void): void;
129
186
  /**
130
187
  * @see {@link ListLinksCommand}
131
188
  */
@@ -182,6 +239,12 @@ export interface RTBFabric {
182
239
  updateLinkModuleFlow(args: UpdateLinkModuleFlowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLinkModuleFlowCommandOutput>;
183
240
  updateLinkModuleFlow(args: UpdateLinkModuleFlowCommandInput, cb: (err: any, data?: UpdateLinkModuleFlowCommandOutput) => void): void;
184
241
  updateLinkModuleFlow(args: UpdateLinkModuleFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLinkModuleFlowCommandOutput) => void): void;
242
+ /**
243
+ * @see {@link UpdateLinkRoutingRuleCommand}
244
+ */
245
+ updateLinkRoutingRule(args: UpdateLinkRoutingRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLinkRoutingRuleCommandOutput>;
246
+ updateLinkRoutingRule(args: UpdateLinkRoutingRuleCommandInput, cb: (err: any, data?: UpdateLinkRoutingRuleCommandOutput) => void): void;
247
+ updateLinkRoutingRule(args: UpdateLinkRoutingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLinkRoutingRuleCommandOutput) => void): void;
185
248
  /**
186
249
  * @see {@link UpdateRequesterGatewayCommand}
187
250
  */
@@ -194,6 +257,20 @@ export interface RTBFabric {
194
257
  updateResponderGateway(args: UpdateResponderGatewayCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResponderGatewayCommandOutput>;
195
258
  updateResponderGateway(args: UpdateResponderGatewayCommandInput, cb: (err: any, data?: UpdateResponderGatewayCommandOutput) => void): void;
196
259
  updateResponderGateway(args: UpdateResponderGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResponderGatewayCommandOutput) => void): void;
260
+ /**
261
+ * @see {@link ListCertificateAssociationsCommand}
262
+ * @param args - command input.
263
+ * @param paginationConfig - optional pagination config.
264
+ * @returns AsyncIterable of {@link ListCertificateAssociationsCommandOutput}.
265
+ */
266
+ paginateListCertificateAssociations(args: ListCertificateAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCertificateAssociationsCommandOutput>;
267
+ /**
268
+ * @see {@link ListLinkRoutingRulesCommand}
269
+ * @param args - command input.
270
+ * @param paginationConfig - optional pagination config.
271
+ * @returns AsyncIterable of {@link ListLinkRoutingRulesCommandOutput}.
272
+ */
273
+ paginateListLinkRoutingRules(args: ListLinkRoutingRulesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLinkRoutingRulesCommandOutput>;
197
274
  /**
198
275
  * @see {@link ListLinksCommand}
199
276
  * @param args - command input.
@@ -215,6 +292,18 @@ export interface RTBFabric {
215
292
  * @returns AsyncIterable of {@link ListResponderGatewaysCommandOutput}.
216
293
  */
217
294
  paginateListResponderGateways(args?: ListResponderGatewaysCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListResponderGatewaysCommandOutput>;
295
+ /**
296
+ * @see {@link GetCertificateAssociationCommand}
297
+ * @param args - command input.
298
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
299
+ */
300
+ waitUntilCertificateAssociated(args: GetCertificateAssociationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RTBFabric>, "client">): Promise<WaiterResult<GetCertificateAssociationCommandOutput>>;
301
+ /**
302
+ * @see {@link GetCertificateAssociationCommand}
303
+ * @param args - command input.
304
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
305
+ */
306
+ waitUntilCertificateDisassociated(args: GetCertificateAssociationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RTBFabric>, "client">): Promise<WaiterResult<GetCertificateAssociationCommandOutput | ResourceNotFoundException>>;
218
307
  /**
219
308
  * @see {@link GetInboundExternalLinkCommand}
220
309
  * @param args - command input.
@@ -245,6 +334,18 @@ export interface RTBFabric {
245
334
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
246
335
  */
247
336
  waitUntilLinkDeleted(args: GetLinkCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RTBFabric>, "client">): Promise<WaiterResult<GetLinkCommandOutput>>;
337
+ /**
338
+ * @see {@link GetLinkRoutingRuleCommand}
339
+ * @param args - command input.
340
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
341
+ */
342
+ waitUntilLinkRoutingRuleActive(args: GetLinkRoutingRuleCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RTBFabric>, "client">): Promise<WaiterResult<GetLinkRoutingRuleCommandOutput>>;
343
+ /**
344
+ * @see {@link GetLinkRoutingRuleCommand}
345
+ * @param args - command input.
346
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
347
+ */
348
+ waitUntilLinkRoutingRuleDeleted(args: GetLinkRoutingRuleCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RTBFabric>, "client">): Promise<WaiterResult<GetLinkRoutingRuleCommandOutput | ResourceNotFoundException>>;
248
349
  /**
249
350
  * @see {@link GetOutboundExternalLinkCommand}
250
351
  * @param args - command input.
@@ -1,28 +1,36 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
7
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
8
8
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import type { AcceptLinkCommandInput, AcceptLinkCommandOutput } from "./commands/AcceptLinkCommand";
11
+ import type { AssociateCertificateCommandInput, AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
11
12
  import type { CreateInboundExternalLinkCommandInput, CreateInboundExternalLinkCommandOutput } from "./commands/CreateInboundExternalLinkCommand";
12
13
  import type { CreateLinkCommandInput, CreateLinkCommandOutput } from "./commands/CreateLinkCommand";
14
+ import type { CreateLinkRoutingRuleCommandInput, CreateLinkRoutingRuleCommandOutput } from "./commands/CreateLinkRoutingRuleCommand";
13
15
  import type { CreateOutboundExternalLinkCommandInput, CreateOutboundExternalLinkCommandOutput } from "./commands/CreateOutboundExternalLinkCommand";
14
16
  import type { CreateRequesterGatewayCommandInput, CreateRequesterGatewayCommandOutput } from "./commands/CreateRequesterGatewayCommand";
15
17
  import type { CreateResponderGatewayCommandInput, CreateResponderGatewayCommandOutput } from "./commands/CreateResponderGatewayCommand";
16
18
  import type { DeleteInboundExternalLinkCommandInput, DeleteInboundExternalLinkCommandOutput } from "./commands/DeleteInboundExternalLinkCommand";
17
19
  import type { DeleteLinkCommandInput, DeleteLinkCommandOutput } from "./commands/DeleteLinkCommand";
20
+ import type { DeleteLinkRoutingRuleCommandInput, DeleteLinkRoutingRuleCommandOutput } from "./commands/DeleteLinkRoutingRuleCommand";
18
21
  import type { DeleteOutboundExternalLinkCommandInput, DeleteOutboundExternalLinkCommandOutput } from "./commands/DeleteOutboundExternalLinkCommand";
19
22
  import type { DeleteRequesterGatewayCommandInput, DeleteRequesterGatewayCommandOutput } from "./commands/DeleteRequesterGatewayCommand";
20
23
  import type { DeleteResponderGatewayCommandInput, DeleteResponderGatewayCommandOutput } from "./commands/DeleteResponderGatewayCommand";
24
+ import type { DisassociateCertificateCommandInput, DisassociateCertificateCommandOutput } from "./commands/DisassociateCertificateCommand";
25
+ import type { GetCertificateAssociationCommandInput, GetCertificateAssociationCommandOutput } from "./commands/GetCertificateAssociationCommand";
21
26
  import type { GetInboundExternalLinkCommandInput, GetInboundExternalLinkCommandOutput } from "./commands/GetInboundExternalLinkCommand";
22
27
  import type { GetLinkCommandInput, GetLinkCommandOutput } from "./commands/GetLinkCommand";
28
+ import type { GetLinkRoutingRuleCommandInput, GetLinkRoutingRuleCommandOutput } from "./commands/GetLinkRoutingRuleCommand";
23
29
  import type { GetOutboundExternalLinkCommandInput, GetOutboundExternalLinkCommandOutput } from "./commands/GetOutboundExternalLinkCommand";
24
30
  import type { GetRequesterGatewayCommandInput, GetRequesterGatewayCommandOutput } from "./commands/GetRequesterGatewayCommand";
25
31
  import type { GetResponderGatewayCommandInput, GetResponderGatewayCommandOutput } from "./commands/GetResponderGatewayCommand";
32
+ import type { ListCertificateAssociationsCommandInput, ListCertificateAssociationsCommandOutput } from "./commands/ListCertificateAssociationsCommand";
33
+ import type { ListLinkRoutingRulesCommandInput, ListLinkRoutingRulesCommandOutput } from "./commands/ListLinkRoutingRulesCommand";
26
34
  import type { ListLinksCommandInput, ListLinksCommandOutput } from "./commands/ListLinksCommand";
27
35
  import type { ListRequesterGatewaysCommandInput, ListRequesterGatewaysCommandOutput } from "./commands/ListRequesterGatewaysCommand";
28
36
  import type { ListResponderGatewaysCommandInput, ListResponderGatewaysCommandOutput } from "./commands/ListResponderGatewaysCommand";
@@ -32,6 +40,7 @@ import type { TagResourceCommandInput, TagResourceCommandOutput } from "./comman
32
40
  import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
33
41
  import type { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "./commands/UpdateLinkCommand";
34
42
  import type { UpdateLinkModuleFlowCommandInput, UpdateLinkModuleFlowCommandOutput } from "./commands/UpdateLinkModuleFlowCommand";
43
+ import type { UpdateLinkRoutingRuleCommandInput, UpdateLinkRoutingRuleCommandOutput } from "./commands/UpdateLinkRoutingRuleCommand";
35
44
  import type { UpdateRequesterGatewayCommandInput, UpdateRequesterGatewayCommandOutput } from "./commands/UpdateRequesterGatewayCommand";
36
45
  import type { UpdateResponderGatewayCommandInput, UpdateResponderGatewayCommandOutput } from "./commands/UpdateResponderGatewayCommand";
37
46
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
@@ -40,11 +49,11 @@ export { __Client };
40
49
  /**
41
50
  * @public
42
51
  */
43
- export type ServiceInputTypes = AcceptLinkCommandInput | CreateInboundExternalLinkCommandInput | CreateLinkCommandInput | CreateOutboundExternalLinkCommandInput | CreateRequesterGatewayCommandInput | CreateResponderGatewayCommandInput | DeleteInboundExternalLinkCommandInput | DeleteLinkCommandInput | DeleteOutboundExternalLinkCommandInput | DeleteRequesterGatewayCommandInput | DeleteResponderGatewayCommandInput | GetInboundExternalLinkCommandInput | GetLinkCommandInput | GetOutboundExternalLinkCommandInput | GetRequesterGatewayCommandInput | GetResponderGatewayCommandInput | ListLinksCommandInput | ListRequesterGatewaysCommandInput | ListResponderGatewaysCommandInput | ListTagsForResourceCommandInput | RejectLinkCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLinkCommandInput | UpdateLinkModuleFlowCommandInput | UpdateRequesterGatewayCommandInput | UpdateResponderGatewayCommandInput;
52
+ export type ServiceInputTypes = AcceptLinkCommandInput | AssociateCertificateCommandInput | CreateInboundExternalLinkCommandInput | CreateLinkCommandInput | CreateLinkRoutingRuleCommandInput | CreateOutboundExternalLinkCommandInput | CreateRequesterGatewayCommandInput | CreateResponderGatewayCommandInput | DeleteInboundExternalLinkCommandInput | DeleteLinkCommandInput | DeleteLinkRoutingRuleCommandInput | DeleteOutboundExternalLinkCommandInput | DeleteRequesterGatewayCommandInput | DeleteResponderGatewayCommandInput | DisassociateCertificateCommandInput | GetCertificateAssociationCommandInput | GetInboundExternalLinkCommandInput | GetLinkCommandInput | GetLinkRoutingRuleCommandInput | GetOutboundExternalLinkCommandInput | GetRequesterGatewayCommandInput | GetResponderGatewayCommandInput | ListCertificateAssociationsCommandInput | ListLinkRoutingRulesCommandInput | ListLinksCommandInput | ListRequesterGatewaysCommandInput | ListResponderGatewaysCommandInput | ListTagsForResourceCommandInput | RejectLinkCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLinkCommandInput | UpdateLinkModuleFlowCommandInput | UpdateLinkRoutingRuleCommandInput | UpdateRequesterGatewayCommandInput | UpdateResponderGatewayCommandInput;
44
53
  /**
45
54
  * @public
46
55
  */
47
- export type ServiceOutputTypes = AcceptLinkCommandOutput | CreateInboundExternalLinkCommandOutput | CreateLinkCommandOutput | CreateOutboundExternalLinkCommandOutput | CreateRequesterGatewayCommandOutput | CreateResponderGatewayCommandOutput | DeleteInboundExternalLinkCommandOutput | DeleteLinkCommandOutput | DeleteOutboundExternalLinkCommandOutput | DeleteRequesterGatewayCommandOutput | DeleteResponderGatewayCommandOutput | GetInboundExternalLinkCommandOutput | GetLinkCommandOutput | GetOutboundExternalLinkCommandOutput | GetRequesterGatewayCommandOutput | GetResponderGatewayCommandOutput | ListLinksCommandOutput | ListRequesterGatewaysCommandOutput | ListResponderGatewaysCommandOutput | ListTagsForResourceCommandOutput | RejectLinkCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLinkCommandOutput | UpdateLinkModuleFlowCommandOutput | UpdateRequesterGatewayCommandOutput | UpdateResponderGatewayCommandOutput;
56
+ export type ServiceOutputTypes = AcceptLinkCommandOutput | AssociateCertificateCommandOutput | CreateInboundExternalLinkCommandOutput | CreateLinkCommandOutput | CreateLinkRoutingRuleCommandOutput | CreateOutboundExternalLinkCommandOutput | CreateRequesterGatewayCommandOutput | CreateResponderGatewayCommandOutput | DeleteInboundExternalLinkCommandOutput | DeleteLinkCommandOutput | DeleteLinkRoutingRuleCommandOutput | DeleteOutboundExternalLinkCommandOutput | DeleteRequesterGatewayCommandOutput | DeleteResponderGatewayCommandOutput | DisassociateCertificateCommandOutput | GetCertificateAssociationCommandOutput | GetInboundExternalLinkCommandOutput | GetLinkCommandOutput | GetLinkRoutingRuleCommandOutput | GetOutboundExternalLinkCommandOutput | GetRequesterGatewayCommandOutput | GetResponderGatewayCommandOutput | ListCertificateAssociationsCommandOutput | ListLinkRoutingRulesCommandOutput | ListLinksCommandOutput | ListRequesterGatewaysCommandOutput | ListResponderGatewaysCommandOutput | ListTagsForResourceCommandOutput | RejectLinkCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLinkCommandOutput | UpdateLinkModuleFlowCommandOutput | UpdateLinkRoutingRuleCommandOutput | UpdateRequesterGatewayCommandOutput | UpdateResponderGatewayCommandOutput;
48
57
  /**
49
58
  * @public
50
59
  */
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AcceptLinkRequest, AcceptLinkResponse } from "../models/models_0";
4
4
  import type { RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RTBFabricClient";
@@ -22,9 +22,11 @@ export interface AcceptLinkCommandInput extends AcceptLinkRequest {
22
22
  export interface AcceptLinkCommandOutput extends AcceptLinkResponse, __MetadataBearer {
23
23
  }
24
24
  declare const AcceptLinkCommand_base: {
25
- new (input: AcceptLinkCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptLinkCommandInput, AcceptLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AcceptLinkCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptLinkCommandInput, AcceptLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: AcceptLinkCommandInput): import("@smithy/core/client").CommandImpl<AcceptLinkCommandInput, AcceptLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AcceptLinkCommandInput): import("@smithy/core/client").CommandImpl<AcceptLinkCommandInput, AcceptLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Accepts a link request between gateways.</p> <p>When a requester gateway requests to link with a responder gateway, the responder can use this operation to accept the link request and establish the connection.</p>
@@ -0,0 +1,120 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { AssociateCertificateRequest, AssociateCertificateResponse } from "../models/models_0";
4
+ import type { RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RTBFabricClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AssociateCertificateCommand}.
14
+ */
15
+ export interface AssociateCertificateCommandInput extends AssociateCertificateRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateCertificateCommand}.
21
+ */
22
+ export interface AssociateCertificateCommandOutput extends AssociateCertificateResponse, __MetadataBearer {
23
+ }
24
+ declare const AssociateCertificateCommand_base: {
25
+ new (input: AssociateCertificateCommandInput): import("@smithy/core/client").CommandImpl<AssociateCertificateCommandInput, AssociateCertificateCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssociateCertificateCommandInput): import("@smithy/core/client").CommandImpl<AssociateCertificateCommandInput, AssociateCertificateCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Associates an ACM certificate with a responder gateway.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { RTBFabricClient, AssociateCertificateCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
37
+ * // const { RTBFabricClient, AssociateCertificateCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
38
+ * // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
39
+ * const config = {}; // type is RTBFabricClientConfig
40
+ * const client = new RTBFabricClient(config);
41
+ * const input = { // AssociateCertificateRequest
42
+ * gatewayId: "STRING_VALUE", // required
43
+ * acmCertificateArn: "STRING_VALUE", // required
44
+ * clientToken: "STRING_VALUE", // required
45
+ * };
46
+ * const command = new AssociateCertificateCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // AssociateCertificateResponse
49
+ * // gatewayId: "STRING_VALUE", // required
50
+ * // acmCertificateArn: "STRING_VALUE", // required
51
+ * // status: "PENDING_ASSOCIATION" || "ASSOCIATED" || "PENDING_DISASSOCIATION" || "DISASSOCIATED" || "FAILED", // required
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param AssociateCertificateCommandInput - {@link AssociateCertificateCommandInput}
57
+ * @returns {@link AssociateCertificateCommandOutput}
58
+ * @see {@link AssociateCertificateCommandInput} for command's `input` shape.
59
+ * @see {@link AssociateCertificateCommandOutput} for command's `response` shape.
60
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
64
+ *
65
+ * @throws {@link ConflictException} (client fault)
66
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The request could not be completed because the resource does not exist.</p>
73
+ *
74
+ * @throws {@link ServiceQuotaExceededException} (client fault)
75
+ * <p>The request could not be completed because you exceeded a service quota.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
82
+ *
83
+ * @throws {@link RTBFabricServiceException}
84
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
85
+ *
86
+ *
87
+ * @example Associate a certificate with a responder gateway
88
+ * ```javascript
89
+ * // Associate an ACM certificate with a responder gateway
90
+ * const input = {
91
+ * acmCertificateArn: "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012",
92
+ * clientToken: "550e8400-e29b-41d4-a716-446655440000",
93
+ * gatewayId: "rtb-gw-12345678"
94
+ * };
95
+ * const command = new AssociateCertificateCommand(input);
96
+ * const response = await client.send(command);
97
+ * /* response is
98
+ * {
99
+ * acmCertificateArn: "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012",
100
+ * gatewayId: "rtb-gw-12345678",
101
+ * status: "PENDING_ASSOCIATION"
102
+ * }
103
+ * *\/
104
+ * ```
105
+ *
106
+ * @public
107
+ */
108
+ export declare class AssociateCertificateCommand extends AssociateCertificateCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: AssociateCertificateRequest;
113
+ output: AssociateCertificateResponse;
114
+ };
115
+ sdk: {
116
+ input: AssociateCertificateCommandInput;
117
+ output: AssociateCertificateCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CreateInboundExternalLinkRequest, CreateInboundExternalLinkResponse } from "../models/models_0";
4
4
  import type { RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RTBFabricClient";
@@ -22,9 +22,11 @@ export interface CreateInboundExternalLinkCommandInput extends CreateInboundExte
22
22
  export interface CreateInboundExternalLinkCommandOutput extends CreateInboundExternalLinkResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateInboundExternalLinkCommand_base: {
25
- new (input: CreateInboundExternalLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInboundExternalLinkCommandInput, CreateInboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateInboundExternalLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInboundExternalLinkCommandInput, CreateInboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateInboundExternalLinkCommandInput): import("@smithy/core/client").CommandImpl<CreateInboundExternalLinkCommandInput, CreateInboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateInboundExternalLinkCommandInput): import("@smithy/core/client").CommandImpl<CreateInboundExternalLinkCommandInput, CreateInboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates an inbound external link.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CreateLinkRequest, CreateLinkResponse } from "../models/models_0";
4
4
  import type { RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RTBFabricClient";
@@ -22,9 +22,11 @@ export interface CreateLinkCommandInput extends CreateLinkRequest {
22
22
  export interface CreateLinkCommandOutput extends CreateLinkResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateLinkCommand_base: {
25
- new (input: CreateLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLinkCommandInput, CreateLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLinkCommandInput, CreateLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateLinkCommandInput): import("@smithy/core/client").CommandImpl<CreateLinkCommandInput, CreateLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateLinkCommandInput): import("@smithy/core/client").CommandImpl<CreateLinkCommandInput, CreateLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a new link between gateways.</p> <p>Establishes a connection that allows gateways to communicate and exchange bid requests and responses.</p>