@aws-sdk/client-mediaconnect 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 (73) hide show
  1. package/dist-cjs/index.js +7034 -3270
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MediaConnectClient.js +2 -0
  4. package/dist-es/commands/AddBridgeOutputsCommand.js +3 -9
  5. package/dist-es/commands/AddBridgeSourcesCommand.js +3 -9
  6. package/dist-es/commands/AddFlowMediaStreamsCommand.js +3 -9
  7. package/dist-es/commands/AddFlowOutputsCommand.js +3 -9
  8. package/dist-es/commands/AddFlowSourcesCommand.js +3 -9
  9. package/dist-es/commands/AddFlowVpcInterfacesCommand.js +3 -9
  10. package/dist-es/commands/CreateBridgeCommand.js +3 -9
  11. package/dist-es/commands/CreateFlowCommand.js +3 -9
  12. package/dist-es/commands/CreateGatewayCommand.js +3 -9
  13. package/dist-es/commands/DeleteBridgeCommand.js +3 -9
  14. package/dist-es/commands/DeleteFlowCommand.js +3 -9
  15. package/dist-es/commands/DeleteGatewayCommand.js +3 -9
  16. package/dist-es/commands/DeregisterGatewayInstanceCommand.js +3 -9
  17. package/dist-es/commands/DescribeBridgeCommand.js +3 -9
  18. package/dist-es/commands/DescribeFlowCommand.js +3 -9
  19. package/dist-es/commands/DescribeFlowSourceMetadataCommand.js +3 -9
  20. package/dist-es/commands/DescribeFlowSourceThumbnailCommand.js +3 -9
  21. package/dist-es/commands/DescribeGatewayCommand.js +3 -9
  22. package/dist-es/commands/DescribeGatewayInstanceCommand.js +3 -9
  23. package/dist-es/commands/DescribeOfferingCommand.js +3 -9
  24. package/dist-es/commands/DescribeReservationCommand.js +3 -9
  25. package/dist-es/commands/GrantFlowEntitlementsCommand.js +3 -9
  26. package/dist-es/commands/ListBridgesCommand.js +3 -9
  27. package/dist-es/commands/ListEntitlementsCommand.js +3 -9
  28. package/dist-es/commands/ListFlowsCommand.js +3 -9
  29. package/dist-es/commands/ListGatewayInstancesCommand.js +3 -9
  30. package/dist-es/commands/ListGatewaysCommand.js +3 -9
  31. package/dist-es/commands/ListOfferingsCommand.js +3 -9
  32. package/dist-es/commands/ListReservationsCommand.js +3 -9
  33. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  34. package/dist-es/commands/PurchaseOfferingCommand.js +3 -9
  35. package/dist-es/commands/RemoveBridgeOutputCommand.js +3 -9
  36. package/dist-es/commands/RemoveBridgeSourceCommand.js +3 -9
  37. package/dist-es/commands/RemoveFlowMediaStreamCommand.js +3 -9
  38. package/dist-es/commands/RemoveFlowOutputCommand.js +3 -9
  39. package/dist-es/commands/RemoveFlowSourceCommand.js +3 -9
  40. package/dist-es/commands/RemoveFlowVpcInterfaceCommand.js +3 -9
  41. package/dist-es/commands/RevokeFlowEntitlementCommand.js +3 -9
  42. package/dist-es/commands/StartFlowCommand.js +3 -9
  43. package/dist-es/commands/StopFlowCommand.js +3 -9
  44. package/dist-es/commands/TagResourceCommand.js +3 -9
  45. package/dist-es/commands/UntagResourceCommand.js +3 -9
  46. package/dist-es/commands/UpdateBridgeCommand.js +3 -9
  47. package/dist-es/commands/UpdateBridgeOutputCommand.js +3 -9
  48. package/dist-es/commands/UpdateBridgeSourceCommand.js +3 -9
  49. package/dist-es/commands/UpdateBridgeStateCommand.js +3 -9
  50. package/dist-es/commands/UpdateFlowCommand.js +3 -9
  51. package/dist-es/commands/UpdateFlowEntitlementCommand.js +3 -9
  52. package/dist-es/commands/UpdateFlowMediaStreamCommand.js +3 -9
  53. package/dist-es/commands/UpdateFlowOutputCommand.js +3 -9
  54. package/dist-es/commands/UpdateFlowSourceCommand.js +3 -9
  55. package/dist-es/commands/UpdateGatewayInstanceCommand.js +3 -9
  56. package/dist-es/runtimeConfig.shared.js +2 -0
  57. package/dist-es/schemas/schemas_0.js +6901 -0
  58. package/dist-types/MediaConnectClient.d.ts +10 -1
  59. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  60. package/dist-types/runtimeConfig.d.ts +1 -0
  61. package/dist-types/runtimeConfig.native.d.ts +1 -0
  62. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  63. package/dist-types/schemas/schemas_0.d.ts +296 -0
  64. package/dist-types/ts3.4/MediaConnectClient.d.ts +4 -0
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  69. package/dist-types/ts3.4/schemas/schemas_0.d.ts +301 -0
  70. package/package.json +5 -5
  71. package/dist-es/protocols/Aws_restJson1.js +0 -2877
  72. package/dist-types/protocols/Aws_restJson1.d.ts +0 -470
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -629
@@ -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_UpdateFlowCommand, se_UpdateFlowCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateFlow } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateFlowCommand 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("MediaConnect", "UpdateFlow", {})
17
13
  .n("MediaConnectClient", "UpdateFlowCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateFlowCommand)
20
- .de(de_UpdateFlowCommand)
14
+ .sc(UpdateFlow)
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_UpdateFlowEntitlementCommand, se_UpdateFlowEntitlementCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateFlowEntitlement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateFlowEntitlementCommand 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("MediaConnect", "UpdateFlowEntitlement", {})
17
13
  .n("MediaConnectClient", "UpdateFlowEntitlementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateFlowEntitlementCommand)
20
- .de(de_UpdateFlowEntitlementCommand)
14
+ .sc(UpdateFlowEntitlement)
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_UpdateFlowMediaStreamCommand, se_UpdateFlowMediaStreamCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateFlowMediaStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateFlowMediaStreamCommand 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("MediaConnect", "UpdateFlowMediaStream", {})
17
13
  .n("MediaConnectClient", "UpdateFlowMediaStreamCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateFlowMediaStreamCommand)
20
- .de(de_UpdateFlowMediaStreamCommand)
14
+ .sc(UpdateFlowMediaStream)
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_UpdateFlowOutputCommand, se_UpdateFlowOutputCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateFlowOutput } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateFlowOutputCommand 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("MediaConnect", "UpdateFlowOutput", {})
17
13
  .n("MediaConnectClient", "UpdateFlowOutputCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateFlowOutputCommand)
20
- .de(de_UpdateFlowOutputCommand)
14
+ .sc(UpdateFlowOutput)
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_UpdateFlowSourceCommand, se_UpdateFlowSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateFlowSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateFlowSourceCommand 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("MediaConnect", "UpdateFlowSource", {})
17
13
  .n("MediaConnectClient", "UpdateFlowSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateFlowSourceCommand)
20
- .de(de_UpdateFlowSourceCommand)
14
+ .sc(UpdateFlowSource)
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_UpdateGatewayInstanceCommand, se_UpdateGatewayInstanceCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateGatewayInstance } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGatewayInstanceCommand 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("MediaConnect", "UpdateGatewayInstance", {})
17
13
  .n("MediaConnectClient", "UpdateGatewayInstanceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateGatewayInstanceCommand)
20
- .de(de_UpdateGatewayInstanceCommand)
14
+ .sc(UpdateGatewayInstance)
21
15
  .build() {
22
16
  }
@@ -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.mediaconnect" }),
25
27
  serviceId: config?.serviceId ?? "MediaConnect",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,