@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,215 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { RejectLinkRequest, RejectLinkResponse } 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 RejectLinkCommand}.
14
+ */
15
+ export interface RejectLinkCommandInput extends RejectLinkRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RejectLinkCommand}.
21
+ */
22
+ export interface RejectLinkCommandOutput extends RejectLinkResponse, __MetadataBearer {
23
+ }
24
+ declare const RejectLinkCommand_base: {
25
+ new (input: RejectLinkCommandInput): import("@smithy/smithy-client").CommandImpl<RejectLinkCommandInput, RejectLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RejectLinkCommandInput): import("@smithy/smithy-client").CommandImpl<RejectLinkCommandInput, RejectLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Rejects 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 decline the link request.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, RejectLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, RejectLinkCommand } = 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 = { // RejectLinkRequest
40
+ * gatewayId: "STRING_VALUE", // required
41
+ * linkId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new RejectLinkCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // RejectLinkResponse
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
+ * // };
149
+ *
150
+ * ```
151
+ *
152
+ * @param RejectLinkCommandInput - {@link RejectLinkCommandInput}
153
+ * @returns {@link RejectLinkCommandOutput}
154
+ * @see {@link RejectLinkCommandInput} for command's `input` shape.
155
+ * @see {@link RejectLinkCommandOutput} for command's `response` shape.
156
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
157
+ *
158
+ * @throws {@link AccessDeniedException} (client fault)
159
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
160
+ *
161
+ * @throws {@link ConflictException} (client fault)
162
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
163
+ *
164
+ * @throws {@link InternalServerException} (server fault)
165
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
166
+ *
167
+ * @throws {@link ResourceNotFoundException} (client fault)
168
+ * <p>The request could not be completed because the resource does not exist.</p>
169
+ *
170
+ * @throws {@link ThrottlingException} (client fault)
171
+ * <p>The request was denied due to request throttling.</p>
172
+ *
173
+ * @throws {@link ValidationException} (client fault)
174
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
175
+ *
176
+ * @throws {@link RTBFabricServiceException}
177
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
178
+ *
179
+ *
180
+ * @example Reject a link request
181
+ * ```javascript
182
+ * // Rejects a requested link request
183
+ * const input = {
184
+ * gatewayId: "rtb-gw-12345678",
185
+ * linkId: "link-87654321"
186
+ * };
187
+ * const command = new RejectLinkCommand(input);
188
+ * const response = await client.send(command);
189
+ * /* response is
190
+ * {
191
+ * createdAt: "2024-01-15T10:30:00Z",
192
+ * gatewayId: "rtb-gw-12345678",
193
+ * linkId: "link-87654321",
194
+ * peerGatewayId: "rtb-gw-87654321",
195
+ * status: "REJECTED",
196
+ * updatedAt: "2024-01-15T10:35:00Z"
197
+ * }
198
+ * *\/
199
+ * ```
200
+ *
201
+ * @public
202
+ */
203
+ export declare class RejectLinkCommand extends RejectLinkCommand_base {
204
+ /** @internal type navigation helper, not in runtime. */
205
+ protected static __types: {
206
+ api: {
207
+ input: RejectLinkRequest;
208
+ output: RejectLinkResponse;
209
+ };
210
+ sdk: {
211
+ input: RejectLinkCommandInput;
212
+ output: RejectLinkCommandOutput;
213
+ };
214
+ };
215
+ }
@@ -0,0 +1,107 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { TagResourceRequest, TagResourceResponse } 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 TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Assigns one or more tags (key-value pairs) to the specified resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, TagResourceCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, TagResourceCommand } = 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 = { // TagResourceRequest
40
+ * resourceArn: "STRING_VALUE", // required
41
+ * tags: { // TagsMap // required
42
+ * "<keys>": "STRING_VALUE",
43
+ * },
44
+ * };
45
+ * const command = new TagResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
52
+ * @returns {@link TagResourceCommandOutput}
53
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
54
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The request could not be completed because the resource does not exist.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied due to request throttling.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
71
+ *
72
+ * @throws {@link RTBFabricServiceException}
73
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
74
+ *
75
+ *
76
+ * @example Add tags to a resource
77
+ * ```javascript
78
+ * // Adds tags to a resource
79
+ * const input = {
80
+ * resourceArn: "arn:aws:rtbfabric:us-east-1:123456789012:gateway/rtb-gw-12345678",
81
+ * tags: {
82
+ * Environment: "Production",
83
+ * Team: "RTB"
84
+ * }
85
+ * };
86
+ * const command = new TagResourceCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * { /* empty *\/ }
90
+ * *\/
91
+ * ```
92
+ *
93
+ * @public
94
+ */
95
+ export declare class TagResourceCommand extends TagResourceCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: TagResourceRequest;
100
+ output: {};
101
+ };
102
+ sdk: {
103
+ input: TagResourceCommandInput;
104
+ output: TagResourceCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -0,0 +1,107 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UntagResourceRequest, UntagResourceResponse } 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 UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes a tag or tags from a resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, UntagResourceCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, UntagResourceCommand } = 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 = { // UntagResourceRequest
40
+ * resourceArn: "STRING_VALUE", // required
41
+ * tagKeys: [ // TagKeyList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
45
+ * const command = new UntagResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
52
+ * @returns {@link UntagResourceCommandOutput}
53
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
54
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The request could not be completed because the resource does not exist.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied due to request throttling.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
71
+ *
72
+ * @throws {@link RTBFabricServiceException}
73
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
74
+ *
75
+ *
76
+ * @example Remove tags from a resource
77
+ * ```javascript
78
+ * // Removes tags from a resource
79
+ * const input = {
80
+ * resourceArn: "arn:aws:rtbfabric:us-east-1:123456789012:gateway/rtb-gw-12345678",
81
+ * tagKeys: [
82
+ * "Environment",
83
+ * "Team"
84
+ * ]
85
+ * };
86
+ * const command = new UntagResourceCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * { /* empty *\/ }
90
+ * *\/
91
+ * ```
92
+ *
93
+ * @public
94
+ */
95
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: UntagResourceRequest;
100
+ output: {};
101
+ };
102
+ sdk: {
103
+ input: UntagResourceCommandInput;
104
+ output: UntagResourceCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateLinkRequest, UpdateLinkResponse } 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 UpdateLinkCommand}.
14
+ */
15
+ export interface UpdateLinkCommandInput extends UpdateLinkRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLinkCommand}.
21
+ */
22
+ export interface UpdateLinkCommandOutput extends UpdateLinkResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateLinkCommand_base: {
25
+ new (input: UpdateLinkCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLinkCommandInput, UpdateLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateLinkCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLinkCommandInput, UpdateLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the configuration of a link between RTB applications.</p> <p>Allows you to modify settings and parameters for an existing 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, UpdateLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, UpdateLinkCommand } = 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 = { // UpdateLinkRequest
40
+ * gatewayId: "STRING_VALUE", // required
41
+ * linkId: "STRING_VALUE", // required
42
+ * logSettings: { // LinkLogSettings
43
+ * applicationLogs: { // LinkApplicationLogConfiguration
44
+ * sampling: { // LinkApplicationLogSampling
45
+ * errorLog: Number("double"), // required
46
+ * filterLog: Number("double"), // required
47
+ * },
48
+ * },
49
+ * },
50
+ * };
51
+ * const command = new UpdateLinkCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // UpdateLinkResponse
54
+ * // linkId: "STRING_VALUE", // required
55
+ * // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param UpdateLinkCommandInput - {@link UpdateLinkCommandInput}
61
+ * @returns {@link UpdateLinkCommandOutput}
62
+ * @see {@link UpdateLinkCommandInput} for command's `input` shape.
63
+ * @see {@link UpdateLinkCommandOutput} for command's `response` shape.
64
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The request could not be completed because the resource does not exist.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to request throttling.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
83
+ *
84
+ * @throws {@link RTBFabricServiceException}
85
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
86
+ *
87
+ *
88
+ * @example Update link settings
89
+ * ```javascript
90
+ * // Updates configuration settings for an existing link
91
+ * const input = {
92
+ * gatewayId: "rtb-gw-12345678",
93
+ * linkId: "link-87654321",
94
+ * logSettings: {
95
+ * applicationLogs: {
96
+ * sampling: {
97
+ * errorLog: 100.0,
98
+ * filterLog: 10.0
99
+ * }
100
+ * }
101
+ * }
102
+ * };
103
+ * const command = new UpdateLinkCommand(input);
104
+ * const response = await client.send(command);
105
+ * /* response is
106
+ * {
107
+ * linkId: "link-87654321",
108
+ * status: "ACTIVE"
109
+ * }
110
+ * *\/
111
+ * ```
112
+ *
113
+ * @public
114
+ */
115
+ export declare class UpdateLinkCommand extends UpdateLinkCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: UpdateLinkRequest;
120
+ output: UpdateLinkResponse;
121
+ };
122
+ sdk: {
123
+ input: UpdateLinkCommandInput;
124
+ output: UpdateLinkCommandOutput;
125
+ };
126
+ };
127
+ }