@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,244 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AcceptLinkRequest, AcceptLinkResponse } 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 AcceptLinkCommand}.
14
+ */
15
+ export interface AcceptLinkCommandInput extends AcceptLinkRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AcceptLinkCommand}.
21
+ */
22
+ export interface AcceptLinkCommandOutput extends AcceptLinkResponse, __MetadataBearer {
23
+ }
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;
28
+ };
29
+ /**
30
+ * <p>Accepts a link request between RTB applications.</p> <p>When a requester RTB application requests to link with a responder RTB application, the responder can use this operation to accept the link request and establish the connection.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, AcceptLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, AcceptLinkCommand } = 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 = { // AcceptLinkRequest
40
+ * gatewayId: "STRING_VALUE", // required
41
+ * linkId: "STRING_VALUE", // required
42
+ * attributes: { // LinkAttributes
43
+ * responderErrorMasking: [ // ResponderErrorMasking
44
+ * { // ResponderErrorMaskingForHttpCode
45
+ * httpCode: "STRING_VALUE", // required
46
+ * action: "NO_BID" || "PASSTHROUGH", // required
47
+ * loggingTypes: [ // ResponderErrorMaskingLoggingTypes // required
48
+ * "NONE" || "METRIC" || "RESPONSE",
49
+ * ],
50
+ * responseLoggingPercentage: Number("float"),
51
+ * },
52
+ * ],
53
+ * customerProvidedId: "STRING_VALUE",
54
+ * },
55
+ * logSettings: { // LinkLogSettings
56
+ * applicationLogs: { // LinkApplicationLogConfiguration
57
+ * sampling: { // LinkApplicationLogSampling
58
+ * errorLog: Number("double"), // required
59
+ * filterLog: Number("double"), // required
60
+ * },
61
+ * },
62
+ * },
63
+ * };
64
+ * const command = new AcceptLinkCommand(input);
65
+ * const response = await client.send(command);
66
+ * // { // AcceptLinkResponse
67
+ * // gatewayId: "STRING_VALUE", // required
68
+ * // peerGatewayId: "STRING_VALUE", // required
69
+ * // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
70
+ * // createdAt: new Date("TIMESTAMP"), // required
71
+ * // updatedAt: new Date("TIMESTAMP"), // required
72
+ * // direction: "RESPONSE" || "REQUEST",
73
+ * // flowModules: [ // ModuleConfigurationList
74
+ * // { // ModuleConfiguration
75
+ * // version: "STRING_VALUE",
76
+ * // name: "STRING_VALUE", // required
77
+ * // dependsOn: [ // FlowModuleNameList
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // moduleParameters: { // ModuleParameters Union: only one key present
81
+ * // noBid: { // NoBidModuleParameters
82
+ * // reason: "STRING_VALUE",
83
+ * // reasonCode: Number("int"),
84
+ * // passThroughPercentage: Number("float"),
85
+ * // },
86
+ * // openRtbAttribute: { // OpenRtbAttributeModuleParameters
87
+ * // filterType: "INCLUDE" || "EXCLUDE", // required
88
+ * // filterConfiguration: [ // FilterConfiguration // required
89
+ * // { // Filter
90
+ * // criteria: [ // FilterCriteria // required
91
+ * // { // FilterCriterion
92
+ * // path: "STRING_VALUE", // required
93
+ * // values: [ // ValueList // required
94
+ * // "STRING_VALUE",
95
+ * // ],
96
+ * // },
97
+ * // ],
98
+ * // },
99
+ * // ],
100
+ * // action: { // Action Union: only one key present
101
+ * // noBid: { // NoBidAction
102
+ * // noBidReasonCode: Number("int"),
103
+ * // },
104
+ * // headerTag: { // HeaderTagAction
105
+ * // name: "STRING_VALUE", // required
106
+ * // value: "STRING_VALUE", // required
107
+ * // },
108
+ * // },
109
+ * // holdbackPercentage: Number("float"), // required
110
+ * // },
111
+ * // },
112
+ * // },
113
+ * // ],
114
+ * // pendingFlowModules: [
115
+ * // {
116
+ * // version: "STRING_VALUE",
117
+ * // name: "STRING_VALUE", // required
118
+ * // dependsOn: [
119
+ * // "STRING_VALUE",
120
+ * // ],
121
+ * // moduleParameters: {// Union: only one key present
122
+ * // noBid: {
123
+ * // reason: "STRING_VALUE",
124
+ * // reasonCode: Number("int"),
125
+ * // passThroughPercentage: Number("float"),
126
+ * // },
127
+ * // openRtbAttribute: {
128
+ * // filterType: "INCLUDE" || "EXCLUDE", // required
129
+ * // filterConfiguration: [ // required
130
+ * // {
131
+ * // criteria: [ // required
132
+ * // {
133
+ * // path: "STRING_VALUE", // required
134
+ * // values: [ // required
135
+ * // "STRING_VALUE",
136
+ * // ],
137
+ * // },
138
+ * // ],
139
+ * // },
140
+ * // ],
141
+ * // action: {// Union: only one key present
142
+ * // noBid: {
143
+ * // noBidReasonCode: Number("int"),
144
+ * // },
145
+ * // headerTag: {
146
+ * // name: "STRING_VALUE", // required
147
+ * // value: "STRING_VALUE", // required
148
+ * // },
149
+ * // },
150
+ * // holdbackPercentage: Number("float"), // required
151
+ * // },
152
+ * // },
153
+ * // },
154
+ * // ],
155
+ * // attributes: { // LinkAttributes
156
+ * // responderErrorMasking: [ // ResponderErrorMasking
157
+ * // { // ResponderErrorMaskingForHttpCode
158
+ * // httpCode: "STRING_VALUE", // required
159
+ * // action: "NO_BID" || "PASSTHROUGH", // required
160
+ * // loggingTypes: [ // ResponderErrorMaskingLoggingTypes // required
161
+ * // "NONE" || "METRIC" || "RESPONSE",
162
+ * // ],
163
+ * // responseLoggingPercentage: Number("float"),
164
+ * // },
165
+ * // ],
166
+ * // customerProvidedId: "STRING_VALUE",
167
+ * // },
168
+ * // linkId: "STRING_VALUE", // required
169
+ * // };
170
+ *
171
+ * ```
172
+ *
173
+ * @param AcceptLinkCommandInput - {@link AcceptLinkCommandInput}
174
+ * @returns {@link AcceptLinkCommandOutput}
175
+ * @see {@link AcceptLinkCommandInput} for command's `input` shape.
176
+ * @see {@link AcceptLinkCommandOutput} for command's `response` shape.
177
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
178
+ *
179
+ * @throws {@link AccessDeniedException} (client fault)
180
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
181
+ *
182
+ * @throws {@link ConflictException} (client fault)
183
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
184
+ *
185
+ * @throws {@link InternalServerException} (server fault)
186
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
187
+ *
188
+ * @throws {@link ResourceNotFoundException} (client fault)
189
+ * <p>The request could not be completed because the resource does not exist.</p>
190
+ *
191
+ * @throws {@link ThrottlingException} (client fault)
192
+ * <p>The request was denied due to request throttling.</p>
193
+ *
194
+ * @throws {@link ValidationException} (client fault)
195
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
196
+ *
197
+ * @throws {@link RTBFabricServiceException}
198
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
199
+ *
200
+ *
201
+ * @example Accept a link request
202
+ * ```javascript
203
+ * // Accepts a link request from requester gateway
204
+ * const input = {
205
+ * gatewayId: "rtb-gw-12345678",
206
+ * linkId: "link-87654321",
207
+ * logSettings: {
208
+ * applicationLogs: {
209
+ * sampling: {
210
+ * errorLog: 100.0,
211
+ * filterLog: 0.0
212
+ * }
213
+ * }
214
+ * }
215
+ * };
216
+ * const command = new AcceptLinkCommand(input);
217
+ * const response = await client.send(command);
218
+ * /* response is
219
+ * {
220
+ * createdAt: "2024-01-15T10:30:00Z",
221
+ * gatewayId: "rtb-gw-12345678",
222
+ * linkId: "link-87654321",
223
+ * peerGatewayId: "rtb-gw-87654321",
224
+ * status: "ACCEPTED",
225
+ * updatedAt: "2024-01-15T10:35:00Z"
226
+ * }
227
+ * *\/
228
+ * ```
229
+ *
230
+ * @public
231
+ */
232
+ export declare class AcceptLinkCommand extends AcceptLinkCommand_base {
233
+ /** @internal type navigation helper, not in runtime. */
234
+ protected static __types: {
235
+ api: {
236
+ input: AcceptLinkRequest;
237
+ output: AcceptLinkResponse;
238
+ };
239
+ sdk: {
240
+ input: AcceptLinkCommandInput;
241
+ output: AcceptLinkCommandOutput;
242
+ };
243
+ };
244
+ }
@@ -0,0 +1,134 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateInboundExternalLinkRequest, CreateInboundExternalLinkResponse } 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 CreateInboundExternalLinkCommand}.
14
+ */
15
+ export interface CreateInboundExternalLinkCommandInput extends CreateInboundExternalLinkRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateInboundExternalLinkCommand}.
21
+ */
22
+ export interface CreateInboundExternalLinkCommandOutput extends CreateInboundExternalLinkResponse, __MetadataBearer {
23
+ }
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;
28
+ };
29
+ /**
30
+ * <p>Creates an inbound 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, CreateInboundExternalLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, CreateInboundExternalLinkCommand } = 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 = { // CreateInboundExternalLinkRequest
40
+ * clientToken: "STRING_VALUE", // required
41
+ * gatewayId: "STRING_VALUE", // required
42
+ * attributes: { // LinkAttributes
43
+ * responderErrorMasking: [ // ResponderErrorMasking
44
+ * { // ResponderErrorMaskingForHttpCode
45
+ * httpCode: "STRING_VALUE", // required
46
+ * action: "NO_BID" || "PASSTHROUGH", // required
47
+ * loggingTypes: [ // ResponderErrorMaskingLoggingTypes // required
48
+ * "NONE" || "METRIC" || "RESPONSE",
49
+ * ],
50
+ * responseLoggingPercentage: Number("float"),
51
+ * },
52
+ * ],
53
+ * customerProvidedId: "STRING_VALUE",
54
+ * },
55
+ * tags: { // TagsMap
56
+ * "<keys>": "STRING_VALUE",
57
+ * },
58
+ * };
59
+ * const command = new CreateInboundExternalLinkCommand(input);
60
+ * const response = await client.send(command);
61
+ * // { // CreateInboundExternalLinkResponse
62
+ * // gatewayId: "STRING_VALUE", // required
63
+ * // linkId: "STRING_VALUE", // required
64
+ * // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
65
+ * // domainName: "STRING_VALUE", // required
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param CreateInboundExternalLinkCommandInput - {@link CreateInboundExternalLinkCommandInput}
71
+ * @returns {@link CreateInboundExternalLinkCommandOutput}
72
+ * @see {@link CreateInboundExternalLinkCommandInput} for command's `input` shape.
73
+ * @see {@link CreateInboundExternalLinkCommandOutput} for command's `response` shape.
74
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
78
+ *
79
+ * @throws {@link ConflictException} (client fault)
80
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>The request could not be completed because the resource does not exist.</p>
87
+ *
88
+ * @throws {@link ServiceQuotaExceededException} (client fault)
89
+ * <p>The request could not be completed because you exceeded a service quota.</p>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>The request was denied due to request throttling.</p>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
96
+ *
97
+ * @throws {@link RTBFabricServiceException}
98
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
99
+ *
100
+ *
101
+ * @example Create an inbound external link
102
+ * ```javascript
103
+ * // Create an inbound external link for a responder gateway
104
+ * const input = {
105
+ * clientToken: "randomClientToken",
106
+ * gatewayId: "rtb-gw-12345678"
107
+ * };
108
+ * const command = new CreateInboundExternalLinkCommand(input);
109
+ * const response = await client.send(command);
110
+ * /* response is
111
+ * {
112
+ * domainName: "rtb-gw-12345678.example.com",
113
+ * gatewayId: "rtb-gw-12345678",
114
+ * linkId: "link-87654321",
115
+ * status: "ACTIVE"
116
+ * }
117
+ * *\/
118
+ * ```
119
+ *
120
+ * @public
121
+ */
122
+ export declare class CreateInboundExternalLinkCommand extends CreateInboundExternalLinkCommand_base {
123
+ /** @internal type navigation helper, not in runtime. */
124
+ protected static __types: {
125
+ api: {
126
+ input: CreateInboundExternalLinkRequest;
127
+ output: CreateInboundExternalLinkResponse;
128
+ };
129
+ sdk: {
130
+ input: CreateInboundExternalLinkCommandInput;
131
+ output: CreateInboundExternalLinkCommandOutput;
132
+ };
133
+ };
134
+ }
@@ -0,0 +1,252 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateLinkRequest, CreateLinkResponse } 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 CreateLinkCommand}.
14
+ */
15
+ export interface CreateLinkCommandInput extends CreateLinkRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateLinkCommand}.
21
+ */
22
+ export interface CreateLinkCommandOutput extends CreateLinkResponse, __MetadataBearer {
23
+ }
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;
28
+ };
29
+ /**
30
+ * <p>Creates a new link between RTB applications.</p> <p>Establishes a connection that allows RTB applications to communicate and exchange bid requests and responses.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, CreateLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, CreateLinkCommand } = 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 = { // CreateLinkRequest
40
+ * gatewayId: "STRING_VALUE", // required
41
+ * peerGatewayId: "STRING_VALUE", // required
42
+ * attributes: { // LinkAttributes
43
+ * responderErrorMasking: [ // ResponderErrorMasking
44
+ * { // ResponderErrorMaskingForHttpCode
45
+ * httpCode: "STRING_VALUE", // required
46
+ * action: "NO_BID" || "PASSTHROUGH", // required
47
+ * loggingTypes: [ // ResponderErrorMaskingLoggingTypes // required
48
+ * "NONE" || "METRIC" || "RESPONSE",
49
+ * ],
50
+ * responseLoggingPercentage: Number("float"),
51
+ * },
52
+ * ],
53
+ * customerProvidedId: "STRING_VALUE",
54
+ * },
55
+ * httpResponderAllowed: true || false,
56
+ * tags: { // TagsMap
57
+ * "<keys>": "STRING_VALUE",
58
+ * },
59
+ * logSettings: { // LinkLogSettings
60
+ * applicationLogs: { // LinkApplicationLogConfiguration
61
+ * sampling: { // LinkApplicationLogSampling
62
+ * errorLog: Number("double"), // required
63
+ * filterLog: Number("double"), // required
64
+ * },
65
+ * },
66
+ * },
67
+ * };
68
+ * const command = new CreateLinkCommand(input);
69
+ * const response = await client.send(command);
70
+ * // { // CreateLinkResponse
71
+ * // gatewayId: "STRING_VALUE", // required
72
+ * // peerGatewayId: "STRING_VALUE", // required
73
+ * // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
74
+ * // createdAt: new Date("TIMESTAMP"), // required
75
+ * // updatedAt: new Date("TIMESTAMP"), // required
76
+ * // direction: "RESPONSE" || "REQUEST",
77
+ * // flowModules: [ // ModuleConfigurationList
78
+ * // { // ModuleConfiguration
79
+ * // version: "STRING_VALUE",
80
+ * // name: "STRING_VALUE", // required
81
+ * // dependsOn: [ // FlowModuleNameList
82
+ * // "STRING_VALUE",
83
+ * // ],
84
+ * // moduleParameters: { // ModuleParameters Union: only one key present
85
+ * // noBid: { // NoBidModuleParameters
86
+ * // reason: "STRING_VALUE",
87
+ * // reasonCode: Number("int"),
88
+ * // passThroughPercentage: Number("float"),
89
+ * // },
90
+ * // openRtbAttribute: { // OpenRtbAttributeModuleParameters
91
+ * // filterType: "INCLUDE" || "EXCLUDE", // required
92
+ * // filterConfiguration: [ // FilterConfiguration // required
93
+ * // { // Filter
94
+ * // criteria: [ // FilterCriteria // required
95
+ * // { // FilterCriterion
96
+ * // path: "STRING_VALUE", // required
97
+ * // values: [ // ValueList // required
98
+ * // "STRING_VALUE",
99
+ * // ],
100
+ * // },
101
+ * // ],
102
+ * // },
103
+ * // ],
104
+ * // action: { // Action Union: only one key present
105
+ * // noBid: { // NoBidAction
106
+ * // noBidReasonCode: Number("int"),
107
+ * // },
108
+ * // headerTag: { // HeaderTagAction
109
+ * // name: "STRING_VALUE", // required
110
+ * // value: "STRING_VALUE", // required
111
+ * // },
112
+ * // },
113
+ * // holdbackPercentage: Number("float"), // required
114
+ * // },
115
+ * // },
116
+ * // },
117
+ * // ],
118
+ * // pendingFlowModules: [
119
+ * // {
120
+ * // version: "STRING_VALUE",
121
+ * // name: "STRING_VALUE", // required
122
+ * // dependsOn: [
123
+ * // "STRING_VALUE",
124
+ * // ],
125
+ * // moduleParameters: {// Union: only one key present
126
+ * // noBid: {
127
+ * // reason: "STRING_VALUE",
128
+ * // reasonCode: Number("int"),
129
+ * // passThroughPercentage: Number("float"),
130
+ * // },
131
+ * // openRtbAttribute: {
132
+ * // filterType: "INCLUDE" || "EXCLUDE", // required
133
+ * // filterConfiguration: [ // required
134
+ * // {
135
+ * // criteria: [ // required
136
+ * // {
137
+ * // path: "STRING_VALUE", // required
138
+ * // values: [ // required
139
+ * // "STRING_VALUE",
140
+ * // ],
141
+ * // },
142
+ * // ],
143
+ * // },
144
+ * // ],
145
+ * // action: {// Union: only one key present
146
+ * // noBid: {
147
+ * // noBidReasonCode: Number("int"),
148
+ * // },
149
+ * // headerTag: {
150
+ * // name: "STRING_VALUE", // required
151
+ * // value: "STRING_VALUE", // required
152
+ * // },
153
+ * // },
154
+ * // holdbackPercentage: Number("float"), // required
155
+ * // },
156
+ * // },
157
+ * // },
158
+ * // ],
159
+ * // attributes: { // LinkAttributes
160
+ * // responderErrorMasking: [ // ResponderErrorMasking
161
+ * // { // ResponderErrorMaskingForHttpCode
162
+ * // httpCode: "STRING_VALUE", // required
163
+ * // action: "NO_BID" || "PASSTHROUGH", // required
164
+ * // loggingTypes: [ // ResponderErrorMaskingLoggingTypes // required
165
+ * // "NONE" || "METRIC" || "RESPONSE",
166
+ * // ],
167
+ * // responseLoggingPercentage: Number("float"),
168
+ * // },
169
+ * // ],
170
+ * // customerProvidedId: "STRING_VALUE",
171
+ * // },
172
+ * // linkId: "STRING_VALUE", // required
173
+ * // customerProvidedId: "STRING_VALUE",
174
+ * // };
175
+ *
176
+ * ```
177
+ *
178
+ * @param CreateLinkCommandInput - {@link CreateLinkCommandInput}
179
+ * @returns {@link CreateLinkCommandOutput}
180
+ * @see {@link CreateLinkCommandInput} for command's `input` shape.
181
+ * @see {@link CreateLinkCommandOutput} for command's `response` shape.
182
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
183
+ *
184
+ * @throws {@link AccessDeniedException} (client fault)
185
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
186
+ *
187
+ * @throws {@link ConflictException} (client fault)
188
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
189
+ *
190
+ * @throws {@link InternalServerException} (server fault)
191
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
192
+ *
193
+ * @throws {@link ResourceNotFoundException} (client fault)
194
+ * <p>The request could not be completed because the resource does not exist.</p>
195
+ *
196
+ * @throws {@link ServiceQuotaExceededException} (client fault)
197
+ * <p>The request could not be completed because you exceeded a service quota.</p>
198
+ *
199
+ * @throws {@link ThrottlingException} (client fault)
200
+ * <p>The request was denied due to request throttling.</p>
201
+ *
202
+ * @throws {@link ValidationException} (client fault)
203
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
204
+ *
205
+ * @throws {@link RTBFabricServiceException}
206
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
207
+ *
208
+ *
209
+ * @example Create a new link
210
+ * ```javascript
211
+ * // Creates a new link between RTB applications
212
+ * const input = {
213
+ * gatewayId: "rtb-gw-12345678",
214
+ * logSettings: {
215
+ * applicationLogs: {
216
+ * sampling: {
217
+ * errorLog: 100.0,
218
+ * filterLog: 0.0
219
+ * }
220
+ * }
221
+ * },
222
+ * peerGatewayId: "rtb-gw-87654321"
223
+ * };
224
+ * const command = new CreateLinkCommand(input);
225
+ * const response = await client.send(command);
226
+ * /* response is
227
+ * {
228
+ * createdAt: "2024-01-15T10:30:00Z",
229
+ * gatewayId: "rtb-gw-12345678",
230
+ * linkId: "link-87654321",
231
+ * peerGatewayId: "rtb-gw-87654321",
232
+ * status: "PENDING_REQUEST",
233
+ * updatedAt: "2024-01-15T10:30:00Z"
234
+ * }
235
+ * *\/
236
+ * ```
237
+ *
238
+ * @public
239
+ */
240
+ export declare class CreateLinkCommand extends CreateLinkCommand_base {
241
+ /** @internal type navigation helper, not in runtime. */
242
+ protected static __types: {
243
+ api: {
244
+ input: CreateLinkRequest;
245
+ output: CreateLinkResponse;
246
+ };
247
+ sdk: {
248
+ input: CreateLinkCommandInput;
249
+ output: CreateLinkCommandOutput;
250
+ };
251
+ };
252
+ }