aws-sdk 2.93.0 → 2.97.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.
Files changed (46) hide show
  1. package/.changes/2.94.0.json +32 -0
  2. package/.changes/2.95.0.json +17 -0
  3. package/.changes/2.96.0.json +12 -0
  4. package/.changes/2.97.0.json +22 -0
  5. package/CHANGELOG.md +24 -1
  6. package/README.md +1 -1
  7. package/apis/clouddirectory-2016-05-10.min.json +51 -32
  8. package/apis/codedeploy-2014-10-06.min.json +82 -29
  9. package/apis/cognito-idp-2016-04-18.min.json +477 -185
  10. package/apis/config-2014-11-12.min.json +43 -5
  11. package/apis/ec2-2016-11-15.min.json +1 -0
  12. package/apis/ec2-2016-11-15.waiters2.json +5 -0
  13. package/apis/elasticbeanstalk-2010-12-01.min.json +69 -63
  14. package/apis/elasticloadbalancingv2-2015-12-01.waiters2.json +36 -0
  15. package/apis/email-2010-12-01.examples.json +2 -0
  16. package/apis/email-2010-12-01.min.json +54 -45
  17. package/apis/email-2010-12-01.paginators.json +2 -2
  18. package/apis/pinpoint-2016-12-01.min.json +287 -142
  19. package/clients/clouddirectory.d.ts +20 -0
  20. package/clients/cloudsearchdomain.d.ts +2 -1
  21. package/clients/codebuild.d.ts +2 -2
  22. package/clients/codedeploy.d.ts +62 -8
  23. package/clients/cognitoidentityserviceprovider.d.ts +376 -12
  24. package/clients/configservice.d.ts +54 -6
  25. package/clients/ec2.d.ts +12 -8
  26. package/clients/elasticbeanstalk.d.ts +27 -10
  27. package/clients/elbv2.d.ts +16 -0
  28. package/clients/glacier.d.ts +2 -1
  29. package/clients/lambda.d.ts +2 -1
  30. package/clients/lexruntime.d.ts +2 -1
  31. package/clients/pinpoint.d.ts +154 -15
  32. package/clients/polly.d.ts +2 -1
  33. package/clients/rds.d.ts +68 -68
  34. package/clients/s3.d.ts +2 -1
  35. package/clients/ses.d.ts +25 -15
  36. package/dist/aws-sdk-core-react-native.js +868 -574
  37. package/dist/aws-sdk-react-native.js +887 -586
  38. package/dist/aws-sdk.js +798 -333
  39. package/dist/aws-sdk.min.js +43 -43
  40. package/lib/core.js +1 -1
  41. package/lib/credentials/credential_provider_chain.d.ts +4 -0
  42. package/lib/protocol/rest_json.js +8 -0
  43. package/lib/services/s3.js +8 -1
  44. package/lib/util.js +14 -1
  45. package/package.json +1 -1
  46. package/scripts/lib/ts-generator.js +51 -2
@@ -11,6 +11,14 @@ declare class Pinpoint extends Service {
11
11
  */
12
12
  constructor(options?: Pinpoint.Types.ClientConfiguration)
13
13
  config: Config & Pinpoint.Types.ClientConfiguration;
14
+ /**
15
+ * Used to create an app.
16
+ */
17
+ createApp(params: Pinpoint.Types.CreateAppRequest, callback?: (err: AWSError, data: Pinpoint.Types.CreateAppResponse) => void): Request<Pinpoint.Types.CreateAppResponse, AWSError>;
18
+ /**
19
+ * Used to create an app.
20
+ */
21
+ createApp(callback?: (err: AWSError, data: Pinpoint.Types.CreateAppResponse) => void): Request<Pinpoint.Types.CreateAppResponse, AWSError>;
14
22
  /**
15
23
  * Creates or updates a campaign.
16
24
  */
@@ -51,6 +59,14 @@ declare class Pinpoint extends Service {
51
59
  * Delete an APNS sandbox channel
52
60
  */
53
61
  deleteApnsSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.DeleteApnsSandboxChannelResponse) => void): Request<Pinpoint.Types.DeleteApnsSandboxChannelResponse, AWSError>;
