@aws-sdk/client-medialive 3.42.0 → 3.47.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.
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptInputDeviceTransferCommandInput, AcceptInputDeviceTransferCommandOutput } from "./commands/AcceptInputDeviceTransferCommand";
10
10
  import { BatchDeleteCommandInput, BatchDeleteCommandOutput } from "./commands/BatchDeleteCommand";
@@ -165,6 +165,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
165
165
  * @internal
166
166
  */
167
167
  defaultUserAgentProvider?: Provider<__UserAgent>;
168
+ /**
169
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
170
+ */
171
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
168
172
  }
169
173
  declare type MediaLiveClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
170
174
  /**
@@ -2141,6 +2141,10 @@ export interface InputSettings {
2141
2141
  * Input settings.
2142
2142
  */
2143
2143
  NetworkInputSettings?: NetworkInputSettings;
2144
+ /**
2145
+ * PID from which to read SCTE-35 messages. If left undefined, EML will select the first SCTE-35 PID found in the input.
2146
+ */
2147
+ Scte35Pid?: number;
2144
2148
  /**
2145
2149
  * Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages.
2146
2150
  * - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any).
@@ -4530,6 +4534,10 @@ export declare enum HlsProgramDateTime {
4530
4534
  EXCLUDE = "EXCLUDE",
4531
4535
  INCLUDE = "INCLUDE"
4532
4536
  }
4537
+ export declare enum HlsProgramDateTimeClock {
4538
+ INITIALIZE_FROM_OUTPUT_TIMECODE = "INITIALIZE_FROM_OUTPUT_TIMECODE",
4539
+ SYSTEM_CLOCK = "SYSTEM_CLOCK"
4540
+ }
4533
4541
  export declare enum HlsRedundantManifest {
4534
4542
  DISABLED = "DISABLED",
4535
4543
  ENABLED = "ENABLED"
@@ -4705,9 +4713,17 @@ export interface HlsGroupSettings {
4705
4713
  */
4706
4714
  OutputSelection?: HlsOutputSelection | string;
4707
4715
  /**
4708
- * Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as follows: either the program date and time are initialized using the input timecode source, or the time is initialized using the input timecode source and the date is initialized using the timestampOffset.
4716
+ * Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated using the program date time clock.
4709
4717
  */
4710
4718
  ProgramDateTime?: HlsProgramDateTime | string;
4719
+ /**
4720
+ * Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. Options include:
4721
+ *
4722
+ * INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized as a function of the first output timecode, then incremented by the EXTINF duration of each encoded segment.
4723
+ *
4724
+ * SYSTEM_CLOCK: The PDT clock is initialized as a function of the UTC wall clock, then incremented by the EXTINF duration of each encoded segment. If the PDT clock diverges from the wall clock by more than 500ms, it is resynchronized to the wall clock.
4725
+ */
4726
+ ProgramDateTimeClock?: HlsProgramDateTimeClock | string;
4711
4727
  /**
4712
4728
  * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.
4713
4729
  */
@@ -4761,18 +4777,3 @@ export declare namespace HlsGroupSettings {
4761
4777
  */
4762
4778
  const filterSensitiveLog: (obj: HlsGroupSettings) => any;
4763
4779
  }
4764
- /**
4765
- * Media Package Group Settings
4766
- */
4767
- export interface MediaPackageGroupSettings {
4768
- /**
4769
- * MediaPackage channel destination.
4770
- */
4771
- Destination: OutputLocationRef | undefined;
4772
- }
4773
- export declare namespace MediaPackageGroupSettings {
4774
- /**
4775
- * @internal
4776
- */
4777
- const filterSensitiveLog: (obj: MediaPackageGroupSettings) => any;
4778
- }
@@ -1,7 +1,22 @@
1
1
  /// <reference types="node" />
2
2
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
3
3
  import { Readable } from "stream";
