@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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
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.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-pinpoint
20
+
21
+
22
+
23
+
24
+
25
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
26
+
27
+
28
+ ### Features
29
+
30
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
31
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
32
+
33
+
34
+
35
+
36
+
37
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
38
+
39
+
40
+ ### Features
41
+
42
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
43
+
44
+
45
+
46
+
47
+
6
48
  ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
49
 
8
50
 
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateAppCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateCampaignCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateEmailTemplateCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateExportJobCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateImportJobCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateInAppTemplateCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateJourneyCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreatePushTemplateCommand"), exports);
12
+ tslib_1.__exportStar(require("./CreateRecommenderConfigurationCommand"), exports);
13
+ tslib_1.__exportStar(require("./CreateSegmentCommand"), exports);
14
+ tslib_1.__exportStar(require("./CreateSmsTemplateCommand"), exports);
15
+ tslib_1.__exportStar(require("./CreateVoiceTemplateCommand"), exports);
16
+ tslib_1.__exportStar(require("./DeleteAdmChannelCommand"), exports);
17
+ tslib_1.__exportStar(require("./DeleteApnsChannelCommand"), exports);
18
+ tslib_1.__exportStar(require("./DeleteApnsSandboxChannelCommand"), exports);
19
+ tslib_1.__exportStar(require("./DeleteApnsVoipChannelCommand"), exports);
20
+ tslib_1.__exportStar(require("./DeleteApnsVoipSandboxChannelCommand"), exports);
21
+ tslib_1.__exportStar(require("./DeleteAppCommand"), exports);
22
+ tslib_1.__exportStar(require("./DeleteBaiduChannelCommand"), exports);
23
+ tslib_1.__exportStar(require("./DeleteCampaignCommand"), exports);
24
+ tslib_1.__exportStar(require("./DeleteEmailChannelCommand"), exports);
25
+ tslib_1.__exportStar(require("./DeleteEmailTemplateCommand"), exports);
26
+ tslib_1.__exportStar(require("./DeleteEndpointCommand"), exports);
27
+ tslib_1.__exportStar(require("./DeleteEventStreamCommand"), exports);
28
+ tslib_1.__exportStar(require("./DeleteGcmChannelCommand"), exports);
29
+ tslib_1.__exportStar(require("./DeleteInAppTemplateCommand"), exports);
30
+ tslib_1.__exportStar(require("./DeleteJourneyCommand"), exports);
31
+ tslib_1.__exportStar(require("./DeletePushTemplateCommand"), exports);
32
+ tslib_1.__exportStar(require("./DeleteRecommenderConfigurationCommand"), exports);
33
+ tslib_1.__exportStar(require("./DeleteSegmentCommand"), exports);
34
+ tslib_1.__exportStar(require("./DeleteSmsChannelCommand"), exports);
35
+ tslib_1.__exportStar(require("./DeleteSmsTemplateCommand"), exports);
36
+ tslib_1.__exportStar(require("./DeleteUserEndpointsCommand"), exports);
37
+ tslib_1.__exportStar(require("./DeleteVoiceChannelCommand"), exports);
38
+ tslib_1.__exportStar(require("./DeleteVoiceTemplateCommand"), exports);
39
+ tslib_1.__exportStar(require("./GetAdmChannelCommand"), exports);
40
+ tslib_1.__exportStar(require("./GetApnsChannelCommand"), exports);
41
+ tslib_1.__exportStar(require("./GetApnsSandboxChannelCommand"), exports);
42
+ tslib_1.__exportStar(require("./GetApnsVoipChannelCommand"), exports);
43
+ tslib_1.__exportStar(require("./GetApnsVoipSandboxChannelCommand"), exports);
44
+ tslib_1.__exportStar(require("./GetAppCommand"), exports);
45
+ tslib_1.__exportStar(require("./GetApplicationDateRangeKpiCommand"), exports);
46
+ tslib_1.__exportStar(require("./GetApplicationSettingsCommand"), exports);
47
+ tslib_1.__exportStar(require("./GetAppsCommand"), exports);
48
+ tslib_1.__exportStar(require("./GetBaiduChannelCommand"), exports);
49
+ tslib_1.__exportStar(require("./GetCampaignActivitiesCommand"), exports);
50
+ tslib_1.__exportStar(require("./GetCampaignCommand"), exports);
51
+ tslib_1.__exportStar(require("./GetCampaignDateRangeKpiCommand"), exports);
52
+ tslib_1.__exportStar(require("./GetCampaignVersionCommand"), exports);
53
+ tslib_1.__exportStar(require("./GetCampaignVersionsCommand"), exports);
54
+ tslib_1.__exportStar(require("./GetCampaignsCommand"), exports);
55
+ tslib_1.__exportStar(require("./GetChannelsCommand"), exports);
56
+ tslib_1.__exportStar(require("./GetEmailChannelCommand"), exports);
57
+ tslib_1.__exportStar(require("./GetEmailTemplateCommand"), exports);
58
+ tslib_1.__exportStar(require("./GetEndpointCommand"), exports);
59
+ tslib_1.__exportStar(require("./GetEventStreamCommand"), exports);
60
+ tslib_1.__exportStar(require("./GetExportJobCommand"), exports);
61
+ tslib_1.__exportStar(require("./GetExportJobsCommand"), exports);
62
+ tslib_1.__exportStar(require("./GetGcmChannelCommand"), exports);
63
+ tslib_1.__exportStar(require("./GetImportJobCommand"), exports);
64
+ tslib_1.__exportStar(require("./GetImportJobsCommand"), exports);
65
+ tslib_1.__exportStar(require("./GetInAppMessagesCommand"), exports);
66
+ tslib_1.__exportStar(require("./GetInAppTemplateCommand"), exports);
67
+ tslib_1.__exportStar(require("./GetJourneyCommand"), exports);
68
+ tslib_1.__exportStar(require("./GetJourneyDateRangeKpiCommand"), exports);
69
+ tslib_1.__exportStar(require("./GetJourneyExecutionActivityMetricsCommand"), exports);
70
+ tslib_1.__exportStar(require("./GetJourneyExecutionMetricsCommand"), exports);
71
+ tslib_1.__exportStar(require("./GetPushTemplateCommand"), exports);
72
+ tslib_1.__exportStar(require("./GetRecommenderConfigurationCommand"), exports);
73
+ tslib_1.__exportStar(require("./GetRecommenderConfigurationsCommand"), exports);
74
+ tslib_1.__exportStar(require("./GetSegmentCommand"), exports);
75
+ tslib_1.__exportStar(require("./GetSegmentExportJobsCommand"), exports);
76
+ tslib_1.__exportStar(require("./GetSegmentImportJobsCommand"), exports);
77
+ tslib_1.__exportStar(require("./GetSegmentVersionCommand"), exports);
78
+ tslib_1.__exportStar(require("./GetSegmentVersionsCommand"), exports);
79
+ tslib_1.__exportStar(require("./GetSegmentsCommand"), exports);
80
+ tslib_1.__exportStar(require("./GetSmsChannelCommand"), exports);
81
+ tslib_1.__exportStar(require("./GetSmsTemplateCommand"), exports);
82
+ tslib_1.__exportStar(require("./GetUserEndpointsCommand"), exports);
83
+ tslib_1.__exportStar(require("./GetVoiceChannelCommand"), exports);
84
+ tslib_1.__exportStar(require("./GetVoiceTemplateCommand"), exports);
85
+ tslib_1.__exportStar(require("./ListJourneysCommand"), exports);
86
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
87
+ tslib_1.__exportStar(require("./ListTemplateVersionsCommand"), exports);
88
+ tslib_1.__exportStar(require("./ListTemplatesCommand"), exports);
89
+ tslib_1.__exportStar(require("./PhoneNumberValidateCommand"), exports);
90
+ tslib_1.__exportStar(require("./PutEventStreamCommand"), exports);
91
+ tslib_1.__exportStar(require("./PutEventsCommand"), exports);
92
+ tslib_1.__exportStar(require("./RemoveAttributesCommand"), exports);
93
+ tslib_1.__exportStar(require("./SendMessagesCommand"), exports);
94
+ tslib_1.__exportStar(require("./SendUsersMessagesCommand"), exports);
95
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
96
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
97
+ tslib_1.__exportStar(require("./UpdateAdmChannelCommand"), exports);
98
+ tslib_1.__exportStar(require("./UpdateApnsChannelCommand"), exports);
99
+ tslib_1.__exportStar(require("./UpdateApnsSandboxChannelCommand"), exports);
100
+ tslib_1.__exportStar(require("./UpdateApnsVoipChannelCommand"), exports);
101
+ tslib_1.__exportStar(require("./UpdateApnsVoipSandboxChannelCommand"), exports);
102
+ tslib_1.__exportStar(require("./UpdateApplicationSettingsCommand"), exports);
103
+ tslib_1.__exportStar(require("./UpdateBaiduChannelCommand"), exports);
104
+ tslib_1.__exportStar(require("./UpdateCampaignCommand"), exports);
105
+ tslib_1.__exportStar(require("./UpdateEmailChannelCommand"), exports);
106
+ tslib_1.__exportStar(require("./UpdateEmailTemplateCommand"), exports);
107
+ tslib_1.__exportStar(require("./UpdateEndpointCommand"), exports);
108
+ tslib_1.__exportStar(require("./UpdateEndpointsBatchCommand"), exports);
109
+ tslib_1.__exportStar(require("./UpdateGcmChannelCommand"), exports);
110
+ tslib_1.__exportStar(require("./UpdateInAppTemplateCommand"), exports);
111
+ tslib_1.__exportStar(require("./UpdateJourneyCommand"), exports);
112
+ tslib_1.__exportStar(require("./UpdateJourneyStateCommand"), exports);
113
+ tslib_1.__exportStar(require("./UpdatePushTemplateCommand"), exports);
114
+ tslib_1.__exportStar(require("./UpdateRecommenderConfigurationCommand"), exports);
115
+ tslib_1.__exportStar(require("./UpdateSegmentCommand"), exports);
116
+ tslib_1.__exportStar(require("./UpdateSmsChannelCommand"), exports);
117
+ tslib_1.__exportStar(require("./UpdateSmsTemplateCommand"), exports);
118
+ tslib_1.__exportStar(require("./UpdateTemplateActiveVersionCommand"), exports);
119
+ tslib_1.__exportStar(require("./UpdateVoiceChannelCommand"), exports);
120
+ tslib_1.__exportStar(require("./UpdateVoiceTemplateCommand"), exports);
@@ -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
- hostname: "pinpoint.us-east-1.amazonaws.com",
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
- hostname: "pinpoint.us-gov-west-1.amazonaws.com",
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
- hostname: "pinpoint.us-west-2.amazonaws.com",
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,89 @@ const partitionHash = {
55
70
  "us-west-1",
56
71
  "us-west-2",
57
72
  ],
