@aws-sdk/client-kinesis-video-archived-media 3.533.0 → 3.540.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -1038,9 +1038,6 @@ var paginateGetImages = (0, import_core.createPaginator)(KinesisVideoArchivedMed
1038
1038
  // src/pagination/ListFragmentsPaginator.ts
1039
1039
 
1040
1040
  var paginateListFragments = (0, import_core.createPaginator)(KinesisVideoArchivedMediaClient, ListFragmentsCommand, "NextToken", "NextToken", "MaxResults");
1041
-
1042
- // src/index.ts
1043
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
1044
1041
  // Annotate the CommonJS export names for ESM import in node:
1045
1042
 
1046
1043
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -3,5 +3,4 @@ export * from "./KinesisVideoArchivedMedia";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { KinesisVideoArchivedMediaServiceException } from "./models/KinesisVideoArchivedMediaServiceException";
@@ -16,12 +16,14 @@ export interface KinesisVideoArchivedMedia {
16
16
  /**
17
17
  * @see {@link GetDASHStreamingSessionURLCommand}
18
18
  */
19
+ getDASHStreamingSessionURL(): Promise<GetDASHStreamingSessionURLCommandOutput>;
19
20
  getDASHStreamingSessionURL(args: GetDASHStreamingSessionURLCommandInput, options?: __HttpHandlerOptions): Promise<GetDASHStreamingSessionURLCommandOutput>;
20
21
  getDASHStreamingSessionURL(args: GetDASHStreamingSessionURLCommandInput, cb: (err: any, data?: GetDASHStreamingSessionURLCommandOutput) => void): void;
21
22
  getDASHStreamingSessionURL(args: GetDASHStreamingSessionURLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDASHStreamingSessionURLCommandOutput) => void): void;
22
23
  /**
23
24
  * @see {@link GetHLSStreamingSessionURLCommand}
24
25
  */
26
+ getHLSStreamingSessionURL(): Promise<GetHLSStreamingSessionURLCommandOutput>;
25
27
  getHLSStreamingSessionURL(args: GetHLSStreamingSessionURLCommandInput, options?: __HttpHandlerOptions): Promise<GetHLSStreamingSessionURLCommandOutput>;
26
28
  getHLSStreamingSessionURL(args: GetHLSStreamingSessionURLCommandInput, cb: (err: any, data?: GetHLSStreamingSessionURLCommandOutput) => void): void;
27
29
  getHLSStreamingSessionURL(args: GetHLSStreamingSessionURLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHLSStreamingSessionURLCommandOutput) => void): void;
@@ -40,13 +42,14 @@ export interface KinesisVideoArchivedMedia {
40
42
  /**
41
43
  * @see {@link ListFragmentsCommand}
42
44
  */
45
+ listFragments(): Promise<ListFragmentsCommandOutput>;
43
46
  listFragments(args: ListFragmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListFragmentsCommandOutput>;
44
47
  listFragments(args: ListFragmentsCommandInput, cb: (err: any, data?: ListFragmentsCommandOutput) => void): void;
45
48
  listFragments(args: ListFragmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFragmentsCommandOutput) => void): void;
46
49
  }
47
50
  /**
48
- * @public
49
51
  * <p></p>
52
+ * @public
50
53
  */
51
54
  export declare class KinesisVideoArchivedMedia extends KinesisVideoArchivedMediaClient implements KinesisVideoArchivedMedia {
52
55
  }
@@ -162,8 +162,8 @@ export type KinesisVideoArchivedMediaClientResolvedConfigType = __SmithyResolved
162
162
  export interface KinesisVideoArchivedMediaClientResolvedConfig extends KinesisVideoArchivedMediaClientResolvedConfigType {
163
163
  }
164
164
  /**
165
- * @public
166
165
  * <p></p>
166
+ * @public
167
167
  */
168
168
  export declare class KinesisVideoArchivedMediaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, KinesisVideoArchivedMediaClientResolvedConfig> {
169
169
  /**
@@ -23,10 +23,10 @@ export interface GetClipCommandOutput extends Omit<GetClipOutput, "Payload">, __
23
23
  }
24
24
  declare const GetClipCommand_base: {
25
25
  new (input: GetClipCommandInput): import("@smithy/smithy-client").CommandImpl<GetClipCommandInput, GetClipCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetClipCommandInput): import("@smithy/smithy-client").CommandImpl<GetClipCommandInput, GetClipCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
30
  * <p>Downloads an MP4 file (clip) containing the archived, on-demand media from the
31
31
  * specified video stream over the specified time range. </p>
32
32
  * <p>Both the StreamName and the StreamARN parameters are optional, but you must specify
@@ -146,6 +146,7 @@ declare const GetClipCommand_base: {
146
146
  * @throws {@link KinesisVideoArchivedMediaServiceException}
147
147
  * <p>Base exception class for all service exceptions from KinesisVideoArchivedMedia service.</p>
148
148
  *
149
+ * @public
149
150
  */
150
151
  export declare class GetClipCommand extends GetClipCommand_base {
151
152
  }
@@ -22,10 +22,10 @@ export interface GetDASHStreamingSessionURLCommandOutput extends GetDASHStreamin
22
22
  }
23
23
  declare const GetDASHStreamingSessionURLCommand_base: {
24
24
  new (input: GetDASHStreamingSessionURLCommandInput): import("@smithy/smithy-client").CommandImpl<GetDASHStreamingSessionURLCommandInput, GetDASHStreamingSessionURLCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [GetDASHStreamingSessionURLCommandInput]): import("@smithy/smithy-client").CommandImpl<GetDASHStreamingSessionURLCommandInput, GetDASHStreamingSessionURLCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Retrieves an MPEG Dynamic Adaptive Streaming over HTTP (DASH) URL for the stream. You