4
- import { ArchiveGroupSettings, AudioDescription, BatchFailedResultModel, BatchSuccessfulResultModel, CaptionDescription, CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelState, ChannelSummary, DeviceSettingsSyncState, DeviceUpdateStatus, FrameCaptureGroupSettings, Hdr10Settings, HlsGroupSettings, Input, InputAttachment, InputClass, InputDestination, InputDestinationRequest, InputDeviceConfiguredInput, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceRequest, InputDeviceSettings, InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputLocation, InputSecurityGroup, InputSecurityGroupState, InputSource, InputSourceRequest, InputSourceType, InputSpecification, InputState, InputType, InputWhitelistRule, InputWhitelistRuleCidr, LogLevel, MediaConnectFlow, MediaConnectFlowRequest, MediaPackageGroupSettings, MultiplexOutputDestination, MultiplexProgramPipelineDetail, MultiplexProgramSummary, MultiplexState, MultiplexSummary, Offering, OfferingDurationUnits, OfferingType, Output, OutputDestination, OutputLocationRef, ReservationResourceSpecification, VpcOutputSettingsDescription } from "./models_0";
4
+ import { ArchiveGroupSettings, AudioDescription, BatchFailedResultModel, BatchSuccessfulResultModel, CaptionDescription, CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelState, ChannelSummary, DeviceSettingsSyncState, DeviceUpdateStatus, FrameCaptureGroupSettings, Hdr10Settings, HlsGroupSettings, Input, InputAttachment, InputClass, InputDestination, InputDestinationRequest, InputDeviceConfiguredInput, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceRequest, InputDeviceSettings, InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputLocation, InputSecurityGroup, InputSecurityGroupState, InputSource, InputSourceRequest, InputSourceType, InputSpecification, InputState, InputType, InputWhitelistRule, InputWhitelistRuleCidr, LogLevel, MediaConnectFlow, MediaConnectFlowRequest, MultiplexOutputDestination, MultiplexProgramPipelineDetail, MultiplexProgramSummary, MultiplexState, MultiplexSummary, Offering, OfferingDurationUnits, OfferingType, Output, OutputDestination, OutputLocationRef, ReservationResourceSpecification, VpcOutputSettingsDescription } from "./models_0";
5
+ /**
6
+ * Media Package Group Settings
7
+ */
8
+ export interface MediaPackageGroupSettings {
9
+ /**
10
+ * MediaPackage channel destination.
11
+ */
12
+ Destination: OutputLocationRef | undefined;
13
+ }
14
+ export declare namespace MediaPackageGroupSettings {
15
+ /**
16
+ * @internal
17
+ */
18
+ const filterSensitiveLog: (obj: MediaPackageGroupSettings) => any;
19
+ }
5
20
  export declare enum SmoothGroupAudioOnlyTimecodeControl {
6
21
  PASSTHROUGH = "PASSTHROUGH",
7
22
  USE_CONFIGURED_CLOCK = "USE_CONFIGURED_CLOCK"
@@ -2091,12 +2106,6 @@ export interface BadGatewayException extends __SmithyException, $MetadataBearer
2091
2106
  */
2092
2107
  Message?: string;
2093
2108
  }
2094
- export declare namespace BadGatewayException {
2095
- /**
2096
- * @internal
2097
- */
2098
- const filterSensitiveLog: (obj: BadGatewayException) => any;
2099
- }
2100
2109
  /**
2101
2110
  * Placeholder documentation for BadRequestException
2102
2111
  */
@@ -2108,12 +2117,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
2108
2117
  */
2109
2118
  Message?: string;
2110
2119
  }
2111
- export declare namespace BadRequestException {
2112
- /**
2113
- * @internal
2114
- */
2115
- const filterSensitiveLog: (obj: BadRequestException) => any;
2116
- }
2117
2120
  /**
2118
2121
  * Placeholder documentation for ConflictException
2119
2122
  */
@@ -2125,12 +2128,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
2125
2128
  */
2126
2129
  Message?: string;
2127
2130
  }
2128
- export declare namespace ConflictException {
2129
- /**
2130
- * @internal
2131
- */
2132
- const filterSensitiveLog: (obj: ConflictException) => any;
2133
- }
2134
2131
  /**
2135
2132
  * Placeholder documentation for ForbiddenException
2136
2133
  */
@@ -2142,12 +2139,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
2142
2139
  */
2143
2140
  Message?: string;
2144
2141
  }
