@effect-aws/client-ivs 1.10.5

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.
Files changed (53) hide show
  1. package/Errors/package.json +6 -0
  2. package/IvsClientInstance/package.json +6 -0
  3. package/IvsService/package.json +6 -0
  4. package/IvsServiceConfig/package.json +6 -0
  5. package/LICENSE +19 -0
  6. package/README.md +58 -0
  7. package/dist/cjs/Errors.d.ts +17 -0
  8. package/dist/cjs/Errors.d.ts.map +1 -0
  9. package/dist/cjs/Errors.js +16 -0
  10. package/dist/cjs/Errors.js.map +1 -0
  11. package/dist/cjs/IvsClientInstance.d.ts +24 -0
  12. package/dist/cjs/IvsClientInstance.d.ts.map +1 -0
  13. package/dist/cjs/IvsClientInstance.js +50 -0
  14. package/dist/cjs/IvsClientInstance.js.map +1 -0
  15. package/dist/cjs/IvsService.d.ts +186 -0
  16. package/dist/cjs/IvsService.d.ts.map +1 -0
  17. package/dist/cjs/IvsService.js +94 -0
  18. package/dist/cjs/IvsService.js.map +1 -0
  19. package/dist/cjs/IvsServiceConfig.d.ts +25 -0
  20. package/dist/cjs/IvsServiceConfig.d.ts.map +1 -0
  21. package/dist/cjs/IvsServiceConfig.js +35 -0
  22. package/dist/cjs/IvsServiceConfig.js.map +1 -0
  23. package/dist/cjs/index.d.ts +44 -0
  24. package/dist/cjs/index.d.ts.map +1 -0
  25. package/dist/cjs/index.js +56 -0
  26. package/dist/cjs/index.js.map +1 -0
  27. package/dist/dts/Errors.d.ts +17 -0
  28. package/dist/dts/Errors.d.ts.map +1 -0
  29. package/dist/dts/IvsClientInstance.d.ts +24 -0
  30. package/dist/dts/IvsClientInstance.d.ts.map +1 -0
  31. package/dist/dts/IvsService.d.ts +186 -0
  32. package/dist/dts/IvsService.d.ts.map +1 -0
  33. package/dist/dts/IvsServiceConfig.d.ts +25 -0
  34. package/dist/dts/IvsServiceConfig.d.ts.map +1 -0
  35. package/dist/dts/index.d.ts +44 -0
  36. package/dist/dts/index.d.ts.map +1 -0
  37. package/dist/esm/Errors.js +13 -0
  38. package/dist/esm/Errors.js.map +1 -0
  39. package/dist/esm/IvsClientInstance.js +23 -0
  40. package/dist/esm/IvsClientInstance.js.map +1 -0
  41. package/dist/esm/IvsService.js +67 -0
  42. package/dist/esm/IvsService.js.map +1 -0
  43. package/dist/esm/IvsServiceConfig.js +31 -0
  44. package/dist/esm/IvsServiceConfig.js.map +1 -0
  45. package/dist/esm/index.js +27 -0
  46. package/dist/esm/index.js.map +1 -0
  47. package/dist/esm/package.json +4 -0
  48. package/package.json +71 -0
  49. package/src/Errors.ts +38 -0
  50. package/src/IvsClientInstance.ts +33 -0
  51. package/src/IvsService.ts +725 -0
  52. package/src/IvsServiceConfig.ts +51 -0
  53. package/src/index.ts +50 -0