30
30
  * can then open the URL in a media player to view the stream contents.</p>
31
31
  * <p>Both the <code>StreamName</code> and the <code>StreamARN</code> parameters are
@@ -250,6 +250,7 @@ declare const GetDASHStreamingSessionURLCommand_base: {
250
250
  * @throws {@link KinesisVideoArchivedMediaServiceException}
251
251
  * <p>Base exception class for all service exceptions from KinesisVideoArchivedMedia service.</p>
252
252
  *
253
+ * @public
253
254
  */
254
255
  export declare class GetDASHStreamingSessionURLCommand extends GetDASHStreamingSessionURLCommand_base {
255
256
  }
@@ -22,10 +22,10 @@ export interface GetHLSStreamingSessionURLCommandOutput extends GetHLSStreamingS
22
22
  }
23
23
  declare const GetHLSStreamingSessionURLCommand_base: {
24
24
  new (input: GetHLSStreamingSessionURLCommandInput): import("@smithy/smithy-client").CommandImpl<GetHLSStreamingSessionURLCommandInput, GetHLSStreamingSessionURLCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [GetHLSStreamingSessionURLCommandInput]): import("@smithy/smithy-client").CommandImpl<GetHLSStreamingSessionURLCommandInput, GetHLSStreamingSessionURLCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Retrieves an HTTP Live Streaming (HLS) URL for the stream. You can then open the URL
30
30
  * in a browser or media player to view the stream contents.</p>
31
31
  * <p>Both the <code>StreamName</code> and the <code>StreamARN</code> parameters are
@@ -293,6 +293,7 @@ declare const GetHLSStreamingSessionURLCommand_base: {
293
293
  * @throws {@link KinesisVideoArchivedMediaServiceException}
294
294
  * <p>Base exception class for all service exceptions from KinesisVideoArchivedMedia service.</p>
295
295
  *
296
+ * @public
296
297
  */
297
298
  export declare class GetHLSStreamingSessionURLCommand extends GetHLSStreamingSessionURLCommand_base {
298
299
  }
@@ -22,10 +22,10 @@ export interface GetImagesCommandOutput extends GetImagesOutput, __MetadataBeare
22
22
  }
23
23
  declare const GetImagesCommand_base: {
24
24
  new (input: GetImagesCommandInput): import("@smithy/smithy-client").CommandImpl<GetImagesCommandInput, GetImagesCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetImagesCommandInput): import("@smithy/smithy-client").CommandImpl<GetImagesCommandInput, GetImagesCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Retrieves a list of images corresponding to each timestamp for a given time range,
30
30
  * sampling interval, and image format configuration.</p>
31
31
  * @example
@@ -102,6 +102,7 @@ declare const GetImagesCommand_base: {
102
102
  * @throws {@link KinesisVideoArchivedMediaServiceException}
103
103
  * <p>Base exception class for all service exceptions from KinesisVideoArchivedMedia service.</p>
104
104
  *
105
+ * @public
105
106
  */
106
107
  export declare class GetImagesCommand extends GetImagesCommand_base {
107
108
  }
@@ -23,10 +23,10 @@ export interface GetMediaForFragmentListCommandOutput extends Omit<GetMediaForFr
23
23
  }
24
24
  declare const GetMediaForFragmentListCommand_base: {
25
25
  new (input: GetMediaForFragmentListCommandInput): import("@smithy/smithy-client").CommandImpl<GetMediaForFragmentListCommandInput, GetMediaForFragmentListCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetMediaForFragmentListCommandInput): import("@smithy/smithy-client").CommandImpl<GetMediaForFragmentListCommandInput, GetMediaForFragmentListCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
30
  * <p>Gets media for a list of fragments (specified by fragment number) from the archived
31
31
  * data in an Amazon Kinesis video stream.</p>
32
32
  * <note>
@@ -115,6 +115,7 @@ declare const GetMediaForFragmentListCommand_base: {
115
115
  * @throws {@link KinesisVideoArchivedMediaServiceException}
116
116
  * <p>Base exception class for all service exceptions from KinesisVideoArchivedMedia service.</p>
117
117
  *
118
+ * @public
118
119
  */
119
120
  export declare class GetMediaForFragmentListCommand extends GetMediaForFragmentListCommand_base {
120
121
  }
@@ -22,10 +22,10 @@ export interface ListFragmentsCommandOutput extends ListFragmentsOutput, __Metad
22
22
  }
23
23
  declare const ListFragmentsCommand_base: {
24
24
  new (input: ListFragmentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListFragmentsCommandInput, ListFragmentsCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListFragmentsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListFragmentsCommandInput, ListFragmentsCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns a list of <a>Fragment</a> objects from the specified stream and
30
30
  * timestamp range within the archived data.</p>
31
31
  * <p>Listing fragments is eventually consistent. This means that even if the producer
@@ -130,6 +130,7 @@ declare const ListFragmentsCommand_base: {
130
130
  * @throws {@link KinesisVideoArchivedMediaServiceException}
131
131
  * <p>Base exception class for all service exceptions from KinesisVideoArchivedMedia service.</p>
132
132
  *
133
+ * @public
133
134
  */
134
135
  export declare class ListFragmentsCommand extends ListFragmentsCommand_base {
135
136
  }
@@ -11,5 +11,4 @@ export { KinesisVideoArchivedMediaExtensionConfiguration } from "./extensionConf
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
13
  export * from "./models";
14
- import "@aws-sdk/util-endpoints";
15
14
  export { KinesisVideoArchivedMediaServiceException } from "./models/KinesisVideoArchivedMediaServiceException";