@aws-sdk/client-pinpoint 3.569.0 → 3.573.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +24 -0
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +6 -0
- package/dist-types/commands/DeleteCampaignCommand.d.ts +12 -0
- package/dist-types/commands/GetCampaignCommand.d.ts +12 -0
- package/dist-types/commands/GetCampaignVersionCommand.d.ts +13 -2
- package/dist-types/commands/GetCampaignVersionsCommand.d.ts +12 -0
- package/dist-types/commands/GetCampaignsCommand.d.ts +12 -0
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +6 -0
- package/dist-types/commands/SendMessagesCommand.d.ts +6 -0
- package/dist-types/commands/SendUsersMessagesCommand.d.ts +6 -0
- package/dist-types/commands/UpdateCampaignCommand.d.ts +24 -0
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +36 -20
- package/dist-types/models/models_1.d.ts +20 -0
- package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +8 -5
- package/dist-types/ts3.4/models/models_1.d.ts +5 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -3947,6 +3947,7 @@ var se_EmailMessage = /* @__PURE__ */ __name((input, context) => {
|
|
|
3947
3947
|
var se_EmailTemplateRequest = /* @__PURE__ */ __name((input, context) => {
|
|
3948
3948
|
return (0, import_smithy_client.take)(input, {
|
|
3949
3949
|
DefaultSubstitutions: [],
|
|
3950
|
+
Headers: import_smithy_client._json,
|
|
3950
3951
|
HtmlPart: [],
|
|
3951
3952
|
RecommenderId: [],
|
|
3952
3953
|
Subject: [],
|
|
@@ -4478,6 +4479,7 @@ var de_EmailTemplateResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
4478
4479
|
Arn: import_smithy_client.expectString,
|
|
4479
4480
|
CreationDate: import_smithy_client.expectString,
|
|
4480
4481
|
DefaultSubstitutions: import_smithy_client.expectString,
|
|
4482
|
+
Headers: import_smithy_client._json,
|
|
4481
4483
|
HtmlPart: import_smithy_client.expectString,
|
|
4482
4484
|
LastModifiedDate: import_smithy_client.expectString,
|
|
4483
4485
|
RecommenderId: import_smithy_client.expectString,
|
|
@@ -3257,6 +3257,7 @@ const se_EmailMessage = (input, context) => {
|
|
|
3257
3257
|
const se_EmailTemplateRequest = (input, context) => {
|
|
3258
3258
|
return take(input, {
|
|
3259
3259
|
DefaultSubstitutions: [],
|
|
3260
|
+
Headers: _json,
|
|
3260
3261
|
HtmlPart: [],
|
|
3261
3262
|
RecommenderId: [],
|
|
3262
3263
|
Subject: [],
|
|
@@ -3800,6 +3801,7 @@ const de_EmailTemplateResponse = (output, context) => {
|
|
|
3800
3801
|
Arn: __expectString,
|
|
3801
3802
|
CreationDate: __expectString,
|
|
3802
3803
|
DefaultSubstitutions: __expectString,
|
|
3804
|
+
Headers: _json,
|
|
3803
3805
|
HtmlPart: __expectString,
|
|
3804
3806
|
LastModifiedDate: __expectString,
|
|
3805
3807
|
RecommenderId: __expectString,
|
|
@@ -107,6 +107,12 @@ declare const CreateCampaignCommand_base: {
|
|
|
107
107
|
* EmailMessage: { // CampaignEmailMessage
|
|
108
108
|
* Body: "STRING_VALUE",
|
|
109
109
|
* FromAddress: "STRING_VALUE",
|
|
110
|
+
* Headers: [ // ListOfMessageHeader
|
|
111
|
+
* { // MessageHeader
|
|
112
|
+
* Name: "STRING_VALUE",
|
|
113
|
+
* Value: "STRING_VALUE",
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
110
116
|
* HtmlBody: "STRING_VALUE",
|
|
111
117
|
* Title: "STRING_VALUE",
|
|
112
118
|
* },
|
|
@@ -292,6 +298,12 @@ declare const CreateCampaignCommand_base: {
|
|
|
292
298
|
* EmailMessage: {
|
|
293
299
|
* Body: "STRING_VALUE",
|
|
294
300
|
* FromAddress: "STRING_VALUE",
|
|
301
|
+
* Headers: [
|
|
302
|
+
* {
|
|
303
|
+
* Name: "STRING_VALUE",
|
|
304
|
+
* Value: "STRING_VALUE",
|
|
305
|
+
* },
|
|
306
|
+
* ],
|
|
295
307
|
* HtmlBody: "STRING_VALUE",
|
|
296
308
|
* Title: "STRING_VALUE",
|
|
297
309
|
* },
|
|
@@ -478,6 +490,12 @@ declare const CreateCampaignCommand_base: {
|
|
|
478
490
|
* // EmailMessage: { // CampaignEmailMessage
|
|
479
491
|
* // Body: "STRING_VALUE",
|
|
480
492
|
* // FromAddress: "STRING_VALUE",
|
|
493
|
+
* // Headers: [ // ListOfMessageHeader
|
|
494
|
+
* // { // MessageHeader
|
|
495
|
+
* // Name: "STRING_VALUE",
|
|
496
|
+
* // Value: "STRING_VALUE",
|
|
497
|
+
* // },
|
|
498
|
+
* // ],
|
|
481
499
|
* // HtmlBody: "STRING_VALUE",
|
|
482
500
|
* // Title: "STRING_VALUE",
|
|
483
501
|
* // },
|
|
@@ -674,6 +692,12 @@ declare const CreateCampaignCommand_base: {
|
|
|
674
692
|
* // EmailMessage: {
|
|
675
693
|
* // Body: "STRING_VALUE",
|
|
676
694
|
* // FromAddress: "STRING_VALUE",
|
|
695
|
+
* // Headers: [
|
|
696
|
+
* // {
|
|
697
|
+
* // Name: "STRING_VALUE",
|
|
698
|
+
* // Value: "STRING_VALUE",
|
|
699
|
+
* // },
|
|
700
|
+
* // ],
|
|
677
701
|
* // HtmlBody: "STRING_VALUE",
|
|
678
702
|
* // Title: "STRING_VALUE",
|
|
679
703
|
* // },
|
|
@@ -39,6 +39,12 @@ declare const CreateEmailTemplateCommand_base: {
|
|
|
39
39
|
* HtmlPart: "STRING_VALUE",
|
|
40
40
|
* RecommenderId: "STRING_VALUE",
|
|
41
41
|
* Subject: "STRING_VALUE",
|
|
42
|
+
* Headers: [ // ListOfMessageHeader
|
|
43
|
+
* { // MessageHeader
|
|
44
|
+
* Name: "STRING_VALUE",
|
|
45
|
+
* Value: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
42
48
|
* tags: { // MapOf__string
|
|
43
49
|
* "<keys>": "STRING_VALUE",
|
|
44
50
|
* },
|
|
@@ -113,6 +113,12 @@ declare const DeleteCampaignCommand_base: {
|
|
|
113
113
|
* // EmailMessage: { // CampaignEmailMessage
|
|
114
114
|
* // Body: "STRING_VALUE",
|
|
115
115
|
* // FromAddress: "STRING_VALUE",
|
|
116
|
+
* // Headers: [ // ListOfMessageHeader
|
|
117
|
+
* // { // MessageHeader
|
|
118
|
+
* // Name: "STRING_VALUE",
|
|
119
|
+
* // Value: "STRING_VALUE",
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
116
122
|
* // HtmlBody: "STRING_VALUE",
|
|
117
123
|
* // Title: "STRING_VALUE",
|
|
118
124
|
* // },
|
|
@@ -309,6 +315,12 @@ declare const DeleteCampaignCommand_base: {
|
|
|
309
315
|
* // EmailMessage: {
|
|
310
316
|
* // Body: "STRING_VALUE",
|
|
311
317
|
* // FromAddress: "STRING_VALUE",
|
|
318
|
+
* // Headers: [
|
|
319
|
+
* // {
|
|
320
|
+
* // Name: "STRING_VALUE",
|
|
321
|
+
* // Value: "STRING_VALUE",
|
|
322
|
+
* // },
|
|
323
|
+
* // ],
|
|
312
324
|
* // HtmlBody: "STRING_VALUE",
|
|
313
325
|
* // Title: "STRING_VALUE",
|
|
314
326
|
* // },
|
|
@@ -113,6 +113,12 @@ declare const GetCampaignCommand_base: {
|
|
|
113
113
|
* // EmailMessage: { // CampaignEmailMessage
|
|
114
114
|
* // Body: "STRING_VALUE",
|
|
115
115
|
* // FromAddress: "STRING_VALUE",
|
|
116
|
+
* // Headers: [ // ListOfMessageHeader
|
|
117
|
+
* // { // MessageHeader
|
|
118
|
+
* // Name: "STRING_VALUE",
|
|
119
|
+
* // Value: "STRING_VALUE",
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
116
122
|
* // HtmlBody: "STRING_VALUE",
|
|
117
123
|
* // Title: "STRING_VALUE",
|
|
118
124
|
* // },
|
|
@@ -309,6 +315,12 @@ declare const GetCampaignCommand_base: {
|
|
|
309
315
|
* // EmailMessage: {
|
|
310
316
|
* // Body: "STRING_VALUE",
|
|
311
317
|
* // FromAddress: "STRING_VALUE",
|
|
318
|
+
* // Headers: [
|
|
319
|
+
* // {
|
|
320
|
+
* // Name: "STRING_VALUE",
|
|
321
|
+
* // Value: "STRING_VALUE",
|
|
322
|
+
* // },
|
|
323
|
+
* // ],
|
|
312
324
|
* // HtmlBody: "STRING_VALUE",
|
|
313
325
|
* // Title: "STRING_VALUE",
|
|
314
326
|
* // },
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetCampaignVersionRequest } from "../models/
|
|
4
|
-
import { GetCampaignVersionResponse } from "../models/models_1";
|
|
3
|
+
import { GetCampaignVersionRequest, GetCampaignVersionResponse } from "../models/models_1";
|
|
5
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -115,6 +114,12 @@ declare const GetCampaignVersionCommand_base: {
|
|
|
115
114
|
* // EmailMessage: { // CampaignEmailMessage
|
|
116
115
|
* // Body: "STRING_VALUE",
|
|
117
116
|
* // FromAddress: "STRING_VALUE",
|
|
117
|
+
* // Headers: [ // ListOfMessageHeader
|
|
118
|
+
* // { // MessageHeader
|
|
119
|
+
* // Name: "STRING_VALUE",
|
|
120
|
+
* // Value: "STRING_VALUE",
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
118
123
|
* // HtmlBody: "STRING_VALUE",
|
|
119
124
|
* // Title: "STRING_VALUE",
|
|
120
125
|
* // },
|
|
@@ -311,6 +316,12 @@ declare const GetCampaignVersionCommand_base: {
|
|
|
311
316
|
* // EmailMessage: {
|
|
312
317
|
* // Body: "STRING_VALUE",
|
|
313
318
|
* // FromAddress: "STRING_VALUE",
|
|
319
|
+
* // Headers: [
|
|
320
|
+
* // {
|
|
321
|
+
* // Name: "STRING_VALUE",
|
|
322
|
+
* // Value: "STRING_VALUE",
|
|
323
|
+
* // },
|
|
324
|
+
* // ],
|
|
314
325
|
* // HtmlBody: "STRING_VALUE",
|
|
315
326
|
* // Title: "STRING_VALUE",
|
|
316
327
|
* // },
|
|
@@ -117,6 +117,12 @@ declare const GetCampaignVersionsCommand_base: {
|
|
|
117
117
|
* // EmailMessage: { // CampaignEmailMessage
|
|
118
118
|
* // Body: "STRING_VALUE",
|
|
119
119
|
* // FromAddress: "STRING_VALUE",
|
|
120
|
+
* // Headers: [ // ListOfMessageHeader
|
|
121
|
+
* // { // MessageHeader
|
|
122
|
+
* // Name: "STRING_VALUE",
|
|
123
|
+
* // Value: "STRING_VALUE",
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
120
126
|
* // HtmlBody: "STRING_VALUE",
|
|
121
127
|
* // Title: "STRING_VALUE",
|
|
122
128
|
* // },
|
|
@@ -313,6 +319,12 @@ declare const GetCampaignVersionsCommand_base: {
|
|
|
313
319
|
* // EmailMessage: {
|
|
314
320
|
* // Body: "STRING_VALUE",
|
|
315
321
|
* // FromAddress: "STRING_VALUE",
|
|
322
|
+
* // Headers: [
|
|
323
|
+
* // {
|
|
324
|
+
* // Name: "STRING_VALUE",
|
|
325
|
+
* // Value: "STRING_VALUE",
|
|
326
|
+
* // },
|
|
327
|
+
* // ],
|
|
316
328
|
* // HtmlBody: "STRING_VALUE",
|
|
317
329
|
* // Title: "STRING_VALUE",
|
|
318
330
|
* // },
|
|
@@ -116,6 +116,12 @@ declare const GetCampaignsCommand_base: {
|
|
|
116
116
|
* // EmailMessage: { // CampaignEmailMessage
|
|
117
117
|
* // Body: "STRING_VALUE",
|
|
118
118
|
* // FromAddress: "STRING_VALUE",
|
|
119
|
+
* // Headers: [ // ListOfMessageHeader
|
|
120
|
+
* // { // MessageHeader
|
|
121
|
+
* // Name: "STRING_VALUE",
|
|
122
|
+
* // Value: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
119
125
|
* // HtmlBody: "STRING_VALUE",
|
|
120
126
|
* // Title: "STRING_VALUE",
|
|
121
127
|
* // },
|
|
@@ -312,6 +318,12 @@ declare const GetCampaignsCommand_base: {
|
|
|
312
318
|
* // EmailMessage: {
|
|
313
319
|
* // Body: "STRING_VALUE",
|
|
314
320
|
* // FromAddress: "STRING_VALUE",
|
|
321
|
+
* // Headers: [
|
|
322
|
+
* // {
|
|
323
|
+
* // Name: "STRING_VALUE",
|
|
324
|
+
* // Value: "STRING_VALUE",
|
|
325
|
+
* // },
|
|
326
|
+
* // ],
|
|
315
327
|
* // HtmlBody: "STRING_VALUE",
|
|
316
328
|
* // Title: "STRING_VALUE",
|
|
317
329
|
* // },
|
|
@@ -48,6 +48,12 @@ declare const GetEmailTemplateCommand_base: {
|
|
|
48
48
|
* // LastModifiedDate: "STRING_VALUE", // required
|
|
49
49
|
* // RecommenderId: "STRING_VALUE",
|
|
50
50
|
* // Subject: "STRING_VALUE",
|
|
51
|
+
* // Headers: [ // ListOfMessageHeader
|
|
52
|
+
* // { // MessageHeader
|
|
53
|
+
* // Name: "STRING_VALUE",
|
|
54
|
+
* // Value: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
51
57
|
* // tags: { // MapOf__string
|
|
52
58
|
* // "<keys>": "STRING_VALUE",
|
|
53
59
|
* // },
|
|
@@ -175,6 +175,12 @@ declare const SendMessagesCommand_base: {
|
|
|
175
175
|
* Charset: "STRING_VALUE",
|
|
176
176
|
* Data: "STRING_VALUE",
|
|
177
177
|
* },
|
|
178
|
+
* Headers: [ // ListOfMessageHeader
|
|
179
|
+
* { // MessageHeader
|
|
180
|
+
* Name: "STRING_VALUE",
|
|
181
|
+
* Value: "STRING_VALUE",
|
|
182
|
+
* },
|
|
183
|
+
* ],
|
|
178
184
|
* },
|
|
179
185
|
* Substitutions: "<MapOfListOf__string>",
|
|
180
186
|
* },
|
|
@@ -156,6 +156,12 @@ declare const SendUsersMessagesCommand_base: {
|
|
|
156
156
|
* Charset: "STRING_VALUE",
|
|
157
157
|
* Data: "STRING_VALUE",
|
|
158
158
|
* },
|
|
159
|
+
* Headers: [ // ListOfMessageHeader
|
|
160
|
+
* { // MessageHeader
|
|
161
|
+
* Name: "STRING_VALUE",
|
|
162
|
+
* Value: "STRING_VALUE",
|
|
163
|
+
* },
|
|
164
|
+
* ],
|
|
159
165
|
* },
|
|
160
166
|
* Substitutions: "<MapOfListOf__string>",
|
|
161
167
|
* },
|
|
@@ -108,6 +108,12 @@ declare const UpdateCampaignCommand_base: {
|
|
|
108
108
|
* EmailMessage: { // CampaignEmailMessage
|
|
109
109
|
* Body: "STRING_VALUE",
|
|
110
110
|
* FromAddress: "STRING_VALUE",
|
|
111
|
+
* Headers: [ // ListOfMessageHeader
|
|
112
|
+
* { // MessageHeader
|
|
113
|
+
* Name: "STRING_VALUE",
|
|
114
|
+
* Value: "STRING_VALUE",
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
111
117
|
* HtmlBody: "STRING_VALUE",
|
|
112
118
|
* Title: "STRING_VALUE",
|
|
113
119
|
* },
|
|
@@ -293,6 +299,12 @@ declare const UpdateCampaignCommand_base: {
|
|
|
293
299
|
* EmailMessage: {
|
|
294
300
|
* Body: "STRING_VALUE",
|
|
295
301
|
* FromAddress: "STRING_VALUE",
|
|
302
|
+
* Headers: [
|
|
303
|
+
* {
|
|
304
|
+
* Name: "STRING_VALUE",
|
|
305
|
+
* Value: "STRING_VALUE",
|
|
306
|
+
* },
|
|
307
|
+
* ],
|
|
296
308
|
* HtmlBody: "STRING_VALUE",
|
|
297
309
|
* Title: "STRING_VALUE",
|
|
298
310
|
* },
|
|
@@ -479,6 +491,12 @@ declare const UpdateCampaignCommand_base: {
|
|
|
479
491
|
* // EmailMessage: { // CampaignEmailMessage
|
|
480
492
|
* // Body: "STRING_VALUE",
|
|
481
493
|
* // FromAddress: "STRING_VALUE",
|
|
494
|
+
* // Headers: [ // ListOfMessageHeader
|
|
495
|
+
* // { // MessageHeader
|
|
496
|
+
* // Name: "STRING_VALUE",
|
|
497
|
+
* // Value: "STRING_VALUE",
|
|
498
|
+
* // },
|
|
499
|
+
* // ],
|
|
482
500
|
* // HtmlBody: "STRING_VALUE",
|
|
483
501
|
* // Title: "STRING_VALUE",
|
|
484
502
|
* // },
|
|
@@ -675,6 +693,12 @@ declare const UpdateCampaignCommand_base: {
|
|
|
675
693
|
* // EmailMessage: {
|
|
676
694
|
* // Body: "STRING_VALUE",
|
|
677
695
|
* // FromAddress: "STRING_VALUE",
|
|
696
|
+
* // Headers: [
|
|
697
|
+
* // {
|
|
698
|
+
* // Name: "STRING_VALUE",
|
|
699
|
+
* // Value: "STRING_VALUE",
|
|
700
|
+
* // },
|
|
701
|
+
* // ],
|
|
678
702
|
* // HtmlBody: "STRING_VALUE",
|
|
679
703
|
* // Title: "STRING_VALUE",
|
|
680
704
|
* // },
|
|
@@ -40,6 +40,12 @@ declare const UpdateEmailTemplateCommand_base: {
|
|
|
40
40
|
* HtmlPart: "STRING_VALUE",
|
|
41
41
|
* RecommenderId: "STRING_VALUE",
|
|
42
42
|
* Subject: "STRING_VALUE",
|
|
43
|
+
* Headers: [ // ListOfMessageHeader
|
|
44
|
+
* { // MessageHeader
|
|
45
|
+
* Name: "STRING_VALUE",
|
|
46
|
+
* Value: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
43
49
|
* tags: { // MapOf__string
|
|
44
50
|
* "<keys>": "STRING_VALUE",
|
|
45
51
|
* },
|
|
@@ -2307,6 +2307,22 @@ export interface CampaignDateRangeKpiResponse {
|
|
|
2307
2307
|
*/
|
|
2308
2308
|
StartTime: Date | undefined;
|
|
2309
2309
|
}
|
|
2310
|
+
/**
|
|
2311
|
+
* <p>Contains the name and value pair of an email header to add to your email. You can have up to 15 MessageHeaders. A header can contain information such as the sender, receiver, route, or timestamp.</p>
|
|
2312
|
+
* @public
|
|
2313
|
+
*/
|
|
2314
|
+
export interface MessageHeader {
|
|
2315
|
+
/**
|
|
2316
|
+
* <p>The name of the message header. The header name can contain up to 126 characters.</p>
|
|
2317
|
+
* @public
|
|
2318
|
+
*/
|
|
2319
|
+
Name?: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* <p>The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the \{CreationDate\} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.</p>
|
|
2322
|
+
* @public
|
|
2323
|
+
*/
|
|
2324
|
+
Value?: string;
|
|
2325
|
+
}
|
|
2310
2326
|
/**
|
|
2311
2327
|
* <p>Specifies the content and "From" address for an email message that's sent to recipients of a campaign.</p>
|
|
2312
2328
|
* @public
|
|
@@ -2322,6 +2338,11 @@ export interface CampaignEmailMessage {
|
|
|
2322
2338
|
* @public
|
|
2323
2339
|
*/
|
|
2324
2340
|
FromAddress?: string;
|
|
2341
|
+
/**
|
|
2342
|
+
* <p>The list of <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id.html#apps-application-id-campaigns-campaign-id-model-messageheader">MessageHeaders</a> for the email. You can have up to 15 MessageHeaders for each email.</p>
|
|
2343
|
+
* @public
|
|
2344
|
+
*/
|
|
2345
|
+
Headers?: MessageHeader[];
|
|
2325
2346
|
/**
|
|
2326
2347
|
* <p>The body of the email, in HTML format, for recipients whose email clients render HTML content.</p>
|
|
2327
2348
|
* @public
|
|
@@ -3548,6 +3569,11 @@ export interface EmailTemplateRequest {
|
|
|
3548
3569
|
* @public
|
|
3549
3570
|
*/
|
|
3550
3571
|
Subject?: string;
|
|
3572
|
+
/**
|
|
3573
|
+
* <p>The list of <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#templates-template-name-email-model-messageheader">MessageHeaders</a> for the email. You can have up to 15 Headers.</p>
|
|
3574
|
+
* @public
|
|
3575
|
+
*/
|
|
3576
|
+
Headers?: MessageHeader[];
|
|
3551
3577
|
/**
|
|
3552
3578
|
* <note><p>As of <b>22-05-2023</b> tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/tags-resource-arn.html">Tags</a> in the <i>API Reference for Amazon Pinpoint</i>, <a href="https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/index.html">resourcegroupstaggingapi</a> commands in the <i>AWS Command Line Interface Documentation</i> or <a href="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/resourcegroupstaggingapi/package-summary.html">resourcegroupstaggingapi</a> in the <i>AWS SDK</i>.</p></note> <p>(Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.</p>
|
|
3553
3579
|
* @public
|
|
@@ -6290,6 +6316,11 @@ export interface SimpleEmail {
|
|
|
6290
6316
|
* @public
|
|
6291
6317
|
*/
|
|
6292
6318
|
TextPart?: SimpleEmailPart;
|
|
6319
|
+
/**
|
|
6320
|
+
* <p>The list of MessageHeaders for the email. You can have up to 15 Headers.</p>
|
|
6321
|
+
* @public
|
|
6322
|
+
*/
|
|
6323
|
+
Headers?: MessageHeader[];
|
|
6293
6324
|
}
|
|
6294
6325
|
/**
|
|
6295
6326
|
* <p>Specifies the default settings and content for a one-time email message that's sent directly to an endpoint.</p>
|
|
@@ -6652,6 +6683,11 @@ export interface EmailTemplateResponse {
|
|
|
6652
6683
|
* @public
|
|
6653
6684
|
*/
|
|
6654
6685
|
Subject?: string;
|
|
6686
|
+
/**
|
|
6687
|
+
* <p>The list of <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#templates-template-name-email-model-messageheader">MessageHeaders</a> for the email. You can have up to 15 Headers.</p>
|
|
6688
|
+
* @public
|
|
6689
|
+
*/
|
|
6690
|
+
Headers?: MessageHeader[];
|
|
6655
6691
|
/**
|
|
6656
6692
|
* <p>A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.</p>
|
|
6657
6693
|
* @public
|
|
@@ -7529,23 +7565,3 @@ export interface GetCampaignsResponse {
|
|
|
7529
7565
|
*/
|
|
7530
7566
|
CampaignsResponse: CampaignsResponse | undefined;
|
|
7531
7567
|
}
|
|
7532
|
-
/**
|
|
7533
|
-
* @public
|
|
7534
|
-
*/
|
|
7535
|
-
export interface GetCampaignVersionRequest {
|
|
7536
|
-
/**
|
|
7537
|
-
* <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
|
|
7538
|
-
* @public
|
|
7539
|
-
*/
|
|
7540
|
-
ApplicationId: string | undefined;
|
|
7541
|
-
/**
|
|
7542
|
-
* <p>The unique identifier for the campaign.</p>
|
|
7543
|
-
* @public
|
|
7544
|
-
*/
|
|
7545
|
-
CampaignId: string | undefined;
|
|
7546
|
-
/**
|
|
7547
|
-
* <p>The unique version number (Version property) for the campaign version.</p>
|
|
7548
|
-
* @public
|
|
7549
|
-
*/
|
|
7550
|
-
Version: string | undefined;
|
|
7551
|
-
}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
import { AddressConfiguration, ADMChannelRequest, ADMChannelResponse, AndroidPushNotificationTemplate, APNSChannelRequest, APNSChannelResponse, APNSPushNotificationTemplate, APNSSandboxChannelRequest, APNSSandboxChannelResponse, APNSVoipChannelRequest, APNSVoipChannelResponse, APNSVoipSandboxChannelRequest, APNSVoipSandboxChannelResponse, ApplicationSettingsJourneyLimits, ApplicationSettingsResource, AttributesResource, BaiduChannelRequest, BaiduChannelResponse, BaseKpiResult, CampaignEventFilter, CampaignHook, CampaignLimits, CampaignResponse, CampaignsResponse, ChannelsResponse, DefaultPushNotificationTemplate, DeliveryStatus, DirectMessageConfiguration, EmailChannelRequest, EmailChannelResponse, EmailTemplateRequest, EmailTemplateResponse, EndpointBatchRequest, EndpointMessageResult, EndpointRequest, EndpointResponse, EndpointSendConfiguration, EndpointsResponse, EventsRequest, EventsResponse, EventStream, ExportJobResponse, ExportJobsResponse, GCMChannelRequest, GCMChannelResponse, ImportJobResponse, InAppMessageContent, InAppTemplateRequest, JourneyResponse, Layout, MessageBody, PushNotificationTemplateRequest, QuietTime, RecommenderConfigurationResponse, SegmentResponse, SMSChannelResponse, SMSTemplateRequest, State, TemplateConfiguration, TemplateType, VoiceChannelResponse, VoiceTemplateRequest, WriteCampaignRequest, WriteJourneyRequest, WriteSegmentRequest } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface GetCampaignVersionRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
ApplicationId: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p>The unique identifier for the campaign.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
CampaignId: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The unique version number (Version property) for the campaign version.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
Version: string | undefined;
|
|
21
|
+
}
|
|
2
22
|
/**
|
|
3
23
|
* @public
|
|
4
24
|
*/
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
GetCampaignVersionRequest,
|
|
5
|
+
GetCampaignVersionResponse,
|
|
6
|
+
} from "../models/models_1";
|
|
5
7
|
import {
|
|
6
8
|
PinpointClientResolvedConfig,
|
|
7
9
|
ServiceInputTypes,
|
|
@@ -582,9 +582,14 @@ export interface CampaignDateRangeKpiResponse {
|
|
|
582
582
|
NextToken?: string;
|
|
583
583
|
StartTime: Date | undefined;
|
|
584
584
|
}
|
|
585
|
+
export interface MessageHeader {
|
|
586
|
+
Name?: string;
|
|
587
|
+
Value?: string;
|
|
588
|
+
}
|
|
585
589
|
export interface CampaignEmailMessage {
|
|
586
590
|
Body?: string;
|
|
587
591
|
FromAddress?: string;
|
|
592
|
+
Headers?: MessageHeader[];
|
|
588
593
|
HtmlBody?: string;
|
|
589
594
|
Title?: string;
|
|
590
595
|
}
|
|
@@ -904,6 +909,7 @@ export interface EmailTemplateRequest {
|
|
|
904
909
|
HtmlPart?: string;
|
|
905
910
|
RecommenderId?: string;
|
|
906
911
|
Subject?: string;
|
|
912
|
+
Headers?: MessageHeader[];
|
|
907
913
|
tags?: Record<string, string>;
|
|
908
914
|
TemplateDescription?: string;
|
|
909
915
|
TextPart?: string;
|
|
@@ -1605,6 +1611,7 @@ export interface SimpleEmail {
|
|
|
1605
1611
|
HtmlPart?: SimpleEmailPart;
|
|
1606
1612
|
Subject?: SimpleEmailPart;
|
|
1607
1613
|
TextPart?: SimpleEmailPart;
|
|
1614
|
+
Headers?: MessageHeader[];
|
|
1608
1615
|
}
|
|
1609
1616
|
export interface EmailMessage {
|
|
1610
1617
|
Body?: string;
|
|
@@ -1688,6 +1695,7 @@ export interface EmailTemplateResponse {
|
|
|
1688
1695
|
LastModifiedDate: string | undefined;
|
|
1689
1696
|
RecommenderId?: string;
|
|
1690
1697
|
Subject?: string;
|
|
1698
|
+
Headers?: MessageHeader[];
|
|
1691
1699
|
tags?: Record<string, string>;
|
|
1692
1700
|
TemplateDescription?: string;
|
|
1693
1701
|
TemplateName: string | undefined;
|
|
@@ -1905,8 +1913,3 @@ export interface GetCampaignsRequest {
|
|
|
1905
1913
|
export interface GetCampaignsResponse {
|
|
1906
1914
|
CampaignsResponse: CampaignsResponse | undefined;
|
|
1907
1915
|
}
|
|
1908
|
-
export interface GetCampaignVersionRequest {
|
|
1909
|
-
ApplicationId: string | undefined;
|
|
1910
|
-
CampaignId: string | undefined;
|
|
1911
|
-
Version: string | undefined;
|
|
1912
|
-
}
|
|
@@ -65,6 +65,11 @@ import {
|
|
|
65
65
|
WriteJourneyRequest,
|
|
66
66
|
WriteSegmentRequest,
|
|
67
67
|
} from "./models_0";
|
|
68
|
+
export interface GetCampaignVersionRequest {
|
|
69
|
+
ApplicationId: string | undefined;
|
|
70
|
+
CampaignId: string | undefined;
|
|
71
|
+
Version: string | undefined;
|
|
72
|
+
}
|
|
68
73
|
export interface GetCampaignVersionResponse {
|
|
69
74
|
CampaignResponse: CampaignResponse | undefined;
|
|
70
75
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.573.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-pinpoint",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.572.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.572.0",
|
|
25
|
+
"@aws-sdk/core": "3.572.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.572.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.567.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.568.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.567.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.572.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.572.0",
|
|
32
32
|
"@aws-sdk/types": "3.567.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.572.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.567.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.568.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.2.0",
|