@aws-sdk/client-rtbfabric 3.927.0 → 3.929.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 (55) hide show
  1. package/dist-cjs/index.js +1115 -1418
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/RTBFabricClient.js +2 -0
  4. package/dist-es/commands/AcceptLinkCommand.js +3 -9
  5. package/dist-es/commands/CreateInboundExternalLinkCommand.js +3 -9
  6. package/dist-es/commands/CreateLinkCommand.js +3 -9
  7. package/dist-es/commands/CreateOutboundExternalLinkCommand.js +3 -9
  8. package/dist-es/commands/CreateRequesterGatewayCommand.js +3 -9
  9. package/dist-es/commands/CreateResponderGatewayCommand.js +3 -10
  10. package/dist-es/commands/DeleteInboundExternalLinkCommand.js +3 -9
  11. package/dist-es/commands/DeleteLinkCommand.js +3 -9
  12. package/dist-es/commands/DeleteOutboundExternalLinkCommand.js +3 -9
  13. package/dist-es/commands/DeleteRequesterGatewayCommand.js +3 -9
  14. package/dist-es/commands/DeleteResponderGatewayCommand.js +3 -9
  15. package/dist-es/commands/GetInboundExternalLinkCommand.js +3 -9
  16. package/dist-es/commands/GetLinkCommand.js +3 -9
  17. package/dist-es/commands/GetOutboundExternalLinkCommand.js +3 -9
  18. package/dist-es/commands/GetRequesterGatewayCommand.js +3 -9
  19. package/dist-es/commands/GetResponderGatewayCommand.js +3 -10
  20. package/dist-es/commands/ListLinksCommand.js +3 -9
  21. package/dist-es/commands/ListRequesterGatewaysCommand.js +3 -9
  22. package/dist-es/commands/ListResponderGatewaysCommand.js +3 -9
  23. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  24. package/dist-es/commands/RejectLinkCommand.js +3 -9
  25. package/dist-es/commands/TagResourceCommand.js +3 -9
  26. package/dist-es/commands/UntagResourceCommand.js +3 -9
  27. package/dist-es/commands/UpdateLinkCommand.js +3 -9
  28. package/dist-es/commands/UpdateLinkModuleFlowCommand.js +3 -9
  29. package/dist-es/commands/UpdateRequesterGatewayCommand.js +3 -9
  30. package/dist-es/commands/UpdateResponderGatewayCommand.js +3 -10
  31. package/dist-es/models/models_0.js +0 -44
  32. package/dist-es/runtimeConfig.shared.js +2 -0
  33. package/dist-es/schemas/schemas_0.js +1051 -0
  34. package/dist-types/RTBFabricClient.d.ts +10 -1
  35. package/dist-types/commands/CreateInboundExternalLinkCommand.d.ts +17 -1
  36. package/dist-types/commands/CreateOutboundExternalLinkCommand.d.ts +29 -0
  37. package/dist-types/commands/GetInboundExternalLinkCommand.d.ts +8 -0
  38. package/dist-types/commands/GetOutboundExternalLinkCommand.d.ts +8 -0
  39. package/dist-types/models/models_0.d.ts +25 -24
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  41. package/dist-types/runtimeConfig.d.ts +1 -0
  42. package/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  44. package/dist-types/schemas/schemas_0.d.ts +127 -0
  45. package/dist-types/ts3.4/RTBFabricClient.d.ts +4 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +5 -18
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +133 -0
  52. package/package.json +5 -6
  53. package/dist-es/protocols/Aws_restJson1.js +0 -1163
  54. package/dist-types/protocols/Aws_restJson1.d.ts +0 -245
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -329
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RTBFabric", "UntagResource", {})
17
13
  .n("RTBFabricClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateLinkCommand, se_UpdateLinkCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateLink } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLinkCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RTBFabric", "UpdateLink", {})
