@aws-sdk/client-pinpoint 3.99.0 → 3.109.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 +27 -0
- package/dist-cjs/PinpointClient.js +2 -0
- package/dist-es/PinpointClient.js +2 -0
- package/dist-types/models/models_0.d.ts +59 -177
- package/dist-types/models/models_1.d.ts +19 -59
- package/dist-types/ts3.4/models/models_0.d.ts +59 -177
- package/dist-types/ts3.4/models/models_1.d.ts +19 -59
- package/package.json +29 -28
|
@@ -159,9 +159,7 @@ export interface InAppMessage {
|
|
|
159
159
|
|
|
160
160
|
Content?: InAppMessageContent[];
|
|
161
161
|
|
|
162
|
-
CustomConfig?:
|
|
163
|
-
[key: string]: string;
|
|
164
|
-
};
|
|
162
|
+
CustomConfig?: Record<string, string>;
|
|
165
163
|
|
|
166
164
|
Layout?: Layout | string;
|
|
167
165
|
}
|
|
@@ -241,17 +239,13 @@ export interface InAppTemplateResponse {
|
|
|
241
239
|
|
|
242
240
|
CreationDate: string | undefined;
|
|
243
241
|
|
|
244
|
-
CustomConfig?:
|
|
245
|
-
[key: string]: string;
|
|
246
|
-
};
|
|
242
|
+
CustomConfig?: Record<string, string>;
|
|
247
243
|
|
|
248
244
|
LastModifiedDate: string | undefined;
|
|
249
245
|
|
|
250
246
|
Layout?: Layout | string;
|
|
251
247
|
|
|
252
|
-
tags?:
|
|
253
|
-
[key: string]: string;
|
|
254
|
-
};
|
|
248
|
+
tags?: Record<string, string>;
|
|
255
249
|
|
|
256
250
|
TemplateDescription?: string;
|
|
257
251
|
|
|
@@ -369,9 +363,7 @@ export interface JourneyExecutionActivityMetricsResponse {
|
|
|
369
363
|
|
|
370
364
|
LastEvaluatedTime: string | undefined;
|
|
371
365
|
|
|
372
|
-
Metrics:
|
|
373
|
-
[key: string]: string;
|
|
374
|
-
} | undefined;
|
|
366
|
+
Metrics: Record<string, string> | undefined;
|
|
375
367
|
}
|
|
376
368
|
export declare namespace JourneyExecutionActivityMetricsResponse {
|
|
377
369
|
|
|
@@ -408,9 +400,7 @@ export interface JourneyExecutionMetricsResponse {
|
|
|
408
400
|
|
|
409
401
|
LastEvaluatedTime: string | undefined;
|
|
410
402
|
|
|
411
|
-
Metrics:
|
|
412
|
-
[key: string]: string;
|
|
413
|
-
} | undefined;
|
|
403
|
+
Metrics: Record<string, string> | undefined;
|
|
414
404
|
}
|
|
415
405
|
export declare namespace JourneyExecutionMetricsResponse {
|
|
416
406
|
|
|
@@ -457,9 +447,7 @@ export interface PushNotificationTemplateResponse {
|
|
|
457
447
|
|
|
458
448
|
RecommenderId?: string;
|
|
459
449
|
|
|
460
|
-
tags?:
|
|
461
|
-
[key: string]: string;
|
|
462
|
-
};
|
|
450
|
+
tags?: Record<string, string>;
|
|
463
451
|
|
|
464
452
|
TemplateDescription?: string;
|
|
465
453
|
|
|
@@ -702,9 +690,7 @@ export interface SMSTemplateResponse {
|
|
|
702
690
|
|
|
703
691
|
RecommenderId?: string;
|
|
704
692
|
|
|
705
|
-
tags?:
|
|
706
|
-
[key: string]: string;
|
|
707
|
-
};
|
|
693
|
+
tags?: Record<string, string>;
|
|
708
694
|
|
|
709
695
|
TemplateDescription?: string;
|
|
710
696
|
|
|
@@ -785,9 +771,7 @@ export interface VoiceTemplateResponse {
|
|
|
785
771
|
|
|
786
772
|
LastModifiedDate: string | undefined;
|
|
787
773
|
|
|
788
|
-
tags?:
|
|
789
|
-
[key: string]: string;
|
|
790
|
-
};
|
|
774
|
+
tags?: Record<string, string>;
|
|
791
775
|
|
|
792
776
|
TemplateDescription?: string;
|
|
793
777
|
|
|
@@ -862,9 +846,7 @@ export interface TemplateResponse {
|
|
|
862
846
|
|
|
863
847
|
LastModifiedDate: string | undefined;
|
|
864
848
|
|
|
865
|
-
tags?:
|
|
866
|
-
[key: string]: string;
|
|
867
|
-
};
|
|
849
|
+
tags?: Record<string, string>;
|
|
868
850
|
|
|
869
851
|
TemplateDescription?: string;
|
|
870
852
|
|
|
@@ -910,9 +892,7 @@ export declare namespace ListTagsForResourceRequest {
|
|
|
910
892
|
|
|
911
893
|
export interface TagsModel {
|
|
912
894
|
|
|
913
|
-
tags:
|
|
914
|
-
[key: string]: string;
|
|
915
|
-
} | undefined;
|
|
895
|
+
tags: Record<string, string> | undefined;
|
|
916
896
|
}
|
|
917
897
|
export declare namespace TagsModel {
|
|
918
898
|
|
|
@@ -1016,17 +996,11 @@ export declare namespace MessageResult {
|
|
|
1016
996
|
|
|
1017
997
|
export interface MessageRequest {
|
|
1018
998
|
|
|
1019
|
-
Addresses?:
|
|
1020
|
-
[key: string]: AddressConfiguration;
|
|
1021
|
-
};
|
|
999
|
+
Addresses?: Record<string, AddressConfiguration>;
|
|
1022
1000
|
|
|
1023
|
-
Context?:
|
|
1024
|
-
[key: string]: string;
|
|
1025
|
-
};
|
|
1001
|
+
Context?: Record<string, string>;
|
|
1026
1002
|
|
|
1027
|
-
Endpoints?:
|
|
1028
|
-
[key: string]: EndpointSendConfiguration;
|
|
1029
|
-
};
|
|
1003
|
+
Endpoints?: Record<string, EndpointSendConfiguration>;
|
|
1030
1004
|
|
|
1031
1005
|
MessageConfiguration: DirectMessageConfiguration | undefined;
|
|
1032
1006
|
|
|
@@ -1043,15 +1017,11 @@ export interface MessageResponse {
|
|
|
1043
1017
|
|
|
1044
1018
|
ApplicationId: string | undefined;
|
|
1045
1019
|
|
|
1046
|
-
EndpointResult?:
|
|
1047
|
-
[key: string]: EndpointMessageResult;
|
|
1048
|
-
};
|
|
1020
|
+
EndpointResult?: Record<string, EndpointMessageResult>;
|
|
1049
1021
|
|
|
1050
1022
|
RequestId?: string;
|
|
1051
1023
|
|
|
1052
|
-
Result?:
|
|
1053
|
-
[key: string]: MessageResult;
|
|
1054
|
-
};
|
|
1024
|
+
Result?: Record<string, MessageResult>;
|
|
1055
1025
|
}
|
|
1056
1026
|
export declare namespace MessageResponse {
|
|
1057
1027
|
|
|
@@ -1263,9 +1233,7 @@ export declare namespace SendOTPMessageResponse {
|
|
|
1263
1233
|
|
|
1264
1234
|
export interface SendUsersMessageRequest {
|
|
1265
1235
|
|
|
1266
|
-
Context?:
|
|
1267
|
-
[key: string]: string;
|
|
1268
|
-
};
|
|
1236
|
+
Context?: Record<string, string>;
|
|
1269
1237
|
|
|
1270
1238
|
MessageConfiguration: DirectMessageConfiguration | undefined;
|
|
1271
1239
|
|
|
@@ -1273,9 +1241,7 @@ export interface SendUsersMessageRequest {
|
|
|
1273
1241
|
|
|
1274
1242
|
TraceId?: string;
|
|
1275
1243
|
|
|
1276
|
-
Users:
|
|
1277
|
-
[key: string]: EndpointSendConfiguration;
|
|
1278
|
-
} | undefined;
|
|
1244
|
+
Users: Record<string, EndpointSendConfiguration> | undefined;
|
|
1279
1245
|
}
|
|
1280
1246
|
export declare namespace SendUsersMessageRequest {
|
|
1281
1247
|
|
|
@@ -1298,11 +1264,7 @@ export interface SendUsersMessageResponse {
|
|
|
1298
1264
|
|
|
1299
1265
|
RequestId?: string;
|
|
1300
1266
|
|
|
1301
|
-
Result?:
|
|
1302
|
-
[key: string]: {
|
|
1303
|
-
[key: string]: EndpointMessageResult;
|
|
1304
|
-
};
|
|
1305
|
-
};
|
|
1267
|
+
Result?: Record<string, Record<string, EndpointMessageResult>>;
|
|
1306
1268
|
}
|
|
1307
1269
|
export declare namespace SendUsersMessageResponse {
|
|
1308
1270
|
|
|
@@ -1681,9 +1643,7 @@ export declare namespace UpdatePushTemplateResponse {
|
|
|
1681
1643
|
|
|
1682
1644
|
export interface UpdateRecommenderConfigurationShape {
|
|
1683
1645
|
|
|
1684
|
-
Attributes?:
|
|
1685
|
-
[key: string]: string;
|
|
1686
|
-
};
|
|
1646
|
+
Attributes?: Record<string, string>;
|
|
1687
1647
|
|
|
1688
1648
|
Description?: string;
|
|
1689
1649
|
|
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.109.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,36 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-
|
|
31
|
-
"@aws-sdk/middleware-
|
|
32
|
-
"@aws-sdk/middleware-
|
|
33
|
-
"@aws-sdk/middleware-
|
|
34
|
-
"@aws-sdk/middleware-
|
|
35
|
-
"@aws-sdk/
|
|
36
|
-
"@aws-sdk/node-
|
|
37
|
-
"@aws-sdk/
|
|
38
|
-
"@aws-sdk/
|
|
39
|
-
"@aws-sdk/
|
|
40
|
-
"@aws-sdk/
|
|
41
|
-
"@aws-sdk/
|
|
21
|
+
"@aws-sdk/client-sts": "3.109.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.109.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.109.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.109.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.109.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.109.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.109.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.109.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.109.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.109.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.109.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.109.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.109.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.109.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.109.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.109.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.109.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.109.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.109.0",
|
|
40
|
+
"@aws-sdk/types": "3.109.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.109.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
42
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.109.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.109.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.109.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.109.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
51
52
|
"tslib": "^2.3.1"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|