2145
- export declare namespace ForbiddenException {
2146
- /**
2147
- * @internal
2148
- */
2149
- const filterSensitiveLog: (obj: ForbiddenException) => any;
2150
- }
2151
2142
  /**
2152
2143
  * Placeholder documentation for GatewayTimeoutException
2153
2144
  */
@@ -2159,12 +2150,6 @@ export interface GatewayTimeoutException extends __SmithyException, $MetadataBea
2159
2150
  */
2160
2151
  Message?: string;
2161
2152
  }
2162
- export declare namespace GatewayTimeoutException {
2163
- /**
2164
- * @internal
2165
- */
2166
- const filterSensitiveLog: (obj: GatewayTimeoutException) => any;
2167
- }
2168
2153
  /**
2169
2154
  * Placeholder documentation for InternalServerErrorException
2170
2155
  */
@@ -2176,12 +2161,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
2176
2161
  */
2177
2162
  Message?: string;
2178
2163
  }
2179
- export declare namespace InternalServerErrorException {
2180
- /**
2181
- * @internal
2182
- */
2183
- const filterSensitiveLog: (obj: InternalServerErrorException) => any;
2184
- }
2185
2164
  /**
2186
2165
  * Placeholder documentation for NotFoundException
2187
2166
  */
@@ -2193,12 +2172,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
2193
2172
  */
2194
2173
  Message?: string;
2195
2174
  }
2196
- export declare namespace NotFoundException {
2197
- /**
2198
- * @internal
2199
- */
2200
- const filterSensitiveLog: (obj: NotFoundException) => any;
2201
- }
2202
2175
  /**
2203
2176
  * Placeholder documentation for TooManyRequestsException
2204
2177
  */
@@ -2210,12 +2183,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
2210
2183
  */
2211
2184
  Message?: string;
2212
2185
  }
2213
- export declare namespace TooManyRequestsException {
2214
- /**
2215
- * @internal
2216
- */
2217
- const filterSensitiveLog: (obj: TooManyRequestsException) => any;
2218
- }
2219
2186
  /**
2220
2187
  * Placeholder documentation for UnprocessableEntityException
2221
2188
  */
@@ -2231,12 +2198,6 @@ export interface UnprocessableEntityException extends __SmithyException, $Metada
2231
2198
  */
2232
2199
  ValidationErrors?: ValidationError[];
2233
2200
  }
2234
- export declare namespace UnprocessableEntityException {
2235
- /**
2236
- * @internal
2237
- */
2238
- const filterSensitiveLog: (obj: UnprocessableEntityException) => any;
2239
- }
2240
2201
  export declare enum AvailBlankingState {
2241
2202
  DISABLED = "DISABLED",
2242
2203
  ENABLED = "ENABLED"
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { MediaLiveClientConfig } from "./MediaLiveClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { MediaLiveClientConfig } from "./MediaLiveClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptInputDeviceTransferCommandInput, AcceptInputDeviceTransferCommandOutput } from "./commands/AcceptInputDeviceTransferCommand";
10
10
  import { BatchDeleteCommandInput, BatchDeleteCommandOutput } from "./commands/BatchDeleteCommand";
@@ -108,6 +108,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
108
108
  regionInfoProvider?: RegionInfoProvider;
109
109
 
110
110
  defaultUserAgentProvider?: Provider<__UserAgent>;
111
+
112
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
111
113
  }
112
114
  declare type MediaLiveClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
113
115
 