17
13
  .n("RTBFabricClient", "UpdateLinkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLinkCommand)
20
- .de(de_UpdateLinkCommand)
14
+ .sc(UpdateLink)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateLinkModuleFlowCommand, se_UpdateLinkModuleFlowCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateLinkModuleFlow } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLinkModuleFlowCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RTBFabric", "UpdateLinkModuleFlow", {})
17
13
  .n("RTBFabricClient", "UpdateLinkModuleFlowCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLinkModuleFlowCommand)
20
- .de(de_UpdateLinkModuleFlowCommand)
14
+ .sc(UpdateLinkModuleFlow)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateRequesterGatewayCommand, se_UpdateRequesterGatewayCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateRequesterGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRequesterGatewayCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RTBFabric", "UpdateRequesterGateway", {})
17
13
  .n("RTBFabricClient", "UpdateRequesterGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRequesterGatewayCommand)
20
- .de(de_UpdateRequesterGatewayCommand)
14
+ .sc(UpdateRequesterGateway)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateResponderGatewayRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateResponderGatewayCommand, se_UpdateResponderGatewayCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateResponderGateway } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateResponderGatewayCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("RTBFabric", "UpdateResponderGateway", {})
18
13
  .n("RTBFabricClient", "UpdateResponderGatewayCommand")
19
- .f(UpdateResponderGatewayRequestFilterSensitiveLog, void 0)
20
- .ser(se_UpdateResponderGatewayCommand)
21
- .de(de_UpdateResponderGatewayCommand)
14
+ .sc(UpdateResponderGateway)
22
15
  .build() {
23
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { RTBFabricServiceException as __BaseException } from "./RTBFabricServiceException";
3
2
  export const ResponderErrorMaskingAction = {
4
3
  NO_BID: "NO_BID",
@@ -176,46 +175,3 @@ export const ResponderGatewayStatus = {
176
175
  PENDING_RESTORATION: "PENDING_RESTORATION",
177
176
  PENDING_UPDATE: "PENDING_UPDATE",
178
177
  };
179
- export const EksEndpointsConfigurationFilterSensitiveLog = (obj) => ({
180
- ...obj,
181
- ...(obj.clusterApiServerCaCertificateChain && { clusterApiServerCaCertificateChain: SENSITIVE_STRING }),
182
- });
183
- export const ManagedEndpointConfigurationFilterSensitiveLog = (obj) => {
184
- if (obj.autoScalingGroups !== undefined)
185
- return { autoScalingGroups: obj.autoScalingGroups };
186
- if (obj.eksEndpoints !== undefined)
187
- return { eksEndpoints: EksEndpointsConfigurationFilterSensitiveLog(obj.eksEndpoints) };
188
- if (obj.$unknown !== undefined)
189
- return { [obj.$unknown[0]]: "UNKNOWN" };
190
- };
191
- export const TrustStoreConfigurationFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.certificateAuthorityCertificates && { certificateAuthorityCertificates: SENSITIVE_STRING }),
194
- });
195
- export const CreateResponderGatewayRequestFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- ...(obj.trustStoreConfiguration && {
198
- trustStoreConfiguration: TrustStoreConfigurationFilterSensitiveLog(obj.trustStoreConfiguration),
199
- }),
200
- ...(obj.managedEndpointConfiguration && {
201
- managedEndpointConfiguration: ManagedEndpointConfigurationFilterSensitiveLog(obj.managedEndpointConfiguration),
202
- }),
203
- });
204
- export const GetResponderGatewayResponseFilterSensitiveLog = (obj) => ({
205
- ...obj,
206
- ...(obj.trustStoreConfiguration && {
207
- trustStoreConfiguration: TrustStoreConfigurationFilterSensitiveLog(obj.trustStoreConfiguration),
208
- }),
209
- ...(obj.managedEndpointConfiguration && {
210
- managedEndpointConfiguration: ManagedEndpointConfigurationFilterSensitiveLog(obj.managedEndpointConfiguration),
211
- }),
212
- });
213
- export const UpdateResponderGatewayRequestFilterSensitiveLog = (obj) => ({
214
- ...obj,
215
- ...(obj.trustStoreConfiguration && {
216
- trustStoreConfiguration: TrustStoreConfigurationFilterSensitiveLog(obj.trustStoreConfiguration),
217
- }),
218
- ...(obj.managedEndpointConfiguration && {
219
- managedEndpointConfiguration: ManagedEndpointConfigurationFilterSensitiveLog(obj.managedEndpointConfiguration),
220
- }),
221
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.rtbfabric" }),
25
27
  serviceId: config?.serviceId ?? "RTBFabric",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,