@aws-sdk/client-medialive 3.408.0 → 3.410.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/README.md +16 -0
  2. package/dist-cjs/MediaLive.js +4 -0
  3. package/dist-cjs/commands/StartInputDeviceCommand.js +46 -0
  4. package/dist-cjs/commands/StopInputDeviceCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +12 -7
  7. package/dist-cjs/models/models_1.js +7 -3
  8. package/dist-cjs/protocols/Aws_restJson1.js +165 -3
  9. package/dist-cjs/runtimeExtensions.js +3 -0
  10. package/dist-es/MediaLive.js +4 -0
  11. package/dist-es/commands/StartInputDeviceCommand.js +42 -0
  12. package/dist-es/commands/StopInputDeviceCommand.js +42 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +9 -4
  15. package/dist-es/models/models_1.js +4 -0
  16. package/dist-es/protocols/Aws_restJson1.js +158 -0
  17. package/dist-es/runtimeExtensions.js +3 -0
  18. package/dist-types/MediaLive.d.ts +14 -0
  19. package/dist-types/MediaLiveClient.d.ts +4 -2
  20. package/dist-types/commands/DescribeInputDeviceCommand.d.ts +11 -0
  21. package/dist-types/commands/ListInputDevicesCommand.d.ts +11 -0
  22. package/dist-types/commands/ListMultiplexProgramsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListMultiplexesCommand.d.ts +2 -1
  24. package/dist-types/commands/ListOfferingsCommand.d.ts +1 -2
  25. package/dist-types/commands/StartInputDeviceCommand.d.ts +95 -0
  26. package/dist-types/commands/StopInputDeviceCommand.d.ts +95 -0
  27. package/dist-types/commands/UpdateInputDeviceCommand.d.ts +25 -0
  28. package/dist-types/commands/index.d.ts +2 -0
  29. package/dist-types/extensionConfiguration.d.ts +2 -1
  30. package/dist-types/models/models_0.d.ts +71 -39
  31. package/dist-types/models/models_1.d.ts +86 -120
  32. package/dist-types/models/models_2.d.ts +164 -1
  33. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +4 -1
  35. package/dist-types/runtimeConfig.d.ts +4 -1
  36. package/dist-types/runtimeConfig.native.d.ts +4 -1
  37. package/dist-types/runtimeExtensions.d.ts +1 -1
  38. package/dist-types/ts3.4/MediaLive.d.ts +34 -0
  39. package/dist-types/ts3.4/MediaLiveClient.d.ts +12 -0
  40. package/dist-types/ts3.4/commands/ListMultiplexProgramsCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ListMultiplexesCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/ListOfferingsCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/StartInputDeviceCommand.d.ts +38 -0
  44. package/dist-types/ts3.4/commands/StopInputDeviceCommand.d.ts +38 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  46. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  47. package/dist-types/ts3.4/models/models_0.d.ts +23 -12
  48. package/dist-types/ts3.4/models/models_1.d.ts +24 -31
  49. package/dist-types/ts3.4/models/models_2.d.ts +40 -0
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
  54. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  55. package/package.json +30 -30