62
+ /**
63
+ * Deletes an app.
64
+ */
65
+ deleteApp(params: Pinpoint.Types.DeleteAppRequest, callback?: (err: AWSError, data: Pinpoint.Types.DeleteAppResponse) => void): Request<Pinpoint.Types.DeleteAppResponse, AWSError>;
66
+ /**
67
+ * Deletes an app.
68
+ */
69
+ deleteApp(callback?: (err: AWSError, data: Pinpoint.Types.DeleteAppResponse) => void): Request<Pinpoint.Types.DeleteAppResponse, AWSError>;
54
70
  /**
55
71
  * Deletes a campaign.
56
72
  */
@@ -115,6 +131,14 @@ declare class Pinpoint extends Service {
115
131
  * Get an APNS sandbox channel
116
132
  */
117
133
  getApnsSandboxChannel(callback?: (err: AWSError, data: Pinpoint.Types.GetApnsSandboxChannelResponse) => void): Request<Pinpoint.Types.GetApnsSandboxChannelResponse, AWSError>;
134
+ /**
135
+ * Returns information about an app.
136
+ */
137
+ getApp(params: Pinpoint.Types.GetAppRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetAppResponse) => void): Request<Pinpoint.Types.GetAppResponse, AWSError>;
138
+ /**
139
+ * Returns information about an app.
140
+ */
141
+ getApp(callback?: (err: AWSError, data: Pinpoint.Types.GetAppResponse) => void): Request<Pinpoint.Types.GetAppResponse, AWSError>;
118
142
  /**
119
143
  * Used to request the settings for an app.
120
144
  */
