@aws-sdk/client-pinpoint 3.36.1 → 3.40.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.
@@ -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
- hostname: "pinpoint.us-east-1.amazonaws.com",
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
- hostname: "pinpoint.us-gov-west-1.amazonaws.com",
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
- hostname: "pinpoint.us-west-2.amazonaws.com",
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,89 @@ var partitionHash = {
53
68
  "us-west-1",
54
69
  "us-west-2",
55
70
  ],
56
- hostname: "pinpoint.{region}.amazonaws.com",
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
- hostname: "pinpoint.{region}.amazonaws.com.cn",
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
- regions: ["us-iso-east-1"],
64
- hostname: "pinpoint.{region}.c2s.ic.gov",
114
+ regions: ["us-iso-east-1", "us-iso-west-1"],
115
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
116
+ variants: [
117
+ {
118
+ hostname: "pinpoint.{region}.c2s.ic.gov",
119
+ tags: [],
120
+ },
121
+ ],
65
122
  },
66
123
  "aws-iso-b": {
67
124
  regions: ["us-isob-east-1"],
68
- hostname: "pinpoint.{region}.sc2s.sgov.gov",
125
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
126
+ variants: [
127
+ {
128
+ hostname: "pinpoint.{region}.sc2s.sgov.gov",
129
+ tags: [],
130
+ },
131
+ ],
69
132
  },
70
133
  "aws-us-gov": {
71
134
  regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
72
- hostname: "pinpoint.{region}.amazonaws.com",
135
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
136
+ variants: [
137
+ {
138
+ hostname: "pinpoint.{region}.amazonaws.com",
139
+ tags: [],
140
+ },
141
+ {
142
+ hostname: "pinpoint-fips.{region}.amazonaws.com",
143
+ tags: ["fips"],
144
+ },
145
+ {
146
+ hostname: "pinpoint-fips.{region}.api.aws",
147
+ tags: ["dualstack", "fips"],
148
+ },
149
+ {
150
+ hostname: "pinpoint.{region}.api.aws",
151
+ tags: ["dualstack"],
152
+ },
153
+ ],
73
154
  },
74
155
  };
75
156
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
package/dist-es/index.js CHANGED
@@ -1,120 +1,4 @@
1
- export * from "./PinpointClient";
2
1
  export * from "./Pinpoint";