@@ -0,0 +1,44 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { IvsService } from "./IvsService.js";
5
+ /**
6
+ * @since 1.0.0
7
+ */
8
+ export * from "./Errors.js";
9
+ /**
10
+ * @since 1.0.0
11
+ */
12
+ export * as IvsClientInstance from "./IvsClientInstance.js";
13
+ /**
14
+ * @since 1.0.0
15
+ */
16
+ export * as IvsServiceConfig from "./IvsServiceConfig.js";
17
+ /**
18
+ * @since 1.0.0
19
+ */
20
+ export * from "./IvsService.js";
21
+ /**
22
+ * @since 1.0.0
23
+ * @category exports
24
+ * @alias IvsService
25
+ */
26
+ export declare namespace Ivs {
27
+ /**
28
+ * @since 1.0.0
29
+ * @alias IvsService.Config
30
+ */
31
+ type Config = IvsService.Config;
32
+ /**
33
+ * @since 1.0.0
34
+ * @alias IvsService.Type
35
+ */
36
+ type Type = IvsService.Type;
37
+ }
38
+ /**
39
+ * @since 1.0.0
40
+ * @category exports
41
+ * @alias IvsService
42
+ */
43
+ export declare const Ivs: typeof IvsService;
44
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAC;AAE5D;;GAEG;AACH,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,cAAc,iBAAiB,CAAC;AAEhC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B;;;OAGG;IACH,KAAY,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAEvC;;;OAGG;IACH,KAAY,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;CACpC;AAED;;;;GAIG;AACH,eAAO,MAAM,GAAG,mBAAa,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Ivs = exports.IvsServiceConfig = exports.IvsClientInstance = void 0;
30
+ /**
31
+ * @since 1.0.0
32
+ */
33
+ const IvsService_js_1 = require("./IvsService.js");
34
+ /**
35
+ * @since 1.0.0
36
+ */
37
+ __exportStar(require("./Errors.js"), exports);
38
+ /**
39
+ * @since 1.0.0
40
+ */
41
+ exports.IvsClientInstance = __importStar(require("./IvsClientInstance.js"));
42
+ /**
43
+ * @since 1.0.0
44
+ */
45
+ exports.IvsServiceConfig = __importStar(require("./IvsServiceConfig.js"));
46
+ /**
47
+ * @since 1.0.0
48
+ */
49
+ __exportStar(require("./IvsService.js"), exports);
50
+ /**
51
+ * @since 1.0.0
52
+ * @category exports
53
+ * @alias IvsService
54
+ */
55
+ exports.Ivs = IvsService_js_1.IvsService;
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,mDAA6C;AAE7C;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,4EAA4D;AAE5D;;GAEG;AACH,0EAA0D;AAE1D;;GAEG;AACH,kDAAgC;AAqBhC;;;;GAIG;AACU,QAAA,GAAG,GAAG,0BAAU,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { AccessDeniedException, ChannelNotBroadcasting, ConflictException, InternalServerException, PendingVerification, ResourceNotFoundException, ServiceQuotaExceededException, StreamUnavailable, ThrottlingException, ValidationException } from "@aws-sdk/client-ivs";
2
+ import type { TaggedException } from "@effect-aws/commons";
3
+ export declare const AllServiceErrors: readonly ["AccessDeniedException", "ChannelNotBroadcasting", "ConflictException", "InternalServerException", "PendingVerification", "ResourceNotFoundException", "ServiceQuotaExceededException", "StreamUnavailable", "ThrottlingException", "ValidationException"];
4
+ export type AccessDeniedError = TaggedException<AccessDeniedException>;
5
+ export type ChannelNotBroadcastingError = TaggedException<ChannelNotBroadcasting>;
6
+ export type ConflictError = TaggedException<ConflictException>;
7
+ export type InternalServerError = TaggedException<InternalServerException>;
8
+ export type PendingVerificationError = TaggedException<PendingVerification>;
9
+ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
10
+ export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
11
+ export type StreamUnavailableError = TaggedException<StreamUnavailable>;
12
+ export type ThrottlingError = TaggedException<ThrottlingException>;
13
+ export type ValidationError = TaggedException<ValidationException>;
14
+ export type SdkError = TaggedException<Error & {
15
+ name: "SdkError";
16
+ }>;
17
+ //# sourceMappingURL=Errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACvB,mBAAmB,EACnB,yBAAyB,EACzB,6BAA6B,EAC7B,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,sQAWnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AAClF,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AAC5E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AACxE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { IvsClient } from "@aws-sdk/client-ivs";
5
+ import { Context, Effect, Layer } from "effect";
6
+ declare const IvsClientInstance_base: Context.TagClass<IvsClientInstance, "@effect-aws/client-ivs/IvsClientInstance", IvsClient>;
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export declare class IvsClientInstance extends IvsClientInstance_base {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export declare const make: Effect.Effect<IvsClient, never, import("effect/Scope").Scope>;
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export declare const layer: Layer.Layer<IvsClientInstance, never, never>;
23
+ export {};
24
+ //# sourceMappingURL=IvsClientInstance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IvsClientInstance.d.ts","sourceRoot":"","sources":["../../src/IvsClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,sBAEN;CAAG;AAEpC;;;GAGG;AACH,eAAO,MAAM,IAAI,+DAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,8CAAwC,CAAC"}
@@ -0,0 +1,186 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { type BatchGetChannelCommandInput, type BatchGetChannelCommandOutput, type BatchGetStreamKeyCommandInput, type BatchGetStreamKeyCommandOutput, type BatchStartViewerSessionRevocationCommandInput, type BatchStartViewerSessionRevocationCommandOutput, type CreateChannelCommandInput, type CreateChannelCommandOutput, type CreatePlaybackRestrictionPolicyCommandInput, type CreatePlaybackRestrictionPolicyCommandOutput, type CreateRecordingConfigurationCommandInput, type CreateRecordingConfigurationCommandOutput, type CreateStreamKeyCommandInput, type CreateStreamKeyCommandOutput, type DeleteChannelCommandInput, type DeleteChannelCommandOutput, type DeletePlaybackKeyPairCommandInput, type DeletePlaybackKeyPairCommandOutput, type DeletePlaybackRestrictionPolicyCommandInput, type DeletePlaybackRestrictionPolicyCommandOutput, type DeleteRecordingConfigurationCommandInput, type DeleteRecordingConfigurationCommandOutput, type DeleteStreamKeyCommandInput, type DeleteStreamKeyCommandOutput, type GetChannelCommandInput, type GetChannelCommandOutput, type GetPlaybackKeyPairCommandInput, type GetPlaybackKeyPairCommandOutput, type GetPlaybackRestrictionPolicyCommandInput, type GetPlaybackRestrictionPolicyCommandOutput, type GetRecordingConfigurationCommandInput, type GetRecordingConfigurationCommandOutput, type GetStreamCommandInput, type GetStreamCommandOutput, type GetStreamKeyCommandInput, type GetStreamKeyCommandOutput, type GetStreamSessionCommandInput, type GetStreamSessionCommandOutput, type ImportPlaybackKeyPairCommandInput, type ImportPlaybackKeyPairCommandOutput, type IvsClient, type IvsClientConfig, type ListChannelsCommandInput, type ListChannelsCommandOutput, type ListPlaybackKeyPairsCommandInput, type ListPlaybackKeyPairsCommandOutput, type ListPlaybackRestrictionPoliciesCommandInput, type ListPlaybackRestrictionPoliciesCommandOutput, type ListRecordingConfigurationsCommandInput, type ListRecordingConfigurationsCommandOutput, type ListStreamKeysCommandInput, type ListStreamKeysCommandOutput, type ListStreamsCommandInput, type ListStreamsCommandOutput, type ListStreamSessionsCommandInput, type ListStreamSessionsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type PutMetadataCommandInput, type PutMetadataCommandOutput, type StartViewerSessionRevocationCommandInput, type StartViewerSessionRevocationCommandOutput, type StopStreamCommandInput, type StopStreamCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateChannelCommandInput, type UpdateChannelCommandOutput, type UpdatePlaybackRestrictionPolicyCommandInput, type UpdatePlaybackRestrictionPolicyCommandOutput } from "@aws-sdk/client-ivs";
5
+ import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
6
+ import type { Cause } from "effect";
7
+ import { Effect, Layer } from "effect";
8
+ import type { AccessDeniedError, ChannelNotBroadcastingError, ConflictError, InternalServerError, PendingVerificationError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, StreamUnavailableError, ThrottlingError, ValidationError } from "./Errors.js";
9
+ import * as Instance from "./IvsClientInstance.js";
10
+ interface IvsService$ {
11
+ readonly _: unique symbol;
12
+ /**
13
+ * @see {@link BatchGetChannelCommand}
14
+ */
15
+ batchGetChannel(args: BatchGetChannelCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetChannelCommandOutput, Cause.TimeoutException | SdkError>;
16
+ /**
17
+ * @see {@link BatchGetStreamKeyCommand}
18
+ */
19
+ batchGetStreamKey(args: BatchGetStreamKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetStreamKeyCommandOutput, Cause.TimeoutException | SdkError>;
20
+ /**
21
+ * @see {@link BatchStartViewerSessionRevocationCommand}
22
+ */
23
+ batchStartViewerSessionRevocation(args: BatchStartViewerSessionRevocationCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchStartViewerSessionRevocationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | PendingVerificationError | ThrottlingError | ValidationError>;
24
+ /**
25
+ * @see {@link CreateChannelCommand}
26
+ */
27
+ createChannel(args: CreateChannelCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateChannelCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | PendingVerificationError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
28
+ /**
29
+ * @see {@link CreatePlaybackRestrictionPolicyCommand}
30
+ */
31
+ createPlaybackRestrictionPolicy(args: CreatePlaybackRestrictionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreatePlaybackRestrictionPolicyCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | PendingVerificationError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
32
+ /**
33
+ * @see {@link CreateRecordingConfigurationCommand}
34
+ */
35
+ createRecordingConfiguration(args: CreateRecordingConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateRecordingConfigurationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | PendingVerificationError | ServiceQuotaExceededError | ValidationError>;
36
+ /**
37
+ * @see {@link CreateStreamKeyCommand}
38
+ */
39
+ createStreamKey(args: CreateStreamKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateStreamKeyCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | PendingVerificationError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
40
+ /**
41
+ * @see {@link DeleteChannelCommand}
42
+ */
43
+ deleteChannel(args: DeleteChannelCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteChannelCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | PendingVerificationError | ResourceNotFoundError | ValidationError>;
44
+ /**
45
+ * @see {@link DeletePlaybackKeyPairCommand}
46
+ */
47
+ deletePlaybackKeyPair(args: DeletePlaybackKeyPairCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeletePlaybackKeyPairCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | PendingVerificationError | ResourceNotFoundError | ValidationError>;
48
+ /**
49
+ * @see {@link DeletePlaybackRestrictionPolicyCommand}
50
+ */
51
+ deletePlaybackRestrictionPolicy(args: DeletePlaybackRestrictionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeletePlaybackRestrictionPolicyCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | PendingVerificationError | ResourceNotFoundError | ValidationError>;
52
+ /**
53
+ * @see {@link DeleteRecordingConfigurationCommand}
54
+ */
55
+ deleteRecordingConfiguration(args: DeleteRecordingConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteRecordingConfigurationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
56
+ /**
57
+ * @see {@link DeleteStreamKeyCommand}
58
+ */
59
+ deleteStreamKey(args: DeleteStreamKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteStreamKeyCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | PendingVerificationError | ResourceNotFoundError | ValidationError>;
60
+ /**
61
+ * @see {@link GetChannelCommand}
62
+ */
63
+ getChannel(args: GetChannelCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetChannelCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ResourceNotFoundError | ValidationError>;
64
+ /**
65
+ * @see {@link GetPlaybackKeyPairCommand}
66
+ */
67
+ getPlaybackKeyPair(args: GetPlaybackKeyPairCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPlaybackKeyPairCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ResourceNotFoundError | ValidationError>;
68
+ /**
69
+ * @see {@link GetPlaybackRestrictionPolicyCommand}
70
+ */
71
+ getPlaybackRestrictionPolicy(args: GetPlaybackRestrictionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPlaybackRestrictionPolicyCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | PendingVerificationError | ResourceNotFoundError | ValidationError>;
72
+ /**
73
+ * @see {@link GetRecordingConfigurationCommand}
74
+ */
75
+ getRecordingConfiguration(args: GetRecordingConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetRecordingConfigurationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ValidationError>;
76
+ /**
77
+ * @see {@link GetStreamCommand}
78
+ */
79
+ getStream(args: GetStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetStreamCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ChannelNotBroadcastingError | ResourceNotFoundError | ValidationError>;
80
+ /**
81
+ * @see {@link GetStreamKeyCommand}
82
+ */
83
+ getStreamKey(args: GetStreamKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetStreamKeyCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ResourceNotFoundError | ValidationError>;
84
+ /**
85
+ * @see {@link GetStreamSessionCommand}
86
+ */
87
+ getStreamSession(args: GetStreamSessionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetStreamSessionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ResourceNotFoundError | ValidationError>;
88
+ /**
89
+ * @see {@link ImportPlaybackKeyPairCommand}
90
+ */
91
+ importPlaybackKeyPair(args: ImportPlaybackKeyPairCommandInput, options?: HttpHandlerOptions): Effect.Effect<ImportPlaybackKeyPairCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | PendingVerificationError | ServiceQuotaExceededError | ValidationError>;
92
+ /**
93
+ * @see {@link ListChannelsCommand}
94
+ */
95
+ listChannels(args: ListChannelsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListChannelsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | ValidationError>;
96
+ /**
97
+ * @see {@link ListPlaybackKeyPairsCommand}
98
+ */
99
+ listPlaybackKeyPairs(args: ListPlaybackKeyPairsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPlaybackKeyPairsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ValidationError>;
100
+ /**
101
+ * @see {@link ListPlaybackRestrictionPoliciesCommand}
102
+ */
103
+ listPlaybackRestrictionPolicies(args: ListPlaybackRestrictionPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPlaybackRestrictionPoliciesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | PendingVerificationError | ValidationError>;
104
+ /**
105
+ * @see {@link ListRecordingConfigurationsCommand}
106
+ */
107
+ listRecordingConfigurations(args: ListRecordingConfigurationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListRecordingConfigurationsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ValidationError>;
108
+ /**
109
+ * @see {@link ListStreamKeysCommand}
110
+ */
111
+ listStreamKeys(args: ListStreamKeysCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListStreamKeysCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ResourceNotFoundError | ValidationError>;
112
+ /**
113
+ * @see {@link ListStreamSessionsCommand}
114
+ */
115
+ listStreamSessions(args: ListStreamSessionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListStreamSessionsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ResourceNotFoundError | ValidationError>;
116
+ /**
117
+ * @see {@link ListStreamsCommand}
118
+ */
119
+ listStreams(args: ListStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListStreamsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ValidationError>;
120
+ /**
121
+ * @see {@link ListTagsForResourceCommand}
122
+ */
123
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
124
+ /**
125
+ * @see {@link PutMetadataCommand}
126
+ */
127
+ putMetadata(args: PutMetadataCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutMetadataCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ChannelNotBroadcastingError | ResourceNotFoundError | ThrottlingError | ValidationError>;
128
+ /**
129
+ * @see {@link StartViewerSessionRevocationCommand}
130
+ */
131
+ startViewerSessionRevocation(args: StartViewerSessionRevocationCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartViewerSessionRevocationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | PendingVerificationError | ResourceNotFoundError | ThrottlingError | ValidationError>;
132
+ /**
133
+ * @see {@link StopStreamCommand}
134
+ */
135
+ stopStream(args: StopStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopStreamCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ChannelNotBroadcastingError | ResourceNotFoundError | StreamUnavailableError | ValidationError>;
136
+ /**
137
+ * @see {@link TagResourceCommand}
138
+ */
139
+ tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
140
+ /**
141
+ * @see {@link UntagResourceCommand}
142
+ */
143
+ untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
144
+ /**
145
+ * @see {@link UpdateChannelCommand}
146
+ */
147
+ updateChannel(args: UpdateChannelCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateChannelCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | PendingVerificationError | ResourceNotFoundError | ValidationError>;
148
+ /**
149
+ * @see {@link UpdatePlaybackRestrictionPolicyCommand}
150
+ */
151
+ updatePlaybackRestrictionPolicy(args: UpdatePlaybackRestrictionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdatePlaybackRestrictionPolicyCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | PendingVerificationError | ResourceNotFoundError | ValidationError>;
152
+ }
153
+ /**
154
+ * @since 1.0.0
155
+ * @category constructors
156
+ */
157
+ export declare const makeIvsService: Effect.Effect<IvsService$, never, Instance.IvsClientInstance>;
158
+ declare const IvsService_base: import("effect/Context").TagClass<IvsService, "@effect-aws/client-ivs/IvsService", IvsService$> & Effect.Tag.Proxy<IvsService, IvsService$> & {
159
+ use: <X>(body: (_: IvsService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, IvsService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, IvsService> : Effect.Effect<X, never, IvsService>;
160
+ };
161
+ /**
162
+ * @since 1.0.0
163
+ * @category models
164
+ */
165
+ export declare class IvsService extends IvsService_base {
166
+ static readonly defaultLayer: Layer.Layer<IvsService, never, never>;
167
+ static readonly layer: (config: IvsService.Config) => Layer.Layer<IvsService, never, never>;
168
+ static readonly baseLayer: (evaluate: (defaultConfig: IvsClientConfig) => IvsClient) => Layer.Layer<IvsService, never, never>;
169
+ }
170
+ /**
171
+ * @since 1.0.0
172
+ */
173
+ export declare namespace IvsService {
174
+ /**
175
+ * @since 1.0.0
176
+ */
177
+ interface Config extends Omit<IvsClientConfig, "logger"> {
178
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
179
+ }
180
+ /**
181
+ * @since 1.0.0
182
+ */
183
+ type Type = IvsService$;
184
+ }
185
+ export {};
186
+ //# sourceMappingURL=IvsService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IvsService.d.ts","sourceRoot":"","sources":["../../src/IvsService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,6CAA6C,EAClD,KAAK,8CAA8C,EAEnD,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,2CAA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AW,SAAQ,eAG7B;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,wCAA0E;IACtG,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,WAAW,MAAM,2CAI9C;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,eAAe,KAAK,SAAS,2CASrD;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC;QAC7D,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,WAAW,CAAC;CAChC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import type { IvsClientConfig } from "@aws-sdk/client-ivs";
5
+ import { Effect, Layer } from "effect";
6
+ import type { IvsService } from "./IvsService.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category ivs service config
10
+ */
11
+ export declare const withIvsServiceConfig: {
12
+ (config: IvsService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
13
+ <A, E, R>(effect: Effect.Effect<A, E, R>, config: IvsService.Config): Effect.Effect<A, E, R>;
14
+ };
15
+ /**
16
+ * @since 1.0.0
17
+ * @category ivs service config
18
+ */
19
+ export declare const setIvsServiceConfig: (config: IvsService.Config) => Layer.Layer<never, never, never>;
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export declare const toIvsClientConfig: Effect.Effect<IvsClientConfig>;
25
+ //# sourceMappingURL=IvsServiceConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IvsServiceConfig.d.ts","sourceRoot":"","sources":["../../src/IvsServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAWlD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE;IACjC,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACjG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAK9F,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,WAAY,WAAW,MAAM,qCAAyD,CAAC;AAEvH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,CAQ3D,CAAC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { IvsService } from "./IvsService.js";
5
+ /**
6
+ * @since 1.0.0
7
+ */
8
+ export * from "./Errors.js";
9
+ /**
10
+ * @since 1.0.0
11
+ */
12
+ export * as IvsClientInstance from "./IvsClientInstance.js";
13
+ /**
14
+ * @since 1.0.0
15
+ */
16
+ export * as IvsServiceConfig from "./IvsServiceConfig.js";
17
+ /**
18
+ * @since 1.0.0
19
+ */
20
+ export * from "./IvsService.js";
21
+ /**
22
+ * @since 1.0.0
23
+ * @category exports
24
+ * @alias IvsService
25
+ */
26
+ export declare namespace Ivs {
27
+ /**
28
+ * @since 1.0.0
29
+ * @alias IvsService.Config
30
+ */
31
+ type Config = IvsService.Config;
32
+ /**
33
+ * @since 1.0.0
34
+ * @alias IvsService.Type
35
+ */
36
+ type Type = IvsService.Type;
37
+ }
38
+ /**
39
+ * @since 1.0.0
40
+ * @category exports
41
+ * @alias IvsService
42
+ */
43
+ export declare const Ivs: typeof IvsService;
44
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAC;AAE5D;;GAEG;AACH,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,cAAc,iBAAiB,CAAC;AAEhC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B;;;OAGG;IACH,KAAY,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAEvC;;;OAGG;IACH,KAAY,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;CACpC;AAED;;;;GAIG;AACH,eAAO,MAAM,GAAG,mBAAa,CAAC"}
@@ -0,0 +1,13 @@
1
+ export const AllServiceErrors = [
2
+ "AccessDeniedException",
3
+ "ChannelNotBroadcasting",
4
+ "ConflictException",
5
+ "InternalServerException",
6
+ "PendingVerification",
7
+ "ResourceNotFoundException",
8
+ "ServiceQuotaExceededException",
9
+ "StreamUnavailable",
10
+ "ThrottlingException",
11
+ "ValidationException",
12
+ ];
13
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAcA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,wBAAwB;IACxB,mBAAmB;IACnB,yBAAyB;IACzB,qBAAqB;IACrB,2BAA2B;IAC3B,+BAA+B;IAC/B,mBAAmB;IACnB,qBAAqB;IACrB,qBAAqB;CACb,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { IvsClient } from "@aws-sdk/client-ivs";
5
+ import { Context, Effect, Layer } from "effect";
6
+ import * as IvsServiceConfig from "./IvsServiceConfig.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export class IvsClientInstance extends Context.Tag("@effect-aws/client-ivs/IvsClientInstance")() {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export const make = Effect.flatMap(IvsServiceConfig.toIvsClientConfig, (config) => Effect.acquireRelease(Effect.sync(() => new IvsClient(config)), (client) => Effect.sync(() => client.destroy())));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export const layer = Layer.scoped(IvsClientInstance, make);
23
+ //# sourceMappingURL=IvsClientInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IvsClientInstance.js","sourceRoot":"","sources":["../../src/IvsClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D;;;GAGG;AACH,MAAM,OAAO,iBAAkB,SAAQ,OAAO,CAAC,GAAG,CAChD,0CAA0C,CAC3C,EAAgC;CAAG;AAEpC;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,gBAAgB,CAAC,iBAAiB,EAClC,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC,EACxC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { BatchGetChannelCommand, BatchGetStreamKeyCommand, BatchStartViewerSessionRevocationCommand, CreateChannelCommand, CreatePlaybackRestrictionPolicyCommand, CreateRecordingConfigurationCommand, CreateStreamKeyCommand, DeleteChannelCommand, DeletePlaybackKeyPairCommand, DeletePlaybackRestrictionPolicyCommand, DeleteRecordingConfigurationCommand, DeleteStreamKeyCommand, GetChannelCommand, GetPlaybackKeyPairCommand, GetPlaybackRestrictionPolicyCommand, GetRecordingConfigurationCommand, GetStreamCommand, GetStreamKeyCommand, GetStreamSessionCommand, ImportPlaybackKeyPairCommand, ListChannelsCommand, ListPlaybackKeyPairsCommand, ListPlaybackRestrictionPoliciesCommand, ListRecordingConfigurationsCommand, ListStreamKeysCommand, ListStreamsCommand, ListStreamSessionsCommand, ListTagsForResourceCommand, PutMetadataCommand, StartViewerSessionRevocationCommand, StopStreamCommand, TagResourceCommand, UntagResourceCommand, UpdateChannelCommand, UpdatePlaybackRestrictionPolicyCommand, } from "@aws-sdk/client-ivs";
5
+ import { Service } from "@effect-aws/commons";
6
+ import { Effect, Layer } from "effect";
7
+ import { AllServiceErrors } from "./Errors.js";
8
+ import * as Instance from "./IvsClientInstance.js";
9
+ import * as IvsServiceConfig from "./IvsServiceConfig.js";
10
+ const commands = {
11
+ BatchGetChannelCommand,
12
+ BatchGetStreamKeyCommand,
13
+ BatchStartViewerSessionRevocationCommand,
14
+ CreateChannelCommand,
15
+ CreatePlaybackRestrictionPolicyCommand,
16
+ CreateRecordingConfigurationCommand,
17
+ CreateStreamKeyCommand,
18
+ DeleteChannelCommand,
19
+ DeletePlaybackKeyPairCommand,
20
+ DeletePlaybackRestrictionPolicyCommand,
21
+ DeleteRecordingConfigurationCommand,
22
+ DeleteStreamKeyCommand,
23
+ GetChannelCommand,
24
+ GetPlaybackKeyPairCommand,
25
+ GetPlaybackRestrictionPolicyCommand,
26
+ GetRecordingConfigurationCommand,
27
+ GetStreamCommand,
28
+ GetStreamKeyCommand,
29
+ GetStreamSessionCommand,
30
+ ImportPlaybackKeyPairCommand,
31
+ ListChannelsCommand,
32
+ ListPlaybackKeyPairsCommand,
33
+ ListPlaybackRestrictionPoliciesCommand,
34
+ ListRecordingConfigurationsCommand,
35
+ ListStreamKeysCommand,
36
+ ListStreamSessionsCommand,
37
+ ListStreamsCommand,
38
+ ListTagsForResourceCommand,
39
+ PutMetadataCommand,
40
+ StartViewerSessionRevocationCommand,
41
+ StopStreamCommand,
42
+ TagResourceCommand,
43
+ UntagResourceCommand,
44
+ UpdateChannelCommand,
45
+ UpdatePlaybackRestrictionPolicyCommand,
46
+ };
47
+ /**
48
+ * @since 1.0.0
49
+ * @category constructors
50
+ */
51
+ export const makeIvsService = Effect.gen(function* () {
52
+ const client = yield* Instance.IvsClientInstance;
53
+ return yield* Service.fromClientAndCommands(client, commands, {
54
+ errorTags: AllServiceErrors,
55
+ resolveClientConfig: IvsServiceConfig.toIvsClientConfig,
56
+ });
57
+ });
58
+ /**
59
+ * @since 1.0.0
60
+ * @category models
61
+ */
62
+ export class IvsService extends Effect.Tag("@effect-aws/client-ivs/IvsService")() {
63
+ static defaultLayer = Layer.effect(this, makeIvsService).pipe(Layer.provide(Instance.layer));
64
+ static layer = (config) => Layer.effect(this, makeIvsService).pipe(Layer.provide(Instance.layer), Layer.provide(IvsServiceConfig.setIvsServiceConfig(config)));
65
+ static baseLayer = (evaluate) => Layer.effect(this, makeIvsService).pipe(Layer.provide(Layer.effect(Instance.IvsClientInstance, Effect.map(IvsServiceConfig.toIvsClientConfig, evaluate))));
66
+ }
67
+ //# sourceMappingURL=IvsService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IvsService.js","sourceRoot":"","sources":["../../src/IvsService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,sBAAsB,EAGtB,wBAAwB,EAGxB,wCAAwC,EAGxC,oBAAoB,EAGpB,sCAAsC,EAGtC,mCAAmC,EAGnC,sBAAsB,EAGtB,oBAAoB,EAGpB,4BAA4B,EAG5B,sCAAsC,EAGtC,mCAAmC,EAGnC,sBAAsB,EAGtB,iBAAiB,EAGjB,yBAAyB,EAGzB,mCAAmC,EAGnC,gCAAgC,EAGhC,gBAAgB,EAGhB,mBAAmB,EAGnB,uBAAuB,EAGvB,4BAA4B,EAK5B,mBAAmB,EAGnB,2BAA2B,EAG3B,sCAAsC,EAGtC,kCAAkC,EAGlC,qBAAqB,EAGrB,kBAAkB,EAGlB,yBAAyB,EAGzB,0BAA0B,EAG1B,kBAAkB,EAGlB,mCAAmC,EAGnC,iBAAiB,EAGjB,kBAAkB,EAGlB,oBAAoB,EAGpB,oBAAoB,EAGpB,sCAAsC,GAGvC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAcvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AACnD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D,MAAM,QAAQ,GAAG;IACf,sBAAsB;IACtB,wBAAwB;IACxB,wCAAwC;IACxC,oBAAoB;IACpB,sCAAsC;IACtC,mCAAmC;IACnC,sBAAsB;IACtB,oBAAoB;IACpB,4BAA4B;IAC5B,sCAAsC;IACtC,mCAAmC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,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAuD,EACvD,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,IAAI,CACrC,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,iBAAiB,EAC1B,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CACzD,CACF,CACF,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { ServiceLogger } from "@effect-aws/commons";
2
+ import { Effect, FiberRef, Layer } from "effect";
3
+ import { dual } from "effect/Function";
4
+ import { globalValue } from "effect/GlobalValue";
5
+ /**
6
+ * @since 1.0.0
7
+ * @category ivs service config
8
+ */
9
+ const currentIvsServiceConfig = globalValue("@effect-aws/client-ivs/currentIvsServiceConfig", () => FiberRef.unsafeMake({}));
10
+ /**
11
+ * @since 1.0.0
12
+ * @category ivs service config
13
+ */
14
+ export const withIvsServiceConfig = dual(2, (effect, config) => Effect.locally(effect, currentIvsServiceConfig, config));
15
+ /**
16
+ * @since 1.0.0
17
+ * @category ivs service config
18
+ */
19
+ export const setIvsServiceConfig = (config) => Layer.locallyScoped(currentIvsServiceConfig, config);
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export const toIvsClientConfig = Effect.gen(function* () {
25
+ const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentIvsServiceConfig);
26
+ const logger = serviceLogger === true
27
+ ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
28
+ : (serviceLogger ? yield* ServiceLogger.toClientLogger(ServiceLogger.make(serviceLogger)) : undefined);
29
+ return { logger, ...config };
30
+ });
31
+ //# sourceMappingURL=IvsServiceConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IvsServiceConfig.js","sourceRoot":"","sources":["../../src/IvsServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,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CAAC;AAC/B,CAAC,CAAC,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { IvsService } from "./IvsService.js";
5
+ /**
6
+ * @since 1.0.0
7
+ */
8
+ export * from "./Errors.js";
9
+ /**
10
+ * @since 1.0.0
11
+ */
12
+ export * as IvsClientInstance from "./IvsClientInstance.js";
13
+ /**
14
+ * @since 1.0.0
15
+ */
16
+ export * as IvsServiceConfig from "./IvsServiceConfig.js";
17
+ /**
18
+ * @since 1.0.0
19
+ */
20
+ export * from "./IvsService.js";
21
+ /**
22
+ * @since 1.0.0
23
+ * @category exports
24
+ * @alias IvsService
25
+ */
26
+ export const Ivs = IvsService;
27
+ //# sourceMappingURL=index.js.map