@aws-sdk/client-medialive 3.804.0 → 3.806.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/dist-cjs/index.js CHANGED
@@ -3042,6 +3042,7 @@ var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
3042
3042
  let body;
3043
3043
  body = JSON.stringify(
3044
3044
  (0, import_smithy_client.take)(input, {
3045
+ anywhereSettings: [, (_) => se_AnywhereSettings(_, context), `AnywhereSettings`],
3045
3046
  cdiInputSpecification: [, (_) => se_CdiInputSpecification(_, context), `CdiInputSpecification`],
3046
3047
  channelEngineVersion: [, (_) => se_ChannelEngineVersionRequest(_, context), `ChannelEngineVersion`],
3047
3048
  destinations: [, (_) => se___listOfOutputDestination(_, context), `Destinations`],
@@ -23,20 +23,20 @@ const getRuntimeConfig = (config) => {
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
- const profileConfig = { profile: config?.profile };
26
+ const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
27
27
  return {
28
28
  ...clientSharedValues,
29
29
  ...config,
30
30
  runtime: "node",
31
31
  defaultsMode,
32
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
32
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
33
33
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
34
34
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
35
35
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
36
36
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
37
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
38
38
  region: config?.region ??
39
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
39
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
40
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
41
41
  retryMode: config?.retryMode ??
42
42
  (0, node_config_provider_1.loadConfig)({
@@ -45,9 +45,9 @@ const getRuntimeConfig = (config) => {
45
45
  }, config),
46
46
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
47
47
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
48
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
50
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
49
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
50
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
51
51
  };
52
52
  };
53
53
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1290,6 +1290,7 @@ export const se_UpdateChannelCommand = async (input, context) => {
1290
1290
  b.p("ChannelId", () => input.ChannelId, "{ChannelId}", false);
1291
1291
  let body;
1292
1292
  body = JSON.stringify(take(input, {
1293
+ anywhereSettings: [, (_) => se_AnywhereSettings(_, context), `AnywhereSettings`],
1293
1294
  cdiInputSpecification: [, (_) => se_CdiInputSpecification(_, context), `CdiInputSpecification`],
1294
1295
  channelEngineVersion: [, (_) => se_ChannelEngineVersionRequest(_, context), `ChannelEngineVersion`],
1295
1296
  destinations: [, (_) => se___listOfOutputDestination(_, context), `Destinations`],
@@ -19,20 +19,20 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
- const profileConfig = { profile: config?.profile };
22
+ const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
26
26
  runtime: "node",
27
27
  defaultsMode,
28
- authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
28
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
29
29
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
30
30
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
31
31
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
32
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
33
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
34
34
  region: config?.region ??
35
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
35
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
37
37
  retryMode: config?.retryMode ??
38
38
  loadNodeConfig({
@@ -41,8 +41,8 @@ export const getRuntimeConfig = (config) => {
41
41
  }, config),
42
42
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
43
43
  streamCollector: config?.streamCollector ?? streamCollector,
44
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
46
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
45
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
47
47
  };
48
48
  };
@@ -1223,6 +1223,10 @@ declare const UpdateChannelCommand_base: {
1223
1223
  * Version: "STRING_VALUE",
1224
1224
  * },
1225
1225
  * DryRun: true || false,
1226
+ * AnywhereSettings: { // AnywhereSettings
1227
+ * ChannelPlacementGroupId: "STRING_VALUE",
1228
+ * ClusterId: "STRING_VALUE",
1229
+ * },
1226
1230
  * };
1227
1231
  * const command = new UpdateChannelCommand(input);
1228
1232
  * const response = await client.send(command);
@@ -6701,6 +6701,11 @@ export interface UpdateChannelRequest {
6701
6701
  * @public
6702
6702
  */
6703
6703
  DryRun?: boolean | undefined;
6704
+ /**
6705
+ * The Elemental Anywhere settings for this channel.
6706
+ * @public
6707
+ */
6708
+ AnywhereSettings?: AnywhereSettings | undefined;
6704
6709
  }
6705
6710
  /**
6706
6711
  * Placeholder documentation for UpdateChannelResponse
@@ -1688,6 +1688,7 @@ export interface UpdateChannelRequest {
1688
1688
  RoleArn?: string | undefined;
1689
1689
  ChannelEngineVersion?: ChannelEngineVersionRequest | undefined;
1690
1690
  DryRun?: boolean | undefined;
1691
+ AnywhereSettings?: AnywhereSettings | undefined;
1691
1692
  }
1692
1693
  export interface UpdateChannelResponse {
1693
1694
  Channel?: Channel | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-medialive",
3
3
  "description": "AWS SDK for JavaScript Medialive Client for Node.js, Browser and React Native",
4
- "version": "3.804.0",
4
+ "version": "3.806.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-medialive",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.804.0",
24
- "@aws-sdk/credential-provider-node": "3.804.0",
23
+ "@aws-sdk/core": "3.806.0",
24
+ "@aws-sdk/credential-provider-node": "3.806.0",
25
25
  "@aws-sdk/middleware-host-header": "3.804.0",
26
26
  "@aws-sdk/middleware-logger": "3.804.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
- "@aws-sdk/middleware-user-agent": "3.804.0",
29
- "@aws-sdk/region-config-resolver": "3.804.0",
28
+ "@aws-sdk/middleware-user-agent": "3.806.0",
29
+ "@aws-sdk/region-config-resolver": "3.806.0",
30
30
  "@aws-sdk/types": "3.804.0",
31
- "@aws-sdk/util-endpoints": "3.804.0",
31
+ "@aws-sdk/util-endpoints": "3.806.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.804.0",
33
- "@aws-sdk/util-user-agent-node": "3.804.0",
34
- "@smithy/config-resolver": "^4.1.0",
33
+ "@aws-sdk/util-user-agent-node": "3.806.0",
34
+ "@smithy/config-resolver": "^4.1.1",
35
35
  "@smithy/core": "^3.3.1",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.2",
41
- "@smithy/middleware-retry": "^4.1.3",
40
+ "@smithy/middleware-endpoint": "^4.1.3",
41
+ "@smithy/middleware-retry": "^4.1.4",
42
42
  "@smithy/middleware-serde": "^4.0.3",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
- "@smithy/node-config-provider": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.1.0",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.2",
47
+ "@smithy/smithy-client": "^4.2.3",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.10",
54
- "@smithy/util-defaults-mode-node": "^4.0.10",
55
- "@smithy/util-endpoints": "^3.0.2",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.11",
54
+ "@smithy/util-defaults-mode-node": "^4.0.11",
55
+ "@smithy/util-endpoints": "^3.0.3",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
57
  "@smithy/util-retry": "^4.0.3",
58
58
  "@smithy/util-stream": "^4.2.0",