@aws-sdk/client-pinpoint 3.38.0 → 3.42.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/CHANGELOG.md +38 -0
- package/dist-cjs/endpoints.js +109 -20
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +109 -20
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/PinpointClient.d.ts +8 -0
- package/dist-types/commands/CreateAppCommand.d.ts +1 -1
- package/dist-types/commands/CreateCampaignCommand.d.ts +1 -1
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateExportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateImportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateJourneyCommand.d.ts +1 -1
- package/dist-types/commands/CreatePushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSegmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCampaignCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJourneyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSegmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetAppCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetAppsCommand.d.ts +1 -1
- package/dist-types/commands/GetBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignsCommand.d.ts +1 -1
- package/dist-types/commands/GetChannelsCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppMessagesCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyExecutionMetricsCommand.d.ts +1 -1
- package/dist-types/commands/GetPushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommenderConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentsCommand.d.ts +1 -1
- package/dist-types/commands/GetSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetUserEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/GetVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListJourneysCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/PhoneNumberValidateCommand.d.ts +1 -1
- package/dist-types/commands/PutEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/PutEventsCommand.d.ts +1 -1
- package/dist-types/commands/RemoveAttributesCommand.d.ts +1 -1
- package/dist-types/commands/SendMessagesCommand.d.ts +1 -1
- package/dist-types/commands/SendUsersMessagesCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCampaignCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJourneyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJourneyStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSegmentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTemplateActiveVersionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/PinpointClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-pinpoint
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
37
|
+
|
|
38
|
+
**Note:** Version bump only for package @aws-sdk/client-pinpoint
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
45
|
|
|
8
46
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,28 +3,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
"fips-us-east-1": {
|
|
7
|
-
hostname: "pinpoint-fips.us-east-1.amazonaws.com",
|
|
8
|
-
signingRegion: "us-east-1",
|
|
9
|
-
},
|
|
10
|
-
"fips-us-gov-west-1": {
|
|
11
|
-
hostname: "pinpoint-fips.us-gov-west-1.amazonaws.com",
|
|
12
|
-
signingRegion: "us-gov-west-1",
|
|
13
|
-
},
|
|
14
|
-
"fips-us-west-2": {
|
|
15
|
-
hostname: "pinpoint-fips.us-west-2.amazonaws.com",
|
|
16
|
-
signingRegion: "us-west-2",
|
|
17
|
-
},
|
|
18
6
|
"us-east-1": {
|
|
19
|
-
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "pinpoint.us-east-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "pinpoint-fips.us-east-1.amazonaws.com",
|
|
14
|
+
tags: ["fips"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
20
17
|
signingRegion: "us-east-1",
|
|
21
18
|
},
|
|
22
19
|
"us-gov-west-1": {
|
|
23
|
-
|
|
20
|
+
variants: [
|
|
21
|
+
{
|
|
22
|
+
hostname: "pinpoint.us-gov-west-1.amazonaws.com",
|
|
23
|
+
tags: [],
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
hostname: "pinpoint-fips.us-gov-west-1.amazonaws.com",
|
|
27
|
+
tags: ["fips"],
|
|
28
|
+
},
|
|
29
|
+
],
|
|
24
30
|
signingRegion: "us-gov-west-1",
|
|
25
31
|
},
|
|
26
32
|
"us-west-2": {
|
|
27
|
-
|
|
33
|
+
variants: [
|
|
34
|
+
{
|
|
35
|
+
hostname: "pinpoint.us-west-2.amazonaws.com",
|
|
36
|
+
tags: [],
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
hostname: "pinpoint-fips.us-west-2.amazonaws.com",
|
|
40
|
+
tags: ["fips"],
|
|
41
|
+
},
|
|
42
|
+
],
|
|
28
43
|
signingRegion: "us-west-2",
|
|
29
44
|
},
|
|
30
45
|
};
|
|
@@ -55,23 +70,97 @@ const partitionHash = {
|
|
|
55
70
|
"us-west-1",
|
|
56
71
|
"us-west-2",
|
|
57
72
|
],
|
|
58
|
-
|
|
73
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
74
|
+
variants: [
|
|
75
|
+
{
|
|
76
|
+
hostname: "pinpoint.{region}.amazonaws.com",
|
|
77
|
+
tags: [],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
hostname: "pinpoint-fips.{region}.amazonaws.com",
|
|
81
|
+
tags: ["fips"],
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
hostname: "pinpoint-fips.{region}.api.aws",
|
|
85
|
+
tags: ["dualstack", "fips"],
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
hostname: "pinpoint.{region}.api.aws",
|
|
89
|
+
tags: ["dualstack"],
|
|
90
|
+
},
|
|
91
|
+
],
|
|
59
92
|
},
|
|
60
93
|
"aws-cn": {
|
|
61
94
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
62
|
-
|
|
95
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
96
|
+
variants: [
|
|
97
|
+
{
|
|
98
|
+
hostname: "pinpoint.{region}.amazonaws.com.cn",
|
|
99
|
+
tags: [],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
hostname: "pinpoint-fips.{region}.amazonaws.com.cn",
|
|
103
|
+
tags: ["fips"],
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
hostname: "pinpoint-fips.{region}.api.amazonwebservices.com.cn",
|
|
107
|
+
tags: ["dualstack", "fips"],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
hostname: "pinpoint.{region}.api.amazonwebservices.com.cn",
|
|
111
|
+
tags: ["dualstack"],
|
|
112
|
+
},
|
|
113
|
+
],
|
|
63
114
|
},
|
|
64
115
|
"aws-iso": {
|
|
65
116
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
66
|
-
|
|
117
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
118
|
+
variants: [
|
|
119
|
+
{
|
|
120
|
+
hostname: "pinpoint.{region}.c2s.ic.gov",
|
|
121
|
+
tags: [],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
hostname: "pinpoint-fips.{region}.c2s.ic.gov",
|
|
125
|
+
tags: ["fips"],
|
|
126
|
+
},
|
|
127
|
+
],
|
|
67
128
|
},
|
|
68
129
|
"aws-iso-b": {
|
|
69
130
|
regions: ["us-isob-east-1"],
|
|
70
|
-
|
|
131
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
132
|
+
variants: [
|
|
133
|
+
{
|
|
134
|
+
hostname: "pinpoint.{region}.sc2s.sgov.gov",
|
|
135
|
+
tags: [],
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
hostname: "pinpoint-fips.{region}.sc2s.sgov.gov",
|
|
139
|
+
tags: ["fips"],
|
|
140
|
+
},
|
|
141
|
+
],
|
|
71
142
|
},
|
|
72
143
|
"aws-us-gov": {
|
|
73
144
|
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
74
|
-
|
|
145
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
146
|
+
variants: [
|
|
147
|
+
{
|
|
148
|
+
hostname: "pinpoint.{region}.amazonaws.com",
|
|
149
|
+
tags: [],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
hostname: "pinpoint-fips.{region}.amazonaws.com",
|
|
153
|
+
tags: ["fips"],
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
hostname: "pinpoint-fips.{region}.api.aws",
|
|
157
|
+
tags: ["dualstack", "fips"],
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
hostname: "pinpoint.{region}.api.aws",
|
|
161
|
+
tags: ["dualstack"],
|
|
162
|
+
},
|
|
163
|
+
],
|
|
75
164
|
},
|
|
76
165
|
};
|
|
77
166
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,28 +1,43 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
3
|
var regionHash = {
|
|
4
|
-
"fips-us-east-1": {
|
|
5
|
-
hostname: "pinpoint-fips.us-east-1.amazonaws.com",
|
|
6
|
-
signingRegion: "us-east-1",
|
|
7
|
-
},
|
|
8
|
-
"fips-us-gov-west-1": {
|
|
9
|
-
hostname: "pinpoint-fips.us-gov-west-1.amazonaws.com",
|
|
10
|
-
signingRegion: "us-gov-west-1",
|
|
11
|
-
},
|
|
12
|
-
"fips-us-west-2": {
|
|
13
|
-
hostname: "pinpoint-fips.us-west-2.amazonaws.com",
|
|
14
|
-
signingRegion: "us-west-2",
|
|
15
|
-
},
|
|
16
4
|
"us-east-1": {
|
|
17
|
-
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "pinpoint.us-east-1.amazonaws.com",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
hostname: "pinpoint-fips.us-east-1.amazonaws.com",
|
|
12
|
+
tags: ["fips"],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
18
15
|
signingRegion: "us-east-1",
|
|
19
16
|
},
|
|
20
17
|
"us-gov-west-1": {
|
|
21
|
-
|
|
18
|
+
variants: [
|
|
19
|
+
{
|
|
20
|
+
hostname: "pinpoint.us-gov-west-1.amazonaws.com",
|
|
21
|
+
tags: [],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
hostname: "pinpoint-fips.us-gov-west-1.amazonaws.com",
|
|
25
|
+
tags: ["fips"],
|
|
26
|
+
},
|
|
27
|
+
],
|
|
22
28
|
signingRegion: "us-gov-west-1",
|
|
23
29
|
},
|
|
24
30
|
"us-west-2": {
|
|
25
|
-
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "pinpoint.us-west-2.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "pinpoint-fips.us-west-2.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
26
41
|
signingRegion: "us-west-2",
|
|
27
42
|
},
|
|
28
43
|
};
|
|
@@ -53,23 +68,97 @@ var partitionHash = {
|
|
|
53
68
|
"us-west-1",
|
|
54
69
|
"us-west-2",
|
|
55
70
|
],
|
|
56
|
-
|
|
71
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
72
|
+
variants: [
|
|
73
|
+
{
|
|
74
|
+
hostname: "pinpoint.{region}.amazonaws.com",
|
|
75
|
+
tags: [],
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
hostname: "pinpoint-fips.{region}.amazonaws.com",
|
|
79
|
+
tags: ["fips"],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
hostname: "pinpoint-fips.{region}.api.aws",
|
|
83
|
+
tags: ["dualstack", "fips"],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
hostname: "pinpoint.{region}.api.aws",
|
|
87
|
+
tags: ["dualstack"],
|
|
88
|
+
},
|
|
89
|
+
],
|
|
57
90
|
},
|
|
58
91
|
"aws-cn": {
|
|
59
92
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
60
|
-
|
|
93
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
94
|
+
variants: [
|
|
95
|
+
{
|
|
96
|
+
hostname: "pinpoint.{region}.amazonaws.com.cn",
|
|
97
|
+
tags: [],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
hostname: "pinpoint-fips.{region}.amazonaws.com.cn",
|
|
101
|
+
tags: ["fips"],
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
hostname: "pinpoint-fips.{region}.api.amazonwebservices.com.cn",
|
|
105
|
+
tags: ["dualstack", "fips"],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
hostname: "pinpoint.{region}.api.amazonwebservices.com.cn",
|
|
109
|
+
tags: ["dualstack"],
|
|
110
|
+
},
|
|
111
|
+
],
|
|
61
112
|
},
|
|
62
113
|
"aws-iso": {
|
|
63
114
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
64
|
-
|
|
115
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
116
|
+
variants: [
|
|
117
|
+
{
|
|
118
|
+
hostname: "pinpoint.{region}.c2s.ic.gov",
|
|
119
|
+
tags: [],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
hostname: "pinpoint-fips.{region}.c2s.ic.gov",
|
|
123
|
+
tags: ["fips"],
|
|
124
|
+
},
|
|
125
|
+
],
|
|
65
126
|
},
|
|
66
127
|
"aws-iso-b": {
|
|
67
128
|
regions: ["us-isob-east-1"],
|
|
68
|
-
|
|
129
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
130
|
+
variants: [
|
|
131
|
+
{
|
|
132
|
+
hostname: "pinpoint.{region}.sc2s.sgov.gov",
|
|
133
|
+
tags: [],
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
hostname: "pinpoint-fips.{region}.sc2s.sgov.gov",
|
|
137
|
+
tags: ["fips"],
|
|
138
|
+
},
|
|
139
|
+
],
|
|
69
140
|
},
|
|
70
141
|
"aws-us-gov": {
|
|
71
142
|
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
72
|
-
|
|
143
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
144
|
+
variants: [
|
|
145
|
+
{
|
|
146
|
+
hostname: "pinpoint.{region}.amazonaws.com",
|
|
147
|
+
tags: [],
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
hostname: "pinpoint-fips.{region}.amazonaws.com",
|
|
151
|
+
tags: ["fips"],
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
hostname: "pinpoint-fips.{region}.api.aws",
|
|
155
|
+
tags: ["dualstack", "fips"],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
hostname: "pinpoint.{region}.api.aws",
|
|
159
|
+
tags: ["dualstack"],
|
|
160
|
+
},
|
|
161
|
+
],
|
|
73
162
|
},
|
|
74
163
|
};
|
|
75
164
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
21
|
};
|
|
@@ -193,6 +193,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
193
193
|
* Optional logger for logging debug/info/warn/error.
|
|
194
194
|
*/
|
|
195
195
|
logger?: __Logger;
|
|
196
|
+
/**
|
|
197
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
198
|
+
*/
|
|
199
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
200
|
+
/**
|
|
201
|
+
* Enables FIPS compatible endpoints.
|
|
202
|
+
*/
|
|
203
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
196
204
|
/**
|
|
197
205
|
* Unique service identifier.
|
|
198
206
|
* @internal
|
|
@@ -20,7 +20,7 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateAppCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateAppCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateAppCommand extends $Command<CreateAppCommandInput, CreateAppCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateCampaignCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateCampaignCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateCampaignCommand extends $Command<CreateCampaignCommandInput, CreateCampaignCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateEmailTemplateCommandOutput extends CreateEmailTemplateRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateEmailTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateEmailTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateEmailTemplateCommand extends $Command<CreateEmailTemplateCommandInput, CreateEmailTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateExportJobCommandOutput extends CreateExportJobResponse, _
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateExportJobCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateExportJobCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateExportJobCommand extends $Command<CreateExportJobCommandInput, CreateExportJobCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateImportJobCommandOutput extends CreateImportJobResponse, _
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateImportJobCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateImportJobCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateImportJobCommand extends $Command<CreateImportJobCommandInput, CreateImportJobCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateInAppTemplateCommandOutput extends CreateInAppTemplateRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateInAppTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateInAppTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateInAppTemplateCommand extends $Command<CreateInAppTemplateCommandInput, CreateInAppTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateJourneyCommandOutput extends CreateJourneyResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateJourneyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateJourneyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateJourneyCommand extends $Command<CreateJourneyCommandInput, CreateJourneyCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreatePushTemplateCommandOutput extends CreatePushTemplateRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreatePushTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreatePushTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreatePushTemplateCommand extends $Command<CreatePushTemplateCommandInput, CreatePushTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateRecommenderConfigurationCommandOutput extends CreateRecom
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateRecommenderConfigurationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateRecommenderConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateRecommenderConfigurationCommand extends $Command<CreateRecommenderConfigurationCommandInput, CreateRecommenderConfigurationCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateSegmentCommandOutput extends CreateSegmentResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateSegmentCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateSegmentCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateSegmentCommand extends $Command<CreateSegmentCommandInput, CreateSegmentCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateSmsTemplateCommandOutput extends CreateSmsTemplateRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateSmsTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateSmsTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateSmsTemplateCommand extends $Command<CreateSmsTemplateCommandInput, CreateSmsTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateVoiceTemplateCommandOutput extends CreateVoiceTemplateRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateVoiceTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateVoiceTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateVoiceTemplateCommand extends $Command<CreateVoiceTemplateCommandInput, CreateVoiceTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteAdmChannelCommandOutput extends DeleteAdmChannelResponse,
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteAdmChannelCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteAdmChannelCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteAdmChannelCommand extends $Command<DeleteAdmChannelCommandInput, DeleteAdmChannelCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteApnsChannelCommandOutput extends DeleteApnsChannelRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteApnsChannelCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteApnsChannelCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteApnsChannelCommand extends $Command<DeleteApnsChannelCommandInput, DeleteApnsChannelCommandOutput, PinpointClientResolvedConfig> {
|