@aws-sdk/client-kinesis-video-archived-media 3.649.0 → 3.650.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
@@ -912,9 +912,7 @@ var _CT = "ContentType";
912
912
  var _ct = "content-type";
913
913
 
914
914
  // src/commands/GetClipCommand.ts
915
- var _GetClipCommand = class _GetClipCommand extends import_smithy_client.Command.classBuilder().ep({
916
- ...commonParams
917
- }).m(function(Command, cs, config, o) {
915
+ var _GetClipCommand = class _GetClipCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
918
916
  return [
919
917
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
920
918
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -928,9 +926,7 @@ var GetClipCommand = _GetClipCommand;
928
926
 
929
927
 
930
928
 
931
- var _GetDASHStreamingSessionURLCommand = class _GetDASHStreamingSessionURLCommand extends import_smithy_client.Command.classBuilder().ep({
932
- ...commonParams
933
- }).m(function(Command, cs, config, o) {
929
+ var _GetDASHStreamingSessionURLCommand = class _GetDASHStreamingSessionURLCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
934
930
  return [
935
931
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
936
932
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -944,9 +940,7 @@ var GetDASHStreamingSessionURLCommand = _GetDASHStreamingSessionURLCommand;
944
940
 
945
941
 
946
942
 
947
- var _GetHLSStreamingSessionURLCommand = class _GetHLSStreamingSessionURLCommand extends import_smithy_client.Command.classBuilder().ep({
948
- ...commonParams
949
- }).m(function(Command, cs, config, o) {
943
+ var _GetHLSStreamingSessionURLCommand = class _GetHLSStreamingSessionURLCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
950
944
  return [
951
945
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
952
946
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -960,9 +954,7 @@ var GetHLSStreamingSessionURLCommand = _GetHLSStreamingSessionURLCommand;
960
954
 
961
955
 
962
956
 
963
- var _GetImagesCommand = class _GetImagesCommand extends import_smithy_client.Command.classBuilder().ep({
964
- ...commonParams
965
- }).m(function(Command, cs, config, o) {
957
+ var _GetImagesCommand = class _GetImagesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
966
958
  return [
967
959
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
968
960
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -976,9 +968,7 @@ var GetImagesCommand = _GetImagesCommand;
976
968
 
977
969
 
978
970
 
979
- var _GetMediaForFragmentListCommand = class _GetMediaForFragmentListCommand extends import_smithy_client.Command.classBuilder().ep({
980
- ...commonParams
981
- }).m(function(Command, cs, config, o) {
971
+ var _GetMediaForFragmentListCommand = class _GetMediaForFragmentListCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
982
972
  return [
983
973
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
984
974
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -992,9 +982,7 @@ var GetMediaForFragmentListCommand = _GetMediaForFragmentListCommand;
992
982
 
993
983
 
994
984
 
995
- var _ListFragmentsCommand = class _ListFragmentsCommand extends import_smithy_client.Command.classBuilder().ep({
996
- ...commonParams
997
- }).m(function(Command, cs, config, o) {
985
+ var _ListFragmentsCommand = class _ListFragmentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
998
986
  return [
999
987
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1000
988
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_GetClipCommand, se_GetClipCommand } from "../protocols/Aws_restJson1
7
7
  export { $Command };
8
8
  export class GetClipCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetDASHStreamingSessionURLCommand, se_GetDASHStreamingSessionURLComm
6
6
  export { $Command };
7
7
  export class GetDASHStreamingSessionURLCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetHLSStreamingSessionURLCommand, se_GetHLSStreamingSessionURLComman
6
6
  export { $Command };
7
7
  export class GetHLSStreamingSessionURLCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetImagesCommand, se_GetImagesCommand } from "../protocols/Aws_restJ
6
6
  export { $Command };
7
7
  export class GetImagesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetMediaForFragmentListCommand, se_GetMediaForFragmentListCommand }
7
7
  export { $Command };
8
8
  export class GetMediaForFragmentListCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListFragmentsCommand, se_ListFragmentsCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class ListFragmentsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-video-archived-media",
3
3
  "description": "AWS SDK for JavaScript Kinesis Video Archived Media Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.650.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-kinesis-video-archived-media",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }