@aws-sdk/client-mediaconnect 3.477.0 → 3.480.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 (50) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/MediaConnect.js +2 -0
  3. package/dist-cjs/commands/DescribeFlowSourceMetadataCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/pagination/ListBridgesPaginator.js +2 -24
  6. package/dist-cjs/pagination/ListEntitlementsPaginator.js +2 -24
  7. package/dist-cjs/pagination/ListFlowsPaginator.js +2 -24
  8. package/dist-cjs/pagination/ListGatewayInstancesPaginator.js +2 -24
  9. package/dist-cjs/pagination/ListGatewaysPaginator.js +2 -24
  10. package/dist-cjs/pagination/ListOfferingsPaginator.js +2 -24
  11. package/dist-cjs/pagination/ListReservationsPaginator.js +2 -24
  12. package/dist-cjs/protocols/Aws_restJson1.js +113 -2
  13. package/dist-es/MediaConnect.js +2 -0
  14. package/dist-es/commands/DescribeFlowSourceMetadataCommand.js +47 -0
  15. package/dist-es/commands/index.js +1 -0
  16. package/dist-es/pagination/ListBridgesPaginator.js +2 -23
  17. package/dist-es/pagination/ListEntitlementsPaginator.js +2 -23
  18. package/dist-es/pagination/ListFlowsPaginator.js +2 -23
  19. package/dist-es/pagination/ListGatewayInstancesPaginator.js +2 -23
  20. package/dist-es/pagination/ListGatewaysPaginator.js +2 -23
  21. package/dist-es/pagination/ListOfferingsPaginator.js +2 -23
  22. package/dist-es/pagination/ListReservationsPaginator.js +2 -23
  23. package/dist-es/protocols/Aws_restJson1.js +109 -1
  24. package/dist-types/MediaConnect.d.ts +7 -0
  25. package/dist-types/MediaConnectClient.d.ts +3 -2
  26. package/dist-types/commands/DescribeFlowSourceMetadataCommand.d.ts +124 -0
  27. package/dist-types/commands/index.d.ts +1 -0
  28. package/dist-types/models/models_0.d.ts +139 -0
  29. package/dist-types/pagination/ListBridgesPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListEntitlementsPaginator.d.ts +1 -1
  31. package/dist-types/pagination/ListFlowsPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ListGatewayInstancesPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListGatewaysPaginator.d.ts +1 -1
  34. package/dist-types/pagination/ListOfferingsPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListReservationsPaginator.d.ts +1 -1
  36. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  37. package/dist-types/ts3.4/MediaConnect.d.ts +17 -0
  38. package/dist-types/ts3.4/MediaConnectClient.d.ts +6 -0
  39. package/dist-types/ts3.4/commands/DescribeFlowSourceMetadataCommand.d.ts +42 -0
  40. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +33 -0
  42. package/dist-types/ts3.4/pagination/ListBridgesPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/ListEntitlementsPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +3 -3
  45. package/dist-types/ts3.4/pagination/ListGatewayInstancesPaginator.d.ts +3 -3
  46. package/dist-types/ts3.4/pagination/ListGatewaysPaginator.d.ts +3 -3
  47. package/dist-types/ts3.4/pagination/ListOfferingsPaginator.d.ts +3 -3
  48. package/dist-types/ts3.4/pagination/ListReservationsPaginator.d.ts +3 -3
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  50. package/package.json +5 -5
@@ -15,6 +15,7 @@ import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "../comman
15
15
  import { DeregisterGatewayInstanceCommandInput, DeregisterGatewayInstanceCommandOutput } from "../commands/DeregisterGatewayInstanceCommand";
16
16
  import { DescribeBridgeCommandInput, DescribeBridgeCommandOutput } from "../commands/DescribeBridgeCommand";
17
17
  import { DescribeFlowCommandInput, DescribeFlowCommandOutput } from "../commands/DescribeFlowCommand";
