@aws-sdk/client-mediapackage-vod 3.226.0 → 3.229.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.
@@ -924,6 +924,9 @@ const deserializeAws_restJson1DescribePackagingGroupCommand = async (output, con
924
924
  $metadata: deserializeMetadata(output),
925
925
  });
926
926
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
927
+ if (data.approximateAssetCount != null) {
928
+ contents.ApproximateAssetCount = (0, smithy_client_1.expectInt32)(data.approximateAssetCount);
929
+ }
927
930
  if (data.arn != null) {
928
931
  contents.Arn = (0, smithy_client_1.expectString)(data.arn);
929
932
  }
@@ -1222,6 +1225,9 @@ const deserializeAws_restJson1UpdatePackagingGroupCommand = async (output, conte
1222
1225
  $metadata: deserializeMetadata(output),
1223
1226
  });
1224
1227
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1228
+ if (data.approximateAssetCount != null) {
1229
+ contents.ApproximateAssetCount = (0, smithy_client_1.expectInt32)(data.approximateAssetCount);
1230
+ }
1225
1231
  if (data.arn != null) {
1226
1232
  contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1227
1233
  }
@@ -1822,6 +1828,7 @@ const deserializeAws_restJson1PackagingConfiguration = (output, context) => {
1822
1828
  };
