@aws-sdk/client-mediaconvert 3.46.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
18
 
8
19
 
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "ca-central-1": {
7
7
  variants: [
8
- {
9
- hostname: "mediaconvert.ca-central-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "mediaconvert-fips.ca-central-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -26,10 +22,6 @@ const regionHash = {
26
22
  },
27
23
  "us-east-1": {
28
24
  variants: [
29
- {
30
- hostname: "mediaconvert.us-east-1.amazonaws.com",
31
- tags: [],
32
- },
33
25
  {
34
26
  hostname: "mediaconvert-fips.us-east-1.amazonaws.com",
35
27
  tags: ["fips"],
@@ -38,10 +30,6 @@ const regionHash = {
38
30
  },
39
31
  "us-east-2": {
40
32
  variants: [
41
- {
42
- hostname: "mediaconvert.us-east-2.amazonaws.com",
43
- tags: [],
44
- },
45
33
  {
46
34
  hostname: "mediaconvert-fips.us-east-2.amazonaws.com",
47
35
  tags: ["fips"],
@@ -59,10 +47,6 @@ const regionHash = {
59
47
  },
60
48
  "us-west-1": {
61
49
  variants: [
62
- {
63
- hostname: "mediaconvert.us-west-1.amazonaws.com",
64
- tags: [],
65
- },
66
50
  {
67
51
  hostname: "mediaconvert-fips.us-west-1.amazonaws.com",
68
52
  tags: ["fips"],
@@ -71,10 +55,6 @@ const regionHash = {
71
55
  },
72
56
  "us-west-2": {
73
57
  variants: [
74
- {
75
- hostname: "mediaconvert.us-west-2.amazonaws.com",
76
- tags: [],
77
- },
78
58
  {
79
59
  hostname: "mediaconvert-fips.us-west-2.amazonaws.com",
80
60
  tags: ["fips"],
@@ -4,8 +4,8 @@ exports.H264CodecLevel = exports.H264AdaptiveQuantization = exports.FrameCapture
4
4
  exports.H265WriteMp4PackagingType = exports.H265UnregisteredSeiTimecode = exports.H265Tiles = exports.H265TemporalIds = exports.H265TemporalAdaptiveQuantization = exports.H265Telecine = exports.H265SpatialAdaptiveQuantization = exports.H265SlowPal = exports.H265SceneChangeDetect = exports.H265ScanTypeConversionMode = exports.H265SampleAdaptiveOffsetFilterMode = exports.H265RateControlMode = exports.H265QvbrSettings = exports.H265QualityTuningLevel = exports.H265ParControl = exports.H265InterlaceMode = exports.H265GopSizeUnits = exports.H265GopBReference = exports.H265FramerateConversionAlgorithm = exports.H265FramerateControl = exports.H265FlickerAdaptiveQuantization = exports.H265DynamicSubGop = exports.H265CodecProfile = exports.H265CodecLevel = exports.H265AlternateTransferFunctionSei = exports.H265AdaptiveQuantization = exports.H264Settings = exports.H264UnregisteredSeiTimecode = exports.H264TemporalAdaptiveQuantization = exports.H264Telecine = exports.H264Syntax = exports.H264SpatialAdaptiveQuantization = exports.H264SlowPal = exports.H264SceneChangeDetect = exports.H264ScanTypeConversionMode = exports.H264RepeatPps = exports.H264RateControlMode = exports.H264QvbrSettings = exports.H264QualityTuningLevel = exports.H264ParControl = exports.H264InterlaceMode = exports.H264GopSizeUnits = exports.H264GopBReference = exports.H264FramerateConversionAlgorithm = exports.H264FramerateControl = exports.H264FlickerAdaptiveQuantization = exports.H264FieldEncoding = exports.H264EntropyEncoding = exports.H264DynamicSubGop = exports.H264CodecProfile = void 0;
5
5
  exports.Vp9RateControlMode = exports.Vp9QualityTuningLevel = exports.Vp9ParControl = exports.Vp9FramerateConversionAlgorithm = exports.Vp9FramerateControl = exports.Vp8Settings = exports.Vp8RateControlMode = exports.Vp8QualityTuningLevel = exports.Vp8ParControl = exports.Vp8FramerateConversionAlgorithm = exports.Vp8FramerateControl = exports.Vc3Settings = exports.Vc3Class = exports.Vc3Telecine = exports.Vc3SlowPal = exports.Vc3ScanTypeConversionMode = exports.Vc3InterlaceMode = exports.Vc3FramerateConversionAlgorithm = exports.Vc3FramerateControl = exports.ProresSettings = exports.ProresTelecine = exports.ProresSlowPal = exports.ProresScanTypeConversionMode = exports.ProresParControl = exports.ProresInterlaceMode = exports.ProresFramerateConversionAlgorithm = exports.ProresFramerateControl = exports.ProresCodecProfile = exports.ProresChromaSampling = exports.Mpeg2Settings = exports.Mpeg2TemporalAdaptiveQuantization = exports.Mpeg2Telecine = exports.Mpeg2Syntax = exports.Mpeg2SpatialAdaptiveQuantization = exports.Mpeg2SlowPal = exports.Mpeg2SceneChangeDetect = exports.Mpeg2ScanTypeConversionMode = exports.Mpeg2RateControlMode = exports.Mpeg2QualityTuningLevel = exports.Mpeg2ParControl = exports.Mpeg2IntraDcPrecision = exports.Mpeg2InterlaceMode = exports.Mpeg2GopSizeUnits = exports.Mpeg2FramerateConversionAlgorithm = exports.Mpeg2FramerateControl = exports.Mpeg2DynamicSubGop = exports.Mpeg2CodecProfile = exports.Mpeg2CodecLevel = exports.Mpeg2AdaptiveQuantization = exports.H265Settings = void 0;
6
6
  exports.NoiseFilterPostTemporalSharpeningStrength = exports.NoiseFilterPostTemporalSharpening = exports.NoiseReducerSpatialFilterSettings = exports.NoiseReducerFilterSettings = exports.NoiseReducerFilter = exports.Hdr10Plus = exports.DolbyVision = exports.DolbyVisionProfile = exports.DolbyVisionLevel6Mode = exports.DolbyVisionLevel6Metadata = exports.Deinterlacer = exports.DeinterlacerMode = exports.DeinterlacerControl = exports.DeinterlaceAlgorithm = exports.ColorCorrector = exports.SampleRangeConversion = exports.ColorSpaceConversion = exports.VideoTimecodeInsertion = exports.ScalingBehavior = exports.RespondToAfd = exports.DropFrameTimecode = exports.ColorMetadata = exports.VideoCodecSettings = exports.XavcSettings = exports.XavcHdProfileSettings = exports.XavcHdProfileTelecine = exports.XavcHdProfileQualityTuningLevel = exports.XavcInterlaceMode = exports.XavcHdProfileBitrateClass = exports.XavcHdIntraCbgProfileSettings = exports.XavcHdIntraCbgProfileClass = exports.Xavc4kProfileSettings = exports.Xavc4kProfileQualityTuningLevel = exports.XavcGopBReference = exports.XavcFlickerAdaptiveQuantization = exports.Xavc4kProfileCodecProfile = exports.Xavc4kProfileBitrateClass = exports.Xavc4kIntraVbrProfileSettings = exports.Xavc4kIntraVbrProfileClass = exports.Xavc4kIntraCbgProfileSettings = exports.Xavc4kIntraCbgProfileClass = exports.XavcTemporalAdaptiveQuantization = exports.XavcSpatialAdaptiveQuantization = exports.XavcSlowPal = exports.XavcProfile = exports.XavcFramerateConversionAlgorithm = exports.XavcFramerateControl = exports.XavcEntropyEncoding = exports.XavcAdaptiveQuantization = exports.Vp9Settings = void 0;
7
- exports.CreateQueueRequest = exports.ReservationPlanSettings = exports.CreatePresetResponse = exports.CreatePresetRequest = exports.CreateJobTemplateResponse = exports.CreateJobTemplateRequest = exports.CreateJobResponse = exports.CreateJobRequest = exports.CancelJobResponse = exports.CancelJobRequest = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.AssociateCertificateResponse = exports.AssociateCertificateRequest = exports.Queue = exports.QueueStatus = exports.ReservationPlan = exports.ReservationPlanStatus = exports.RenewalType = exports.Commitment = exports.PricingPlan = exports.Preset = exports.PresetSettings = exports.JobTemplate = exports.Type = exports.JobTemplateSettings = exports.Job = exports.Timing = exports.StatusUpdateInterval = exports.JobStatus = exports.SimulateReservedQueue = exports.JobSettings = exports.TimedMetadataInsertion = exports.TimecodeConfig = exports.TimecodeSource = exports.OutputGroup = exports.Output = exports.VideoDescription = exports.VideoPreprocessor = exports.TimecodeBurnin = exports.TimecodeBurninPosition = exports.PartnerWatermarking = exports.NexGuardFileMarkerSettings = exports.WatermarkingStrength = exports.NoiseReducer = exports.NoiseReducerTemporalFilterSettings = void 0;
8
- exports.UpdatePresetRequest = exports.UpdateJobTemplateResponse = exports.UpdateJobTemplateRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutPolicyResponse = exports.PutPolicyRequest = exports.ListTagsForResourceResponse = exports.ResourceTags = exports.ListTagsForResourceRequest = exports.ListQueuesResponse = exports.ListQueuesRequest = exports.QueueListBy = exports.ListPresetsResponse = exports.ListPresetsRequest = exports.PresetListBy = exports.ListJobTemplatesResponse = exports.ListJobTemplatesRequest = exports.ListJobsResponse = exports.ListJobsRequest = exports.Order = exports.JobTemplateListBy = exports.GetQueueResponse = exports.GetQueueRequest = exports.GetPresetResponse = exports.GetPresetRequest = exports.GetPolicyResponse = exports.Policy = exports.InputPolicy = exports.GetPolicyRequest = exports.GetJobTemplateResponse = exports.GetJobTemplateRequest = exports.GetJobResponse = exports.GetJobRequest = exports.DisassociateCertificateResponse = exports.DisassociateCertificateRequest = exports.DescribeEndpointsResponse = exports.DescribeEndpointsRequest = exports.DescribeEndpointsMode = exports.DeleteQueueResponse = exports.DeleteQueueRequest = exports.DeletePresetResponse = exports.DeletePresetRequest = exports.DeletePolicyResponse = exports.DeletePolicyRequest = exports.DeleteJobTemplateResponse = exports.DeleteJobTemplateRequest = exports.CreateQueueResponse = void 0;
7
+ exports.DeletePresetRequest = exports.DeletePolicyResponse = exports.DeletePolicyRequest = exports.DeleteJobTemplateResponse = exports.DeleteJobTemplateRequest = exports.CreateQueueResponse = exports.CreateQueueRequest = exports.ReservationPlanSettings = exports.CreatePresetResponse = exports.CreatePresetRequest = exports.CreateJobTemplateResponse = exports.CreateJobTemplateRequest = exports.CreateJobResponse = exports.CreateJobRequest = exports.CancelJobResponse = exports.CancelJobRequest = exports.AssociateCertificateResponse = exports.AssociateCertificateRequest = exports.Queue = exports.QueueStatus = exports.ReservationPlan = exports.ReservationPlanStatus = exports.RenewalType = exports.Commitment = exports.PricingPlan = exports.Preset = exports.PresetSettings = exports.JobTemplate = exports.Type = exports.JobTemplateSettings = exports.Job = exports.Timing = exports.StatusUpdateInterval = exports.JobStatus = exports.SimulateReservedQueue = exports.JobSettings = exports.TimedMetadataInsertion = exports.TimecodeConfig = exports.TimecodeSource = exports.OutputGroup = exports.Output = exports.VideoDescription = exports.VideoPreprocessor = exports.TimecodeBurnin = exports.TimecodeBurninPosition = exports.PartnerWatermarking = exports.NexGuardFileMarkerSettings = exports.WatermarkingStrength = exports.NoiseReducer = exports.NoiseReducerTemporalFilterSettings = void 0;
8
+ exports.UpdatePresetRequest = exports.UpdateJobTemplateResponse = exports.UpdateJobTemplateRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutPolicyResponse = exports.PutPolicyRequest = exports.ListTagsForResourceResponse = exports.ResourceTags = exports.ListTagsForResourceRequest = exports.ListQueuesResponse = exports.ListQueuesRequest = exports.QueueListBy = exports.ListPresetsResponse = exports.ListPresetsRequest = exports.PresetListBy = exports.ListJobTemplatesResponse = exports.ListJobTemplatesRequest = exports.ListJobsResponse = exports.ListJobsRequest = exports.Order = exports.JobTemplateListBy = exports.GetQueueResponse = exports.GetQueueRequest = exports.GetPresetResponse = exports.GetPresetRequest = exports.GetPolicyResponse = exports.Policy = exports.InputPolicy = exports.GetPolicyRequest = exports.GetJobTemplateResponse = exports.GetJobTemplateRequest = exports.GetJobResponse = exports.GetJobRequest = exports.DisassociateCertificateResponse = exports.DisassociateCertificateRequest = exports.DescribeEndpointsResponse = exports.DescribeEndpointsRequest = exports.DescribeEndpointsMode = exports.DeleteQueueResponse = exports.DeleteQueueRequest = exports.DeletePresetResponse = void 0;
9
9
  var MovCslgAtom;
10
10
  (function (MovCslgAtom) {
11
11
  MovCslgAtom["EXCLUDE"] = "EXCLUDE";
@@ -1408,42 +1408,6 @@ var AssociateCertificateResponse;
1408
1408
  ...obj,
1409
1409
  });
1410
1410
  })(AssociateCertificateResponse = exports.AssociateCertificateResponse || (exports.AssociateCertificateResponse = {}));
1411
- var BadRequestException;
1412
- (function (BadRequestException) {
1413
- BadRequestException.filterSensitiveLog = (obj) => ({
1414
- ...obj,
1415
- });
1416
- })(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
1417
- var ConflictException;
1418
- (function (ConflictException) {
1419
- ConflictException.filterSensitiveLog = (obj) => ({
1420
- ...obj,
1421
- });
1422
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
1423
- var ForbiddenException;
1424
- (function (ForbiddenException) {
1425
- ForbiddenException.filterSensitiveLog = (obj) => ({
1426
- ...obj,
1427
- });
1428
- })(ForbiddenException = exports.ForbiddenException || (exports.ForbiddenException = {}));
1429
- var InternalServerErrorException;
1430
- (function (InternalServerErrorException) {
1431
- InternalServerErrorException.filterSensitiveLog = (obj) => ({
1432
- ...obj,
1433
- });
1434
- })(InternalServerErrorException = exports.InternalServerErrorException || (exports.InternalServerErrorException = {}));
1435
- var NotFoundException;
1436
- (function (NotFoundException) {
1437
- NotFoundException.filterSensitiveLog = (obj) => ({
1438
- ...obj,
1439
- });
1440
- })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
1441
- var TooManyRequestsException;
1442
- (function (TooManyRequestsException) {
1443
- TooManyRequestsException.filterSensitiveLog = (obj) => ({
1444
- ...obj,
1445
- });
1446
- })(TooManyRequestsException = exports.TooManyRequestsException || (exports.TooManyRequestsException = {}));
1447
1411
  var CancelJobRequest;
1448
1412
  (function (CancelJobRequest) {
1449
1413
  CancelJobRequest.filterSensitiveLog = (obj) => ({
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
18
20
  const getRuntimeConfig = (config) => {
19
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
20
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
21
25
  return {
22
26
  ...clientSharedValues,
23
27
  ...config,
24
28
  runtime: "node",
29
+ defaultsMode,
25
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
26
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
27
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
29
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
30
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
32
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
33
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
34
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
35
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
36
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "ca-central-1": {
5
5
  variants: [
6
- {
7
- hostname: "mediaconvert.ca-central-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "mediaconvert-fips.ca-central-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -24,10 +20,6 @@ var regionHash = {
24
20
  },
25
21
  "us-east-1": {
26
22
  variants: [
27
- {
28
- hostname: "mediaconvert.us-east-1.amazonaws.com",
29
- tags: [],
30
- },
31
23
  {
32
24
  hostname: "mediaconvert-fips.us-east-1.amazonaws.com",
33
25
  tags: ["fips"],
@@ -36,10 +28,6 @@ var regionHash = {
36
28
  },
37
29
  "us-east-2": {
38
30
  variants: [
39
- {
40
- hostname: "mediaconvert.us-east-2.amazonaws.com",
41
- tags: [],
42
- },
43
31
  {
44
32
  hostname: "mediaconvert-fips.us-east-2.amazonaws.com",
45
33
  tags: ["fips"],
@@ -57,10 +45,6 @@ var regionHash = {
57
45
  },
58
46
  "us-west-1": {
59
47
  variants: [
60
- {
61
- hostname: "mediaconvert.us-west-1.amazonaws.com",
62
- tags: [],
63
- },
64
48
  {
65
49
  hostname: "mediaconvert-fips.us-west-1.amazonaws.com",
66
50
  tags: ["fips"],
@@ -69,10 +53,6 @@ var regionHash = {
69
53
  },
70
54
  "us-west-2": {
71
55
  variants: [
72
- {
73
- hostname: "mediaconvert.us-west-2.amazonaws.com",
74
- tags: [],
75
- },
76
56
  {
77
57
  hostname: "mediaconvert-fips.us-west-2.amazonaws.com",
78
58
  tags: ["fips"],
@@ -1285,30 +1285,6 @@ export var AssociateCertificateResponse;
1285
1285
  (function (AssociateCertificateResponse) {
1286
1286
  AssociateCertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1287
1287
  })(AssociateCertificateResponse || (AssociateCertificateResponse = {}));
1288
- export var BadRequestException;
1289
- (function (BadRequestException) {
1290
- BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1291
- })(BadRequestException || (BadRequestException = {}));
1292
- export var ConflictException;
1293
- (function (ConflictException) {
1294
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1295
- })(ConflictException || (ConflictException = {}));
1296
- export var ForbiddenException;
1297
- (function (ForbiddenException) {
1298
- ForbiddenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1299
- })(ForbiddenException || (ForbiddenException = {}));
1300
- export var InternalServerErrorException;
1301
- (function (InternalServerErrorException) {
1302
- InternalServerErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1303
- })(InternalServerErrorException || (InternalServerErrorException = {}));
1304
- export var NotFoundException;
1305
- (function (NotFoundException) {
1306
- NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1307
- })(NotFoundException || (NotFoundException = {}));
1308
- export var TooManyRequestsException;
1309
- (function (TooManyRequestsException) {
1310
- TooManyRequestsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1311
- })(TooManyRequestsException || (TooManyRequestsException = {}));
1312
1288
  export var CancelJobRequest;
1313
1289
  (function (CancelJobRequest) {
1314
1290
  CancelJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", 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 : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), 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 : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : 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 : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), 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 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", 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 : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), 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 : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), 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 : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : 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 : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), 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 });
17
26
  };
@@ -1,19 +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 { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
17
  export var getRuntimeConfig = function (config) {
16
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
17
21
  var clientSharedValues = getSharedRuntimeConfig(config);
18
- 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 });
19
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 { AssociateCertificateCommandInput, AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
10
10
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
@@ -136,6 +136,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
136
136
  * @internal
137
137
  */
138
138
  defaultUserAgentProvider?: Provider<__UserAgent>;
139
+ /**
140
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
141
+ */
142
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
139
143
  }
140
144
  declare type MediaConvertClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
141
145
  /**
@@ -3340,12 +3340,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
3340
3340
  $fault: "client";
3341
3341
  Message?: string;
3342
3342
  }
3343
- export declare namespace BadRequestException {
3344
- /**
3345
- * @internal
3346
- */
3347
- const filterSensitiveLog: (obj: BadRequestException) => any;
3348
- }
3349
3343
  /**
3350
3344
  * The service couldn't complete your request because there is a conflict with the current state of the resource.
3351
3345
  */
@@ -3354,12 +3348,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
3354
3348
  $fault: "client";
3355
3349
  Message?: string;
3356
3350
  }
3357
- export declare namespace ConflictException {
3358
- /**
3359
- * @internal
3360
- */
3361
- const filterSensitiveLog: (obj: ConflictException) => any;
3362
- }
3363
3351
  /**
3364
3352
  * You don't have permissions for this action with the credentials you sent.
3365
3353
  */
@@ -3368,12 +3356,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
3368
3356
  $fault: "client";
3369
3357
  Message?: string;
3370
3358
  }
3371
- export declare namespace ForbiddenException {
3372
- /**
3373
- * @internal
3374
- */
3375
- const filterSensitiveLog: (obj: ForbiddenException) => any;
3376
- }
3377
3359
  /**
3378
3360
  * The service encountered an unexpected condition and can't fulfill your request.
3379
3361
  */
@@ -3382,12 +3364,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
3382
3364
  $fault: "server";
3383
3365
  Message?: string;
3384
3366
  }
3385
- export declare namespace InternalServerErrorException {
3386
- /**
3387
- * @internal
3388
- */
3389
- const filterSensitiveLog: (obj: InternalServerErrorException) => any;
3390
- }
3391
3367
  /**
3392
3368
  * The resource you requested doesn't exist.
3393
3369
  */
@@ -3396,12 +3372,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
3396
3372
  $fault: "client";
3397
3373
  Message?: string;
3398
3374
  }
3399
- export declare namespace NotFoundException {
3400
- /**
3401
- * @internal
3402
- */
3403
- const filterSensitiveLog: (obj: NotFoundException) => any;
3404
- }
3405
3375
  /**
3406
3376
  * Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
3407
3377
  */
@@ -3410,12 +3380,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
3410
3380
  $fault: "client";
3411
3381
  Message?: string;
3412
3382
  }
3413
- export declare namespace TooManyRequestsException {
3414
- /**
3415
- * @internal
3416
- */
3417
- const filterSensitiveLog: (obj: TooManyRequestsException) => any;
3418
- }
3419
3383
  export interface CancelJobRequest {
3420
3384
  /**
3421
3385
  * The Job ID of the job to be cancelled.
@@ -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 { MediaConvertClientConfig } from "./MediaConvertClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
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: MediaConvertClientConfig) => {
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 { MediaConvertClientConfig } from "./MediaConvertClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
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: MediaConvertClientConfig) => {
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 { AssociateCertificateCommandInput, AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
10
10
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
@@ -79,6 +79,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
79
79
  regionInfoProvider?: RegionInfoProvider;
80
80
 
81
81
  defaultUserAgentProvider?: Provider<__UserAgent>;
82
+
83
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
82
84
  }
83
85
  declare type MediaConvertClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
84
86
 
@@ -2200,60 +2200,36 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
2200
2200
  $fault: "client";
2201
2201
  Message?: string;
2202
2202
  }
2203
- export declare namespace BadRequestException {
2204
-
2205
- const filterSensitiveLog: (obj: BadRequestException) => any;
2206
- }
2207
2203
 
2208
2204
  export interface ConflictException extends __SmithyException, $MetadataBearer {
2209
2205
  name: "ConflictException";
2210
2206
  $fault: "client";
2211
2207
  Message?: string;
2212
2208
  }
2213
- export declare namespace ConflictException {
2214
-
2215
- const filterSensitiveLog: (obj: ConflictException) => any;
2216
- }
2217
2209
 
2218
2210
  export interface ForbiddenException extends __SmithyException, $MetadataBearer {
2219
2211
  name: "ForbiddenException";
2220
2212
  $fault: "client";
2221
2213
  Message?: string;
2222
2214
  }
2223
- export declare namespace ForbiddenException {
2224
-
2225
- const filterSensitiveLog: (obj: ForbiddenException) => any;
2226
- }
2227
2215
 
2228
2216
  export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
2229
2217
  name: "InternalServerErrorException";
2230
2218
  $fault: "server";
2231
2219
  Message?: string;
2232
2220
  }
2233
- export declare namespace InternalServerErrorException {
2234
-
2235
- const filterSensitiveLog: (obj: InternalServerErrorException) => any;
2236
- }
2237
2221
 
2238
2222
  export interface NotFoundException extends __SmithyException, $MetadataBearer {
2239
2223
  name: "NotFoundException";
2240
2224
  $fault: "client";
2241
2225
  Message?: string;
2242
2226
  }
2243
- export declare namespace NotFoundException {
2244
-
2245
- const filterSensitiveLog: (obj: NotFoundException) => any;
2246
- }
2247
2227
 
2248
2228
  export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
2249
2229
  name: "TooManyRequestsException";
2250
2230
  $fault: "client";
2251
2231
  Message?: string;
2252
2232
  }
2253
- export declare namespace TooManyRequestsException {
2254
-
2255
- const filterSensitiveLog: (obj: TooManyRequestsException) => any;
2256
- }
2257
2233
  export interface CancelJobRequest {
2258
2234
 
2259
2235
  Id: string | undefined;
@@ -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 { MediaConvertClientConfig } from "./MediaConvertClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
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: MediaConvertClientConfig) => {
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 { MediaConvertClientConfig } from "./MediaConvertClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: MediaConvertClientConfig) => {
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: MediaConvertClientConfig) => {
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;
package/package.json CHANGED
@@ -1,17 +1,15 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediaconvert",
3
3
  "description": "AWS SDK for JavaScript Mediaconvert Client for Node.js, Browser and React Native",
4
- "version": "3.46.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
8
  "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "yarn clean:dist && yarn clean:docs",
13
- "clean:dist": "rimraf ./dist-*",
14
- "clean:docs": "rimraf ./docs"
12
+ "clean": "rimraf ./dist-*"
15
13
  },
16
14
  "main": "./dist-cjs/index.js",
17
15
  "types": "./dist-types/index.d.ts",
@@ -20,39 +18,41 @@
20
18
  "dependencies": {
21
19
  "@aws-crypto/sha256-browser": "2.0.0",
22
20
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.46.0",
24
- "@aws-sdk/config-resolver": "3.46.0",
25
- "@aws-sdk/credential-provider-node": "3.46.0",
26
- "@aws-sdk/fetch-http-handler": "3.46.0",
27
- "@aws-sdk/hash-node": "3.46.0",
28
- "@aws-sdk/invalid-dependency": "3.46.0",
29
- "@aws-sdk/middleware-content-length": "3.46.0",
30
- "@aws-sdk/middleware-host-header": "3.46.0",
31
- "@aws-sdk/middleware-logger": "3.46.0",
32
- "@aws-sdk/middleware-retry": "3.46.0",
33
- "@aws-sdk/middleware-serde": "3.46.0",
34
- "@aws-sdk/middleware-signing": "3.46.0",
35
- "@aws-sdk/middleware-stack": "3.46.0",
36
- "@aws-sdk/middleware-user-agent": "3.46.0",
37
- "@aws-sdk/node-config-provider": "3.46.0",
38
- "@aws-sdk/node-http-handler": "3.46.0",
39
- "@aws-sdk/protocol-http": "3.46.0",
40
- "@aws-sdk/smithy-client": "3.46.0",
41
- "@aws-sdk/types": "3.46.0",
42
- "@aws-sdk/url-parser": "3.46.0",
43
- "@aws-sdk/util-base64-browser": "3.46.0",
44
- "@aws-sdk/util-base64-node": "3.46.0",
45
- "@aws-sdk/util-body-length-browser": "3.46.0",
46
- "@aws-sdk/util-body-length-node": "3.46.0",
47
- "@aws-sdk/util-user-agent-browser": "3.46.0",
48
- "@aws-sdk/util-user-agent-node": "3.46.0",
49
- "@aws-sdk/util-utf8-browser": "3.46.0",
50
- "@aws-sdk/util-utf8-node": "3.46.0",
21
+ "@aws-sdk/client-sts": "3.47.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.0",
25
+ "@aws-sdk/hash-node": "3.47.0",
26
+ "@aws-sdk/invalid-dependency": "3.47.0",
27
+ "@aws-sdk/middleware-content-length": "3.47.0",
28
+ "@aws-sdk/middleware-host-header": "3.47.0",
29
+ "@aws-sdk/middleware-logger": "3.47.0",
30
+ "@aws-sdk/middleware-retry": "3.47.0",
31
+ "@aws-sdk/middleware-serde": "3.47.0",
32
+ "@aws-sdk/middleware-signing": "3.47.0",
33
+ "@aws-sdk/middleware-stack": "3.47.0",
34
+ "@aws-sdk/middleware-user-agent": "3.47.0",
35
+ "@aws-sdk/node-config-provider": "3.47.0",
36
+ "@aws-sdk/node-http-handler": "3.47.0",
37
+ "@aws-sdk/protocol-http": "3.47.0",
38
+ "@aws-sdk/smithy-client": "3.47.0",
39
+ "@aws-sdk/types": "3.47.0",
40
+ "@aws-sdk/url-parser": "3.47.0",
41
+ "@aws-sdk/util-base64-browser": "3.47.0",
42
+ "@aws-sdk/util-base64-node": "3.47.0",
43
+ "@aws-sdk/util-body-length-browser": "3.47.0",
44
+ "@aws-sdk/util-body-length-node": "3.47.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
48
+ "@aws-sdk/util-user-agent-node": "3.47.0",
49
+ "@aws-sdk/util-utf8-browser": "3.47.0",
50
+ "@aws-sdk/util-utf8-node": "3.47.0",
51
51
  "tslib": "^2.3.0",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.46.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.47.0",
56
56
  "@types/node": "^12.7.5",
57
57
  "@types/uuid": "^8.3.0"
58
58
  },