3
- export * from "./commands/CreateAppCommand";
4
- export * from "./commands/CreateCampaignCommand";
5
- export * from "./commands/CreateEmailTemplateCommand";
6
- export * from "./commands/CreateExportJobCommand";
7
- export * from "./commands/CreateImportJobCommand";
8
- export * from "./commands/CreateInAppTemplateCommand";
9
- export * from "./commands/CreateJourneyCommand";
10
- export * from "./commands/CreatePushTemplateCommand";
11
- export * from "./commands/CreateRecommenderConfigurationCommand";
12
- export * from "./commands/CreateSegmentCommand";
13
- export * from "./commands/CreateSmsTemplateCommand";
14
- export * from "./commands/CreateVoiceTemplateCommand";
15
- export * from "./commands/DeleteAdmChannelCommand";
16
- export * from "./commands/DeleteApnsChannelCommand";
17
- export * from "./commands/DeleteApnsSandboxChannelCommand";
18
- export * from "./commands/DeleteApnsVoipChannelCommand";
19
- export * from "./commands/DeleteApnsVoipSandboxChannelCommand";
20
- export * from "./commands/DeleteAppCommand";
21
- export * from "./commands/DeleteBaiduChannelCommand";
22
- export * from "./commands/DeleteCampaignCommand";
23
- export * from "./commands/DeleteEmailChannelCommand";
24
- export * from "./commands/DeleteEmailTemplateCommand";
25
- export * from "./commands/DeleteEndpointCommand";
26
- export * from "./commands/DeleteEventStreamCommand";
27
- export * from "./commands/DeleteGcmChannelCommand";
28
- export * from "./commands/DeleteInAppTemplateCommand";
29
- export * from "./commands/DeleteJourneyCommand";
30
- export * from "./commands/DeletePushTemplateCommand";
31
- export * from "./commands/DeleteRecommenderConfigurationCommand";
32
- export * from "./commands/DeleteSegmentCommand";
33
- export * from "./commands/DeleteSmsChannelCommand";
34
- export * from "./commands/DeleteSmsTemplateCommand";
35
- export * from "./commands/DeleteUserEndpointsCommand";
36
- export * from "./commands/DeleteVoiceChannelCommand";
37
- export * from "./commands/DeleteVoiceTemplateCommand";
38
- export * from "./commands/GetAdmChannelCommand";
39
- export * from "./commands/GetApnsChannelCommand";
40
- export * from "./commands/GetApnsSandboxChannelCommand";
41
- export * from "./commands/GetApnsVoipChannelCommand";
42
- export * from "./commands/GetApnsVoipSandboxChannelCommand";
43
- export * from "./commands/GetAppCommand";
44
- export * from "./commands/GetApplicationDateRangeKpiCommand";
45
- export * from "./commands/GetApplicationSettingsCommand";
46
- export * from "./commands/GetAppsCommand";
47
- export * from "./commands/GetBaiduChannelCommand";
48
- export * from "./commands/GetCampaignCommand";
49
- export * from "./commands/GetCampaignActivitiesCommand";
50
- export * from "./commands/GetCampaignDateRangeKpiCommand";
51
- export * from "./commands/GetCampaignsCommand";
52
- export * from "./commands/GetCampaignVersionCommand";
53
- export * from "./commands/GetCampaignVersionsCommand";
54
- export * from "./commands/GetChannelsCommand";
55
- export * from "./commands/GetEmailChannelCommand";
56
- export * from "./commands/GetEmailTemplateCommand";
57
- export * from "./commands/GetEndpointCommand";
58
- export * from "./commands/GetEventStreamCommand";
59
- export * from "./commands/GetExportJobCommand";
60
- export * from "./commands/GetExportJobsCommand";
61
- export * from "./commands/GetGcmChannelCommand";
62
- export * from "./commands/GetImportJobCommand";
63
- export * from "./commands/GetImportJobsCommand";
64
- export * from "./commands/GetInAppMessagesCommand";
65
- export * from "./commands/GetInAppTemplateCommand";
66
- export * from "./commands/GetJourneyCommand";
67
- export * from "./commands/GetJourneyDateRangeKpiCommand";
68
- export * from "./commands/GetJourneyExecutionActivityMetricsCommand";
69
- export * from "./commands/GetJourneyExecutionMetricsCommand";
70
- export * from "./commands/GetPushTemplateCommand";
71
- export * from "./commands/GetRecommenderConfigurationCommand";
72
- export * from "./commands/GetRecommenderConfigurationsCommand";
73
- export * from "./commands/GetSegmentCommand";
74
- export * from "./commands/GetSegmentExportJobsCommand";
75
- export * from "./commands/GetSegmentImportJobsCommand";
76
- export * from "./commands/GetSegmentsCommand";
77
- export * from "./commands/GetSegmentVersionCommand";
78
- export * from "./commands/GetSegmentVersionsCommand";
79
- export * from "./commands/GetSmsChannelCommand";
80
- export * from "./commands/GetSmsTemplateCommand";
81
- export * from "./commands/GetUserEndpointsCommand";
82
- export * from "./commands/GetVoiceChannelCommand";
83
- export * from "./commands/GetVoiceTemplateCommand";
84
- export * from "./commands/ListJourneysCommand";
85
- export * from "./commands/ListTagsForResourceCommand";
86
- export * from "./commands/ListTemplatesCommand";
87
- export * from "./commands/ListTemplateVersionsCommand";
88
- export * from "./commands/PhoneNumberValidateCommand";
89
- export * from "./commands/PutEventsCommand";
90
- export * from "./commands/PutEventStreamCommand";
91
- export * from "./commands/RemoveAttributesCommand";
92
- export * from "./commands/SendMessagesCommand";
93
- export * from "./commands/SendUsersMessagesCommand";
94
- export * from "./commands/TagResourceCommand";
95
- export * from "./commands/UntagResourceCommand";
96
- export * from "./commands/UpdateAdmChannelCommand";
97
- export * from "./commands/UpdateApnsChannelCommand";
98
- export * from "./commands/UpdateApnsSandboxChannelCommand";
99
- export * from "./commands/UpdateApnsVoipChannelCommand";
100
- export * from "./commands/UpdateApnsVoipSandboxChannelCommand";
101
- export * from "./commands/UpdateApplicationSettingsCommand";
102
- export * from "./commands/UpdateBaiduChannelCommand";
103
- export * from "./commands/UpdateCampaignCommand";
104
- export * from "./commands/UpdateEmailChannelCommand";
105
- export * from "./commands/UpdateEmailTemplateCommand";
106
- export * from "./commands/UpdateEndpointCommand";
107
- export * from "./commands/UpdateEndpointsBatchCommand";
108
- export * from "./commands/UpdateGcmChannelCommand";
109
- export * from "./commands/UpdateInAppTemplateCommand";
110
- export * from "./commands/UpdateJourneyCommand";
111
- export * from "./commands/UpdateJourneyStateCommand";
112
- export * from "./commands/UpdatePushTemplateCommand";
113
- export * from "./commands/UpdateRecommenderConfigurationCommand";
114
- export * from "./commands/UpdateSegmentCommand";
115
- export * from "./commands/UpdateSmsChannelCommand";
116
- export * from "./commands/UpdateSmsTemplateCommand";
117
- export * from "./commands/UpdateTemplateActiveVersionCommand";
118
- export * from "./commands/UpdateVoiceChannelCommand";
119
- export * from "./commands/UpdateVoiceTemplateCommand";
120
- export * from "./models/index";
2
+ export * from "./PinpointClient";
3
+ export * from "./commands";
4
+ export * from "./models";
@@ -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, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
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
  };