58
- hostname: "pinpoint.{region}.amazonaws.com",
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
- hostname: "pinpoint.{region}.amazonaws.com.cn",
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
- regions: ["us-iso-east-1"],
66
- hostname: "pinpoint.{region}.c2s.ic.gov",
116
+ regions: ["us-iso-east-1", "us-iso-west-1"],
117
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
118
+ variants: [
119
+ {
120
+ hostname: "pinpoint.{region}.c2s.ic.gov",
121
+ tags: [],
122
+ },
123
+ ],
67
124
  },
68
125
  "aws-iso-b": {
69
126
  regions: ["us-isob-east-1"],
70
- hostname: "pinpoint.{region}.sc2s.sgov.gov",
127
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
128
+ variants: [
129
+ {
130
+ hostname: "pinpoint.{region}.sc2s.sgov.gov",
131
+ tags: [],
132
+ },
133
+ ],
71
134
  },
72
135
  "aws-us-gov": {
73
136
  regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
74
- hostname: "pinpoint.{region}.amazonaws.com",
137
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
138
+ variants: [
139
+ {
140
+ hostname: "pinpoint.{region}.amazonaws.com",
141
+ tags: [],
142
+ },
143
+ {
144
+ hostname: "pinpoint-fips.{region}.amazonaws.com",
145
+ tags: ["fips"],
146
+ },
147
+ {
148
+ hostname: "pinpoint-fips.{region}.api.aws",
149
+ tags: ["dualstack", "fips"],
150
+ },
151
+ {
152
+ hostname: "pinpoint.{region}.api.aws",
153
+ tags: ["dualstack"],
154
+ },
155
+ ],
75
156
  },