@@ -1330,6 +1330,8 @@ export interface InputSettings {
1330
1330
 
1331
1331
  NetworkInputSettings?: NetworkInputSettings;
1332
1332
 
1333
+ Scte35Pid?: number;
1334
+
1333
1335
  Smpte2038DataPreference?: Smpte2038DataPreference | string;
1334
1336
 
1335
1337
  SourceEndBehavior?: InputSourceEndBehavior | string;
@@ -2808,6 +2810,10 @@ export declare enum HlsProgramDateTime {
2808
2810
  EXCLUDE = "EXCLUDE",
2809
2811
  INCLUDE = "INCLUDE"
2810
2812
  }
2813
+ export declare enum HlsProgramDateTimeClock {
2814
+ INITIALIZE_FROM_OUTPUT_TIMECODE = "INITIALIZE_FROM_OUTPUT_TIMECODE",
2815
+ SYSTEM_CLOCK = "SYSTEM_CLOCK"
2816
+ }
2811
2817
  export declare enum HlsRedundantManifest {
2812
2818
  DISABLED = "DISABLED",
2813
2819
  ENABLED = "ENABLED"
@@ -2896,6 +2902,8 @@ export interface HlsGroupSettings {
2896
2902
 
2897
2903
  ProgramDateTime?: HlsProgramDateTime | string;
2898
2904
 
2905
+ ProgramDateTimeClock?: HlsProgramDateTimeClock | string;
2906
+
2899
2907
  ProgramDateTimePeriod?: number;
2900
2908
 
2901
2909
  RedundantManifest?: HlsRedundantManifest | string;
@@ -2920,12 +2928,3 @@ export declare namespace HlsGroupSettings {
2920
2928
 
2921
2929
  const filterSensitiveLog: (obj: HlsGroupSettings) => any;
2922
2930
  }
2923
-
2924
- export interface MediaPackageGroupSettings {
2925
-
2926
- Destination: OutputLocationRef | undefined;
2927
- }
2928
- export declare namespace MediaPackageGroupSettings {
2929
-
2930
- const filterSensitiveLog: (obj: MediaPackageGroupSettings) => any;
2931
- }
@@ -1,7 +1,16 @@
1
1
 
2
2
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
3
3
  import { Readable } from "stream";
4
- import { ArchiveGroupSettings, AudioDescription, BatchFailedResultModel, BatchSuccessfulResultModel, CaptionDescription, CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelState, ChannelSummary, DeviceSettingsSyncState, DeviceUpdateStatus, FrameCaptureGroupSettings, Hdr10Settings, HlsGroupSettings, Input, InputAttachment, InputClass, InputDestination, InputDestinationRequest, InputDeviceConfiguredInput, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceRequest, InputDeviceSettings, InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputLocation, InputSecurityGroup, InputSecurityGroupState, InputSource, InputSourceRequest, InputSourceType, InputSpecification, InputState, InputType, InputWhitelistRule, InputWhitelistRuleCidr, LogLevel, MediaConnectFlow, MediaConnectFlowRequest, MediaPackageGroupSettings, MultiplexOutputDestination, MultiplexProgramPipelineDetail, MultiplexProgramSummary, MultiplexState, MultiplexSummary, Offering, OfferingDurationUnits, OfferingType, Output, OutputDestination, OutputLocationRef, ReservationResourceSpecification, VpcOutputSettingsDescription } from "./models_0";
4
+ import { ArchiveGroupSettings, AudioDescription, BatchFailedResultModel, BatchSuccessfulResultModel, CaptionDescription, CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelState, ChannelSummary, DeviceSettingsSyncState, DeviceUpdateStatus, FrameCaptureGroupSettings, Hdr10Settings, HlsGroupSettings, Input, InputAttachment, InputClass, InputDestination, InputDestinationRequest, InputDeviceConfiguredInput, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceRequest, InputDeviceSettings, InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputLocation, InputSecurityGroup, InputSecurityGroupState, InputSource, InputSourceRequest, InputSourceType, InputSpecification, InputState, InputType, InputWhitelistRule, InputWhitelistRuleCidr, LogLevel, MediaConnectFlow, MediaConnectFlowRequest, MultiplexOutputDestination, MultiplexProgramPipelineDetail, MultiplexProgramSummary, MultiplexState, MultiplexSummary, Offering, OfferingDurationUnits, OfferingType, Output, OutputDestination, OutputLocationRef, ReservationResourceSpecification, VpcOutputSettingsDescription } from "./models_0";
5
+
6
+ export interface MediaPackageGroupSettings {
7
+
8
+ Destination: OutputLocationRef | undefined;
9
+ }
10
+ export declare namespace MediaPackageGroupSettings {
11
+
12
+ const filterSensitiveLog: (obj: MediaPackageGroupSettings) => any;
13
+ }
5
14
  export declare enum SmoothGroupAudioOnlyTimecodeControl {
6
15
  PASSTHROUGH = "PASSTHROUGH",
7
16
  USE_CONFIGURED_CLOCK = "USE_CONFIGURED_CLOCK"
@@ -1283,10 +1292,6 @@ export interface BadGatewayException extends __SmithyException, $MetadataBearer
1283
1292
 
1284
1293
  Message?: string;
1285
1294
  }
1286
- export declare namespace BadGatewayException {
1287
-
1288
- const filterSensitiveLog: (obj: BadGatewayException) => any;
1289
- }
1290
1295
 
1291
1296
  export interface BadRequestException extends __SmithyException, $MetadataBearer {
1292
1297
  name: "BadRequestException";
@@ -1294,10 +1299,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
1294
1299
 
1295
1300
  Message?: string;
1296
1301
  }
1297
- export declare namespace BadRequestException {
1298
-
1299
- const filterSensitiveLog: (obj: BadRequestException) => any;
1300
- }
1301
1302
 
1302
1303
  export interface ConflictException extends __SmithyException, $MetadataBearer {
1303
1304
  name: "ConflictException";
@@ -1305,10 +1306,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
1305
1306
 
1306
1307
  Message?: string;
1307
1308
  }
1308
- export declare namespace ConflictException {
1309
-
1310
- const filterSensitiveLog: (obj: ConflictException) => any;
1311
- }
1312
1309
 
1313
1310
  export interface ForbiddenException extends __SmithyException, $MetadataBearer {
1314
1311
  name: "ForbiddenException";
@@ -1316,10 +1313,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
1316
1313
 
1317
1314
  Message?: string;
1318
1315
  }
1319
- export declare namespace ForbiddenException {
1320
-
1321
- const filterSensitiveLog: (obj: ForbiddenException) => any;
1322
- }
1323
1316
 
1324
1317
  export interface GatewayTimeoutException extends __SmithyException, $MetadataBearer {
1325
1318
  name: "GatewayTimeoutException";
@@ -1327,10 +1320,6 @@ export interface GatewayTimeoutException extends __SmithyException, $MetadataBea
1327
1320
 
1328
1321
  Message?: string;
1329
1322
  }
1330
- export declare namespace GatewayTimeoutException {
1331
-
1332
- const filterSensitiveLog: (obj: GatewayTimeoutException) => any;
1333
- }
1334
1323
 
1335
1324
  export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
1336
1325
  name: "InternalServerErrorException";
@@ -1338,10 +1327,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
1338
1327
 
1339
1328
  Message?: string;
1340
1329
  }
1341
- export declare namespace InternalServerErrorException {
1342
-
1343
- const filterSensitiveLog: (obj: InternalServerErrorException) => any;
1344
- }
1345
1330
 
1346
1331
  export interface NotFoundException extends __SmithyException, $MetadataBearer {
1347
1332
  name: "NotFoundException";
@@ -1349,10 +1334,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
1349
1334
 
1350
1335
  Message?: string;
1351
1336
  }
1352
- export declare namespace NotFoundException {
1353
-
1354
- const filterSensitiveLog: (obj: NotFoundException) => any;
1355
- }
1356
1337
 
1357
1338
  export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
1358
1339
  name: "TooManyRequestsException";
@@ -1360,10 +1341,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
1360
1341
 
1361
1342
  Message?: string;
1362
1343
  }
1363
- export declare namespace TooManyRequestsException {
1364
-
1365
- const filterSensitiveLog: (obj: TooManyRequestsException) => any;
1366
- }
1367
1344
 
1368
1345
  export interface UnprocessableEntityException extends __SmithyException, $MetadataBearer {
1369
1346
  name: "UnprocessableEntityException";
@@ -1373,10 +1350,6 @@ export interface UnprocessableEntityException extends __SmithyException, $Metada
1373
1350
 
1374
1351
  ValidationErrors?: ValidationError[];
1375
1352
  }
1376
- export declare namespace UnprocessableEntityException {
1377
-
1378
- const filterSensitiveLog: (obj: UnprocessableEntityException) => any;
1379
- }
1380
1353
  export declare enum AvailBlankingState {
1381
1354
  DISABLED = "DISABLED",
1382
1355
  ENABLED = "ENABLED"
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { MediaLiveClientConfig } from "./MediaLiveClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { MediaLiveClientConfig } from "./MediaLiveClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;