@@ -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, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
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
@@ -0,0 +1,117 @@
1
+ export * from "./CreateAppCommand";
2
+ export * from "./CreateCampaignCommand";
3
+ export * from "./CreateEmailTemplateCommand";
4
+ export * from "./CreateExportJobCommand";
5
+ export * from "./CreateImportJobCommand";
6
+ export * from "./CreateInAppTemplateCommand";
7
+ export * from "./CreateJourneyCommand";
8
+ export * from "./CreatePushTemplateCommand";
9
+ export * from "./CreateRecommenderConfigurationCommand";
10
+ export * from "./CreateSegmentCommand";
11
+ export * from "./CreateSmsTemplateCommand";
12
+ export * from "./CreateVoiceTemplateCommand";
13
+ export * from "./DeleteAdmChannelCommand";
14
+ export * from "./DeleteApnsChannelCommand";
15
+ export * from "./DeleteApnsSandboxChannelCommand";
16
+ export * from "./DeleteApnsVoipChannelCommand";
17
+ export * from "./DeleteApnsVoipSandboxChannelCommand";
18
+ export * from "./DeleteAppCommand";
19
+ export * from "./DeleteBaiduChannelCommand";
20
+ export * from "./DeleteCampaignCommand";
21
+ export * from "./DeleteEmailChannelCommand";
22
+ export * from "./DeleteEmailTemplateCommand";
23
+ export * from "./DeleteEndpointCommand";
24
+ export * from "./DeleteEventStreamCommand";
25
+ export * from "./DeleteGcmChannelCommand";
26
+ export * from "./DeleteInAppTemplateCommand";
27
+ export * from "./DeleteJourneyCommand";
28
+ export * from "./DeletePushTemplateCommand";
29
+ export * from "./DeleteRecommenderConfigurationCommand";
30
+ export * from "./DeleteSegmentCommand";
31
+ export * from "./DeleteSmsChannelCommand";
32
+ export * from "./DeleteSmsTemplateCommand";
33
+ export * from "./DeleteUserEndpointsCommand";
34
+ export * from "./DeleteVoiceChannelCommand";
35
+ export * from "./DeleteVoiceTemplateCommand";
36
+ export * from "./GetAdmChannelCommand";
37
+ export * from "./GetApnsChannelCommand";
38
+ export * from "./GetApnsSandboxChannelCommand";
39
+ export * from "./GetApnsVoipChannelCommand";
40
+ export * from "./GetApnsVoipSandboxChannelCommand";
41
+ export * from "./GetAppCommand";
42
+ export * from "./GetApplicationDateRangeKpiCommand";
43
+ export * from "./GetApplicationSettingsCommand";
44
+ export * from "./GetAppsCommand";
45
+ export * from "./GetBaiduChannelCommand";
46
+ export * from "./GetCampaignActivitiesCommand";
47
+ export * from "./GetCampaignCommand";
48
+ export * from "./GetCampaignDateRangeKpiCommand";
49
+ export * from "./GetCampaignVersionCommand";
50
+ export * from "./GetCampaignVersionsCommand";
51
+ export * from "./GetCampaignsCommand";
52
+ export * from "./GetChannelsCommand";
53
+ export * from "./GetEmailChannelCommand";
54
+ export * from "./GetEmailTemplateCommand";
55
+ export * from "./GetEndpointCommand";
56
+ export * from "./GetEventStreamCommand";
57
+ export * from "./GetExportJobCommand";
58
+ export * from "./GetExportJobsCommand";
59
+ export * from "./GetGcmChannelCommand";
60
+ export * from "./GetImportJobCommand";
61
+ export * from "./GetImportJobsCommand";
62
+ export * from "./GetInAppMessagesCommand";
63
+ export * from "./GetInAppTemplateCommand";
64
+ export * from "./GetJourneyCommand";
65
+ export * from "./GetJourneyDateRangeKpiCommand";
66
+ export * from "./GetJourneyExecutionActivityMetricsCommand";
67
+ export * from "./GetJourneyExecutionMetricsCommand";
68
+ export * from "./GetPushTemplateCommand";
69
+ export * from "./GetRecommenderConfigurationCommand";
70
+ export * from "./GetRecommenderConfigurationsCommand";
71
+ export * from "./GetSegmentCommand";
72
+ export * from "./GetSegmentExportJobsCommand";
73
+ export * from "./GetSegmentImportJobsCommand";
74
+ export * from "./GetSegmentVersionCommand";
75
+ export * from "./GetSegmentVersionsCommand";
76
+ export * from "./GetSegmentsCommand";
77
+ export * from "./GetSmsChannelCommand";
78
+ export * from "./GetSmsTemplateCommand";
79
+ export * from "./GetUserEndpointsCommand";
80
+ export * from "./GetVoiceChannelCommand";
81
+ export * from "./GetVoiceTemplateCommand";
82
+ export * from "./ListJourneysCommand";
83
+ export * from "./ListTagsForResourceCommand";
84
+ export * from "./ListTemplateVersionsCommand";
85
+ export * from "./ListTemplatesCommand";
86
+ export * from "./PhoneNumberValidateCommand";
87
+ export * from "./PutEventStreamCommand";
88
+ export * from "./PutEventsCommand";
89
+ export * from "./RemoveAttributesCommand";
90
+ export * from "./SendMessagesCommand";
91
+ export * from "./SendUsersMessagesCommand";
92
+ export * from "./TagResourceCommand";
93
+ export * from "./UntagResourceCommand";
94
+ export * from "./UpdateAdmChannelCommand";
95
+ export * from "./UpdateApnsChannelCommand";
96
+ export * from "./UpdateApnsSandboxChannelCommand";
97
+ export * from "./UpdateApnsVoipChannelCommand";
98
+ export * from "./UpdateApnsVoipSandboxChannelCommand";
99
+ export * from "./UpdateApplicationSettingsCommand";
100
+ export * from "./UpdateBaiduChannelCommand";
101
+ export * from "./UpdateCampaignCommand";
102
+ export * from "./UpdateEmailChannelCommand";
103
+ export * from "./UpdateEmailTemplateCommand";
104
+ export * from "./UpdateEndpointCommand";
105
+ export * from "./UpdateEndpointsBatchCommand";
106
+ export * from "./UpdateGcmChannelCommand";
107
+ export * from "./UpdateInAppTemplateCommand";
108
+ export * from "./UpdateJourneyCommand";
109
+ export * from "./UpdateJourneyStateCommand";
110
+ export * from "./UpdatePushTemplateCommand";
111
+ export * from "./UpdateRecommenderConfigurationCommand";
112
+ export * from "./UpdateSegmentCommand";
113
+ export * from "./UpdateSmsChannelCommand";
114
+ export * from "./UpdateSmsTemplateCommand";
115
+ export * from "./UpdateTemplateActiveVersionCommand";
116
+ export * from "./UpdateVoiceChannelCommand";
117
+ export * from "./UpdateVoiceTemplateCommand";
@@ -1,120 +1,4 @@
1
- export * from "./PinpointClient";
2
1
  export * from "./Pinpoint";