76
157
  };
77
158
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
package/dist-cjs/index.js CHANGED
@@ -1,123 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./PinpointClient"), exports);
5
4
  tslib_1.__exportStar(require("./Pinpoint"), exports);
6
- tslib_1.__exportStar(require("./commands/CreateAppCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CreateCampaignCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateEmailTemplateCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateExportJobCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateImportJobCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateInAppTemplateCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreateJourneyCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/CreatePushTemplateCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/CreateRecommenderConfigurationCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/CreateSegmentCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/CreateSmsTemplateCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/CreateVoiceTemplateCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DeleteAdmChannelCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DeleteApnsChannelCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/DeleteApnsSandboxChannelCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DeleteApnsVoipChannelCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DeleteApnsVoipSandboxChannelCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DeleteAppCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DeleteBaiduChannelCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/DeleteCampaignCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/DeleteEmailChannelCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/DeleteEmailTemplateCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/DeleteEndpointCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/DeleteEventStreamCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/DeleteGcmChannelCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/DeleteInAppTemplateCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/DeleteJourneyCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/DeletePushTemplateCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/DeleteRecommenderConfigurationCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/DeleteSegmentCommand"), exports);
36
- tslib_1.__exportStar(require("./commands/DeleteSmsChannelCommand"), exports);
37
- tslib_1.__exportStar(require("./commands/DeleteSmsTemplateCommand"), exports);
38
- tslib_1.__exportStar(require("./commands/DeleteUserEndpointsCommand"), exports);
39
- tslib_1.__exportStar(require("./commands/DeleteVoiceChannelCommand"), exports);
40
- tslib_1.__exportStar(require("./commands/DeleteVoiceTemplateCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/GetAdmChannelCommand"), exports);
42
- tslib_1.__exportStar(require("./commands/GetApnsChannelCommand"), exports);
43
- tslib_1.__exportStar(require("./commands/GetApnsSandboxChannelCommand"), exports);
44
- tslib_1.__exportStar(require("./commands/GetApnsVoipChannelCommand"), exports);
45
- tslib_1.__exportStar(require("./commands/GetApnsVoipSandboxChannelCommand"), exports);
46
- tslib_1.__exportStar(require("./commands/GetAppCommand"), exports);
47
- tslib_1.__exportStar(require("./commands/GetApplicationDateRangeKpiCommand"), exports);
48
- tslib_1.__exportStar(require("./commands/GetApplicationSettingsCommand"), exports);
49
- tslib_1.__exportStar(require("./commands/GetAppsCommand"), exports);
50
- tslib_1.__exportStar(require("./commands/GetBaiduChannelCommand"), exports);
51
- tslib_1.__exportStar(require("./commands/GetCampaignCommand"), exports);
52
- tslib_1.__exportStar(require("./commands/GetCampaignActivitiesCommand"), exports);
53
- tslib_1.__exportStar(require("./commands/GetCampaignDateRangeKpiCommand"), exports);
54
- tslib_1.__exportStar(require("./commands/GetCampaignsCommand"), exports);
55
- tslib_1.__exportStar(require("./commands/GetCampaignVersionCommand"), exports);
56
- tslib_1.__exportStar(require("./commands/GetCampaignVersionsCommand"), exports);
57
- tslib_1.__exportStar(require("./commands/GetChannelsCommand"), exports);
58
- tslib_1.__exportStar(require("./commands/GetEmailChannelCommand"), exports);
59
- tslib_1.__exportStar(require("./commands/GetEmailTemplateCommand"), exports);
60
- tslib_1.__exportStar(require("./commands/GetEndpointCommand"), exports);
61
- tslib_1.__exportStar(require("./commands/GetEventStreamCommand"), exports);
62
- tslib_1.__exportStar(require("./commands/GetExportJobCommand"), exports);
63
- tslib_1.__exportStar(require("./commands/GetExportJobsCommand"), exports);
64
- tslib_1.__exportStar(require("./commands/GetGcmChannelCommand"), exports);
65
- tslib_1.__exportStar(require("./commands/GetImportJobCommand"), exports);
66
- tslib_1.__exportStar(require("./commands/GetImportJobsCommand"), exports);
67
- tslib_1.__exportStar(require("./commands/GetInAppMessagesCommand"), exports);
68
- tslib_1.__exportStar(require("./commands/GetInAppTemplateCommand"), exports);
69
- tslib_1.__exportStar(require("./commands/GetJourneyCommand"), exports);
70
- tslib_1.__exportStar(require("./commands/GetJourneyDateRangeKpiCommand"), exports);
71
- tslib_1.__exportStar(require("./commands/GetJourneyExecutionActivityMetricsCommand"), exports);
72
- tslib_1.__exportStar(require("./commands/GetJourneyExecutionMetricsCommand"), exports);
73
- tslib_1.__exportStar(require("./commands/GetPushTemplateCommand"), exports);
74
- tslib_1.__exportStar(require("./commands/GetRecommenderConfigurationCommand"), exports);
75
- tslib_1.__exportStar(require("./commands/GetRecommenderConfigurationsCommand"), exports);
76
- tslib_1.__exportStar(require("./commands/GetSegmentCommand"), exports);
77
- tslib_1.__exportStar(require("./commands/GetSegmentExportJobsCommand"), exports);
78
- tslib_1.__exportStar(require("./commands/GetSegmentImportJobsCommand"), exports);
79
- tslib_1.__exportStar(require("./commands/GetSegmentsCommand"), exports);
80
- tslib_1.__exportStar(require("./commands/GetSegmentVersionCommand"), exports);
81
- tslib_1.__exportStar(require("./commands/GetSegmentVersionsCommand"), exports);
82
- tslib_1.__exportStar(require("./commands/GetSmsChannelCommand"), exports);
83
- tslib_1.__exportStar(require("./commands/GetSmsTemplateCommand"), exports);
84
- tslib_1.__exportStar(require("./commands/GetUserEndpointsCommand"), exports);
85
- tslib_1.__exportStar(require("./commands/GetVoiceChannelCommand"), exports);
86
- tslib_1.__exportStar(require("./commands/GetVoiceTemplateCommand"), exports);
87
- tslib_1.__exportStar(require("./commands/ListJourneysCommand"), exports);
88
- tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
89
- tslib_1.__exportStar(require("./commands/ListTemplatesCommand"), exports);
90
- tslib_1.__exportStar(require("./commands/ListTemplateVersionsCommand"), exports);
91
- tslib_1.__exportStar(require("./commands/PhoneNumberValidateCommand"), exports);
92
- tslib_1.__exportStar(require("./commands/PutEventsCommand"), exports);
93
- tslib_1.__exportStar(require("./commands/PutEventStreamCommand"), exports);
94
- tslib_1.__exportStar(require("./commands/RemoveAttributesCommand"), exports);
95
- tslib_1.__exportStar(require("./commands/SendMessagesCommand"), exports);
96
- tslib_1.__exportStar(require("./commands/SendUsersMessagesCommand"), exports);
97
- tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
98
- tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
99
- tslib_1.__exportStar(require("./commands/UpdateAdmChannelCommand"), exports);
100
- tslib_1.__exportStar(require("./commands/UpdateApnsChannelCommand"), exports);
101
- tslib_1.__exportStar(require("./commands/UpdateApnsSandboxChannelCommand"), exports);
102
- tslib_1.__exportStar(require("./commands/UpdateApnsVoipChannelCommand"), exports);
103
- tslib_1.__exportStar(require("./commands/UpdateApnsVoipSandboxChannelCommand"), exports);
104
- tslib_1.__exportStar(require("./commands/UpdateApplicationSettingsCommand"), exports);
105
- tslib_1.__exportStar(require("./commands/UpdateBaiduChannelCommand"), exports);
106
- tslib_1.__exportStar(require("./commands/UpdateCampaignCommand"), exports);
107
- tslib_1.__exportStar(require("./commands/UpdateEmailChannelCommand"), exports);
108
- tslib_1.__exportStar(require("./commands/UpdateEmailTemplateCommand"), exports);
109
- tslib_1.__exportStar(require("./commands/UpdateEndpointCommand"), exports);
110
- tslib_1.__exportStar(require("./commands/UpdateEndpointsBatchCommand"), exports);
111
- tslib_1.__exportStar(require("./commands/UpdateGcmChannelCommand"), exports);
112
- tslib_1.__exportStar(require("./commands/UpdateInAppTemplateCommand"), exports);
113
- tslib_1.__exportStar(require("./commands/UpdateJourneyCommand"), exports);
114
- tslib_1.__exportStar(require("./commands/UpdateJourneyStateCommand"), exports);
115
- tslib_1.__exportStar(require("./commands/UpdatePushTemplateCommand"), exports);
116
- tslib_1.__exportStar(require("./commands/UpdateRecommenderConfigurationCommand"), exports);
117
- tslib_1.__exportStar(require("./commands/UpdateSegmentCommand"), exports);
118
- tslib_1.__exportStar(require("./commands/UpdateSmsChannelCommand"), exports);
119
- tslib_1.__exportStar(require("./commands/UpdateSmsTemplateCommand"), exports);
120
- tslib_1.__exportStar(require("./commands/UpdateTemplateActiveVersionCommand"), exports);
121
- tslib_1.__exportStar(require("./commands/UpdateVoiceChannelCommand"), exports);
122
- tslib_1.__exportStar(require("./commands/UpdateVoiceTemplateCommand"), exports);
123
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./PinpointClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
@@ -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
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
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
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
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;
@@ -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";