@aws-sdk/client-rtbfabric 3.915.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 (191) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +421 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +2476 -0
  7. package/dist-cjs/runtimeConfig.browser.js +39 -0
  8. package/dist-cjs/runtimeConfig.js +56 -0
  9. package/dist-cjs/runtimeConfig.native.js +15 -0
  10. package/dist-cjs/runtimeConfig.shared.js +34 -0
  11. package/dist-es/RTBFabric.js +61 -0
  12. package/dist-es/RTBFabricClient.js +48 -0
  13. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  14. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  15. package/dist-es/commands/AcceptLinkCommand.js +22 -0
  16. package/dist-es/commands/CreateInboundExternalLinkCommand.js +22 -0
  17. package/dist-es/commands/CreateLinkCommand.js +22 -0
  18. package/dist-es/commands/CreateOutboundExternalLinkCommand.js +22 -0
  19. package/dist-es/commands/CreateRequesterGatewayCommand.js +22 -0
  20. package/dist-es/commands/CreateResponderGatewayCommand.js +23 -0
  21. package/dist-es/commands/DeleteInboundExternalLinkCommand.js +22 -0
  22. package/dist-es/commands/DeleteLinkCommand.js +22 -0
  23. package/dist-es/commands/DeleteOutboundExternalLinkCommand.js +22 -0
  24. package/dist-es/commands/DeleteRequesterGatewayCommand.js +22 -0
  25. package/dist-es/commands/DeleteResponderGatewayCommand.js +22 -0
  26. package/dist-es/commands/GetInboundExternalLinkCommand.js +22 -0
  27. package/dist-es/commands/GetLinkCommand.js +22 -0
  28. package/dist-es/commands/GetOutboundExternalLinkCommand.js +22 -0
  29. package/dist-es/commands/GetRequesterGatewayCommand.js +22 -0
  30. package/dist-es/commands/GetResponderGatewayCommand.js +23 -0
  31. package/dist-es/commands/ListLinksCommand.js +22 -0
  32. package/dist-es/commands/ListRequesterGatewaysCommand.js +22 -0
  33. package/dist-es/commands/ListResponderGatewaysCommand.js +22 -0
  34. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  35. package/dist-es/commands/RejectLinkCommand.js +22 -0
  36. package/dist-es/commands/TagResourceCommand.js +22 -0
  37. package/dist-es/commands/UntagResourceCommand.js +22 -0
  38. package/dist-es/commands/UpdateLinkCommand.js +22 -0
  39. package/dist-es/commands/UpdateLinkModuleFlowCommand.js +22 -0
  40. package/dist-es/commands/UpdateRequesterGatewayCommand.js +22 -0
  41. package/dist-es/commands/UpdateResponderGatewayCommand.js +23 -0
  42. package/dist-es/commands/index.js +27 -0
  43. package/dist-es/endpoint/EndpointParameters.js +13 -0
  44. package/dist-es/endpoint/endpointResolver.js +14 -0
  45. package/dist-es/endpoint/ruleset.js +4 -0
  46. package/dist-es/extensionConfiguration.js +1 -0
  47. package/dist-es/index.js +7 -0
  48. package/dist-es/models/RTBFabricServiceException.js +8 -0
  49. package/dist-es/models/index.js +1 -0
  50. package/dist-es/models/models_0.js +219 -0
  51. package/dist-es/pagination/Interfaces.js +1 -0
  52. package/dist-es/pagination/ListLinksPaginator.js +4 -0
  53. package/dist-es/pagination/ListRequesterGatewaysPaginator.js +4 -0
  54. package/dist-es/pagination/ListResponderGatewaysPaginator.js +4 -0
  55. package/dist-es/pagination/index.js +4 -0
  56. package/dist-es/protocols/Aws_restJson1.js +1147 -0
  57. package/dist-es/runtimeConfig.browser.js +34 -0
  58. package/dist-es/runtimeConfig.js +51 -0
  59. package/dist-es/runtimeConfig.native.js +11 -0
  60. package/dist-es/runtimeConfig.shared.js +30 -0
  61. package/dist-es/runtimeExtensions.js +9 -0
  62. package/dist-es/waiters/index.js +8 -0
  63. package/dist-es/waiters/waitForInboundExternalLinkActive.js +67 -0
  64. package/dist-es/waiters/waitForLinkAccepted.js +58 -0
  65. package/dist-es/waiters/waitForLinkActive.js +58 -0
  66. package/dist-es/waiters/waitForOutboundExternalLinkActive.js +67 -0
  67. package/dist-es/waiters/waitForRequesterGatewayActive.js +49 -0
  68. package/dist-es/waiters/waitForRequesterGatewayDeleted.js +40 -0
  69. package/dist-es/waiters/waitForResponderGatewayActive.js +49 -0
  70. package/dist-es/waiters/waitForResponderGatewayDeleted.js +40 -0
  71. package/dist-types/RTBFabric.d.ts +201 -0
  72. package/dist-types/RTBFabricClient.d.ts +214 -0
  73. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  74. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  75. package/dist-types/commands/AcceptLinkCommand.d.ts +244 -0
  76. package/dist-types/commands/CreateInboundExternalLinkCommand.d.ts +134 -0
  77. package/dist-types/commands/CreateLinkCommand.d.ts +252 -0
  78. package/dist-types/commands/CreateOutboundExternalLinkCommand.d.ts +118 -0
  79. package/dist-types/commands/CreateRequesterGatewayCommand.d.ts +131 -0
  80. package/dist-types/commands/CreateResponderGatewayCommand.d.ts +155 -0
  81. package/dist-types/commands/DeleteInboundExternalLinkCommand.d.ts +111 -0
  82. package/dist-types/commands/DeleteLinkCommand.d.ts +111 -0
  83. package/dist-types/commands/DeleteOutboundExternalLinkCommand.d.ts +111 -0
  84. package/dist-types/commands/DeleteRequesterGatewayCommand.d.ts +106 -0
  85. package/dist-types/commands/DeleteResponderGatewayCommand.d.ts +106 -0
  86. package/dist-types/commands/GetInboundExternalLinkCommand.d.ts +214 -0
  87. package/dist-types/commands/GetLinkCommand.d.ts +226 -0
  88. package/dist-types/commands/GetOutboundExternalLinkCommand.d.ts +119 -0
  89. package/dist-types/commands/GetRequesterGatewayCommand.d.ts +136 -0
  90. package/dist-types/commands/GetResponderGatewayCommand.d.ts +162 -0
  91. package/dist-types/commands/ListLinksCommand.d.ts +225 -0
  92. package/dist-types/commands/ListRequesterGatewaysCommand.d.ts +122 -0
  93. package/dist-types/commands/ListResponderGatewaysCommand.d.ts +122 -0
  94. package/dist-types/commands/ListTagsForResourceCommand.d.ts +109 -0
  95. package/dist-types/commands/RejectLinkCommand.d.ts +215 -0
  96. package/dist-types/commands/TagResourceCommand.d.ts +107 -0
  97. package/dist-types/commands/UntagResourceCommand.d.ts +107 -0
  98. package/dist-types/commands/UpdateLinkCommand.d.ts +127 -0
  99. package/dist-types/commands/UpdateLinkModuleFlowCommand.d.ts +173 -0
  100. package/dist-types/commands/UpdateRequesterGatewayCommand.d.ts +113 -0
  101. package/dist-types/commands/UpdateResponderGatewayCommand.d.ts +139 -0
  102. package/dist-types/commands/index.d.ts +27 -0
  103. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  104. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  105. package/dist-types/endpoint/ruleset.d.ts +2 -0
  106. package/dist-types/extensionConfiguration.d.ts +9 -0
  107. package/dist-types/index.d.ts +15 -0
  108. package/dist-types/models/RTBFabricServiceException.d.ts +14 -0
  109. package/dist-types/models/index.d.ts +1 -0
  110. package/dist-types/models/models_0.d.ts +2011 -0
  111. package/dist-types/pagination/Interfaces.d.ts +8 -0
  112. package/dist-types/pagination/ListLinksPaginator.d.ts +7 -0
  113. package/dist-types/pagination/ListRequesterGatewaysPaginator.d.ts +7 -0
  114. package/dist-types/pagination/ListResponderGatewaysPaginator.d.ts +7 -0
  115. package/dist-types/pagination/index.d.ts +4 -0
  116. package/dist-types/protocols/Aws_restJson1.d.ts +245 -0
  117. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  118. package/dist-types/runtimeConfig.d.ts +50 -0
  119. package/dist-types/runtimeConfig.native.d.ts +49 -0
  120. package/dist-types/runtimeConfig.shared.d.ts +25 -0
  121. package/dist-types/runtimeExtensions.d.ts +17 -0
  122. package/dist-types/ts3.4/RTBFabric.d.ts +466 -0
  123. package/dist-types/ts3.4/RTBFabricClient.d.ts +281 -0
  124. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  125. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  126. package/dist-types/ts3.4/commands/AcceptLinkCommand.d.ts +47 -0
  127. package/dist-types/ts3.4/commands/CreateInboundExternalLinkCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +47 -0
  129. package/dist-types/ts3.4/commands/CreateOutboundExternalLinkCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/CreateRequesterGatewayCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/CreateResponderGatewayCommand.d.ts +51 -0
  132. package/dist-types/ts3.4/commands/DeleteInboundExternalLinkCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +47 -0
  134. package/dist-types/ts3.4/commands/DeleteOutboundExternalLinkCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/DeleteRequesterGatewayCommand.d.ts +51 -0
  136. package/dist-types/ts3.4/commands/DeleteResponderGatewayCommand.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/GetInboundExternalLinkCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +43 -0
  139. package/dist-types/ts3.4/commands/GetOutboundExternalLinkCommand.d.ts +51 -0
  140. package/dist-types/ts3.4/commands/GetRequesterGatewayCommand.d.ts +51 -0
  141. package/dist-types/ts3.4/commands/GetResponderGatewayCommand.d.ts +51 -0
  142. package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +47 -0
  143. package/dist-types/ts3.4/commands/ListRequesterGatewaysCommand.d.ts +51 -0
  144. package/dist-types/ts3.4/commands/ListResponderGatewaysCommand.d.ts +51 -0
  145. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  146. package/dist-types/ts3.4/commands/RejectLinkCommand.d.ts +47 -0
  147. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  148. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  149. package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +47 -0
  150. package/dist-types/ts3.4/commands/UpdateLinkModuleFlowCommand.d.ts +51 -0
  151. package/dist-types/ts3.4/commands/UpdateRequesterGatewayCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/UpdateResponderGatewayCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  154. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  155. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  156. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  157. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  158. package/dist-types/ts3.4/index.d.ts +10 -0
  159. package/dist-types/ts3.4/models/RTBFabricServiceException.d.ts +9 -0
  160. package/dist-types/ts3.4/models/index.d.ts +1 -0
  161. package/dist-types/ts3.4/models/models_0.d.ts +618 -0
  162. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  163. package/dist-types/ts3.4/pagination/ListLinksPaginator.d.ts +11 -0
  164. package/dist-types/ts3.4/pagination/ListRequesterGatewaysPaginator.d.ts +11 -0
  165. package/dist-types/ts3.4/pagination/ListResponderGatewaysPaginator.d.ts +11 -0
  166. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  167. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +329 -0
  168. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +92 -0
  169. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  170. package/dist-types/ts3.4/runtimeConfig.native.d.ts +96 -0
  171. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  172. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  173. package/dist-types/ts3.4/waiters/index.d.ts +8 -0
  174. package/dist-types/ts3.4/waiters/waitForInboundExternalLinkActive.d.ts +11 -0
  175. package/dist-types/ts3.4/waiters/waitForLinkAccepted.d.ts +11 -0
  176. package/dist-types/ts3.4/waiters/waitForLinkActive.d.ts +11 -0
  177. package/dist-types/ts3.4/waiters/waitForOutboundExternalLinkActive.d.ts +11 -0
  178. package/dist-types/ts3.4/waiters/waitForRequesterGatewayActive.d.ts +11 -0
  179. package/dist-types/ts3.4/waiters/waitForRequesterGatewayDeleted.d.ts +11 -0
  180. package/dist-types/ts3.4/waiters/waitForResponderGatewayActive.d.ts +11 -0
  181. package/dist-types/ts3.4/waiters/waitForResponderGatewayDeleted.d.ts +11 -0
  182. package/dist-types/waiters/index.d.ts +8 -0
  183. package/dist-types/waiters/waitForInboundExternalLinkActive.d.ts +14 -0
  184. package/dist-types/waiters/waitForLinkAccepted.d.ts +14 -0
  185. package/dist-types/waiters/waitForLinkActive.d.ts +14 -0
  186. package/dist-types/waiters/waitForOutboundExternalLinkActive.d.ts +14 -0
  187. package/dist-types/waiters/waitForRequesterGatewayActive.d.ts +14 -0
  188. package/dist-types/waiters/waitForRequesterGatewayDeleted.d.ts +14 -0
  189. package/dist-types/waiters/waitForResponderGatewayActive.d.ts +14 -0
  190. package/dist-types/waiters/waitForResponderGatewayDeleted.d.ts +14 -0
  191. package/package.json +101 -0
