@aws-sdk/client-pinpoint 3.95.0 → 3.105.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.
@@ -113,15 +113,11 @@ export declare namespace MetricDimension {
113
113
 
114
114
  export interface EventDimensions {
115
115
 
116
- Attributes?: {
117
- [key: string]: AttributeDimension;
118
- };
116
+ Attributes?: Record<string, AttributeDimension>;
119
117
 
120
118
  EventType?: SetDimension;
121
119
 
122
- Metrics?: {
123
- [key: string]: MetricDimension;
124
- };
120
+ Metrics?: Record<string, MetricDimension>;
125
121
  }
126
122
  export declare namespace EventDimensions {
127
123
 
@@ -232,9 +228,7 @@ export declare namespace SegmentLocation {
232
228
 
233
229
  export interface SegmentDimensions {
234
230
 
235
- Attributes?: {
236
- [key: string]: AttributeDimension;
237
- };
231
+ Attributes?: Record<string, AttributeDimension>;
238
232
 
239
233
  Behavior?: SegmentBehaviors;
240
234
 
@@ -242,13 +236,9 @@ export interface SegmentDimensions {
242
236
 
243
237
  Location?: SegmentLocation;
244
238
 
245
- Metrics?: {
246
- [key: string]: MetricDimension;
247
- };
239
+ Metrics?: Record<string, MetricDimension>;
248
240
 
249
- UserAttributes?: {
250
- [key: string]: AttributeDimension;
251
- };
241
+ UserAttributes?: Record<string, AttributeDimension>;
252
242
  }
253
243
  export declare namespace SegmentDimensions {
254
244
 
@@ -545,15 +535,11 @@ export interface AddressConfiguration {
545
535
 
546
536
  ChannelType?: ChannelType | string;
547
537
 
548
- Context?: {
549
- [key: string]: string;
550
- };
538
+ Context?: Record<string, string>;
551
539
 
552
540
  RawContent?: string;
553
541
 
554
- Substitutions?: {
555
- [key: string]: string[];
556
- };
542
+ Substitutions?: Record<string, string[]>;
557
543
 
558
544
  TitleOverride?: string;
559
545
  }
@@ -610,9 +596,7 @@ export interface ADMMessage {
610
596
 
611
597
  ConsolidationKey?: string;
612
598
 
613
- Data?: {
614
- [key: string]: string;
615
- };
599
+ Data?: Record<string, string>;
616
600
 
617
601
  ExpiresAfter?: string;
618
602
 
@@ -632,9 +616,7 @@ export interface ADMMessage {
632
616
 
633
617
  Sound?: string;
634
618
 
635
- Substitutions?: {
636
- [key: string]: string[];
637
- };
619
+ Substitutions?: Record<string, string[]>;
638
620
 
639
621
  Title?: string;
640
622
 
@@ -743,9 +725,7 @@ export interface APNSMessage {
743
725
 
744
726
  CollapseId?: string;
745
727
 
746
- Data?: {
747
- [key: string]: string;
748
- };
728
+ Data?: Record<string, string>;
749
729
 
750
730
  MediaUrl?: string;
751
731
 
@@ -759,9 +739,7 @@ export interface APNSMessage {
759
739
 
760
740
  Sound?: string;
761
741
 
762
- Substitutions?: {
763
- [key: string]: string[];
764
- };
742
+ Substitutions?: Record<string, string[]>;
765
743
 
766
744
  ThreadId?: string;
767
745
 
@@ -1019,9 +997,7 @@ export interface ApplicationResponse {
1019
997
 
1020
998
  Name: string | undefined;
1021
999
 
1022
- tags?: {
1023
- [key: string]: string;
1024
- };
1000
+ tags?: Record<string, string>;
1025
1001
 
1026
1002
  CreationDate?: string;
1027
1003
  }
@@ -1175,9 +1151,7 @@ export interface BaiduMessage {
1175
1151
 
1176
1152
  Body?: string;
1177
1153
 
1178
- Data?: {
1179
- [key: string]: string;
1180
- };
1154
+ Data?: Record<string, string>;
1181
1155
 
1182
1156
  IconReference?: string;
1183
1157
 
@@ -1193,9 +1167,7 @@ export interface BaiduMessage {
1193
1167
 
1194
1168
  Sound?: string;
1195
1169
 
1196
- Substitutions?: {
1197
- [key: string]: string[];
1198
- };
1170
+ Substitutions?: Record<string, string[]>;
1199
1171
 
1200
1172
  TimeToLive?: number;
1201
1173
 
@@ -1377,9 +1349,7 @@ export interface CampaignInAppMessage {
1377
1349
 
1378
1350
  Content?: InAppMessageContent[];
1379
1351
 
1380
- CustomConfig?: {
1381
- [key: string]: string;
1382
- };
1352
+ CustomConfig?: Record<string, string>;
1383
1353
 
1384
1354
  Layout?: Layout | string;
1385
1355
  }
@@ -1613,9 +1583,7 @@ export interface CampaignResponse {
1613
1583
 
1614
1584
  State?: CampaignState;
1615
1585
 
1616
- tags?: {
1617
- [key: string]: string;
1618
- };
1586
+ tags?: Record<string, string>;
1619
1587
 
1620
1588
  TemplateConfiguration?: TemplateConfiguration;
1621
1589
 
@@ -1670,9 +1638,7 @@ export declare namespace ChannelResponse {
1670
1638
 
1671
1639
  export interface ChannelsResponse {
1672
1640
 
1673
- Channels: {
1674
- [key: string]: ChannelResponse;
1675
- } | undefined;
1641
+ Channels: Record<string, ChannelResponse> | undefined;
1676
1642
  }
1677
1643
  export declare namespace ChannelsResponse {
1678
1644
 
@@ -1694,9 +1660,7 @@ export interface CreateApplicationRequest {
1694
1660
 
1695
1661
  Name: string | undefined;
1696
1662
 
1697
- tags?: {
1698
- [key: string]: string;
1699
- };
1663
+ tags?: Record<string, string>;
1700
1664
  }
1701
1665
  export declare namespace CreateApplicationRequest {
1702
1666
 
@@ -1832,9 +1796,7 @@ export interface WriteCampaignRequest {
1832
1796
 
1833
1797
  SegmentVersion?: number;
1834
1798
 
1835
- tags?: {
1836
- [key: string]: string;
1837
- };
1799
+ tags?: Record<string, string>;
1838
1800
 
1839
1801
  TemplateConfiguration?: TemplateConfiguration;
1840
1802
 
@@ -1877,9 +1839,7 @@ export interface EmailTemplateRequest {
1877
1839
 
1878
1840
  Subject?: string;
1879
1841
 
1880
- tags?: {
1881
- [key: string]: string;
1882
- };
1842
+ tags?: Record<string, string>;
1883
1843
 
1884
1844
  TemplateDescription?: string;
1885
1845
 
@@ -2118,15 +2078,11 @@ export interface InAppTemplateRequest {
2118
2078
 
2119
2079
  Content?: InAppMessageContent[];
2120
2080
 
2121
- CustomConfig?: {
2122
- [key: string]: string;
2123
- };
2081
+ CustomConfig?: Record<string, string>;
2124
2082
 
2125
2083
  Layout?: Layout | string;
2126
2084
 
2127
- tags?: {
2128
- [key: string]: string;
2129
- };
2085
+ tags?: Record<string, string>;
2130
2086
 
2131
2087
  TemplateDescription?: string;
2132
2088
  }
@@ -2249,9 +2205,7 @@ export declare enum State {
2249
2205
 
2250
2206
  export interface WriteJourneyRequest {
2251
2207
 
2252
- Activities?: {
2253
- [key: string]: Activity;
2254
- };
2208
+ Activities?: Record<string, Activity>;
2255
2209
 
2256
2210
  CreationDate?: string;
2257
2211
 
@@ -2298,9 +2252,7 @@ export declare namespace CreateJourneyRequest {
2298
2252
 
2299
2253
  export interface JourneyResponse {
2300
2254
 
2301
- Activities?: {
2302
- [key: string]: Activity;
2303
- };
2255
+ Activities?: Record<string, Activity>;
2304
2256
 
2305
2257
  ApplicationId: string | undefined;
2306
2258
 
@@ -2328,9 +2280,7 @@ export interface JourneyResponse {
2328
2280
 
2329
2281
  State?: State | string;
2330
2282
 
2331
- tags?: {
2332
- [key: string]: string;
2333
- };
2283
+ tags?: Record<string, string>;
2334
2284
 
2335
2285
  WaitForQuietTime?: boolean;
2336
2286
 
@@ -2384,9 +2334,7 @@ export interface PushNotificationTemplateRequest {
2384
2334
 
2385
2335
  RecommenderId?: string;
2386
2336
 
2387
- tags?: {
2388
- [key: string]: string;
2389
- };
2337
+ tags?: Record<string, string>;
2390
2338
 
2391
2339
  TemplateDescription?: string;
2392
2340
  }
@@ -2415,9 +2363,7 @@ export declare namespace CreatePushTemplateResponse {
2415
2363
 
2416
2364
  export interface CreateRecommenderConfigurationShape {
2417
2365
 
2418
- Attributes?: {
2419
- [key: string]: string;
2420
- };
2366
+ Attributes?: Record<string, string>;
2421
2367
 
2422
2368
  Description?: string;
2423
2369
 
@@ -2450,9 +2396,7 @@ export declare namespace CreateRecommenderConfigurationRequest {
2450
2396
 
2451
2397
  export interface RecommenderConfigurationResponse {
2452
2398
 
2453
- Attributes?: {
2454
- [key: string]: string;
2455
- };
2399
+ Attributes?: Record<string, string>;
2456
2400
 
2457
2401
  CreationDate: string | undefined;
2458
2402
 
@@ -2549,9 +2493,7 @@ export interface WriteSegmentRequest {
2549
2493
 
2550
2494
  SegmentGroups?: SegmentGroupList;
2551
2495
 
2552
- tags?: {
2553
- [key: string]: string;
2554
- };
2496
+ tags?: Record<string, string>;
2555
2497
  }
2556
2498
  export declare namespace WriteSegmentRequest {
2557
2499
 
@@ -2570,9 +2512,7 @@ export declare namespace CreateSegmentRequest {
2570
2512
 
2571
2513
  export interface SegmentImportResource {
2572
2514
 
2573
- ChannelCounts?: {
2574
- [key: string]: number;
2575
- };
2515
+ ChannelCounts?: Record<string, number>;
2576
2516
 
2577
2517
  ExternalId: string | undefined;
2578
2518
 
@@ -2615,9 +2555,7 @@ export interface SegmentResponse {
2615
2555
 
2616
2556
  SegmentType: SegmentType | string | undefined;
2617
2557
 
2618
- tags?: {
2619
- [key: string]: string;
2620
- };
2558
+ tags?: Record<string, string>;
2621
2559
 
2622
2560
  Version?: number;
2623
2561
  }
@@ -2642,9 +2580,7 @@ export interface SMSTemplateRequest {
2642
2580
 
2643
2581
  RecommenderId?: string;
2644
2582
 
2645
- tags?: {
2646
- [key: string]: string;
2647
- };
2583
+ tags?: Record<string, string>;
2648
2584
 
2649
2585
  TemplateDescription?: string;
2650
2586
  }
@@ -2679,9 +2615,7 @@ export interface VoiceTemplateRequest {
2679
2615
 
2680
2616
  LanguageCode?: string;
2681
2617
 
2682
- tags?: {
2683
- [key: string]: string;
2684
- };
2618
+ tags?: Record<string, string>;
2685
2619
 
2686
2620
  TemplateDescription?: string;
2687
2621
 
@@ -2714,9 +2648,7 @@ export interface DefaultMessage {
2714
2648
 
2715
2649
  Body?: string;
2716
2650
 
2717
- Substitutions?: {
2718
- [key: string]: string[];
2719
- };
2651
+ Substitutions?: Record<string, string[]>;
2720
2652
  }
2721
2653
  export declare namespace DefaultMessage {
2722
2654
 
@@ -2729,15 +2661,11 @@ export interface DefaultPushNotificationMessage {
2729
2661
 
2730
2662
  Body?: string;
2731
2663
 
2732
- Data?: {
2733
- [key: string]: string;
2734
- };
2664
+ Data?: Record<string, string>;
2735
2665
 
2736
2666
  SilentPush?: boolean;
2737
2667
 
2738
- Substitutions?: {
2739
- [key: string]: string[];
2740
- };
2668
+ Substitutions?: Record<string, string[]>;
2741
2669
 
2742
2670
  Title?: string;
2743
2671
 
@@ -3014,9 +2942,7 @@ export declare namespace EndpointLocation {
3014
2942
 
3015
2943
  export interface EndpointUser {
3016
2944
 
3017
- UserAttributes?: {
3018
- [key: string]: string[];
3019
- };
2945
+ UserAttributes?: Record<string, string[]>;
3020
2946
 
3021
2947
  UserId?: string;
3022
2948
  }
@@ -3031,9 +2957,7 @@ export interface EndpointResponse {
3031
2957
 
3032
2958
  ApplicationId?: string;
3033
2959
 
3034
- Attributes?: {
3035
- [key: string]: string[];
3036
- };
2960
+ Attributes?: Record<string, string[]>;
3037
2961
 
3038
2962
  ChannelType?: ChannelType | string;
3039
2963
 
@@ -3051,9 +2975,7 @@ export interface EndpointResponse {
3051
2975
 
3052
2976
  Location?: EndpointLocation;
3053
2977
 
3054
- Metrics?: {
3055
- [key: string]: number;
3056
- };
2978
+ Metrics?: Record<string, number>;
3057
2979
 
3058
2980
  OptOut?: string;
3059
2981
 
@@ -3455,9 +3377,7 @@ export interface EmailMessage {
3455
3377
 
3456
3378
  SimpleEmail?: SimpleEmail;
3457
3379
 
3458
- Substitutions?: {
3459
- [key: string]: string[];
3460
- };
3380
+ Substitutions?: Record<string, string[]>;
3461
3381
  }
3462
3382
  export declare namespace EmailMessage {
3463
3383
 
@@ -3472,9 +3392,7 @@ export interface GCMMessage {
3472
3392
 
3473
3393
  CollapseKey?: string;
3474
3394
 
3475
- Data?: {
3476
- [key: string]: string;
3477
- };
3395
+ Data?: Record<string, string>;
3478
3396
 
3479
3397
  IconReference?: string;
3480
3398
 
@@ -3494,9 +3412,7 @@ export interface GCMMessage {
3494
3412
 
3495
3413
  Sound?: string;
3496
3414
 
3497
- Substitutions?: {
3498
- [key: string]: string[];
3499
- };
3415
+ Substitutions?: Record<string, string[]>;
3500
3416
 
3501
3417
  TimeToLive?: number;
3502
3418
 
@@ -3523,9 +3439,7 @@ export interface SMSMessage {
3523
3439
 
3524
3440
  SenderId?: string;
3525
3441
 
3526
- Substitutions?: {
3527
- [key: string]: string[];
3528
- };
3442
+ Substitutions?: Record<string, string[]>;
3529
3443
 
3530
3444
  EntityId?: string;
3531
3445
 
@@ -3544,9 +3458,7 @@ export interface VoiceMessage {
3544
3458
 
3545
3459
  OriginationNumber?: string;
3546
3460
 
3547
- Substitutions?: {
3548
- [key: string]: string[];
3549
- };
3461
+ Substitutions?: Record<string, string[]>;
3550
3462
 
3551
3463
  VoiceId?: string;
3552
3464
  }
@@ -3620,9 +3532,7 @@ export interface EmailTemplateResponse {
3620
3532
 
3621
3533
  Subject?: string;
3622
3534
 
3623
- tags?: {
3624
- [key: string]: string;
3625
- };
3535
+ tags?: Record<string, string>;
3626
3536
 
3627
3537
  TemplateDescription?: string;
3628
3538
 
@@ -3643,9 +3553,7 @@ export interface EndpointBatchItem {
3643
3553
 
3644
3554
  Address?: string;
3645
3555
 
3646
- Attributes?: {
3647
- [key: string]: string[];
3648
- };
3556
+ Attributes?: Record<string, string[]>;
3649
3557
 
3650
3558
  ChannelType?: ChannelType | string;
3651
3559
 
@@ -3659,9 +3567,7 @@ export interface EndpointBatchItem {
3659
3567
 
3660
3568
  Location?: EndpointLocation;
3661
3569
 
3662
- Metrics?: {
3663
- [key: string]: number;
3664
- };
3570
+ Metrics?: Record<string, number>;
3665
3571
 
3666
3572
  OptOut?: string;
3667
3573
 
@@ -3717,9 +3623,7 @@ export interface EndpointRequest {
3717
3623
 
3718
3624
  Address?: string;
3719
3625
 
3720
- Attributes?: {
3721
- [key: string]: string[];
3722
- };
3626
+ Attributes?: Record<string, string[]>;
3723
3627
 
3724
3628
  ChannelType?: ChannelType | string;
3725
3629
 
@@ -3731,9 +3635,7 @@ export interface EndpointRequest {
3731
3635
 
3732
3636
  Location?: EndpointLocation;
3733
3637
 
3734
- Metrics?: {
3735
- [key: string]: number;
3736
- };
3638
+ Metrics?: Record<string, number>;
3737
3639
 
3738
3640
  OptOut?: string;
3739
3641
 
@@ -3750,15 +3652,11 @@ export interface EndpointSendConfiguration {
3750
3652
 
3751
3653
  BodyOverride?: string;
3752
3654
 
3753
- Context?: {
3754
- [key: string]: string;
3755
- };
3655
+ Context?: Record<string, string>;
3756
3656
 
3757
3657
  RawContent?: string;
3758
3658
 
3759
- Substitutions?: {
3760
- [key: string]: string[];
3761
- };
3659
+ Substitutions?: Record<string, string[]>;
3762
3660
 
3763
3661
  TitleOverride?: string;
3764
3662
  }
@@ -3790,17 +3688,13 @@ export interface Event {
3790
3688
 
3791
3689
  AppVersionCode?: string;
3792
3690
 
3793
- Attributes?: {
3794
- [key: string]: string;
3795
- };
3691
+ Attributes?: Record<string, string>;
3796
3692
 
3797
3693
  ClientSdkVersion?: string;
3798
3694
 
3799
3695
  EventType: string | undefined;
3800
3696
 
3801
- Metrics?: {
3802
- [key: string]: number;
3803
- };
3697
+ Metrics?: Record<string, number>;
3804
3698
 
3805
3699
  SdkName?: string;
3806
3700
 
@@ -3828,9 +3722,7 @@ export interface PublicEndpoint {
3828
3722
 
3829
3723
  Address?: string;
3830
3724
 
3831
- Attributes?: {
3832
- [key: string]: string[];
3833
- };
3725
+ Attributes?: Record<string, string[]>;
3834
3726
 
3835
3727
  ChannelType?: ChannelType | string;
3836
3728
 
@@ -3842,9 +3734,7 @@ export interface PublicEndpoint {
3842
3734
 
3843
3735
  Location?: EndpointLocation;
3844
3736
 
3845
- Metrics?: {
3846
- [key: string]: number;
3847
- };
3737
+ Metrics?: Record<string, number>;
3848
3738
 
3849
3739
  OptOut?: string;
3850
3740
 
@@ -3861,9 +3751,7 @@ export interface EventsBatch {
3861
3751
 
3862
3752
  Endpoint: PublicEndpoint | undefined;
3863
3753
 
3864
- Events: {
3865
- [key: string]: Event;
3866
- } | undefined;
3754
+ Events: Record<string, Event> | undefined;
3867
3755
  }
3868
3756
  export declare namespace EventsBatch {
3869
3757
 
@@ -3872,9 +3760,7 @@ export declare namespace EventsBatch {
3872
3760
 
3873
3761
  export interface EventsRequest {
3874
3762
 
3875
- BatchItem: {
3876
- [key: string]: EventsBatch;
3877
- } | undefined;
3763
+ BatchItem: Record<string, EventsBatch> | undefined;
3878
3764
  }
3879
3765
  export declare namespace EventsRequest {
3880
3766
 
@@ -3885,9 +3771,7 @@ export interface ItemResponse {
3885
3771
 
3886
3772
  EndpointItemResponse?: EndpointItemResponse;
3887
3773
 
3888
- EventsItemResponse?: {
3889
- [key: string]: EventItemResponse;
3890
- };
3774
+ EventsItemResponse?: Record<string, EventItemResponse>;
3891
3775
  }
3892
3776
  export declare namespace ItemResponse {
3893
3777
 
@@ -3896,9 +3780,7 @@ export declare namespace ItemResponse {
3896
3780
 
3897
3781
  export interface EventsResponse {
3898
3782
 
3899
- Results?: {
3900
- [key: string]: ItemResponse;
3901
- };
3783
+ Results?: Record<string, ItemResponse>;
3902
3784
  }
3903
3785
  export declare namespace EventsResponse {
3904
3786