@@ -28,17 +28,18 @@ import {
28
28
  HlsId3SegmentTaggingState,
29
29
  HlsIncompleteSegmentBehavior,
30
30
  HlsIvInManifest,
31
- HlsIvSource,
32
31
  IFrameOnlyPlaylistType,
33
32
  Input,
34
33
  InputAttachment,
35
34
  InputClass,
36
35
  InputDestination,
37
36
  InputDestinationRequest,
37
+ InputDeviceCodec,
38
38
  InputDeviceConfiguredInput,
39
39
  InputDeviceConnectionState,
40
40
  InputDeviceHdSettings,
41
41
  InputDeviceNetworkSettings,
42
+ InputDeviceOutputType,
42
43
  InputDeviceSettings,
43
44
  InputDeviceSummary,
44
45
  InputDeviceType,
@@ -55,7 +56,6 @@ import {
55
56
  InputType,
56
57
  InputWhitelistRule,
57
58
  InputWhitelistRuleCidr,
58
- KeyProviderSettings,
59
59
  LogLevel,
60
60
  MaintenanceDay,
61
61
  MaintenanceStatus,
@@ -63,9 +63,7 @@ import {
63
63
  MediaConnectFlowRequest,
64
64
  MultiplexOutputDestination,
65
65
  MultiplexProgramPipelineDetail,
66
- MultiplexProgramSummary,
67
66
  MultiplexState,
68
- MultiplexSummary,
69
67
  OfferingDurationUnits,
70
68
  OfferingType,
71
69
  Output,
@@ -74,6 +72,18 @@ import {
74
72
  ReservationResourceSpecification,
75
73
  VpcOutputSettingsDescription,
76
74
  } from "./models_0";
75
+ export declare const HlsIvSource: {
76
+ readonly EXPLICIT: "EXPLICIT";
77
+ readonly FOLLOWS_SEGMENT_NUMBER: "FOLLOWS_SEGMENT_NUMBER";
78
+ };
79
+ export type HlsIvSource = (typeof HlsIvSource)[keyof typeof HlsIvSource];
80
+ export interface StaticKeySettings {
81
+ KeyProviderServer?: InputLocation;
82
+ StaticKeyValue: string | undefined;
83
+ }
84
+ export interface KeyProviderSettings {
85
+ StaticKeySettings?: StaticKeySettings;
86
+ }
77
87
  export declare const HlsManifestCompression: {
78
88
  readonly GZIP: "GZIP";
79
89
  readonly NONE: "NONE";
@@ -1817,6 +1827,8 @@ export interface DescribeInputDeviceResponse {
1817
1827
  UhdDeviceSettings?: InputDeviceUhdSettings;
1818
1828
  Tags?: Record<string, string>;
1819
1829
  AvailabilityZone?: string;
1830
+ MedialiveInputArns?: string[];
1831
+ OutputType?: InputDeviceOutputType | string;
1820
1832
  }
1821
1833
  export interface DescribeInputDeviceThumbnailRequest {
1822
1834
  InputDeviceId: string | undefined;
@@ -1923,10 +1935,18 @@ export interface DescribeThumbnailsRequest {
1923
1935
  export interface DescribeThumbnailsResponse {
1924
1936
  ThumbnailDetails?: ThumbnailDetail[];
1925
1937
  }
1938
+ export interface InputDeviceMediaConnectConfigurableSettings {
1939
+ FlowArn?: string;
1940
+ RoleArn?: string;
1941
+ SecretArn?: string;
1942
+ SourceName?: string;
1943
+ }
1926
1944
  export interface InputDeviceConfigurableSettings {
1927
1945
  ConfiguredInput?: InputDeviceConfiguredInput | string;
1928
1946
  MaxBitrate?: number;
1929
1947
  LatencyMs?: number;
1948
+ Codec?: InputDeviceCodec | string;
1949
+ MediaconnectSettings?: InputDeviceMediaConnectConfigurableSettings;
1930
1950
  }
1931
1951
  export interface ListChannelsRequest {
1932
1952
  MaxResults?: number;
@@ -1973,33 +1993,6 @@ export interface ListMultiplexesRequest {
1973
1993
  MaxResults?: number;
1974
1994
  NextToken?: string;
1975
1995
  }
1976
- export interface ListMultiplexesResponse {
1977
- Multiplexes?: MultiplexSummary[];
1978
- NextToken?: string;
1979
- }
1980
- export interface ListMultiplexProgramsRequest {
1981
- MaxResults?: number;
1982
- MultiplexId: string | undefined;
1983
- NextToken?: string;
1984
- }
1985
- export interface ListMultiplexProgramsResponse {
1986
- MultiplexPrograms?: MultiplexProgramSummary[];
1987
- NextToken?: string;
1988
- }
1989
- export interface ListOfferingsRequest {
1990
- ChannelClass?: string;
1991
- ChannelConfiguration?: string;
1992
- Codec?: string;
1993
- Duration?: string;
1994
- MaxResults?: number;
1995
- MaximumBitrate?: string;
1996
- MaximumFramerate?: string;
1997
- NextToken?: string;
1998
- Resolution?: string;
1999
- ResourceType?: string;
2000
- SpecialFeature?: string;
2001
- VideoQuality?: string;
2002
- }
2003
1996
  export declare const DescribeInputDeviceThumbnailResponseFilterSensitiveLog: (
2004
1997
  obj: DescribeInputDeviceThumbnailResponse
2005
1998
  ) => any;
@@ -11,6 +11,7 @@ import {
11
11
  InputDeviceConnectionState,
12
12
  InputDeviceHdSettings,
13
13
  InputDeviceNetworkSettings,
14
+ InputDeviceOutputType,
14
15
  InputDeviceRequest,
15
16
  InputDeviceType,
16
17
  InputDeviceUhdSettings,
@@ -23,7 +24,9 @@ import {
23
24
  MaintenanceStatus,
24
25
  MediaConnectFlowRequest,
25
26
  MultiplexOutputDestination,
27
+ MultiplexProgramSummary,
26
28
  MultiplexState,
29
+ MultiplexSummary,
27
30
  Offering,
28
31
  OutputDestination,
29
32
  VpcOutputSettingsDescription,
@@ -41,6 +44,33 @@ import {
41
44
  RenewalSettings,
42
45
  Reservation,
43
46
  } from "./models_1";
47
+ export interface ListMultiplexesResponse {
48
+ Multiplexes?: MultiplexSummary[];
49
+ NextToken?: string;
50
+ }
51
+ export interface ListMultiplexProgramsRequest {
52
+ MaxResults?: number;
53
+ MultiplexId: string | undefined;
54
+ NextToken?: string;
55
+ }
56
+ export interface ListMultiplexProgramsResponse {
57
+ MultiplexPrograms?: MultiplexProgramSummary[];
58
+ NextToken?: string;
59
+ }
60
+ export interface ListOfferingsRequest {
61
+ ChannelClass?: string;
62
+ ChannelConfiguration?: string;
63
+ Codec?: string;
64
+ Duration?: string;
65
+ MaxResults?: number;
66
+ MaximumBitrate?: string;
67
+ MaximumFramerate?: string;
68
+ NextToken?: string;
69
+ Resolution?: string;
70
+ ResourceType?: string;
71
+ SpecialFeature?: string;
72
+ VideoQuality?: string;
73
+ }
44
74
  export interface ListOfferingsResponse {
45
75
  NextToken?: string;
46
76
  Offerings?: Offering[];
@@ -122,6 +152,10 @@ export interface StartChannelResponse {
122
152
  Tags?: Record<string, string>;
123
153
  Vpc?: VpcOutputSettingsDescription;
124
154
  }
155
+ export interface StartInputDeviceRequest {
156
+ InputDeviceId: string | undefined;
157
+ }
158
+ export interface StartInputDeviceResponse {}
125
159
  export interface StartInputDeviceMaintenanceWindowRequest {
126
160
  InputDeviceId: string | undefined;
127
161
  }
@@ -164,6 +198,10 @@ export interface StopChannelResponse {
164
198
  Tags?: Record<string, string>;
165
199
  Vpc?: VpcOutputSettingsDescription;
166
200
  }
201
+ export interface StopInputDeviceRequest {
202
+ InputDeviceId: string | undefined;
203
+ }
204
+ export interface StopInputDeviceResponse {}
167
205
  export interface StopMultiplexRequest {
168
206
  MultiplexId: string | undefined;
169
207
  }
@@ -250,6 +288,8 @@ export interface UpdateInputDeviceResponse {
250
288
  UhdDeviceSettings?: InputDeviceUhdSettings;
251
289
  Tags?: Record<string, string>;
252
290
  AvailabilityZone?: string;
291
+ MedialiveInputArns?: string[];
292
+ OutputType?: InputDeviceOutputType | string;
253
293
  }
254
294
  export interface UpdateInputSecurityGroupRequest {
255
295
  InputSecurityGroupId: string | undefined;
@@ -198,6 +198,10 @@ import {
198
198
  StartChannelCommandInput,
199
199
  StartChannelCommandOutput,
200
200
  } from "../commands/StartChannelCommand";
201
+ import {
202
+ StartInputDeviceCommandInput,
203
+ StartInputDeviceCommandOutput,
204
+ } from "../commands/StartInputDeviceCommand";
201
205
  import {
202
206
  StartInputDeviceMaintenanceWindowCommandInput,
203
207
  StartInputDeviceMaintenanceWindowCommandOutput,
@@ -210,6 +214,10 @@ import {
210
214
  StopChannelCommandInput,
211
215
  StopChannelCommandOutput,
212
216
  } from "../commands/StopChannelCommand";
217
+ import {
218
+ StopInputDeviceCommandInput,
219
+ StopInputDeviceCommandOutput,
220
+ } from "../commands/StopInputDeviceCommand";
213
221
  import {
214
222
  StopMultiplexCommandInput,
215
223
  StopMultiplexCommandOutput,
@@ -446,6 +454,10 @@ export declare const se_StartChannelCommand: (
446
454
  input: StartChannelCommandInput,
447
455
  context: __SerdeContext
448
456
  ) => Promise<__HttpRequest>;
457
+ export declare const se_StartInputDeviceCommand: (
458
+ input: StartInputDeviceCommandInput,
459
+ context: __SerdeContext
460
+ ) => Promise<__HttpRequest>;
449
461
  export declare const se_StartInputDeviceMaintenanceWindowCommand: (
450
462
  input: StartInputDeviceMaintenanceWindowCommandInput,
451
463
  context: __SerdeContext
@@ -458,6 +470,10 @@ export declare const se_StopChannelCommand: (
458
470
  input: StopChannelCommandInput,
459
471
  context: __SerdeContext
460
472
  ) => Promise<__HttpRequest>;
473
+ export declare const se_StopInputDeviceCommand: (
474
+ input: StopInputDeviceCommandInput,
475
+ context: __SerdeContext
476
+ ) => Promise<__HttpRequest>;
461
477
  export declare const se_StopMultiplexCommand: (
462
478
  input: StopMultiplexCommandInput,
463
479
  context: __SerdeContext
@@ -694,6 +710,10 @@ export declare const de_StartChannelCommand: (
694
710
  output: __HttpResponse,
695
711
  context: __SerdeContext
696
712
  ) => Promise<StartChannelCommandOutput>;
713
+ export declare const de_StartInputDeviceCommand: (
714
+ output: __HttpResponse,
715
+ context: __SerdeContext
716
+ ) => Promise<StartInputDeviceCommandOutput>;
697
717
  export declare const de_StartInputDeviceMaintenanceWindowCommand: (
698
718
  output: __HttpResponse,
699
719
  context: __SerdeContext
@@ -706,6 +726,10 @@ export declare const de_StopChannelCommand: (
706
726
  output: __HttpResponse,
707
727
  context: __SerdeContext
708
728
  ) => Promise<StopChannelCommandOutput>;
729
+ export declare const de_StopInputDeviceCommand: (
730
+ output: __HttpResponse,
731
+ context: __SerdeContext
732
+ ) => Promise<StopInputDeviceCommandOutput>;
709
733
  export declare const de_StopMultiplexCommand: (
710
734
  output: __HttpResponse,
711
735
  context: __SerdeContext
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
8
8
  any,
9
9
  import("@smithy/types").HttpHandlerOptions
10
10
  > &
11
- import("@smithy/protocol-http").HttpHandler)
11
+ import("@smithy/types").RequestHandler<
12
+ import("@smithy/protocol-http").HttpRequest,
13
+ import("@smithy/protocol-http").HttpResponse,
14
+ import("@smithy/types").HttpHandlerOptions
15
+ > & {
16
+ updateHttpClientConfig(key: never, value: never): void;
17
+ httpHandlerConfigs(): {};
18
+ })
12
19
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
20
  apiVersion: string;
14
21
  urlParser: import("@smithy/types").UrlParser;
@@ -1,6 +1,6 @@
1
1
  import { MediaLiveExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(clientConfiguration: MediaLiveExtensionConfiguration): void;
3
+ configure(extensionConfiguration: MediaLiveExtensionConfiguration): void;
4
4
  }
5
5
  export interface RuntimeExtensionsConfig {
6
6
  extensions: RuntimeExtension[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-medialive",
3
3
  "description": "AWS SDK for JavaScript Medialive Client for Node.js, Browser and React Native",
4
- "version": "3.408.0",
4
+ "version": "3.410.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",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.408.0",
25
- "@aws-sdk/credential-provider-node": "3.408.0",
26
- "@aws-sdk/middleware-host-header": "3.408.0",
27
- "@aws-sdk/middleware-logger": "3.408.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.408.0",
29
- "@aws-sdk/middleware-signing": "3.408.0",
30
- "@aws-sdk/middleware-user-agent": "3.408.0",
31
- "@aws-sdk/types": "3.408.0",
32
- "@aws-sdk/util-endpoints": "3.408.0",
33
- "@aws-sdk/util-user-agent-browser": "3.408.0",
34
- "@aws-sdk/util-user-agent-node": "3.408.0",
35
- "@smithy/config-resolver": "^2.0.5",
36
- "@smithy/fetch-http-handler": "^2.0.5",
37
- "@smithy/hash-node": "^2.0.5",
38
- "@smithy/invalid-dependency": "^2.0.5",
39
- "@smithy/middleware-content-length": "^2.0.5",
40
- "@smithy/middleware-endpoint": "^2.0.5",
41
- "@smithy/middleware-retry": "^2.0.5",
42
- "@smithy/middleware-serde": "^2.0.5",
24
+ "@aws-sdk/client-sts": "3.410.0",
25
+ "@aws-sdk/credential-provider-node": "3.410.0",
26
+ "@aws-sdk/middleware-host-header": "3.410.0",
27
+ "@aws-sdk/middleware-logger": "3.410.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.410.0",
29
+ "@aws-sdk/middleware-signing": "3.410.0",
30
+ "@aws-sdk/middleware-user-agent": "3.410.0",
31
+ "@aws-sdk/types": "3.410.0",
32
+ "@aws-sdk/util-endpoints": "3.410.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.410.0",
34
+ "@aws-sdk/util-user-agent-node": "3.410.0",
35
+ "@smithy/config-resolver": "^2.0.7",
36
+ "@smithy/fetch-http-handler": "^2.1.2",
37
+ "@smithy/hash-node": "^2.0.6",
38
+ "@smithy/invalid-dependency": "^2.0.6",
39
+ "@smithy/middleware-content-length": "^2.0.8",
40
+ "@smithy/middleware-endpoint": "^2.0.6",
41
+ "@smithy/middleware-retry": "^2.0.9",
42
+ "@smithy/middleware-serde": "^2.0.6",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.6",
45
- "@smithy/node-http-handler": "^2.0.5",
46
- "@smithy/protocol-http": "^2.0.5",
47
- "@smithy/smithy-client": "^2.0.5",
48
- "@smithy/types": "^2.2.2",
49
- "@smithy/url-parser": "^2.0.5",
44
+ "@smithy/node-config-provider": "^2.0.9",
45
+ "@smithy/node-http-handler": "^2.1.2",
46
+ "@smithy/protocol-http": "^3.0.2",
47
+ "@smithy/smithy-client": "^2.1.3",
48
+ "@smithy/types": "^2.3.0",
49
+ "@smithy/url-parser": "^2.0.6",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.6",
54
- "@smithy/util-defaults-mode-node": "^2.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.7",
54
+ "@smithy/util-defaults-mode-node": "^2.0.9",
55
55
  "@smithy/util-retry": "^2.0.0",
56
- "@smithy/util-stream": "^2.0.5",
56
+ "@smithy/util-stream": "^2.0.9",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.5",
58
+ "@smithy/util-waiter": "^2.0.6",
59
59
  "tslib": "^2.5.0",
60
60
  "uuid": "^8.3.2"
61
61
  },