@@ -123,6 +147,14 @@ declare class Pinpoint extends Service {
123
147
  * Used to request the settings for an app.
124
148
  */
125
149
  getApplicationSettings(callback?: (err: AWSError, data: Pinpoint.Types.GetApplicationSettingsResponse) => void): Request<Pinpoint.Types.GetApplicationSettingsResponse, AWSError>;
150
+ /**
151
+ * Returns information about your apps.
152
+ */
153
+ getApps(params: Pinpoint.Types.GetAppsRequest, callback?: (err: AWSError, data: Pinpoint.Types.GetAppsResponse) => void): Request<Pinpoint.Types.GetAppsResponse, AWSError>;
154
+ /**
155
+ * Returns information about your apps.
156
+ */
157
+ getApps(callback?: (err: AWSError, data: Pinpoint.Types.GetAppsResponse) => void): Request<Pinpoint.Types.GetAppsResponse, AWSError>;
126
158
  /**
127
159
  * Returns information about a campaign.
128
160
  */
@@ -385,7 +417,7 @@ declare namespace Pinpoint {
385
417
  */
386
418
  Enabled?: __boolean;
387
419
  /**
388
- * Channel ID. Not used, only for backwards compatibility.
420
+ * Channel ID. Not used. Present only for backwards compatibility.
389
421
  */
390
422
  Id?: __string;
391
423
  /**
@@ -507,7 +539,7 @@ declare namespace Pinpoint {
507
539
  */
508
540
  LastModifiedDate?: __string;
509
541
  /**
510
- * The platform type. Will be APNS.
542
+ * The platform type. Will be APNS_SANDBOX.
511
543
  */
512
544
  Platform?: __string;
513
545
  /**
@@ -586,7 +618,9 @@ Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETED
586
618
  */
587
619
  BodyOverride?: __string;
588
620
  /**
589
- * Type of channel of this address
621
+ * The channel type.
622
+
623
+ Valid values: GCM | APNS | SMS | EMAIL
590
624
  */
591
625
  ChannelType?: ChannelType;
592
626
  /**
@@ -606,6 +640,16 @@ Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETED
606
640
  */
607
641
  TitleOverride?: __string;
608
642
  }
643
+ export interface ApplicationResponse {
644
+ /**
645
+ * The unique application ID.
646
+ */
647
+ Id?: __string;
648
+ /**
649
+ * The display name of the application.
650
+ */
651
+ Name?: __string;
652
+ }
609
653
  export interface ApplicationSettingsResource {
610
654
  /**
611
655
  * The unique ID for the application.
@@ -624,6 +668,16 @@ Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETED
624
668
  */
625
669
  QuietTime?: QuietTime;
626
670
  }
671
+ export interface ApplicationsResponse {
672
+ /**
673
+ * List of applications returned in this page.
674
+ */
675
+ Item?: ListOfApplicationResponse;
676
+ /**
677
+ * The string that you use in a subsequent request to get the next page of results in a paginated response.
678
+ */
679
+ NextToken?: __string;
680
+ }
627
681
  export interface AttributeDimension {
628
682
  /**
629
683
  * The type of dimension:
@@ -642,6 +696,10 @@ EXCLUSIVE - Endpoints that match the criteria are excluded from the segment.
642
696
  * The email text body.
643
697
  */
644
698
  Body?: __string;
699
+ /**
700
+ * The email address used to send the email from. Defaults to use FromAddress specified in the Email Channel.
701
+ */
702
+ FromAddress?: __string;
645
703
  /**
646
704
  * The email html body.
647
705
  */
@@ -775,6 +833,18 @@ Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSED
775
833
  NextToken?: __string;
776
834
  }
777
835
  export type ChannelType = "GCM"|"APNS"|"APNS_SANDBOX"|"ADM"|"SMS"|"EMAIL"|string;
836
+ export interface CreateAppRequest {
837
+ CreateApplicationRequest: CreateApplicationRequest;
838
+ }
839
+ export interface CreateAppResponse {
840
+ ApplicationResponse: ApplicationResponse;
841
+ }
842
+ export interface CreateApplicationRequest {
843
+ /**
844
+ * The display name of the application. Used in the Amazon Pinpoint console.
845
+ */
846
+ Name?: __string;
847
+ }
778
848
  export interface CreateCampaignRequest {
779
849
  ApplicationId: __string;
780
850
  WriteCampaignRequest: WriteCampaignRequest;
@@ -848,6 +918,12 @@ Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSED
848
918
  export interface DeleteApnsSandboxChannelResponse {
849
919
  APNSSandboxChannelResponse: APNSSandboxChannelResponse;
850
920
  }
921
+ export interface DeleteAppRequest {
922
+ ApplicationId: __string;
923
+ }
924
+ export interface DeleteAppResponse {
925
+ ApplicationResponse: ApplicationResponse;
926
+ }
851
927
  export interface DeleteCampaignRequest {
852
928
  ApplicationId: __string;
853
929
  CampaignId: __string;
@@ -934,7 +1010,7 @@ Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSED
934
1010
  }
935
1011
  export interface EmailChannelResponse {
936
1012
  /**
937
- * Application id
1013
+ * The unique ID of the application to which the email channel belongs.
938
1014
  */
939
1015
  ApplicationId?: __string;
940
1016
  /**
@@ -994,7 +1070,7 @@ Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, COMPLETED, PAUSED
994
1070
  /**
995
1071
  * The channel type.
996
1072
 
997
- Valid values: APNS, GCM
1073
+ Valid values: GCM | APNS | SMS | EMAIL
998
1074
  */
999
1075
  ChannelType?: ChannelType;
1000
1076
  /**
@@ -1024,8 +1100,9 @@ Valid values: APNS, GCM
1024
1100
  /**
1025
1101
  * Indicates whether a user has opted out of receiving messages with one of the following values:
1026
1102
 
1027
- ALL User receives all messages.
1028
- NONE – User receives no messages.
1103
+ ALL - User has opted out of all messages.
1104
+
1105
+ NONE - Users has not opted out and receives all messages.
1029
1106
  */
1030
1107
  OptOut?: __string;
1031
1108
  /**
@@ -1116,7 +1193,7 @@ NONE – User receives no messages.
1116
1193
  /**
1117
1194
  * The channel type.
1118
1195
 
1119
- Valid values: APNS, GCM
1196
+ Valid values: GCM | APNS | SMS | EMAIL
1120
1197
  */
1121
1198
  ChannelType?: ChannelType;
1122
1199
  /**
@@ -1142,8 +1219,9 @@ Valid values: APNS, GCM
1142
1219
  /**
1143
1220
  * Indicates whether a user has opted out of receiving messages with one of the following values:
1144
1221
 
1145
- ALL User receives all messages.
1146
- NONE – User receives no messages.
1222
+ ALL - User has opted out of all messages.
1223
+
1224
+ NONE - Users has not opted out and receives all messages.
1147
1225
  */
1148
1226
  OptOut?: __string;
1149
1227
  /**
@@ -1171,7 +1249,7 @@ NONE – User receives no messages.
1171
1249
  /**
1172
1250
  * The channel type.
1173
1251
 
1174
- Valid values: APNS, GCM
1252
+ Valid values: GCM | APNS | SMS | EMAIL
1175
1253
  */
1176
1254
  ChannelType?: ChannelType;
1177
1255
  /**
@@ -1209,8 +1287,9 @@ Valid values: APNS, GCM
1209
1287
  /**
1210
1288
  * Indicates whether a user has opted out of receiving messages with one of the following values:
1211
1289
 
1212
- ALL User receives all messages.
1213
- NONE – User receives no messages.
1290
+ ALL - User has opted out of all messages.
1291
+
1292
+ NONE - Users has not opted out and receives all messages.
1214
1293
  */
1215
1294
  OptOut?: __string;
1216
1295
  /**
@@ -1294,7 +1373,7 @@ NONE – User receives no messages.
1294
1373
  */
1295
1374
  Enabled?: __boolean;
1296
1375
  /**
1297
- * Channel ID. Not used, only for backwards compatibility.
1376
+ * Channel ID. Not used. Present only for backwards compatibility.
1298
1377
  */
1299
1378
  Id?: __string;
1300
1379
  /**
@@ -1392,16 +1471,35 @@ NONE – User receives no messages.
1392
1471
  export interface GetApnsSandboxChannelResponse {
1393
1472
  APNSSandboxChannelResponse: APNSSandboxChannelResponse;
1394
1473
  }
1474
+ export interface GetAppRequest {
1475
+ ApplicationId: __string;
1476
+ }
1477
+ export interface GetAppResponse {
1478
+ ApplicationResponse: ApplicationResponse;
1479
+ }
1395
1480
  export interface GetApplicationSettingsRequest {
1396
1481
  ApplicationId: __string;
1397
1482
  }
1398
1483
  export interface GetApplicationSettingsResponse {
1399
1484
  ApplicationSettingsResource: ApplicationSettingsResource;
1400
1485
  }
1486
+ export interface GetAppsRequest {
1487
+ PageSize?: __string;
1488
+ Token?: __string;
1489
+ }
1490
+ export interface GetAppsResponse {
1491
+ ApplicationsResponse: ApplicationsResponse;
1492
+ }
1401
1493
  export interface GetCampaignActivitiesRequest {
1402
1494
  ApplicationId: __string;
1403
1495
  CampaignId: __string;
1496
+ /**
1497
+ * The number of entries you want on each page in the response.
1498
+ */
1404
1499
  PageSize?: __string;
1500
+ /**
1501
+ * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1502
+ */
1405
1503
  Token?: __string;
1406
1504
  }
1407
1505
  export interface GetCampaignActivitiesResponse {
@@ -1425,7 +1523,13 @@ NONE – User receives no messages.
1425
1523
  export interface GetCampaignVersionsRequest {
1426
1524
  ApplicationId: __string;
1427
1525
  CampaignId: __string;
1526
+ /**
1527
+ * The number of entries you want on each page in the response.
1528
+ */
1428
1529
  PageSize?: __string;
1530
+ /**
1531
+ * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1532
+ */
1429
1533
  Token?: __string;
1430
1534
  }
1431
1535
  export interface GetCampaignVersionsResponse {
@@ -1433,7 +1537,13 @@ NONE – User receives no messages.
1433
1537
  }
1434
1538
  export interface GetCampaignsRequest {
1435
1539
  ApplicationId: __string;
1540
+ /**
1541
+ * The number of entries you want on each page in the response.
1542
+ */
1436
1543
  PageSize?: __string;
1544
+ /**
1545
+ * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1546
+ */
1437
1547
  Token?: __string;
1438
1548
  }
1439
1549
  export interface GetCampaignsResponse {
@@ -1476,7 +1586,13 @@ NONE – User receives no messages.
1476
1586
  }
1477
1587
  export interface GetImportJobsRequest {
1478
1588
  ApplicationId: __string;
1589
+ /**
1590
+ * The number of entries you want on each page in the response.
1591
+ */
1479
1592
  PageSize?: __string;
1593
+ /**
1594
+ * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1595
+ */
1480
1596
  Token?: __string;
1481
1597
  }
1482
1598
  export interface GetImportJobsResponse {
@@ -1484,8 +1600,14 @@ NONE – User receives no messages.
1484
1600
  }
1485
1601
  export interface GetSegmentImportJobsRequest {
1486
1602
  ApplicationId: __string;
1603
+ /**
1604
+ * The number of entries you want on each page in the response.
1605
+ */
1487
1606
  PageSize?: __string;
1488
1607
  SegmentId: __string;
1608
+ /**
1609
+ * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1610
+ */
1489
1611
  Token?: __string;
1490
1612
  }
1491
1613
  export interface GetSegmentImportJobsResponse {
@@ -1508,8 +1630,14 @@ NONE – User receives no messages.
1508
1630
  }
1509
1631
  export interface GetSegmentVersionsRequest {
1510
1632
  ApplicationId: __string;
1633
+ /**
1634
+ * The number of entries you want on each page in the response.
1635
+ */
1511
1636
  PageSize?: __string;
1512
1637
  SegmentId: __string;
1638
+ /**
1639
+ * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1640
+ */
1513
1641
  Token?: __string;
1514
1642
  }
1515
1643
  export interface GetSegmentVersionsResponse {
@@ -1517,7 +1645,13 @@ NONE – User receives no messages.
1517
1645
  }
1518
1646
  export interface GetSegmentsRequest {
1519
1647
  ApplicationId: __string;
1648
+ /**
1649
+ * The number of entries you want on each page in the response.
1650
+ */
1520
1651
  PageSize?: __string;
1652
+ /**
1653
+ * The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1654
+ */
1521
1655
  Token?: __string;
1522
1656
  }
1523
1657
  export interface GetSegmentsResponse {
@@ -1674,6 +1808,7 @@ The job status is FAILED if one or more pieces failed to import.
1674
1808
  }
1675
1809
  export type JobStatus = "CREATED"|"INITIALIZING"|"PROCESSING"|"COMPLETING"|"COMPLETED"|"FAILING"|"FAILED"|string;
1676
1810
  export type ListOfActivityResponse = ActivityResponse[];
1811
+ export type ListOfApplicationResponse = ApplicationResponse[];
1677
1812
  export type ListOfCampaignResponse = CampaignResponse[];
1678
1813
  export type ListOfEndpointBatchItem = EndpointBatchItem[];
1679
1814
  export type ListOfImportJobResponse = ImportJobResponse[];
@@ -1722,6 +1857,10 @@ URL - The default mobile browser on the user's device launches and opens a web p
1722
1857
  * The URL that points to the media resource, for example a .mp4 or .gif file.
1723
1858
  */
1724
1859
  MediaUrl?: __string;
1860
+ /**
1861
+ * The Raw JSON formatted string to be used as the payload. This value overrides the message.
1862
+ */
1863
+ RawContent?: __string;
1725
1864
  /**
1726
1865
  * Indicates if the message should display on the users device.
1727
1866
 
@@ -1865,7 +2004,7 @@ INACTIVE - Users who have not used your app within the specified duration are in
1865
2004
  }
1866
2005
  export interface SMSChannelResponse {
1867
2006
  /**
1868
- * Application id
2007
+ * The unique ID of the application to which the SMS channel belongs.
1869
2008
  */
1870
2009
  ApplicationId?: __string;
1871
2010
  /**
@@ -5,6 +5,7 @@ import {PollyCustomizations} from '../lib/services/polly';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
6
  import {ConfigBase as Config} from '../lib/config';
7
7
  import {Presigner as presigner} from '../lib/polly/presigner';
8
+ import {Readable} from 'stream';
8
9
  interface Blob {}
9
10
  declare class Polly extends PollyCustomizations {
10
11
  /**
@@ -66,7 +67,7 @@ declare namespace Polly {
66
67
  }
67
68
  declare namespace Polly {
68
69
  export type Alphabet = string;
69
- export type AudioStream = Buffer|Uint8Array|Blob|string;
70
+ export type AudioStream = Buffer|Uint8Array|Blob|string|Readable;
70
71
  export type ContentType = string;
71
72
  export interface DeleteLexiconInput {
72
73
  /**