@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,173 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateLinkModuleFlowRequest, UpdateLinkModuleFlowResponse } 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 UpdateLinkModuleFlowCommand}.
14
+ */
15
+ export interface UpdateLinkModuleFlowCommandInput extends UpdateLinkModuleFlowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLinkModuleFlowCommand}.
21
+ */
22
+ export interface UpdateLinkModuleFlowCommandOutput extends UpdateLinkModuleFlowResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateLinkModuleFlowCommand_base: {
25
+ new (input: UpdateLinkModuleFlowCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLinkModuleFlowCommandInput, UpdateLinkModuleFlowCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateLinkModuleFlowCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLinkModuleFlowCommandInput, UpdateLinkModuleFlowCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates a link module flow.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RTBFabricClient, UpdateLinkModuleFlowCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, UpdateLinkModuleFlowCommand } = 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 = { // UpdateLinkModuleFlowRequest
40
+ * clientToken: "STRING_VALUE", // required
41
+ * gatewayId: "STRING_VALUE", // required
42
+ * linkId: "STRING_VALUE", // required
43
+ * modules: [ // ModuleConfigurationList // required
44
+ * { // ModuleConfiguration
45
+ * version: "STRING_VALUE",
46
+ * name: "STRING_VALUE", // required
47
+ * dependsOn: [ // FlowModuleNameList
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * moduleParameters: { // ModuleParameters Union: only one key present
51
+ * noBid: { // NoBidModuleParameters
52
+ * reason: "STRING_VALUE",
53
+ * reasonCode: Number("int"),
54
+ * passThroughPercentage: Number("float"),
55
+ * },
56
+ * openRtbAttribute: { // OpenRtbAttributeModuleParameters
57
+ * filterType: "INCLUDE" || "EXCLUDE", // required
58
+ * filterConfiguration: [ // FilterConfiguration // required
59
+ * { // Filter
60
+ * criteria: [ // FilterCriteria // required
61
+ * { // FilterCriterion
62
+ * path: "STRING_VALUE", // required
63
+ * values: [ // ValueList // required
64
+ * "STRING_VALUE",
65
+ * ],
66
+ * },
67
+ * ],
68
+ * },
69
+ * ],
70
+ * action: { // Action Union: only one key present
71
+ * noBid: { // NoBidAction
72
+ * noBidReasonCode: Number("int"),
73
+ * },
74
+ * headerTag: { // HeaderTagAction
75
+ * name: "STRING_VALUE", // required
76
+ * value: "STRING_VALUE", // required
77
+ * },
78
+ * },
79
+ * holdbackPercentage: Number("float"), // required
80
+ * },
81
+ * },
82
+ * },
83
+ * ],
84
+ * };
85
+ * const command = new UpdateLinkModuleFlowCommand(input);
86
+ * const response = await client.send(command);
87
+ * // { // UpdateLinkModuleFlowResponse
88
+ * // gatewayId: "STRING_VALUE", // required
89
+ * // linkId: "STRING_VALUE", // required
90
+ * // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
91
+ * // };
92
+ *
93
+ * ```
94
+ *
95
+ * @param UpdateLinkModuleFlowCommandInput - {@link UpdateLinkModuleFlowCommandInput}
96
+ * @returns {@link UpdateLinkModuleFlowCommandOutput}
97
+ * @see {@link UpdateLinkModuleFlowCommandInput} for command's `input` shape.
98
+ * @see {@link UpdateLinkModuleFlowCommandOutput} for command's `response` shape.
99
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
100
+ *
101
+ * @throws {@link AccessDeniedException} (client fault)
102
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
103
+ *
104
+ * @throws {@link ConflictException} (client fault)
105
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
106
+ *
107
+ * @throws {@link InternalServerException} (server fault)
108
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
109
+ *
110
+ * @throws {@link ResourceNotFoundException} (client fault)
111
+ * <p>The request could not be completed because the resource does not exist.</p>
112
+ *
113
+ * @throws {@link ServiceQuotaExceededException} (client fault)
114
+ * <p>The request could not be completed because you exceeded a service quota.</p>
115
+ *
116
+ * @throws {@link ThrottlingException} (client fault)
117
+ * <p>The request was denied due to request throttling.</p>
118
+ *
119
+ * @throws {@link ValidationException} (client fault)
120
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
121
+ *
122
+ * @throws {@link RTBFabricServiceException}
123
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
124
+ *
125
+ *
126
+ * @example Update link module flow
127
+ * ```javascript
128
+ * // Update link module flow for link
129
+ * const input = {
130
+ * clientToken: "randomClientToken",
131
+ * gatewayId: "rtb-gw-12345678",
132
+ * linkId: "link-87654321",
133
+ * modules: [
134
+ * {
135
+ * dependsOn: [],
136
+ * moduleParameters: {
137
+ * noBid: {
138
+ * passThroughPercentage: 50.0,
139
+ * reason: "test",
140
+ * reasonCode: 1
141
+ * }
142
+ * },
143
+ * name: "noBidModule",
144
+ * version: "1dot0dot0"
145
+ * }
146
+ * ]
147
+ * };
148
+ * const command = new UpdateLinkModuleFlowCommand(input);
149
+ * const response = await client.send(command);
150
+ * /* response is
151
+ * {
152
+ * gatewayId: "rtb-gw-12345678",
153
+ * linkId: "link-87654321",
154
+ * status: "ACTIVE"
155
+ * }
156
+ * *\/
157
+ * ```
158
+ *
159
+ * @public
160
+ */
161
+ export declare class UpdateLinkModuleFlowCommand extends UpdateLinkModuleFlowCommand_base {
162
+ /** @internal type navigation helper, not in runtime. */
163
+ protected static __types: {
164
+ api: {
165
+ input: UpdateLinkModuleFlowRequest;
166
+ output: UpdateLinkModuleFlowResponse;
167
+ };
168
+ sdk: {
169
+ input: UpdateLinkModuleFlowCommandInput;
170
+ output: UpdateLinkModuleFlowCommandOutput;
171
+ };
172
+ };
173
+ }
@@ -0,0 +1,113 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateRequesterGatewayRequest, UpdateRequesterGatewayResponse } 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 UpdateRequesterGatewayCommand}.
14
+ */
15
+ export interface UpdateRequesterGatewayCommandInput extends UpdateRequesterGatewayRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateRequesterGatewayCommand}.
21
+ */
22
+ export interface UpdateRequesterGatewayCommandOutput extends UpdateRequesterGatewayResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateRequesterGatewayCommand_base: {
25
+ new (input: UpdateRequesterGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRequesterGatewayCommandInput, UpdateRequesterGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateRequesterGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRequesterGatewayCommandInput, UpdateRequesterGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates 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, UpdateRequesterGatewayCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, UpdateRequesterGatewayCommand } = 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 = { // UpdateRequesterGatewayRequest
40
+ * clientToken: "STRING_VALUE", // required
41
+ * gatewayId: "STRING_VALUE", // required
42
+ * description: "STRING_VALUE",
43
+ * };
44
+ * const command = new UpdateRequesterGatewayCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // UpdateRequesterGatewayResponse
47
+ * // gatewayId: "STRING_VALUE", // required
48
+ * // status: "PENDING_CREATION" || "ACTIVE" || "PENDING_DELETION" || "DELETED" || "ERROR" || "PENDING_UPDATE" || "ISOLATED" || "PENDING_ISOLATION" || "PENDING_RESTORATION", // required
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param UpdateRequesterGatewayCommandInput - {@link UpdateRequesterGatewayCommandInput}
54
+ * @returns {@link UpdateRequesterGatewayCommandOutput}
55
+ * @see {@link UpdateRequesterGatewayCommandInput} for command's `input` shape.
56
+ * @see {@link UpdateRequesterGatewayCommandOutput} for command's `response` shape.
57
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
61
+ *
62
+ * @throws {@link ConflictException} (client fault)
63
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The request could not be completed because the resource does not exist.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
76
+ *
77
+ * @throws {@link RTBFabricServiceException}
78
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
79
+ *
80
+ *
81
+ * @example Update requester gateway
82
+ * ```javascript
83
+ * // Update requester gateway
84
+ * const input = {
85
+ * clientToken: "12345678-1234-1234-1234-123456789012",
86
+ * description: "Updated requester gateway description",
87
+ * gatewayId: "rtb-gw-12345678"
88
+ * };
89
+ * const command = new UpdateRequesterGatewayCommand(input);
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * {
93
+ * gatewayId: "rtb-gw-12345678",
94
+ * status: "PENDING_UPDATE"
95
+ * }
96
+ * *\/
97
+ * ```
98
+ *
99
+ * @public
100
+ */
101
+ export declare class UpdateRequesterGatewayCommand extends UpdateRequesterGatewayCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: UpdateRequesterGatewayRequest;
106
+ output: UpdateRequesterGatewayResponse;
107
+ };
108
+ sdk: {
109
+ input: UpdateRequesterGatewayCommandInput;
110
+ output: UpdateRequesterGatewayCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -0,0 +1,139 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateResponderGatewayRequest, UpdateResponderGatewayResponse } 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 UpdateResponderGatewayCommand}.
14
+ */
15
+ export interface UpdateResponderGatewayCommandInput extends UpdateResponderGatewayRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateResponderGatewayCommand}.
21
+ */
22
+ export interface UpdateResponderGatewayCommandOutput extends UpdateResponderGatewayResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateResponderGatewayCommand_base: {
25
+ new (input: UpdateResponderGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResponderGatewayCommandInput, UpdateResponderGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateResponderGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResponderGatewayCommandInput, UpdateResponderGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates 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, UpdateResponderGatewayCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
35
+ * // const { RTBFabricClient, UpdateResponderGatewayCommand } = 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 = { // UpdateResponderGatewayRequest
40
+ * domainName: "STRING_VALUE",
41
+ * port: Number("int"), // required
42
+ * protocol: "HTTP" || "HTTPS", // required
43
+ * trustStoreConfiguration: { // TrustStoreConfiguration
44
+ * certificateAuthorityCertificates: [ // CertificateAuthorityCertificates // required
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * managedEndpointConfiguration: { // ManagedEndpointConfiguration Union: only one key present
49
+ * autoScalingGroups: { // AutoScalingGroupsConfiguration
50
+ * autoScalingGroupNames: [ // AutoScalingGroupNameList // required
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * roleArn: "STRING_VALUE", // required
54
+ * },
55
+ * eksEndpoints: { // EksEndpointsConfiguration
56
+ * endpointsResourceName: "STRING_VALUE", // required
57
+ * endpointsResourceNamespace: "STRING_VALUE", // required
58
+ * clusterApiServerEndpointUri: "STRING_VALUE", // required
59
+ * clusterApiServerCaCertificateChain: "STRING_VALUE", // required
60
+ * clusterName: "STRING_VALUE", // required
61
+ * roleArn: "STRING_VALUE", // required
62
+ * },
63
+ * },
64
+ * clientToken: "STRING_VALUE", // required
65
+ * gatewayId: "STRING_VALUE", // required
66
+ * description: "STRING_VALUE",
67
+ * };
68
+ * const command = new UpdateResponderGatewayCommand(input);
69
+ * const response = await client.send(command);
70
+ * // { // UpdateResponderGatewayResponse
71
+ * // gatewayId: "STRING_VALUE", // required
72
+ * // status: "PENDING_CREATION" || "ACTIVE" || "PENDING_DELETION" || "DELETED" || "ERROR" || "PENDING_UPDATE" || "ISOLATED" || "PENDING_ISOLATION" || "PENDING_RESTORATION", // required
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param UpdateResponderGatewayCommandInput - {@link UpdateResponderGatewayCommandInput}
78
+ * @returns {@link UpdateResponderGatewayCommandOutput}
79
+ * @see {@link UpdateResponderGatewayCommandInput} for command's `input` shape.
80
+ * @see {@link UpdateResponderGatewayCommandOutput} for command's `response` shape.
81
+ * @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
85
+ *
86
+ * @throws {@link ConflictException} (client fault)
87
+ * <p>The request could not be completed because of a conflict in the current state of the resource.</p>
88
+ *
89
+ * @throws {@link InternalServerException} (server fault)
90
+ * <p>The request could not be completed because of an internal server error. Try your call again.</p>
91
+ *
92
+ * @throws {@link ResourceNotFoundException} (client fault)
93
+ * <p>The request could not be completed because the resource does not exist.</p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <p>The request was denied due to request throttling.</p>
97
+ *
98
+ * @throws {@link ValidationException} (client fault)
99
+ * <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
100
+ *
101
+ * @throws {@link RTBFabricServiceException}
102
+ * <p>Base exception class for all service exceptions from RTBFabric service.</p>
103
+ *
104
+ *
105
+ * @example Update responder gateway
106
+ * ```javascript
107
+ * // Update responder gateway
108
+ * const input = {
109
+ * clientToken: "12345678-1234-1234-1234-123456789012",
110
+ * description: "Updated responder gateway description",
111
+ * gatewayId: "rtb-gw-12345678",
112
+ * port: 8080,
113
+ * protocol: "HTTP"
114
+ * };
115
+ * const command = new UpdateResponderGatewayCommand(input);
116
+ * const response = await client.send(command);
117
+ * /* response is
118
+ * {
119
+ * gatewayId: "rtb-gw-12345678",
120
+ * status: "PENDING_UPDATE"
121
+ * }
122
+ * *\/
123
+ * ```
124
+ *
125
+ * @public
126
+ */
127
+ export declare class UpdateResponderGatewayCommand extends UpdateResponderGatewayCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: UpdateResponderGatewayRequest;
132
+ output: UpdateResponderGatewayResponse;
133
+ };
134
+ sdk: {
135
+ input: UpdateResponderGatewayCommandInput;
136
+ output: UpdateResponderGatewayCommandOutput;
137
+ };
138
+ };
139
+ }
@@ -0,0 +1,27 @@
1
+ export * from "./AcceptLinkCommand";
2
+ export * from "./CreateInboundExternalLinkCommand";
3
+ export * from "./CreateLinkCommand";
4
+ export * from "./CreateOutboundExternalLinkCommand";
5
+ export * from "./CreateRequesterGatewayCommand";
6
+ export * from "./CreateResponderGatewayCommand";
7
+ export * from "./DeleteInboundExternalLinkCommand";
8
+ export * from "./DeleteLinkCommand";
9
+ export * from "./DeleteOutboundExternalLinkCommand";
10
+ export * from "./DeleteRequesterGatewayCommand";
11
+ export * from "./DeleteResponderGatewayCommand";
12
+ export * from "./GetInboundExternalLinkCommand";
13
+ export * from "./GetLinkCommand";
14
+ export * from "./GetOutboundExternalLinkCommand";
15
+ export * from "./GetRequesterGatewayCommand";
16
+ export * from "./GetResponderGatewayCommand";
17
+ export * from "./ListLinksCommand";
18
+ export * from "./ListRequesterGatewaysCommand";
19
+ export * from "./ListResponderGatewaysCommand";
20
+ export * from "./ListTagsForResourceCommand";
21
+ export * from "./RejectLinkCommand";
22
+ export * from "./TagResourceCommand";
23
+ export * from "./UntagResourceCommand";
24
+ export * from "./UpdateLinkCommand";
25
+ export * from "./UpdateLinkModuleFlowCommand";
26
+ export * from "./UpdateRequesterGatewayCommand";
27
+ export * from "./UpdateResponderGatewayCommand";
@@ -0,0 +1,38 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
7
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
9
+ region?: string | undefined | Provider<string | undefined>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
15
+ export declare const commonParams: {
16
+ readonly UseFIPS: {
17
+ readonly type: "builtInParams";
18
+ readonly name: "useFipsEndpoint";
19
+ };
20
+ readonly Endpoint: {
21
+ readonly type: "builtInParams";
22
+ readonly name: "endpoint";
23
+ };
24
+ readonly Region: {
25
+ readonly type: "builtInParams";
26
+ readonly name: "region";
27
+ };
28
+ readonly UseDualStack: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "useDualstackEndpoint";
31
+ };
32
+ };
33
+ export interface EndpointParameters extends __EndpointParameters {
34
+ UseDualStack?: boolean | undefined;
35
+ UseFIPS?: boolean | undefined;
36
+ Endpoint?: string | undefined;
37
+ Region?: string | undefined;
38
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface RTBFabricExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * <p>Amazon Web Services RTB Fabric provides secure, low-latency infrastructure for connecting real-time bidding (RTB) applications. Rather than hosting applications directly, RTB Fabric acts as the connecting fabric that enables your applications to communicate efficiently over private networks instead of the public internet. You maintain complete control over your applications, data, and bidding decisions, while RTB Fabric provides the underlying infrastructure for secure, reliable connectivity.</p> <p>You can use these APIs to complete RTB Fabric tasks, such as setting up audit log ingestions or viewing user access. For more information about RTB Fabric, including the required permissions to use the service, see the <a href="https://docs.aws.amazon.com/rtb-fabric/latest/userguide/">Amazon Web Services RTB Fabric User Guide</a>.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./RTBFabricClient";
7
+ export * from "./RTBFabric";
8
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { RTBFabricExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./pagination";
13
+ export * from "./waiters";
14
+ export * from "./models";
15
+ export { RTBFabricServiceException } from "./models/RTBFabricServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from RTBFabric service.
8
+ */
9
+ export declare class RTBFabricServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";