@effect-aws/client-sns 1.10.9 → 2.0.0-beta.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/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/dts/SNSClientInstance.d.ts +2 -2
- package/dist/dts/SNSClientInstance.d.ts.map +1 -1
- package/dist/dts/SNSService.d.ts +44 -46
- package/dist/dts/SNSService.d.ts.map +1 -1
- package/dist/dts/SNSServiceConfig.d.ts.map +1 -1
- package/dist/esm/SNSClientInstance.js +3 -3
- package/dist/esm/SNSClientInstance.js.map +1 -1
- package/dist/esm/SNSService.js +2 -2
- package/dist/esm/SNSService.js.map +1 -1
- package/dist/esm/SNSServiceConfig.js +5 -6
- package/dist/esm/SNSServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/SNSClientInstance.ts +4 -4
- package/src/SNSService.ts +45 -45
- package/src/SNSServiceConfig.ts +6 -7
- package/dist/cjs/Errors.d.ts +0 -41
- package/dist/cjs/Errors.d.ts.map +0 -1
- package/dist/cjs/Errors.js +0 -40
- package/dist/cjs/Errors.js.map +0 -1
- package/dist/cjs/SNSClientInstance.d.ts +0 -24
- package/dist/cjs/SNSClientInstance.d.ts.map +0 -1
- package/dist/cjs/SNSClientInstance.js +0 -50
- package/dist/cjs/SNSClientInstance.js.map +0 -1
- package/dist/cjs/SNSService.d.ts +0 -214
- package/dist/cjs/SNSService.d.ts.map +0 -1
- package/dist/cjs/SNSService.js +0 -101
- package/dist/cjs/SNSService.js.map +0 -1
- package/dist/cjs/SNSServiceConfig.d.ts +0 -25
- package/dist/cjs/SNSServiceConfig.d.ts.map +0 -1
- package/dist/cjs/SNSServiceConfig.js +0 -35
- package/dist/cjs/SNSServiceConfig.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -44
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -56
- package/dist/cjs/index.js.map +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ With default SNSClient instance:
|
|
|
16
16
|
```typescript
|
|
17
17
|
import { SNS } from "@effect-aws/client-sns";
|
|
18
18
|
|
|
19
|
-
const program = SNS.publish(args);
|
|
19
|
+
const program = SNS.use((svc) => svc.publish(args));
|
|
20
20
|
|
|
21
21
|
const result = pipe(
|
|
22
22
|
program,
|
|
@@ -30,7 +30,7 @@ With custom SNSClient instance:
|
|
|
30
30
|
```typescript
|
|
31
31
|
import { SNS } from "@effect-aws/client-sns";
|
|
32
32
|
|
|
33
|
-
const program = SNS.publish(args);
|
|
33
|
+
const program = SNS.use((svc) => svc.publish(args));
|
|
34
34
|
|
|
35
35
|
const result = await pipe(
|
|
36
36
|
program,
|
|
@@ -46,7 +46,7 @@ With custom SNSClient configuration:
|
|
|
46
46
|
```typescript
|
|
47
47
|
import { SNS } from "@effect-aws/client-sns";
|
|
48
48
|
|
|
49
|
-
const program = SNS.publish(args);
|
|
49
|
+
const program = SNS.use((svc) => svc.publish(args));
|
|
50
50
|
|
|
51
51
|
const result = await pipe(
|
|
52
52
|
program,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { SNSClient } from "@aws-sdk/client-sns";
|
|
5
|
-
import {
|
|
6
|
-
declare const SNSClientInstance_base:
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
|
+
declare const SNSClientInstance_base: ServiceMap.ServiceClass<SNSClientInstance, "@effect-aws/client-sns/SNSClientInstance", SNSClient>;
|
|
7
7
|
/**
|
|
8
8
|
* @since 1.0.0
|
|
9
9
|
* @category tags
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SNSClientInstance.d.ts","sourceRoot":"","sources":["../../src/SNSClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SNSClientInstance.d.ts","sourceRoot":"","sources":["../../src/SNSClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;;AAGnD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,sBAEtC;CAAG;AAEJ;;;GAGG;AACH,eAAO,MAAM,IAAI,+DAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,8CAAwC,CAAC"}
|
package/dist/dts/SNSService.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { type AddPermissionCommandInput, type AddPermissionCommandOutput, type CheckIfPhoneNumberIsOptedOutCommandInput, type CheckIfPhoneNumberIsOptedOutCommandOutput, type ConfirmSubscriptionCommandInput, type ConfirmSubscriptionCommandOutput, type CreatePlatformApplicationCommandInput, type CreatePlatformApplicationCommandOutput, type CreatePlatformEndpointCommandInput, type CreatePlatformEndpointCommandOutput, type CreateSMSSandboxPhoneNumberCommandInput, type CreateSMSSandboxPhoneNumberCommandOutput, type CreateTopicCommandInput, type CreateTopicCommandOutput, type DeleteEndpointCommandInput, type DeleteEndpointCommandOutput, type DeletePlatformApplicationCommandInput, type DeletePlatformApplicationCommandOutput, type DeleteSMSSandboxPhoneNumberCommandInput, type DeleteSMSSandboxPhoneNumberCommandOutput, type DeleteTopicCommandInput, type DeleteTopicCommandOutput, type GetDataProtectionPolicyCommandInput, type GetDataProtectionPolicyCommandOutput, type GetEndpointAttributesCommandInput, type GetEndpointAttributesCommandOutput, type GetPlatformApplicationAttributesCommandInput, type GetPlatformApplicationAttributesCommandOutput, type GetSMSAttributesCommandInput, type GetSMSAttributesCommandOutput, type GetSMSSandboxAccountStatusCommandInput, type GetSMSSandboxAccountStatusCommandOutput, type GetSubscriptionAttributesCommandInput, type GetSubscriptionAttributesCommandOutput, type GetTopicAttributesCommandInput, type GetTopicAttributesCommandOutput, type ListEndpointsByPlatformApplicationCommandInput, type ListEndpointsByPlatformApplicationCommandOutput, type ListOriginationNumbersCommandInput, type ListOriginationNumbersCommandOutput, type ListPhoneNumbersOptedOutCommandInput, type ListPhoneNumbersOptedOutCommandOutput, type ListPlatformApplicationsCommandInput, type ListPlatformApplicationsCommandOutput, type ListSMSSandboxPhoneNumbersCommandInput, type ListSMSSandboxPhoneNumbersCommandOutput, type ListSubscriptionsByTopicCommandInput, type ListSubscriptionsByTopicCommandOutput, type ListSubscriptionsCommandInput, type ListSubscriptionsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListTopicsCommandInput, type ListTopicsCommandOutput, type OptInPhoneNumberCommandInput, type OptInPhoneNumberCommandOutput, type PublishBatchCommandInput, type PublishBatchCommandOutput, type PublishCommandInput, type PublishCommandOutput, type PutDataProtectionPolicyCommandInput, type PutDataProtectionPolicyCommandOutput, type RemovePermissionCommandInput, type RemovePermissionCommandOutput, type SetEndpointAttributesCommandInput, type SetEndpointAttributesCommandOutput, type SetPlatformApplicationAttributesCommandInput, type SetPlatformApplicationAttributesCommandOutput, type SetSMSAttributesCommandInput, type SetSMSAttributesCommandOutput, type SetSubscriptionAttributesCommandInput, type SetSubscriptionAttributesCommandOutput, type SetTopicAttributesCommandInput, type SetTopicAttributesCommandOutput, type SNSClient, type SNSClientConfig, type SubscribeCommandInput, type SubscribeCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UnsubscribeCommandInput, type UnsubscribeCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type VerifySMSSandboxPhoneNumberCommandInput, type VerifySMSSandboxPhoneNumberCommandOutput } from "@aws-sdk/client-sns";
|
|
5
5
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
6
|
import type { Cause } from "effect";
|
|
7
|
-
import { Effect, Layer } from "effect";
|
|
7
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
8
8
|
import type { AuthorizationError, BatchEntryIdsNotDistinctError, BatchRequestTooLongError, ConcurrentAccessError, EmptyBatchRequestError, EndpointDisabledError, FilterPolicyLimitExceededError, InternalError, InvalidBatchEntryIdError, InvalidParameterError, InvalidParameterValueError, InvalidSecurityError, InvalidStateError, KMSAccessDeniedError, KMSDisabledError, KMSInvalidStateError, KMSNotFoundError, KMSOptInRequiredError, KMSThrottlingError, NotFoundError, OptedOutError, PlatformApplicationDisabledError, ReplayLimitExceededError, ResourceNotFoundError, SdkError, StaleTagError, SubscriptionLimitExceededError, TagLimitExceededError, TagPolicyError, ThrottledError, TooManyEntriesInBatchRequestError, TopicLimitExceededError, UserError, ValidationError, VerificationError } from "./Errors.js";
|
|
9
9
|
import * as Instance from "./SNSClientInstance.js";
|
|
10
10
|
interface SNSService$ {
|
|
@@ -12,180 +12,178 @@ interface SNSService$ {
|
|
|
12
12
|
/**
|
|
13
13
|
* @see {@link AddPermissionCommand}
|
|
14
14
|
*/
|
|
15
|
-
addPermission(args: AddPermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<AddPermissionCommandOutput, Cause.
|
|
15
|
+
addPermission(args: AddPermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<AddPermissionCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
16
16
|
/**
|
|
17
17
|
* @see {@link CheckIfPhoneNumberIsOptedOutCommand}
|
|
18
18
|
*/
|
|
19
|
-
checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, options?: HttpHandlerOptions): Effect.Effect<CheckIfPhoneNumberIsOptedOutCommandOutput, Cause.
|
|
19
|
+
checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, options?: HttpHandlerOptions): Effect.Effect<CheckIfPhoneNumberIsOptedOutCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError>;
|
|
20
20
|
/**
|
|
21
21
|
* @see {@link ConfirmSubscriptionCommand}
|
|
22
22
|
*/
|
|
23
|
-
confirmSubscription(args: ConfirmSubscriptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<ConfirmSubscriptionCommandOutput, Cause.
|
|
23
|
+
confirmSubscription(args: ConfirmSubscriptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<ConfirmSubscriptionCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | FilterPolicyLimitExceededError | InternalError | InvalidParameterError | NotFoundError | ReplayLimitExceededError | SubscriptionLimitExceededError>;
|
|
24
24
|
/**
|
|
25
25
|
* @see {@link CreatePlatformApplicationCommand}
|
|
26
26
|
*/
|
|
27
|
-
createPlatformApplication(args: CreatePlatformApplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreatePlatformApplicationCommandOutput, Cause.
|
|
27
|
+
createPlatformApplication(args: CreatePlatformApplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreatePlatformApplicationCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError>;
|
|
28
28
|
/**
|
|
29
29
|
* @see {@link CreatePlatformEndpointCommand}
|
|
30
30
|
*/
|
|
31
|
-
createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreatePlatformEndpointCommandOutput, Cause.
|
|
31
|
+
createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreatePlatformEndpointCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
32
32
|
/**
|
|
33
33
|
* @see {@link CreateSMSSandboxPhoneNumberCommand}
|
|
34
34
|
*/
|
|
35
|
-
createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSMSSandboxPhoneNumberCommandOutput, Cause.
|
|
35
|
+
createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSMSSandboxPhoneNumberCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | OptedOutError | ThrottledError | UserError>;
|
|
36
36
|
/**
|
|
37
37
|
* @see {@link CreateTopicCommand}
|
|
38
38
|
*/
|
|
39
|
-
createTopic(args: CreateTopicCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTopicCommandOutput, Cause.
|
|
39
|
+
createTopic(args: CreateTopicCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTopicCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | ConcurrentAccessError | InternalError | InvalidParameterError | InvalidSecurityError | StaleTagError | TagLimitExceededError | TagPolicyError | TopicLimitExceededError>;
|
|
40
40
|
/**
|
|
41
41
|
* @see {@link DeleteEndpointCommand}
|
|
42
42
|
*/
|
|
43
|
-
deleteEndpoint(args: DeleteEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteEndpointCommandOutput, Cause.
|
|
43
|
+
deleteEndpoint(args: DeleteEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteEndpointCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError>;
|
|
44
44
|
/**
|
|
45
45
|
* @see {@link DeletePlatformApplicationCommand}
|
|
46
46
|
*/
|
|
47
|
-
deletePlatformApplication(args: DeletePlatformApplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeletePlatformApplicationCommandOutput, Cause.
|
|
47
|
+
deletePlatformApplication(args: DeletePlatformApplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeletePlatformApplicationCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError>;
|
|
48
48
|
/**
|
|
49
49
|
* @see {@link DeleteSMSSandboxPhoneNumberCommand}
|
|
50
50
|
*/
|
|
51
|
-
deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSMSSandboxPhoneNumberCommandOutput, Cause.
|
|
51
|
+
deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSMSSandboxPhoneNumberCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | ResourceNotFoundError | ThrottledError | UserError>;
|
|
52
52
|
/**
|
|
53
53
|
* @see {@link DeleteTopicCommand}
|
|
54
54
|
*/
|
|
55
|
-
deleteTopic(args: DeleteTopicCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTopicCommandOutput, Cause.
|
|
55
|
+
deleteTopic(args: DeleteTopicCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTopicCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | ConcurrentAccessError | InternalError | InvalidParameterError | InvalidStateError | NotFoundError | StaleTagError | TagPolicyError>;
|
|
56
56
|
/**
|
|
57
57
|
* @see {@link GetDataProtectionPolicyCommand}
|
|
58
58
|
*/
|
|
59
|
-
getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDataProtectionPolicyCommandOutput, Cause.
|
|
59
|
+
getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDataProtectionPolicyCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | InvalidSecurityError | NotFoundError>;
|
|
60
60
|
/**
|
|
61
61
|
* @see {@link GetEndpointAttributesCommand}
|
|
62
62
|
*/
|
|
63
|
-
getEndpointAttributes(args: GetEndpointAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetEndpointAttributesCommandOutput, Cause.
|
|
63
|
+
getEndpointAttributes(args: GetEndpointAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetEndpointAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
64
64
|
/**
|
|
65
65
|
* @see {@link GetPlatformApplicationAttributesCommand}
|
|
66
66
|
*/
|
|
67
|
-
getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPlatformApplicationAttributesCommandOutput, Cause.
|
|
67
|
+
getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPlatformApplicationAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
68
68
|
/**
|
|
69
69
|
* @see {@link GetSMSAttributesCommand}
|
|
70
70
|
*/
|
|
71
|
-
getSMSAttributes(args: GetSMSAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSMSAttributesCommandOutput, Cause.
|
|
71
|
+
getSMSAttributes(args: GetSMSAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSMSAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError>;
|
|
72
72
|
/**
|
|
73
73
|
* @see {@link GetSMSSandboxAccountStatusCommand}
|
|
74
74
|
*/
|
|
75
|
-
getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSMSSandboxAccountStatusCommandOutput, Cause.
|
|
75
|
+
getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSMSSandboxAccountStatusCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | ThrottledError>;
|
|
76
76
|
/**
|
|
77
77
|
* @see {@link GetSubscriptionAttributesCommand}
|
|
78
78
|
*/
|
|
79
|
-
getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSubscriptionAttributesCommandOutput, Cause.
|
|
79
|
+
getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSubscriptionAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
80
80
|
/**
|
|
81
81
|
* @see {@link GetTopicAttributesCommand}
|
|
82
82
|
*/
|
|
83
|
-
getTopicAttributes(args: GetTopicAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetTopicAttributesCommandOutput, Cause.
|
|
83
|
+
getTopicAttributes(args: GetTopicAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetTopicAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | InvalidSecurityError | NotFoundError>;
|
|
84
84
|
/**
|
|
85
85
|
* @see {@link ListEndpointsByPlatformApplicationCommand}
|
|
86
86
|
*/
|
|
87
|
-
listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListEndpointsByPlatformApplicationCommandOutput, Cause.
|
|
87
|
+
listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListEndpointsByPlatformApplicationCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
88
88
|
/**
|
|
89
89
|
* @see {@link ListOriginationNumbersCommand}
|
|
90
90
|
*/
|
|
91
|
-
listOriginationNumbers(args: ListOriginationNumbersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListOriginationNumbersCommandOutput, Cause.
|
|
91
|
+
listOriginationNumbers(args: ListOriginationNumbersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListOriginationNumbersCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError | ValidationError>;
|
|
92
92
|
/**
|
|
93
93
|
* @see {@link ListPhoneNumbersOptedOutCommand}
|
|
94
94
|
*/
|
|
95
|
-
listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPhoneNumbersOptedOutCommandOutput, Cause.
|
|
95
|
+
listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPhoneNumbersOptedOutCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError>;
|
|
96
96
|
/**
|
|
97
97
|
* @see {@link ListPlatformApplicationsCommand}
|
|
98
98
|
*/
|
|
99
|
-
listPlatformApplications(args: ListPlatformApplicationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPlatformApplicationsCommandOutput, Cause.
|
|
99
|
+
listPlatformApplications(args: ListPlatformApplicationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPlatformApplicationsCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError>;
|
|
100
100
|
/**
|
|
101
101
|
* @see {@link ListSMSSandboxPhoneNumbersCommand}
|
|
102
102
|
*/
|
|
103
|
-
listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSMSSandboxPhoneNumbersCommandOutput, Cause.
|
|
103
|
+
listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSMSSandboxPhoneNumbersCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | ResourceNotFoundError | ThrottledError>;
|
|
104
104
|
/**
|
|
105
105
|
* @see {@link ListSubscriptionsCommand}
|
|
106
106
|
*/
|
|
107
|
-
listSubscriptions(args: ListSubscriptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSubscriptionsCommandOutput, Cause.
|
|
107
|
+
listSubscriptions(args: ListSubscriptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSubscriptionsCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError>;
|
|
108
108
|
/**
|
|
109
109
|
* @see {@link ListSubscriptionsByTopicCommand}
|
|
110
110
|
*/
|
|
111
|
-
listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSubscriptionsByTopicCommandOutput, Cause.
|
|
111
|
+
listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSubscriptionsByTopicCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
112
112
|
/**
|
|
113
113
|
* @see {@link ListTagsForResourceCommand}
|
|
114
114
|
*/
|
|
115
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.
|
|
115
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | ConcurrentAccessError | InvalidParameterError | ResourceNotFoundError | TagPolicyError>;
|
|
116
116
|
/**
|
|
117
117
|
* @see {@link ListTopicsCommand}
|
|
118
118
|
*/
|
|
119
|
-
listTopics(args: ListTopicsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTopicsCommandOutput, Cause.
|
|
119
|
+
listTopics(args: ListTopicsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTopicsCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError>;
|
|
120
120
|
/**
|
|
121
121
|
* @see {@link OptInPhoneNumberCommand}
|
|
122
122
|
*/
|
|
123
|
-
optInPhoneNumber(args: OptInPhoneNumberCommandInput, options?: HttpHandlerOptions): Effect.Effect<OptInPhoneNumberCommandOutput, Cause.
|
|
123
|
+
optInPhoneNumber(args: OptInPhoneNumberCommandInput, options?: HttpHandlerOptions): Effect.Effect<OptInPhoneNumberCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError>;
|
|
124
124
|
/**
|
|
125
125
|
* @see {@link PublishCommand}
|
|
126
126
|
*/
|
|
127
|
-
publish(args: PublishCommandInput, options?: HttpHandlerOptions): Effect.Effect<PublishCommandOutput, Cause.
|
|
127
|
+
publish(args: PublishCommandInput, options?: HttpHandlerOptions): Effect.Effect<PublishCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | EndpointDisabledError | InternalError | InvalidParameterError | InvalidParameterValueError | InvalidSecurityError | KMSAccessDeniedError | KMSDisabledError | KMSInvalidStateError | KMSNotFoundError | KMSOptInRequiredError | KMSThrottlingError | NotFoundError | PlatformApplicationDisabledError | ValidationError>;
|
|
128
128
|
/**
|
|
129
129
|
* @see {@link PublishBatchCommand}
|
|
130
130
|
*/
|
|
131
|
-
publishBatch(args: PublishBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<PublishBatchCommandOutput, Cause.
|
|
131
|
+
publishBatch(args: PublishBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<PublishBatchCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | BatchEntryIdsNotDistinctError | BatchRequestTooLongError | EmptyBatchRequestError | EndpointDisabledError | InternalError | InvalidBatchEntryIdError | InvalidParameterError | InvalidParameterValueError | InvalidSecurityError | KMSAccessDeniedError | KMSDisabledError | KMSInvalidStateError | KMSNotFoundError | KMSOptInRequiredError | KMSThrottlingError | NotFoundError | PlatformApplicationDisabledError | TooManyEntriesInBatchRequestError | ValidationError>;
|
|
132
132
|
/**
|
|
133
133
|
* @see {@link PutDataProtectionPolicyCommand}
|
|
134
134
|
*/
|
|
135
|
-
putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDataProtectionPolicyCommandOutput, Cause.
|
|
135
|
+
putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDataProtectionPolicyCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | InvalidSecurityError | NotFoundError>;
|
|
136
136
|
/**
|
|
137
137
|
* @see {@link RemovePermissionCommand}
|
|
138
138
|
*/
|
|
139
|
-
removePermission(args: RemovePermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemovePermissionCommandOutput, Cause.
|
|
139
|
+
removePermission(args: RemovePermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemovePermissionCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
140
140
|
/**
|
|
141
141
|
* @see {@link SetEndpointAttributesCommand}
|
|
142
142
|
*/
|
|
143
|
-
setEndpointAttributes(args: SetEndpointAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetEndpointAttributesCommandOutput, Cause.
|
|
143
|
+
setEndpointAttributes(args: SetEndpointAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetEndpointAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
144
144
|
/**
|
|
145
145
|
* @see {@link SetPlatformApplicationAttributesCommand}
|
|
146
146
|
*/
|
|
147
|
-
setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetPlatformApplicationAttributesCommandOutput, Cause.
|
|
147
|
+
setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetPlatformApplicationAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError>;
|
|
148
148
|
/**
|
|
149
149
|
* @see {@link SetSMSAttributesCommand}
|
|
150
150
|
*/
|
|
151
|
-
setSMSAttributes(args: SetSMSAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetSMSAttributesCommandOutput, Cause.
|
|
151
|
+
setSMSAttributes(args: SetSMSAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetSMSAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError>;
|
|
152
152
|
/**
|
|
153
153
|
* @see {@link SetSubscriptionAttributesCommand}
|
|
154
154
|
*/
|
|
155
|
-
setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetSubscriptionAttributesCommandOutput, Cause.
|
|
155
|
+
setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetSubscriptionAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | FilterPolicyLimitExceededError | InternalError | InvalidParameterError | NotFoundError | ReplayLimitExceededError>;
|
|
156
156
|
/**
|
|
157
157
|
* @see {@link SetTopicAttributesCommand}
|
|
158
158
|
*/
|
|
159
|
-
setTopicAttributes(args: SetTopicAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetTopicAttributesCommandOutput, Cause.
|
|
159
|
+
setTopicAttributes(args: SetTopicAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetTopicAttributesCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | InvalidSecurityError | NotFoundError>;
|
|
160
160
|
/**
|
|
161
161
|
* @see {@link SubscribeCommand}
|
|
162
162
|
*/
|
|
163
|
-
subscribe(args: SubscribeCommandInput, options?: HttpHandlerOptions): Effect.Effect<SubscribeCommandOutput, Cause.
|
|
163
|
+
subscribe(args: SubscribeCommandInput, options?: HttpHandlerOptions): Effect.Effect<SubscribeCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | FilterPolicyLimitExceededError | InternalError | InvalidParameterError | InvalidSecurityError | NotFoundError | ReplayLimitExceededError | SubscriptionLimitExceededError>;
|
|
164
164
|
/**
|
|
165
165
|
* @see {@link TagResourceCommand}
|
|
166
166
|
*/
|
|
167
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.
|
|
167
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | ConcurrentAccessError | InvalidParameterError | ResourceNotFoundError | StaleTagError | TagLimitExceededError | TagPolicyError>;
|
|
168
168
|
/**
|
|
169
169
|
* @see {@link UnsubscribeCommand}
|
|
170
170
|
*/
|
|
171
|
-
unsubscribe(args: UnsubscribeCommandInput, options?: HttpHandlerOptions): Effect.Effect<UnsubscribeCommandOutput, Cause.
|
|
171
|
+
unsubscribe(args: UnsubscribeCommandInput, options?: HttpHandlerOptions): Effect.Effect<UnsubscribeCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | InvalidSecurityError | NotFoundError>;
|
|
172
172
|
/**
|
|
173
173
|
* @see {@link UntagResourceCommand}
|
|
174
174
|
*/
|
|
175
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.
|
|
175
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | ConcurrentAccessError | InvalidParameterError | ResourceNotFoundError | StaleTagError | TagLimitExceededError | TagPolicyError>;
|
|
176
176
|
/**
|
|
177
177
|
* @see {@link VerifySMSSandboxPhoneNumberCommand}
|
|
178
178
|
*/
|
|
179
|
-
verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, options?: HttpHandlerOptions): Effect.Effect<VerifySMSSandboxPhoneNumberCommandOutput, Cause.
|
|
179
|
+
verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, options?: HttpHandlerOptions): Effect.Effect<VerifySMSSandboxPhoneNumberCommandOutput, Cause.TimeoutError | SdkError | AuthorizationError | InternalError | InvalidParameterError | ResourceNotFoundError | ThrottledError | VerificationError>;
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
182
|
* @since 1.0.0
|
|
183
183
|
* @category constructors
|
|
184
184
|
*/
|
|
185
185
|
export declare const makeSNSService: Effect.Effect<SNSService$, never, Instance.SNSClientInstance>;
|
|
186
|
-
declare const SNSService_base:
|
|
187
|
-
use: <X>(body: (_: SNSService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SNSService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, SNSService> : Effect.Effect<X, never, SNSService>;
|
|
188
|
-
};
|
|
186
|
+
declare const SNSService_base: ServiceMap.ServiceClass<SNSService, "@effect-aws/client-sns/SNSService", SNSService$>;
|
|
189
187
|
/**
|
|
190
188
|
* @since 1.0.0
|
|
191
189
|
* @category models
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SNSService.d.ts","sourceRoot":"","sources":["../../src/SNSService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAE9C,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,uCAAuC,EAC5C,KAAK,wCAAwC,EAE7C,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,uCAAuC,EAC5C,KAAK,wCAAwC,EAE7C,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,4CAA4C,EACjD,KAAK,6CAA6C,EA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B,CAAC;IAEF;;OAEG;IACH,2BAA2B,CACzB,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,wCAAwC,EACtC,KAAK,CAAC,YAAY,GAClB,QAAQ,GACR,kBAAkB,GAClB,aAAa,GACb,qBAAqB,GACrB,qBAAqB,GACrB,cAAc,GACd,iBAAiB,CACpB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,+DAWzB,CAAC;;AAEH;;;GAGG;AACH,qBAAa,UAAW,SAAQ,eAGQ;IACtC,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SNSServiceConfig.d.ts","sourceRoot":"","sources":["../../src/SNSServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SNSServiceConfig.d.ts","sourceRoot":"","sources":["../../src/SNSServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,KAAK,EAAc,MAAM,QAAQ,CAAC;AAEnD,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,qCAAmD,CAAC;AAEjH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,CAQ3D,CAAC"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { SNSClient } from "@aws-sdk/client-sns";
|
|
5
|
-
import {
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
6
|
import * as SNSServiceConfig from "./SNSServiceConfig.js";
|
|
7
7
|
/**
|
|
8
8
|
* @since 1.0.0
|
|
9
9
|
* @category tags
|
|
10
10
|
*/
|
|
11
|
-
export class SNSClientInstance extends
|
|
11
|
+
export class SNSClientInstance extends ServiceMap.Service()("@effect-aws/client-sns/SNSClientInstance") {
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* @since 1.0.0
|
|
@@ -19,5 +19,5 @@ export const make = Effect.flatMap(SNSServiceConfig.toSNSClientConfig, (config)
|
|
|
19
19
|
* @since 1.0.0
|
|
20
20
|
* @category layers
|
|
21
21
|
*/
|
|
22
|
-
export const layer = Layer.
|
|
22
|
+
export const layer = Layer.effect(SNSClientInstance, make);
|
|
23
23
|
//# sourceMappingURL=SNSClientInstance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SNSClientInstance.js","sourceRoot":"","sources":["../../src/SNSClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SNSClientInstance.js","sourceRoot":"","sources":["../../src/SNSClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D;;;GAGG;AACH,MAAM,OAAO,iBAAkB,SAAQ,UAAU,CAAC,OAAO,EAAgC,CACvF,0CAA0C,CAC3C;CAAG;AAEJ;;;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"}
|
package/dist/esm/SNSService.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { AddPermissionCommand, CheckIfPhoneNumberIsOptedOutCommand, ConfirmSubscriptionCommand, CreatePlatformApplicationCommand, CreatePlatformEndpointCommand, CreateSMSSandboxPhoneNumberCommand, CreateTopicCommand, DeleteEndpointCommand, DeletePlatformApplicationCommand, DeleteSMSSandboxPhoneNumberCommand, DeleteTopicCommand, GetDataProtectionPolicyCommand, GetEndpointAttributesCommand, GetPlatformApplicationAttributesCommand, GetSMSAttributesCommand, GetSMSSandboxAccountStatusCommand, GetSubscriptionAttributesCommand, GetTopicAttributesCommand, ListEndpointsByPlatformApplicationCommand, ListOriginationNumbersCommand, ListPhoneNumbersOptedOutCommand, ListPlatformApplicationsCommand, ListSMSSandboxPhoneNumbersCommand, ListSubscriptionsByTopicCommand, ListSubscriptionsCommand, ListTagsForResourceCommand, ListTopicsCommand, OptInPhoneNumberCommand, PublishBatchCommand, PublishCommand, PutDataProtectionPolicyCommand, RemovePermissionCommand, SetEndpointAttributesCommand, SetPlatformApplicationAttributesCommand, SetSMSAttributesCommand, SetSubscriptionAttributesCommand, SetTopicAttributesCommand, SubscribeCommand, TagResourceCommand, UnsubscribeCommand, UntagResourceCommand, VerifySMSSandboxPhoneNumberCommand, } from "@aws-sdk/client-sns";
|
|
5
5
|
import { Service } from "@effect-aws/commons";
|
|
6
|
-
import { Effect, Layer } from "effect";
|
|
6
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
7
7
|
import { AllServiceErrors } from "./Errors.js";
|
|
8
8
|
import * as Instance from "./SNSClientInstance.js";
|
|
9
9
|
import * as SNSServiceConfig from "./SNSServiceConfig.js";
|
|
@@ -66,7 +66,7 @@ export const makeSNSService = Effect.gen(function* () {
|
|
|
66
66
|
* @since 1.0.0
|
|
67
67
|
* @category models
|
|
68
68
|
*/
|
|
69
|
-
export class SNSService extends
|
|
69
|
+
export class SNSService extends ServiceMap.Service()("@effect-aws/client-sns/SNSService") {
|
|
70
70
|
static defaultLayer = Layer.effect(this, makeSNSService).pipe(Layer.provide(Instance.layer));
|
|
71
71
|
static layer = (config) => Layer.effect(this, makeSNSService).pipe(Layer.provide(Instance.layer), Layer.provide(SNSServiceConfig.setSNSServiceConfig(config)));
|
|
72
72
|
static baseLayer = (evaluate) => Layer.effect(this, makeSNSService).pipe(Layer.provide(Layer.effect(Instance.SNSClientInstance, Effect.map(SNSServiceConfig.toSNSClientConfig, evaluate))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SNSService.js","sourceRoot":"","sources":["../../src/SNSService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,oBAAoB,EAGpB,mCAAmC,EAGnC,0BAA0B,EAG1B,gCAAgC,EAGhC,6BAA6B,EAG7B,kCAAkC,EAGlC,kBAAkB,EAGlB,qBAAqB,EAGrB,gCAAgC,EAGhC,kCAAkC,EAGlC,kBAAkB,EAGlB,8BAA8B,EAG9B,4BAA4B,EAG5B,uCAAuC,EAGvC,uBAAuB,EAGvB,iCAAiC,EAGjC,gCAAgC,EAGhC,yBAAyB,EAGzB,yCAAyC,EAGzC,6BAA6B,EAG7B,+BAA+B,EAG/B,+BAA+B,EAG/B,iCAAiC,EAGjC,+BAA+B,EAG/B,wBAAwB,EAGxB,0BAA0B,EAG1B,iBAAiB,EAGjB,uBAAuB,EAGvB,mBAAmB,EAGnB,cAAc,EAGd,8BAA8B,EAG9B,uBAAuB,EAGvB,4BAA4B,EAG5B,uCAAuC,EAGvC,uBAAuB,EAGvB,gCAAgC,EAGhC,yBAAyB,EAKzB,gBAAgB,EAGhB,kBAAkB,EAGlB,kBAAkB,EAGlB,oBAAoB,EAGpB,kCAAkC,GAGnC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ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QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAC5D,CAAC;IACJ,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"}
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
import { ServiceLogger } from "@effect-aws/commons";
|
|
2
|
-
import { Effect,
|
|
2
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
3
3
|
import { dual } from "effect/Function";
|
|
4
|
-
import { globalValue } from "effect/GlobalValue";
|
|
5
4
|
/**
|
|
6
5
|
* @since 1.0.0
|
|
7
6
|
* @category sns service config
|
|
8
7
|
*/
|
|
9
|
-
const currentSNSServiceConfig =
|
|
8
|
+
const currentSNSServiceConfig = ServiceMap.Reference("@effect-aws/client-sns/currentSNSServiceConfig", { defaultValue: () => ({}) });
|
|
10
9
|
/**
|
|
11
10
|
* @since 1.0.0
|
|
12
11
|
* @category sns service config
|
|
13
12
|
*/
|
|
14
|
-
export const withSNSServiceConfig = dual(2, (effect, config) => Effect.
|
|
13
|
+
export const withSNSServiceConfig = dual(2, (effect, config) => Effect.provideService(effect, currentSNSServiceConfig, config));
|
|
15
14
|
/**
|
|
16
15
|
* @since 1.0.0
|
|
17
16
|
* @category sns service config
|
|
18
17
|
*/
|
|
19
|
-
export const setSNSServiceConfig = (config) => Layer.
|
|
18
|
+
export const setSNSServiceConfig = (config) => Layer.succeed(currentSNSServiceConfig, config);
|
|
20
19
|
/**
|
|
21
20
|
* @since 1.0.0
|
|
22
21
|
* @category adapters
|
|
23
22
|
*/
|
|
24
23
|
export const toSNSClientConfig = Effect.gen(function* () {
|
|
25
|
-
const { logger: serviceLogger, ...config } = yield*
|
|
24
|
+
const { logger: serviceLogger, ...config } = yield* currentSNSServiceConfig;
|
|
26
25
|
const logger = serviceLogger === true
|
|
27
26
|
? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
|
|
28
27
|
: (serviceLogger ? yield* ServiceLogger.toClientLogger(ServiceLogger.make(serviceLogger)) : undefined);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SNSServiceConfig.js","sourceRoot":"","sources":["../../src/SNSServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"SNSServiceConfig.js","sourceRoot":"","sources":["../../src/SNSServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAGvC;;;GAGG;AACH,MAAM,uBAAuB,GAAG,UAAU,CAAC,SAAS,CAClD,gDAAgD,EAChD,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAC7B,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAG7B,IAAI,CACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAyB,EAA0B,EAAE,CAC7F,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,uBAAuB,EAAE,MAAM,CAAC,CACjE,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAyB,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;AAEjH;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAmC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnF,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,uBAAuB,CAAC;IAE5E,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-sns",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.0",
|
|
4
4
|
"description": "Effectful AWS SNS client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,40 +16,34 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-sns",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-sns": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^1.0.0-beta.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"effect": ">=
|
|
22
|
+
"effect": ">=4.0.0 <5.0.0"
|
|
23
23
|
},
|
|
24
|
-
"main": "./dist/cjs/index.js",
|
|
25
24
|
"module": "./dist/esm/index.js",
|
|
26
25
|
"types": "./dist/dts/index.d.ts",
|
|
27
26
|
"exports": {
|
|
28
27
|
"./package.json": "./package.json",
|
|
29
28
|
".": {
|
|
30
29
|
"types": "./dist/dts/index.d.ts",
|
|
31
|
-
"import": "./dist/esm/index.js"
|
|
32
|
-
"default": "./dist/cjs/index.js"
|
|
30
|
+
"import": "./dist/esm/index.js"
|
|
33
31
|
},
|
|
34
32
|
"./Errors": {
|
|
35
33
|
"types": "./dist/dts/Errors.d.ts",
|
|
36
|
-
"import": "./dist/esm/Errors.js"
|
|
37
|
-
"default": "./dist/cjs/Errors.js"
|
|
34
|
+
"import": "./dist/esm/Errors.js"
|
|
38
35
|
},
|
|
39
36
|
"./SNSClientInstance": {
|
|
40
37
|
"types": "./dist/dts/SNSClientInstance.d.ts",
|
|
41
|
-
"import": "./dist/esm/SNSClientInstance.js"
|
|
42
|
-
"default": "./dist/cjs/SNSClientInstance.js"
|
|
38
|
+
"import": "./dist/esm/SNSClientInstance.js"
|
|
43
39
|
},
|
|
44
40
|
"./SNSService": {
|
|
45
41
|
"types": "./dist/dts/SNSService.d.ts",
|
|
46
|
-
"import": "./dist/esm/SNSService.js"
|
|
47
|
-
"default": "./dist/cjs/SNSService.js"
|
|
42
|
+
"import": "./dist/esm/SNSService.js"
|
|
48
43
|
},
|
|
49
44
|
"./SNSServiceConfig": {
|
|
50
45
|
"types": "./dist/dts/SNSServiceConfig.d.ts",
|
|
51
|
-
"import": "./dist/esm/SNSServiceConfig.js"
|
|
52
|
-
"default": "./dist/cjs/SNSServiceConfig.js"
|
|
46
|
+
"import": "./dist/esm/SNSServiceConfig.js"
|
|
53
47
|
}
|
|
54
48
|
},
|
|
55
49
|
"typesVersions": {
|
package/src/SNSClientInstance.ts
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { SNSClient } from "@aws-sdk/client-sns";
|
|
5
|
-
import {
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
6
|
import * as SNSServiceConfig from "./SNSServiceConfig.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @since 1.0.0
|
|
10
10
|
* @category tags
|
|
11
11
|
*/
|
|
12
|
-
export class SNSClientInstance extends
|
|
12
|
+
export class SNSClientInstance extends ServiceMap.Service<SNSClientInstance, SNSClient>()(
|
|
13
13
|
"@effect-aws/client-sns/SNSClientInstance",
|
|
14
|
-
)
|
|
14
|
+
) {}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @since 1.0.0
|
|
@@ -30,4 +30,4 @@ export const make = Effect.flatMap(
|
|
|
30
30
|
* @since 1.0.0
|
|
31
31
|
* @category layers
|
|
32
32
|
*/
|
|
33
|
-
export const layer = Layer.
|
|
33
|
+
export const layer = Layer.effect(SNSClientInstance, make);
|