@aws-sdk/client-sns 3.952.0 → 3.953.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +591 -409
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/commands/AddPermissionCommand.js +2 -2
- package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +2 -2
- package/dist-es/commands/ConfirmSubscriptionCommand.js +2 -2
- package/dist-es/commands/CreatePlatformApplicationCommand.js +2 -2
- package/dist-es/commands/CreatePlatformEndpointCommand.js +2 -2
- package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +2 -2
- package/dist-es/commands/CreateTopicCommand.js +2 -2
- package/dist-es/commands/DeleteEndpointCommand.js +2 -2
- package/dist-es/commands/DeletePlatformApplicationCommand.js +2 -2
- package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +2 -2
- package/dist-es/commands/DeleteTopicCommand.js +2 -2
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +2 -2
- package/dist-es/commands/GetEndpointAttributesCommand.js +2 -2
- package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +2 -2
- package/dist-es/commands/GetSMSAttributesCommand.js +2 -2
- package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +2 -2
- package/dist-es/commands/GetSubscriptionAttributesCommand.js +2 -2
- package/dist-es/commands/GetTopicAttributesCommand.js +2 -2
- package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +2 -2
- package/dist-es/commands/ListOriginationNumbersCommand.js +2 -2
- package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +2 -2
- package/dist-es/commands/ListPlatformApplicationsCommand.js +2 -2
- package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +2 -2
- package/dist-es/commands/ListSubscriptionsByTopicCommand.js +2 -2
- package/dist-es/commands/ListSubscriptionsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTopicsCommand.js +2 -2
- package/dist-es/commands/OptInPhoneNumberCommand.js +2 -2
- package/dist-es/commands/PublishBatchCommand.js +2 -2
- package/dist-es/commands/PublishCommand.js +2 -2
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +2 -2
- package/dist-es/commands/RemovePermissionCommand.js +2 -2
- package/dist-es/commands/SetEndpointAttributesCommand.js +2 -2
- package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +2 -2
- package/dist-es/commands/SetSMSAttributesCommand.js +2 -2
- package/dist-es/commands/SetSubscriptionAttributesCommand.js +2 -2
- package/dist-es/commands/SetTopicAttributesCommand.js +2 -2
- package/dist-es/commands/SubscribeCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UnsubscribeCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +298 -277
- package/dist-types/SNSClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +162 -185
- package/dist-types/ts3.4/SNSClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +161 -187
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { SetSubscriptionAttributes } from "../schemas/schemas_0";
|
|
4
|
+
import { SetSubscriptionAttributes$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SetSubscriptionAttributesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SetSubscriptionAttributesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSimpleNotificationService", "SetSubscriptionAttributes", {})
|
|
13
13
|
.n("SNSClient", "SetSubscriptionAttributesCommand")
|
|
14
|
-
.sc(SetSubscriptionAttributes)
|
|
14
|
+
.sc(SetSubscriptionAttributes$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { SetTopicAttributes } from "../schemas/schemas_0";
|
|
4
|
+
import { SetTopicAttributes$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SetTopicAttributesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SetTopicAttributesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSimpleNotificationService", "SetTopicAttributes", {})
|
|
13
13
|
.n("SNSClient", "SetTopicAttributesCommand")
|
|
14
|
-
.sc(SetTopicAttributes)
|
|
14
|
+
.sc(SetTopicAttributes$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { Subscribe } from "../schemas/schemas_0";
|
|
4
|
+
import { Subscribe$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SubscribeCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SubscribeCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSimpleNotificationService", "Subscribe", {})
|
|
13
13
|
.n("SNSClient", "SubscribeCommand")
|
|
14
|
-
.sc(Subscribe)
|
|
14
|
+
.sc(Subscribe$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSimpleNotificationService", "TagResource", {})
|
|
13
13
|
.n("SNSClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { Unsubscribe } from "../schemas/schemas_0";
|
|
4
|
+
import { Unsubscribe$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UnsubscribeCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UnsubscribeCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSimpleNotificationService", "Unsubscribe", {})
|
|
13
13
|
.n("SNSClient", "UnsubscribeCommand")
|
|
14
|
-
.sc(Unsubscribe)
|
|
14
|
+
.sc(Unsubscribe$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSimpleNotificationService", "UntagResource", {})
|
|
13
13
|
.n("SNSClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { VerifySMSSandboxPhoneNumber } from "../schemas/schemas_0";
|
|
4
|
+
import { VerifySMSSandboxPhoneNumber$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class VerifySMSSandboxPhoneNumberCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class VerifySMSSandboxPhoneNumberCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSimpleNotificationService", "VerifySMSSandboxPhoneNumber", {})
|
|
13
13
|
.n("SNSClient", "VerifySMSSandboxPhoneNumberCommand")
|
|
14
|
-
.sc(VerifySMSSandboxPhoneNumber)
|
|
14
|
+
.sc(VerifySMSSandboxPhoneNumber$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsQueryProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.sns",
|
|
29
|
+
xmlNamespace: "http://sns.amazonaws.com/doc/2010-03-31/",
|
|
30
|
+
version: "2010-03-31",
|
|
31
|
+
serviceTarget: "AmazonSimpleNotificationService",
|
|
32
|
+
},
|
|
32
33
|
serviceId: config?.serviceId ?? "SNS",
|
|
33
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|