3
- export * from "./commands/CreateAppCommand";
4
- export * from "./commands/CreateCampaignCommand";
5
- export * from "./commands/CreateEmailTemplateCommand";
6
- export * from "./commands/CreateExportJobCommand";
7
- export * from "./commands/CreateImportJobCommand";
8
- export * from "./commands/CreateInAppTemplateCommand";
9
- export * from "./commands/CreateJourneyCommand";
10
- export * from "./commands/CreatePushTemplateCommand";
11
- export * from "./commands/CreateRecommenderConfigurationCommand";
12
- export * from "./commands/CreateSegmentCommand";
13
- export * from "./commands/CreateSmsTemplateCommand";
14
- export * from "./commands/CreateVoiceTemplateCommand";
15
- export * from "./commands/DeleteAdmChannelCommand";
16
- export * from "./commands/DeleteApnsChannelCommand";
17
- export * from "./commands/DeleteApnsSandboxChannelCommand";
18
- export * from "./commands/DeleteApnsVoipChannelCommand";
19
- export * from "./commands/DeleteApnsVoipSandboxChannelCommand";
20
- export * from "./commands/DeleteAppCommand";
21
- export * from "./commands/DeleteBaiduChannelCommand";
22
- export * from "./commands/DeleteCampaignCommand";
23
- export * from "./commands/DeleteEmailChannelCommand";
24
- export * from "./commands/DeleteEmailTemplateCommand";
25
- export * from "./commands/DeleteEndpointCommand";
26
- export * from "./commands/DeleteEventStreamCommand";
27
- export * from "./commands/DeleteGcmChannelCommand";
28
- export * from "./commands/DeleteInAppTemplateCommand";
29
- export * from "./commands/DeleteJourneyCommand";
30
- export * from "./commands/DeletePushTemplateCommand";
31
- export * from "./commands/DeleteRecommenderConfigurationCommand";
32
- export * from "./commands/DeleteSegmentCommand";
33
- export * from "./commands/DeleteSmsChannelCommand";
34
- export * from "./commands/DeleteSmsTemplateCommand";
35
- export * from "./commands/DeleteUserEndpointsCommand";
36
- export * from "./commands/DeleteVoiceChannelCommand";
37
- export * from "./commands/DeleteVoiceTemplateCommand";
38
- export * from "./commands/GetAdmChannelCommand";
39
- export * from "./commands/GetApnsChannelCommand";
40
- export * from "./commands/GetApnsSandboxChannelCommand";
41
- export * from "./commands/GetApnsVoipChannelCommand";
42
- export * from "./commands/GetApnsVoipSandboxChannelCommand";
43
- export * from "./commands/GetAppCommand";
44
- export * from "./commands/GetApplicationDateRangeKpiCommand";
45
- export * from "./commands/GetApplicationSettingsCommand";
46
- export * from "./commands/GetAppsCommand";
47
- export * from "./commands/GetBaiduChannelCommand";
48
- export * from "./commands/GetCampaignCommand";
49
- export * from "./commands/GetCampaignActivitiesCommand";
50
- export * from "./commands/GetCampaignDateRangeKpiCommand";
51
- export * from "./commands/GetCampaignsCommand";
52
- export * from "./commands/GetCampaignVersionCommand";
53
- export * from "./commands/GetCampaignVersionsCommand";
54
- export * from "./commands/GetChannelsCommand";
55
- export * from "./commands/GetEmailChannelCommand";
56
- export * from "./commands/GetEmailTemplateCommand";
57
- export * from "./commands/GetEndpointCommand";
58
- export * from "./commands/GetEventStreamCommand";
59
- export * from "./commands/GetExportJobCommand";
60
- export * from "./commands/GetExportJobsCommand";
61
- export * from "./commands/GetGcmChannelCommand";
62
- export * from "./commands/GetImportJobCommand";
63
- export * from "./commands/GetImportJobsCommand";
64
- export * from "./commands/GetInAppMessagesCommand";
65
- export * from "./commands/GetInAppTemplateCommand";
66
- export * from "./commands/GetJourneyCommand";
67
- export * from "./commands/GetJourneyDateRangeKpiCommand";
68
- export * from "./commands/GetJourneyExecutionActivityMetricsCommand";
69
- export * from "./commands/GetJourneyExecutionMetricsCommand";
70
- export * from "./commands/GetPushTemplateCommand";
71
- export * from "./commands/GetRecommenderConfigurationCommand";
72
- export * from "./commands/GetRecommenderConfigurationsCommand";
73
- export * from "./commands/GetSegmentCommand";
74
- export * from "./commands/GetSegmentExportJobsCommand";
75
- export * from "./commands/GetSegmentImportJobsCommand";
76
- export * from "./commands/GetSegmentsCommand";
77
- export * from "./commands/GetSegmentVersionCommand";
78
- export * from "./commands/GetSegmentVersionsCommand";
79
- export * from "./commands/GetSmsChannelCommand";
80
- export * from "./commands/GetSmsTemplateCommand";
81
- export * from "./commands/GetUserEndpointsCommand";
82
- export * from "./commands/GetVoiceChannelCommand";
83
- export * from "./commands/GetVoiceTemplateCommand";
84
- export * from "./commands/ListJourneysCommand";
85
- export * from "./commands/ListTagsForResourceCommand";
86
- export * from "./commands/ListTemplatesCommand";
87
- export * from "./commands/ListTemplateVersionsCommand";
88
- export * from "./commands/PhoneNumberValidateCommand";
89
- export * from "./commands/PutEventsCommand";
90
- export * from "./commands/PutEventStreamCommand";
91
- export * from "./commands/RemoveAttributesCommand";
92
- export * from "./commands/SendMessagesCommand";
93
- export * from "./commands/SendUsersMessagesCommand";
94
- export * from "./commands/TagResourceCommand";
95
- export * from "./commands/UntagResourceCommand";
96
- export * from "./commands/UpdateAdmChannelCommand";
97
- export * from "./commands/UpdateApnsChannelCommand";
98
- export * from "./commands/UpdateApnsSandboxChannelCommand";
99
- export * from "./commands/UpdateApnsVoipChannelCommand";
100
- export * from "./commands/UpdateApnsVoipSandboxChannelCommand";
101
- export * from "./commands/UpdateApplicationSettingsCommand";
102
- export * from "./commands/UpdateBaiduChannelCommand";
103
- export * from "./commands/UpdateCampaignCommand";
104
- export * from "./commands/UpdateEmailChannelCommand";
105
- export * from "./commands/UpdateEmailTemplateCommand";
106
- export * from "./commands/UpdateEndpointCommand";
107
- export * from "./commands/UpdateEndpointsBatchCommand";
108
- export * from "./commands/UpdateGcmChannelCommand";
109
- export * from "./commands/UpdateInAppTemplateCommand";
110
- export * from "./commands/UpdateJourneyCommand";
111
- export * from "./commands/UpdateJourneyStateCommand";
112
- export * from "./commands/UpdatePushTemplateCommand";
113
- export * from "./commands/UpdateRecommenderConfigurationCommand";
114
- export * from "./commands/UpdateSegmentCommand";
115
- export * from "./commands/UpdateSmsChannelCommand";
116
- export * from "./commands/UpdateSmsTemplateCommand";
117
- export * from "./commands/UpdateTemplateActiveVersionCommand";
118
- export * from "./commands/UpdateVoiceChannelCommand";
119
- export * from "./commands/UpdateVoiceTemplateCommand";
120
- export * from "./models/index";
2
+ export * from "./PinpointClient";
3
+ export * from "./commands";
4
+ export * from "./models";
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
18
18
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
19
  retryMode: string | import("@aws-sdk/types").Provider<string>;
20
20
  logger: import("@aws-sdk/types").Logger;
21
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
23
  serviceId: string;
22
24
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
@@ -155,6 +155,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
155
155
 
156
156
  logger?: __Logger;
157
157
 
158
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
159
+
160
+ useFipsEndpoint?: boolean | __Provider<boolean>;
161
+
158
162
  serviceId?: string;
159
163
 
160
164
  region?: string | __Provider<string>;