@@ -0,0 +1,226 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetLinkRequest, GetLinkResponse } from "../models/models_0";
4
+ import { 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 GetLinkCommand}.
14
+ */
15
+ export interface GetLinkCommandInput extends GetLinkRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetLinkCommand}.
21
+ */
22
+ export interface GetLinkCommandOutput extends GetLinkResponse, __MetadataBearer {
23
+ }
24
+ declare const GetLinkCommand_base: {
25
+ new (input: GetLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetLinkCommandInput, GetLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetLinkCommandInput, GetLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a link between RTB applications.</p> <p>Returns detailed information about the link configuration, status, and associated RTB applications.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, GetLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, GetLinkCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
36
+ * // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
37
+ * const config = {}; // type is RTBFabricClientConfig
38
+ * const client = new RTBFabricClient(config);
39
+ * const input = { // GetLinkRequest
40
+ * gatewayId: "STRING_VALUE", // required
41
+ * linkId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new GetLinkCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetLinkResponse
46
+ * // gatewayId: "STRING_VALUE", // required
47
+ * // peerGatewayId: "STRING_VALUE", // required
48
+ * // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
49
+ * // createdAt: new Date("TIMESTAMP"), // required
50
+ * // updatedAt: new Date("TIMESTAMP"), // required
51
+ * // direction: "RESPONSE" || "REQUEST",
52
+ * // flowModules: [ // ModuleConfigurationList
53
+ * // { // ModuleConfiguration
54
+ * // version: "STRING_VALUE",
55
+ * // name: "STRING_VALUE", // required
56
+ * // dependsOn: [ // FlowModuleNameList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // moduleParameters: { // ModuleParameters Union: only one key present
60
+ * // noBid: { // NoBidModuleParameters
61
+ * // reason: "STRING_VALUE",
62
+ * // reasonCode: Number("int"),
63
+ * // passThroughPercentage: Number("float"),
64
+ * // },
65
+ * // openRtbAttribute: { // OpenRtbAttributeModuleParameters
66
+ * // filterType: "INCLUDE" || "EXCLUDE", // required
67
+ * // filterConfiguration: [ // FilterConfiguration // required
68
+ * // { // Filter
69
+ * // criteria: [ // FilterCriteria // required
70
+ * // { // FilterCriterion
71
+ * // path: "STRING_VALUE", // required
72
+ * // values: [ // ValueList // required
73
+ * // "STRING_VALUE",
74
+ * // ],
75
+ * // },
76
+ * // ],
77
+ * // },
78
+ * // ],
79
+ * // action: { // Action Union: only one key present
80
+ * // noBid: { // NoBidAction
81
+ * // noBidReasonCode: Number("int"),
82
+ * // },
83
+ * // headerTag: { // HeaderTagAction
84
+ * // name: "STRING_VALUE", // required
85
+ * // value: "STRING_VALUE", // required
86
+ * // },
87
+ * // },
88
+ * // holdbackPercentage: Number("float"), // required
89
+ * // },
90
+ * // },
91
+ * // },
92
+ * // ],
93
+ * // pendingFlowModules: [
94
+ * // {
95
+ * // version: "STRING_VALUE",
96
+ * // name: "STRING_VALUE", // required
97
+ * // dependsOn: [
98
+ * // "STRING_VALUE",
99
+ * // ],
100
+ * // moduleParameters: {// Union: only one key present
101
+ * // noBid: {
102
+ * // reason: "STRING_VALUE",
103
+ * // reasonCode: Number("int"),
104
+ * // passThroughPercentage: Number("float"),
105
+ * // },
106
+ * // openRtbAttribute: {
107
+ * // filterType: "INCLUDE" || "EXCLUDE", // required
108
+ * // filterConfiguration: [ // required
109
+ * // {
110
+ * // criteria: [ // required
111
+ * // {
112
+ * // path: "STRING_VALUE", // required
113
+ * // values: [ // required
114
+ * // "STRING_VALUE",
115
+ * // ],
116
+ * // },
117
+ * // ],
118
+ * // },
119
+ * // ],
120
+ * // action: {// Union: only one key present
121
+ * // noBid: {
122
+ * // noBidReasonCode: Number("int"),
123
+ * // },
124
+ * // headerTag: {
125
+ * // name: "STRING_VALUE", // required
126
+ * // value: "STRING_VALUE", // required
127
+ * // },
128
+ * // },
129
+ * // holdbackPercentage: Number("float"), // required
130
+ * // },
131
+ * // },
132
+ * // },
133
+ * // ],
134
+ * // attributes: { // LinkAttributes
135
+ * // responderErrorMasking: [ // ResponderErrorMasking
136
+ * // { // ResponderErrorMaskingForHttpCode
137
+ * // httpCode: "STRING_VALUE", // required
138
+ * // action: "NO_BID" || "PASSTHROUGH", // required
139
+ * // loggingTypes: [ // ResponderErrorMaskingLoggingTypes // required
140
+ * // "NONE" || "METRIC" || "RESPONSE",
141
+ * // ],
142
+ * // responseLoggingPercentage: Number("float"),
143
+ * // },
144
+ * // ],
145
+ * // customerProvidedId: "STRING_VALUE",
146
+ * // },
147
+ * // linkId: "STRING_VALUE", // required
148
+ * // tags: { // TagsMap
149
+ * // "<keys>": "STRING_VALUE",
150
+ * // },
151
+ * // logSettings: { // LinkLogSettings
152
+ * // applicationLogs: { // LinkApplicationLogConfiguration
153
+ * // sampling: { // LinkApplicationLogSampling
154
+ * // errorLog: Number("double"), // required
155
+ * // filterLog: Number("double"), // required
156
+ * // },
157
+ * // },
158
+ * // },
159
+ * // };
160
+ *
161
+ * ```
162
+ *
163
+ * @param GetLinkCommandInput - {@link GetLinkCommandInput}
164
+ * @returns {@link GetLinkCommandOutput}
165
+ * @see {@link GetLinkCommandInput} for command's `input` shape.
166
+ * @see {@link GetLinkCommandOutput} for command's `response` shape.
167
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
168
+ *
169
+ * @throws {@link AccessDeniedException} (client fault)
170
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
171
+ *
172
+ * @throws {@link ConflictException} (client fault)
173
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
174
+ *
175
+ * @throws {@link InternalServerException} (server fault)
176
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
177
+ *
178
+ * @throws {@link ResourceNotFoundException} (client fault)
179
+ * <p>The request could not be completed because the resource does not exist.</p>
180
+ *
181
+ * @throws {@link ThrottlingException} (client fault)
182
+ * <p>The request was denied due to request throttling.</p>
183
+ *
184
+ * @throws {@link ValidationException} (client fault)
185
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
186
+ *
187
+ * @throws {@link RTBFabricServiceException}
188
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
189
+ *
190
+ *
191
+ * @example Get link details
192
+ * ```javascript
193
+ * // Retrieves details of a specific link
194
+ * const input = {
195
+ * gatewayId: "rtb-gw-12345678",
196
+ * linkId: "link-87654321"
197
+ * };
198
+ * const command = new GetLinkCommand(input);
199
+ * const response = await client.send(command);
200
+ * /* response is
201
+ * {
202
+ * createdAt: "2024-01-15T10:30:00Z",
203
+ * gatewayId: "rtb-gw-12345678",
204
+ * linkId: "link-87654321",
205
+ * peerGatewayId: "rtb-gw-87654321",
206
+ * status: "ACTIVE",
207
+ * updatedAt: "2024-01-15T10:35:00Z"
208
+ * }
209
+ * *\/
210
+ * ```
211
+ *
212
+ * @public
213
+ */
214
+ export declare class GetLinkCommand extends GetLinkCommand_base {
215
+ /** @internal type navigation helper, not in runtime. */
216
+ protected static __types: {
217
+ api: {
218
+ input: GetLinkRequest;
219
+ output: GetLinkResponse;
220
+ };
221
+ sdk: {
222
+ input: GetLinkCommandInput;
223
+ output: GetLinkCommandOutput;
224
+ };
225
+ };
226
+ }
@@ -0,0 +1,119 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetOutboundExternalLinkRequest, GetOutboundExternalLinkResponse } from "../models/models_0";
4
+ import { 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 GetOutboundExternalLinkCommand}.
14
+ */
15
+ export interface GetOutboundExternalLinkCommandInput extends GetOutboundExternalLinkRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetOutboundExternalLinkCommand}.
21
+ */
22
+ export interface GetOutboundExternalLinkCommandOutput extends GetOutboundExternalLinkResponse, __MetadataBearer {
23
+ }
24
+ declare const GetOutboundExternalLinkCommand_base: {
25
+ new (input: GetOutboundExternalLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetOutboundExternalLinkCommandInput, GetOutboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetOutboundExternalLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetOutboundExternalLinkCommandInput, GetOutboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about an outbound external link.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, GetOutboundExternalLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, GetOutboundExternalLinkCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
36
+ * // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
37
+ * const config = {}; // type is RTBFabricClientConfig
38
+ * const client = new RTBFabricClient(config);
39
+ * const input = { // GetOutboundExternalLinkRequest
40
+ * gatewayId: "STRING_VALUE", // required
41
+ * linkId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new GetOutboundExternalLinkCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetOutboundExternalLinkResponse
46
+ * // gatewayId: "STRING_VALUE", // required
47
+ * // linkId: "STRING_VALUE", // required
48
+ * // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
49
+ * // publicEndpoint: "STRING_VALUE", // required
50
+ * // createdAt: new Date("TIMESTAMP"),
51
+ * // updatedAt: new Date("TIMESTAMP"),
52
+ * // tags: { // TagsMap
53
+ * // "<keys>": "STRING_VALUE",
54
+ * // },
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetOutboundExternalLinkCommandInput - {@link GetOutboundExternalLinkCommandInput}
60
+ * @returns {@link GetOutboundExternalLinkCommandOutput}
61
+ * @see {@link GetOutboundExternalLinkCommandInput} for command's `input` shape.
62
+ * @see {@link GetOutboundExternalLinkCommandOutput} for command's `response` shape.
63
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</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 ThrottlingException} (client fault)
75
+ * <p>The request was denied due to request throttling.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
79
+ *
80
+ * @throws {@link RTBFabricServiceException}
81
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
82
+ *
83
+ *
84
+ * @example Get outbound external link details
85
+ * ```javascript
86
+ * // Get details of a specific outbound external link
87
+ * const input = {
88
+ * gatewayId: "rtb-gw-12345678",
89
+ * linkId: "link-87654321"
90
+ * };
91
+ * const command = new GetOutboundExternalLinkCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * {
95
+ * createdAt: "2024-01-15T10:30:00Z",
96
+ * gatewayId: "rtb-gw-12345678",
97
+ * linkId: "link-87654321",
98
+ * publicEndpoint: "https://external-responder.example.com",
99
+ * status: "ACTIVE",
100
+ * updatedAt: "2024-01-15T10:35:00Z"
101
+ * }
102
+ * *\/
103
+ * ```
104
+ *
105
+ * @public
106
+ */
107
+ export declare class GetOutboundExternalLinkCommand extends GetOutboundExternalLinkCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: GetOutboundExternalLinkRequest;
112
+ output: GetOutboundExternalLinkResponse;
113
+ };
114
+ sdk: {
115
+ input: GetOutboundExternalLinkCommandInput;
116
+ output: GetOutboundExternalLinkCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -0,0 +1,136 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetRequesterGatewayRequest, GetRequesterGatewayResponse } from "../models/models_0";
4
+ import { 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 GetRequesterGatewayCommand}.
14
+ */
15
+ export interface GetRequesterGatewayCommandInput extends GetRequesterGatewayRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRequesterGatewayCommand}.
21
+ */
22
+ export interface GetRequesterGatewayCommandOutput extends GetRequesterGatewayResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRequesterGatewayCommand_base: {
25
+ new (input: GetRequesterGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<GetRequesterGatewayCommandInput, GetRequesterGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRequesterGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<GetRequesterGatewayCommandInput, GetRequesterGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a requester gateway.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, GetRequesterGatewayCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, GetRequesterGatewayCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
36
+ * // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
37
+ * const config = {}; // type is RTBFabricClientConfig
38
+ * const client = new RTBFabricClient(config);
39
+ * const input = { // GetRequesterGatewayRequest
40
+ * gatewayId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetRequesterGatewayCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetRequesterGatewayResponse
45
+ * // status: "PENDING_CREATION" || "ACTIVE" || "PENDING_DELETION" || "DELETED" || "ERROR" || "PENDING_UPDATE" || "ISOLATED" || "PENDING_ISOLATION" || "PENDING_RESTORATION", // required
46
+ * // domainName: "STRING_VALUE", // required
47
+ * // description: "STRING_VALUE",
48
+ * // createdAt: new Date("TIMESTAMP"),
49
+ * // updatedAt: new Date("TIMESTAMP"),
50
+ * // vpcId: "STRING_VALUE", // required
51
+ * // subnetIds: [ // SubnetIdList // required
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // securityGroupIds: [ // SecurityGroupIdList // required
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // gatewayId: "STRING_VALUE", // required
58
+ * // tags: { // TagsMap
59
+ * // "<keys>": "STRING_VALUE",
60
+ * // },
61
+ * // activeLinksCount: Number("int"),
62
+ * // totalLinksCount: Number("int"),
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param GetRequesterGatewayCommandInput - {@link GetRequesterGatewayCommandInput}
68
+ * @returns {@link GetRequesterGatewayCommandOutput}
69
+ * @see {@link GetRequesterGatewayCommandInput} for command's `input` shape.
70
+ * @see {@link GetRequesterGatewayCommandOutput} for command's `response` shape.
71
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>The request could not be completed because the resource does not exist.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>The request was denied due to request throttling.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
87
+ *
88
+ * @throws {@link RTBFabricServiceException}
89
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
90
+ *
91
+ *
92
+ * @example Get requester gateway details
93
+ * ```javascript
94
+ * // Get requester gateway
95
+ * const input = {
96
+ * gatewayId: "rtb-gw-12345678"
97
+ * };
98
+ * const command = new GetRequesterGatewayCommand(input);
99
+ * const response = await client.send(command);
100
+ * /* response is
101
+ * {
102
+ * activeLinksCount: 2,
103
+ * createdAt: "2024-01-15T10:30:00Z",
104
+ * description: "My requester gateway",
105
+ * domainName: "rtb-gw-12345678.example.com",
106
+ * gatewayId: "rtb-gw-12345678",
107
+ * securityGroupIds: [
108
+ * "sg-12345678"
109
+ * ],
110
+ * status: "ACTIVE",
111
+ * subnetIds: [
112
+ * "subnet-12345678",
113
+ * "subnet-87654321"
114
+ * ],
115
+ * totalLinksCount: 5,
116
+ * updatedAt: "2024-01-15T10:35:00Z",
117
+ * vpcId: "vpc-12345678"
118
+ * }
119
+ * *\/
120
+ * ```
121
+ *
122
+ * @public
123
+ */
124
+ export declare class GetRequesterGatewayCommand extends GetRequesterGatewayCommand_base {
125
+ /** @internal type navigation helper, not in runtime. */
126
+ protected static __types: {
127
+ api: {
128
+ input: GetRequesterGatewayRequest;
129
+ output: GetRequesterGatewayResponse;
130
+ };
131
+ sdk: {
132
+ input: GetRequesterGatewayCommandInput;
133
+ output: GetRequesterGatewayCommandOutput;
134
+ };
135
+ };
136
+ }
@@ -0,0 +1,162 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetResponderGatewayRequest, GetResponderGatewayResponse } from "../models/models_0";
4
+ import { 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 GetResponderGatewayCommand}.
14
+ */
15
+ export interface GetResponderGatewayCommandInput extends GetResponderGatewayRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetResponderGatewayCommand}.
21
+ */
22
+ export interface GetResponderGatewayCommandOutput extends GetResponderGatewayResponse, __MetadataBearer {
23
+ }
24
+ declare const GetResponderGatewayCommand_base: {
25
+ new (input: GetResponderGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<GetResponderGatewayCommandInput, GetResponderGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetResponderGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<GetResponderGatewayCommandInput, GetResponderGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a responder gateway.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, GetResponderGatewayCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, GetResponderGatewayCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
36
+ * // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
37
+ * const config = {}; // type is RTBFabricClientConfig
38
+ * const client = new RTBFabricClient(config);
39
+ * const input = { // GetResponderGatewayRequest
40
+ * gatewayId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetResponderGatewayCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetResponderGatewayResponse
45
+ * // vpcId: "STRING_VALUE", // required
46
+ * // subnetIds: [ // SubnetIdList // required
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // securityGroupIds: [ // SecurityGroupIdList // required
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // status: "PENDING_CREATION" || "ACTIVE" || "PENDING_DELETION" || "DELETED" || "ERROR" || "PENDING_UPDATE" || "ISOLATED" || "PENDING_ISOLATION" || "PENDING_RESTORATION", // required
53
+ * // description: "STRING_VALUE",
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // updatedAt: new Date("TIMESTAMP"),
56
+ * // domainName: "STRING_VALUE",
57
+ * // port: Number("int"), // required
58
+ * // protocol: "HTTP" || "HTTPS", // required
59
+ * // trustStoreConfiguration: { // TrustStoreConfiguration
60
+ * // certificateAuthorityCertificates: [ // CertificateAuthorityCertificates // required
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // },
64
+ * // managedEndpointConfiguration: { // ManagedEndpointConfiguration Union: only one key present
65
+ * // autoScalingGroups: { // AutoScalingGroupsConfiguration
66
+ * // autoScalingGroupNames: [ // AutoScalingGroupNameList // required
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // roleArn: "STRING_VALUE", // required
70
+ * // },
71
+ * // eksEndpoints: { // EksEndpointsConfiguration
72
+ * // endpointsResourceName: "STRING_VALUE", // required
73
+ * // endpointsResourceNamespace: "STRING_VALUE", // required
74
+ * // clusterApiServerEndpointUri: "STRING_VALUE", // required
75
+ * // clusterApiServerCaCertificateChain: "STRING_VALUE", // required
76
+ * // clusterName: "STRING_VALUE", // required
77
+ * // roleArn: "STRING_VALUE", // required
78
+ * // },
79
+ * // },
80
+ * // gatewayId: "STRING_VALUE", // required
81
+ * // tags: { // TagsMap
82
+ * // "<keys>": "STRING_VALUE",
83
+ * // },
84
+ * // activeLinksCount: Number("int"),
85
+ * // totalLinksCount: Number("int"),
86
+ * // inboundLinksCount: Number("int"),
87
+ * // };
88
+ *
89
+ * ```
90
+ *
91
+ * @param GetResponderGatewayCommandInput - {@link GetResponderGatewayCommandInput}
92
+ * @returns {@link GetResponderGatewayCommandOutput}
93
+ * @see {@link GetResponderGatewayCommandInput} for command's `input` shape.
94
+ * @see {@link GetResponderGatewayCommandOutput} for command's `response` shape.
95
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
96
+ *
97
+ * @throws {@link AccessDeniedException} (client fault)
98
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
99
+ *
100
+ * @throws {@link InternalServerException} (server fault)
101
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
102
+ *
103
+ * @throws {@link ResourceNotFoundException} (client fault)
104
+ * <p>The request could not be completed because the resource does not exist.</p>
105
+ *
106
+ * @throws {@link ThrottlingException} (client fault)
107
+ * <p>The request was denied due to request throttling.</p>
108
+ *
109
+ * @throws {@link ValidationException} (client fault)
110
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
111
+ *
112
+ * @throws {@link RTBFabricServiceException}
113
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
114
+ *
115
+ *
116
+ * @example Get responder gateway details
117
+ * ```javascript
118
+ * // Get responder gateway
119
+ * const input = {
120
+ * gatewayId: "rtb-gw-12345678"
121
+ * };
122
+ * const command = new GetResponderGatewayCommand(input);
123
+ * const response = await client.send(command);
124
+ * /* response is
125
+ * {
126
+ * activeLinksCount: 2,
127
+ * createdAt: "2024-01-15T10:30:00Z",
128
+ * description: "My responder gateway",
129
+ * gatewayId: "rtb-gw-12345678",
130
+ * inboundLinksCount: 3,
131
+ * port: 443,
132
+ * protocol: "HTTPS",
133
+ * securityGroupIds: [
134
+ * "sg-12345678"
135
+ * ],
136
+ * status: "ACTIVE",
137
+ * subnetIds: [
138
+ * "subnet-12345678",
139
+ * "subnet-87654321"
140
+ * ],
141
+ * totalLinksCount: 5,
142
+ * updatedAt: "2024-01-15T10:35:00Z",
143
+ * vpcId: "vpc-12345678"
144
+ * }
145
+ * *\/
146
+ * ```
147
+ *
148
+ * @public
149
+ */
150
+ export declare class GetResponderGatewayCommand extends GetResponderGatewayCommand_base {
151
+ /** @internal type navigation helper, not in runtime. */
152
+ protected static __types: {
153
+ api: {
154
+ input: GetResponderGatewayRequest;
155
+ output: GetResponderGatewayResponse;
156
+ };
157
+ sdk: {
158
+ input: GetResponderGatewayCommandInput;
159
+ output: GetResponderGatewayCommandOutput;
160
+ };
161
+ };
162
+ }