@aws-sdk/client-pinpoint 3.50.0 → 3.53.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 (146) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/PinpointServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +126 -5
  5. package/dist-cjs/protocols/Aws_restJson1.js +1376 -6084
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/PinpointServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +114 -1
  9. package/dist-es/protocols/Aws_restJson1.js +3102 -6548
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/PinpointServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +62 -25
  13. package/dist-types/ts3.4/Pinpoint.d.ts +600 -0
  14. package/dist-types/ts3.4/PinpointClient.d.ts +192 -0
  15. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +18 -0
  69. package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +17 -0
  114. package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/index.d.ts +119 -0
  135. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  136. package/dist-types/ts3.4/index.d.ts +5 -0
  137. package/dist-types/ts3.4/models/PinpointServiceException.d.ts +6 -0
  138. package/dist-types/ts3.4/models/index.d.ts +2 -0
  139. package/dist-types/ts3.4/models/models_0.d.ts +4272 -0
  140. package/dist-types/ts3.4/models/models_1.d.ts +1916 -0
  141. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +359 -0
  142. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  143. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  144. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  145. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  146. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./Pinpoint";
2
2
  export * from "./PinpointClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { PinpointServiceException } from "./models/PinpointServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var PinpointServiceException = (function (_super) {
4
+ __extends(PinpointServiceException, _super);
5
+ function PinpointServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, PinpointServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return PinpointServiceException;
11
+ }(__ServiceException));
12
+ export { PinpointServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { PinpointServiceException as __BaseException } from "./PinpointServiceException";
2
3
  export var __EndpointTypesElement;
3
4
  (function (__EndpointTypesElement) {
4
5
  __EndpointTypesElement["ADM"] = "ADM";
@@ -329,6 +330,20 @@ export var AttributesResource;
329
330
  (function (AttributesResource) {
330
331
  AttributesResource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
331
332
  })(AttributesResource || (AttributesResource = {}));
333
+ var BadRequestException = (function (_super) {
334
+ __extends(BadRequestException, _super);
335
+ function BadRequestException(opts) {
336
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
337
+ _this.name = "BadRequestException";
338
+ _this.$fault = "client";
339
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
340
+ _this.Message = opts.Message;
341
+ _this.RequestID = opts.RequestID;
342
+ return _this;
343
+ }
344
+ return BadRequestException;
345
+ }(__BaseException));
346
+ export { BadRequestException };
332
347
  export var BaiduChannelRequest;
333
348
  (function (BaiduChannelRequest) {
334
349
  BaiduChannelRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -477,6 +492,20 @@ export var ChannelsResponse;
477
492
  (function (ChannelsResponse) {
478
493
  ChannelsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
479
494
  })(ChannelsResponse || (ChannelsResponse = {}));
495
+ var ConflictException = (function (_super) {
496
+ __extends(ConflictException, _super);
497
+ function ConflictException(opts) {
498
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
499
+ _this.name = "ConflictException";
500
+ _this.$fault = "client";
501
+ Object.setPrototypeOf(_this, ConflictException.prototype);
502
+ _this.Message = opts.Message;
503
+ _this.RequestID = opts.RequestID;
504
+ return _this;
505
+ }
506
+ return ConflictException;
507
+ }(__BaseException));
508
+ export { ConflictException };
480
509
  export var CreateApplicationRequest;
481
510
  (function (CreateApplicationRequest) {
482
511
  CreateApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -489,6 +518,90 @@ export var CreateAppResponse;
489
518
  (function (CreateAppResponse) {
490
519
  CreateAppResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
491
520
  })(CreateAppResponse || (CreateAppResponse = {}));
521
+ var ForbiddenException = (function (_super) {
522
+ __extends(ForbiddenException, _super);
523
+ function ForbiddenException(opts) {
524
+ var _this = _super.call(this, __assign({ name: "ForbiddenException", $fault: "client" }, opts)) || this;
525
+ _this.name = "ForbiddenException";
526
+ _this.$fault = "client";
527
+ Object.setPrototypeOf(_this, ForbiddenException.prototype);
528
+ _this.Message = opts.Message;
529
+ _this.RequestID = opts.RequestID;
530
+ return _this;
531
+ }
532
+ return ForbiddenException;
533
+ }(__BaseException));
534
+ export { ForbiddenException };
535
+ var InternalServerErrorException = (function (_super) {
536
+ __extends(InternalServerErrorException, _super);
537
+ function InternalServerErrorException(opts) {
538
+ var _this = _super.call(this, __assign({ name: "InternalServerErrorException", $fault: "server" }, opts)) || this;
539
+ _this.name = "InternalServerErrorException";
540
+ _this.$fault = "server";
541
+ Object.setPrototypeOf(_this, InternalServerErrorException.prototype);
542
+ _this.Message = opts.Message;
543
+ _this.RequestID = opts.RequestID;
544
+ return _this;
545
+ }
546
+ return InternalServerErrorException;
547
+ }(__BaseException));
548
+ export { InternalServerErrorException };
549
+ var MethodNotAllowedException = (function (_super) {
550
+ __extends(MethodNotAllowedException, _super);
551
+ function MethodNotAllowedException(opts) {
552
+ var _this = _super.call(this, __assign({ name: "MethodNotAllowedException", $fault: "client" }, opts)) || this;
553
+ _this.name = "MethodNotAllowedException";
554
+ _this.$fault = "client";
555
+ Object.setPrototypeOf(_this, MethodNotAllowedException.prototype);
556
+ _this.Message = opts.Message;
557
+ _this.RequestID = opts.RequestID;
558
+ return _this;
559
+ }
560
+ return MethodNotAllowedException;
561
+ }(__BaseException));
562
+ export { MethodNotAllowedException };
563
+ var NotFoundException = (function (_super) {
564
+ __extends(NotFoundException, _super);
565
+ function NotFoundException(opts) {
566
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
567
+ _this.name = "NotFoundException";
568
+ _this.$fault = "client";
569
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
570
+ _this.Message = opts.Message;
571
+ _this.RequestID = opts.RequestID;
572
+ return _this;
573
+ }
574
+ return NotFoundException;
575
+ }(__BaseException));
576
+ export { NotFoundException };
577
+ var PayloadTooLargeException = (function (_super) {
578
+ __extends(PayloadTooLargeException, _super);
579
+ function PayloadTooLargeException(opts) {
580
+ var _this = _super.call(this, __assign({ name: "PayloadTooLargeException", $fault: "client" }, opts)) || this;
581
+ _this.name = "PayloadTooLargeException";
582
+ _this.$fault = "client";
583
+ Object.setPrototypeOf(_this, PayloadTooLargeException.prototype);
584
+ _this.Message = opts.Message;
585
+ _this.RequestID = opts.RequestID;
586
+ return _this;
587
+ }
588
+ return PayloadTooLargeException;
589
+ }(__BaseException));
590
+ export { PayloadTooLargeException };
591
+ var TooManyRequestsException = (function (_super) {
592
+ __extends(TooManyRequestsException, _super);
593
+ function TooManyRequestsException(opts) {
594
+ var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
595
+ _this.name = "TooManyRequestsException";
596
+ _this.$fault = "client";
597
+ Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
598
+ _this.Message = opts.Message;
599
+ _this.RequestID = opts.RequestID;
600
+ return _this;
601
+ }
602
+ return TooManyRequestsException;
603
+ }(__BaseException));
604
+ export { TooManyRequestsException };
492
605
  export var WriteTreatmentResource;
493
606
  (function (WriteTreatmentResource) {
494
607
  WriteTreatmentResource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };