@aws-sdk/client-sns 3.254.0 → 3.256.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.
|
@@ -5,7 +5,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
11
11
|
import { CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
|
|
@@ -148,9 +148,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
148
148
|
*/
|
|
149
149
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
150
150
|
/**
|
|
151
|
-
* The {@link
|
|
151
|
+
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
152
152
|
*/
|
|
153
|
-
defaultsMode?:
|
|
153
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
154
154
|
}
|
|
155
155
|
declare type SNSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
156
156
|
/**
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
26
|
import {
|
|
27
27
|
Client as __Client,
|
|
28
|
-
DefaultsMode,
|
|
28
|
+
DefaultsMode as __DefaultsMode,
|
|
29
29
|
SmithyConfiguration as __SmithyConfiguration,
|
|
30
30
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
@@ -325,7 +325,7 @@ export interface ClientDefaults
|
|
|
325
325
|
region?: string | __Provider<string>;
|
|
326
326
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
327
327
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
328
|
-
defaultsMode?:
|
|
328
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
329
329
|
}
|
|
330
330
|
declare type SNSClientConfigType = Partial<
|
|
331
331
|
__SmithyConfiguration<__HttpHandlerOptions>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.256.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.256.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.256.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.254.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.254.0",
|