18
+ import { DescribeFlowSourceMetadataCommandInput, DescribeFlowSourceMetadataCommandOutput } from "../commands/DescribeFlowSourceMetadataCommand";
18
19
  import { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "../commands/DescribeGatewayCommand";
19
20
  import { DescribeGatewayInstanceCommandInput, DescribeGatewayInstanceCommandOutput } from "../commands/DescribeGatewayInstanceCommand";
20
21
  import { DescribeOfferingCommandInput, DescribeOfferingCommandOutput } from "../commands/DescribeOfferingCommand";
@@ -110,6 +111,10 @@ export declare const se_DescribeBridgeCommand: (input: DescribeBridgeCommandInpu
110
111
  * serializeAws_restJson1DescribeFlowCommand
111
112
  */
112
113
  export declare const se_DescribeFlowCommand: (input: DescribeFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
114
+ /**
115
+ * serializeAws_restJson1DescribeFlowSourceMetadataCommand
116
+ */
117
+ export declare const se_DescribeFlowSourceMetadataCommand: (input: DescribeFlowSourceMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
118
  /**
114
119
  * serializeAws_restJson1DescribeGatewayCommand
115
120
  */
@@ -310,6 +315,10 @@ export declare const de_DescribeBridgeCommand: (output: __HttpResponse, context:
310
315
  * deserializeAws_restJson1DescribeFlowCommand
311
316
  */
312
317
  export declare const de_DescribeFlowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeFlowCommandOutput>;
318
+ /**
319
+ * deserializeAws_restJson1DescribeFlowSourceMetadataCommand
320
+ */
321
+ export declare const de_DescribeFlowSourceMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeFlowSourceMetadataCommandOutput>;
313
322
  /**
314
323
  * deserializeAws_restJson1DescribeGatewayCommand
315
324
  */
@@ -59,6 +59,10 @@ import {
59
59
  DescribeFlowCommandInput,
60
60
  DescribeFlowCommandOutput,
61
61
  } from "./commands/DescribeFlowCommand";
62
+ import {
63
+ DescribeFlowSourceMetadataCommandInput,
64
+ DescribeFlowSourceMetadataCommandOutput,
65
+ } from "./commands/DescribeFlowSourceMetadataCommand";
62
66
  import {
63
67
  DescribeGatewayCommandInput,
64
68
  DescribeGatewayCommandOutput,
@@ -396,6 +400,19 @@ export interface MediaConnect {
396
400
  options: __HttpHandlerOptions,
397
401
  cb: (err: any, data?: DescribeFlowCommandOutput) => void
398
402
  ): void;
403
+ describeFlowSourceMetadata(
404
+ args: DescribeFlowSourceMetadataCommandInput,
405
+ options?: __HttpHandlerOptions
406
+ ): Promise<DescribeFlowSourceMetadataCommandOutput>;
407
+ describeFlowSourceMetadata(
408
+ args: DescribeFlowSourceMetadataCommandInput,
409
+ cb: (err: any, data?: DescribeFlowSourceMetadataCommandOutput) => void
410
+ ): void;
411
+ describeFlowSourceMetadata(
412
+ args: DescribeFlowSourceMetadataCommandInput,
413
+ options: __HttpHandlerOptions,
414
+ cb: (err: any, data?: DescribeFlowSourceMetadataCommandOutput) => void
415
+ ): void;
399
416
  describeGateway(
400
417
  args: DescribeGatewayCommandInput,
401
418
  options?: __HttpHandlerOptions
@@ -105,6 +105,10 @@ import {
105
105
  DescribeFlowCommandInput,
106
106
  DescribeFlowCommandOutput,
107
107
  } from "./commands/DescribeFlowCommand";
108
+ import {
109
+ DescribeFlowSourceMetadataCommandInput,
110
+ DescribeFlowSourceMetadataCommandOutput,
111
+ } from "./commands/DescribeFlowSourceMetadataCommand";
108
112
  import {
109
113
  DescribeGatewayCommandInput,
110
114
  DescribeGatewayCommandOutput,
@@ -268,6 +272,7 @@ export type ServiceInputTypes =
268
272
  | DeregisterGatewayInstanceCommandInput
269
273
  | DescribeBridgeCommandInput
270
274
  | DescribeFlowCommandInput
275
+ | DescribeFlowSourceMetadataCommandInput
271
276
  | DescribeGatewayCommandInput
272
277
  | DescribeGatewayInstanceCommandInput
273
278
  | DescribeOfferingCommandInput
@@ -319,6 +324,7 @@ export type ServiceOutputTypes =
319
324
  | DeregisterGatewayInstanceCommandOutput
320
325
  | DescribeBridgeCommandOutput
321
326
  | DescribeFlowCommandOutput
327
+ | DescribeFlowSourceMetadataCommandOutput
322
328
  | DescribeGatewayCommandOutput
323
329
  | DescribeGatewayInstanceCommandOutput
324
330
  | DescribeOfferingCommandOutput
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ MediaConnectClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../MediaConnectClient";
14
+ import {
15
+ DescribeFlowSourceMetadataRequest,
16
+ DescribeFlowSourceMetadataResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DescribeFlowSourceMetadataCommandInput
20
+ extends DescribeFlowSourceMetadataRequest {}
21
+ export interface DescribeFlowSourceMetadataCommandOutput
22
+ extends DescribeFlowSourceMetadataResponse,
23
+ __MetadataBearer {}
24
+ export declare class DescribeFlowSourceMetadataCommand extends $Command<
25
+ DescribeFlowSourceMetadataCommandInput,
26
+ DescribeFlowSourceMetadataCommandOutput,
27
+ MediaConnectClientResolvedConfig
28
+ > {
29
+ readonly input: DescribeFlowSourceMetadataCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DescribeFlowSourceMetadataCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: MediaConnectClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DescribeFlowSourceMetadataCommandInput,
38
+ DescribeFlowSourceMetadataCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -13,6 +13,7 @@ export * from "./DeleteGatewayCommand";
13
13
  export * from "./DeregisterGatewayInstanceCommand";
14
14
  export * from "./DescribeBridgeCommand";
15
15
  export * from "./DescribeFlowCommand";
16
+ export * from "./DescribeFlowSourceMetadataCommand";
16
17
  export * from "./DescribeGatewayCommand";
17
18
  export * from "./DescribeGatewayInstanceCommand";
18
19
  export * from "./DescribeOfferingCommand";
@@ -529,6 +529,27 @@ export interface Source {
529
529
  WhitelistCidr?: string;
530
530
  GatewayBridgeSource?: GatewayBridgeSource;
531
531
  }
532
+ export interface FrameResolution {
533
+ FrameHeight: number | undefined;
534
+ FrameWidth: number | undefined;
535
+ }
536
+ export interface TransportStream {
537
+ Channels?: number;
538
+ Codec?: string;
539
+ FrameRate?: string;
540
+ FrameResolution?: FrameResolution;
541
+ Pid: number | undefined;
542
+ SampleRate?: number;
543
+ SampleSize?: number;
544
+ StreamType: string | undefined;
545
+ }
546
+ export interface TransportStreamProgram {
547
+ PcrPid: number | undefined;
548
+ ProgramName?: string;
549
+ ProgramNumber: number | undefined;
550
+ ProgramPid: number | undefined;
551
+ Streams: TransportStream[] | undefined;
552
+ }
532
553
  export declare const NetworkInterfaceType: {
533
554
  readonly efa: "efa";
534
555
  readonly ena: "ena";
@@ -845,6 +866,18 @@ export interface DescribeFlowResponse {
845
866
  Flow?: Flow;
846
867
  Messages?: Messages;
847
868
  }
869
+ export interface DescribeFlowSourceMetadataRequest {
870
+ FlowArn: string | undefined;
871
+ }
872
+ export interface TransportMediaInfo {
873
+ Programs: TransportStreamProgram[] | undefined;
874
+ }
875
+ export interface DescribeFlowSourceMetadataResponse {
876
+ FlowArn?: string;
877
+ Messages?: MessageDetail[];
878
+ Timestamp?: Date;
879
+ TransportMediaInfo?: TransportMediaInfo;
880
+ }
848
881
  export interface DescribeGatewayRequest {
849
882
  GatewayArn: string | undefined;
850
883
  }
@@ -4,8 +4,8 @@ import {
4
4
  ListBridgesCommandOutput,
5
5
  } from "../commands/ListBridgesCommand";
6
6
  import { MediaConnectPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListBridges(
7
+ export declare const paginateListBridges: (
8
8
  config: MediaConnectPaginationConfiguration,
9
9
  input: ListBridgesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListBridgesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListBridgesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListEntitlementsCommandOutput,
5
5
  } from "../commands/ListEntitlementsCommand";
6
6
  import { MediaConnectPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListEntitlements(
7
+ export declare const paginateListEntitlements: (
8
8
  config: MediaConnectPaginationConfiguration,
9
9
  input: ListEntitlementsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListEntitlementsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListEntitlementsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListFlowsCommandOutput,
5
5
  } from "../commands/ListFlowsCommand";
6
6
  import { MediaConnectPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListFlows(
7
+ export declare const paginateListFlows: (
8
8
  config: MediaConnectPaginationConfiguration,
9
9
  input: ListFlowsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListFlowsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListFlowsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListGatewayInstancesCommandOutput,
5
5
  } from "../commands/ListGatewayInstancesCommand";
6
6
  import { MediaConnectPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListGatewayInstances(
7
+ export declare const paginateListGatewayInstances: (
8
8
  config: MediaConnectPaginationConfiguration,
9
9
  input: ListGatewayInstancesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListGatewayInstancesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListGatewayInstancesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListGatewaysCommandOutput,
5
5
  } from "../commands/ListGatewaysCommand";
6
6
  import { MediaConnectPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListGateways(
7
+ export declare const paginateListGateways: (
8
8
  config: MediaConnectPaginationConfiguration,
9
9
  input: ListGatewaysCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListGatewaysCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListGatewaysCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListOfferingsCommandOutput,
5
5
  } from "../commands/ListOfferingsCommand";
6
6
  import { MediaConnectPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListOfferings(
7
+ export declare const paginateListOfferings: (
8
8
  config: MediaConnectPaginationConfiguration,
9
9
  input: ListOfferingsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListOfferingsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListOfferingsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListReservationsCommandOutput,
5
5
  } from "../commands/ListReservationsCommand";
6
6
  import { MediaConnectPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListReservations(
7
+ export declare const paginateListReservations: (
8
8
  config: MediaConnectPaginationConfiguration,
9
9
  input: ListReservationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListReservationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListReservationsCommandOutput>;
@@ -63,6 +63,10 @@ import {
63
63
  DescribeFlowCommandInput,
64
64
  DescribeFlowCommandOutput,
65
65
  } from "../commands/DescribeFlowCommand";
66
+ import {
67
+ DescribeFlowSourceMetadataCommandInput,
68
+ DescribeFlowSourceMetadataCommandOutput,
69
+ } from "../commands/DescribeFlowSourceMetadataCommand";
66
70
  import {
67
71
  DescribeGatewayCommandInput,
68
72
  DescribeGatewayCommandOutput,
@@ -263,6 +267,10 @@ export declare const se_DescribeFlowCommand: (
263
267
  input: DescribeFlowCommandInput,
264
268
  context: __SerdeContext
265
269
  ) => Promise<__HttpRequest>;
270
+ export declare const se_DescribeFlowSourceMetadataCommand: (
271
+ input: DescribeFlowSourceMetadataCommandInput,
272
+ context: __SerdeContext
273
+ ) => Promise<__HttpRequest>;
266
274
  export declare const se_DescribeGatewayCommand: (
267
275
  input: DescribeGatewayCommandInput,
268
276
  context: __SerdeContext
@@ -463,6 +471,10 @@ export declare const de_DescribeFlowCommand: (
463
471
  output: __HttpResponse,
464
472
  context: __SerdeContext
465
473
  ) => Promise<DescribeFlowCommandOutput>;
474
+ export declare const de_DescribeFlowSourceMetadataCommand: (
475
+ output: __HttpResponse,
476
+ context: __SerdeContext
477
+ ) => Promise<DescribeFlowSourceMetadataCommandOutput>;
466
478
  export declare const de_DescribeGatewayCommand: (
467
479
  output: __HttpResponse,
468
480
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediaconnect",
3
3
  "description": "AWS SDK for JavaScript Mediaconnect Client for Node.js, Browser and React Native",
4
- "version": "3.477.0",
4
+ "version": "3.480.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.477.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
24
  "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.478.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",