1823
1829
  const deserializeAws_restJson1PackagingGroup = (output, context) => {
1824
1830
  return {
1831
+ ApproximateAssetCount: (0, smithy_client_1.expectInt32)(output.approximateAssetCount),
1825
1832
  Arn: (0, smithy_client_1.expectString)(output.arn),
1826
1833
  Authorization: output.authorization != null ? deserializeAws_restJson1Authorization(output.authorization, context) : undefined,
1827
1834
  DomainName: (0, smithy_client_1.expectString)(output.domainName),
@@ -7,8 +7,8 @@ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
10
- const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
10
  const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
11
+ const util_retry_1 = require("@aws-sdk/util-retry");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
@@ -27,10 +27,10 @@ const getRuntimeConfig = (config) => {
27
27
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
28
28
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
29
29
  (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
30
- maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
30
+ maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
31
31
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
32
32
  requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
33
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
33
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
34
34
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
35
35
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
36
36
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const node_config_provider_1 = require("@aws-sdk/node-config-provider");
12
12
  const node_http_handler_1 = require("@aws-sdk/node-http-handler");
13
13
  const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
14
+ const util_retry_1 = require("@aws-sdk/util-retry");
14
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
15
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
16
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
@@ -37,7 +38,7 @@ const getRuntimeConfig = (config) => {
37
38
  retryMode: config?.retryMode ??
38
39
  (0, node_config_provider_1.loadConfig)({
39
40
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
- default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
41
42
  }),
42
43
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
43
44
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
@@ -895,6 +895,9 @@ export const deserializeAws_restJson1DescribePackagingGroupCommand = async (outp
895
895
  $metadata: deserializeMetadata(output),
896
896
  });
897
897
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
898
+ if (data.approximateAssetCount != null) {
899
+ contents.ApproximateAssetCount = __expectInt32(data.approximateAssetCount);
900
+ }
898
901
  if (data.arn != null) {
899
902
  contents.Arn = __expectString(data.arn);
900
903
  }
@@ -1186,6 +1189,9 @@ export const deserializeAws_restJson1UpdatePackagingGroupCommand = async (output
1186
1189
  $metadata: deserializeMetadata(output),
1187
1190
  });
1188
1191
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1192
+ if (data.approximateAssetCount != null) {
1193
+ contents.ApproximateAssetCount = __expectInt32(data.approximateAssetCount);
1194
+ }
1189
1195
  if (data.arn != null) {
1190
1196
  contents.Arn = __expectString(data.arn);
1191
1197
  }
@@ -1785,6 +1791,7 @@ const deserializeAws_restJson1PackagingConfiguration = (output, context) => {
1785
1791
  };
1786
1792
  const deserializeAws_restJson1PackagingGroup = (output, context) => {
1787
1793
  return {
1794
+ ApproximateAssetCount: __expectInt32(output.approximateAssetCount),
1788
1795
  Arn: __expectString(output.arn),
1789
1796
  Authorization: output.authorization != null ? deserializeAws_restJson1Authorization(output.authorization, context) : undefined,
1790
1797
  DomainName: __expectString(output.domainName),
@@ -3,8 +3,8 @@ import { Sha256 } from "@aws-crypto/sha256-browser";
3
3
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
4
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
7
6
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
7
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
8
8
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
9
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
@@ -3,10 +3,11 @@ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
3
  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";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { Hash } from "@aws-sdk/hash-node";
6
- import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
6
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
7
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
8
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
9
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
10
+ import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
10
11
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
11
12
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
12
13
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
@@ -95,7 +95,7 @@ export interface DashManifest {
95
95
  */
96
96
  Profile?: Profile | string;
97
97
  /**
98
- * The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
98
+ * The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content. The MANIFEST value is compatible with source HLS playlists using the SCTE-35 Enhanced syntax (#EXT-OATCLS-SCTE35 tags). SCTE-35 Elemental and SCTE-35 Daterange syntaxes are not supported with this option.
99
99
  */
100
100
  ScteMarkersSource?: ScteMarkersSource | string;
101
101
  /**
@@ -467,6 +467,10 @@ export interface EgressAccessLogs {
467
467
  * A MediaPackage VOD PackagingGroup resource.
468
468
  */
469
469
  export interface PackagingGroup {
470
+ /**
471
+ * The approximate asset count of the PackagingGroup.
472
+ */
473
+ ApproximateAssetCount?: number;
470
474
  /**
471
475
  * The ARN of the PackagingGroup.
472
476
  */
@@ -899,6 +903,10 @@ export interface DescribePackagingGroupRequest {
899
903
  Id: string | undefined;
900
904
  }
901
905
  export interface DescribePackagingGroupResponse {
906
+ /**
907
+ * The approximate asset count of the PackagingGroup.
908
+ */
909
+ ApproximateAssetCount?: number;
902
910
  /**
903
911
  * The ARN of the PackagingGroup.
904
912
  */
@@ -1038,6 +1046,10 @@ export interface UpdatePackagingGroupRequest {
1038
1046
  Id: string | undefined;
1039
1047
  }
1040
1048
  export interface UpdatePackagingGroupResponse {
1049
+ /**
1050
+ * The approximate asset count of the PackagingGroup.
1051
+ */
1052
+ ApproximateAssetCount?: number;
1041
1053
  /**
1042
1054
  * The ARN of the PackagingGroup.
1043
1055
  */
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MediaPackageVodClientConfig) =>
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;
33
33
  tls?: boolean | undefined;
34
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
34
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
35
35
  credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
36
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
37
  signingEscapePath?: boolean | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MediaPackageVodClientConfig) =>
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;
33
33
  tls?: boolean | undefined;
34
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
34
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
35
35
  credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
36
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
37
  signingEscapePath?: boolean | undefined;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: MediaPackageVodClientConfig) =>
30
30
  logger?: import("@aws-sdk/types").Logger | undefined;
31
31
  }) => import("@aws-sdk/types").EndpointV2;
32
32
  tls?: boolean | undefined;
33
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
34
34
  credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
35
35
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
36
36
  signingEscapePath?: boolean | undefined;
@@ -163,6 +163,7 @@ export interface EgressAccessLogs {
163
163
  LogGroupName?: string;
164
164
  }
165
165
  export interface PackagingGroup {
166
+ ApproximateAssetCount?: number;
166
167
  Arn?: string;
167
168
  Authorization?: Authorization;
168
169
  DomainName?: string;
@@ -321,6 +322,7 @@ export interface DescribePackagingGroupRequest {
321
322
  Id: string | undefined;
322
323
  }
323
324
  export interface DescribePackagingGroupResponse {
325
+ ApproximateAssetCount?: number;
324
326
  Arn?: string;
325
327
  Authorization?: Authorization;
326
328
  DomainName?: string;
@@ -373,6 +375,7 @@ export interface UpdatePackagingGroupRequest {
373
375
  Id: string | undefined;
374
376
  }
375
377
  export interface UpdatePackagingGroupResponse {
378
+ ApproximateAssetCount?: number;
376
379
  Arn?: string;
377
380
  Authorization?: Authorization;
378
381
  DomainName?: string;
@@ -64,7 +64,10 @@ export declare const getRuntimeConfig: (
64
64
  }
65
65
  ) => import("@aws-sdk/types").EndpointV2;
66
66
  tls?: boolean | undefined;
67
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
67
+ retryStrategy?:
68
+ | import("@aws-sdk/types").RetryStrategy
69
+ | import("@aws-sdk/types").RetryStrategyV2
70
+ | undefined;
68
71
  credentials?:
69
72
  | import("@aws-sdk/types").AwsCredentialIdentity
70
73
  | import("@aws-sdk/types").Provider<
@@ -64,7 +64,10 @@ export declare const getRuntimeConfig: (
64
64
  }
65
65
  ) => import("@aws-sdk/types").EndpointV2;
66
66
  tls?: boolean | undefined;
67
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
67
+ retryStrategy?:
68
+ | import("@aws-sdk/types").RetryStrategy
69
+ | import("@aws-sdk/types").RetryStrategyV2
70
+ | undefined;
68
71
  credentials?:
69
72
  | import("@aws-sdk/types").AwsCredentialIdentity
70
73
  | import("@aws-sdk/types").Provider<
@@ -53,7 +53,10 @@ export declare const getRuntimeConfig: (
53
53
  }
54
54
  ) => import("@aws-sdk/types").EndpointV2;
55
55
  tls?: boolean | undefined;
56
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
56
+ retryStrategy?:
57
+ | import("@aws-sdk/types").RetryStrategy
58
+ | import("@aws-sdk/types").RetryStrategyV2
59
+ | undefined;
57
60
  credentials?:
58
61
  | import("@aws-sdk/types").AwsCredentialIdentity
59
62
  | import("@aws-sdk/types").Provider<
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackage-vod",
3
3
  "description": "AWS SDK for JavaScript Mediapackage Vod Client for Node.js, Browser and React Native",
4
- "version": "3.226.0",
4
+ "version": "3.229.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.226.0",
22
+ "@aws-sdk/client-sts": "3.229.0",
23
23
  "@aws-sdk/config-resolver": "3.226.0",
24
- "@aws-sdk/credential-provider-node": "3.226.0",
24
+ "@aws-sdk/credential-provider-node": "3.229.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.226.0",
26
26
  "@aws-sdk/hash-node": "3.226.0",
27
27
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -30,7 +30,7 @@
30
30
  "@aws-sdk/middleware-host-header": "3.226.0",
31
31
  "@aws-sdk/middleware-logger": "3.226.0",
32
32
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
33
- "@aws-sdk/middleware-retry": "3.226.0",
33
+ "@aws-sdk/middleware-retry": "3.229.0",
34
34
  "@aws-sdk/middleware-serde": "3.226.0",
35
35
  "@aws-sdk/middleware-signing": "3.226.0",
36
36
  "@aws-sdk/middleware-stack": "3.226.0",
@@ -47,6 +47,7 @@
47
47
  "@aws-sdk/util-defaults-mode-browser": "3.226.0",
48
48
  "@aws-sdk/util-defaults-mode-node": "3.226.0",
49
49
  "@aws-sdk/util-endpoints": "3.226.0",
50
+ "@aws-sdk/util-retry": "3.229.0",
50
51
  "@aws-sdk/util-user-agent-browser": "3.226.0",
51
52
  "@aws-sdk/util-user-agent-node": "3.226.0",
52
53
  "@aws-sdk/util-utf8-browser": "3.188.0",