@aws-sdk/client-pinpoint 3.928.0 → 3.929.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 (143) hide show
  1. package/dist-cjs/index.js +6599 -5384
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/PinpointClient.js +2 -0
  4. package/dist-es/commands/CreateAppCommand.js +3 -9
  5. package/dist-es/commands/CreateCampaignCommand.js +3 -9
  6. package/dist-es/commands/CreateEmailTemplateCommand.js +3 -9
  7. package/dist-es/commands/CreateExportJobCommand.js +3 -9
  8. package/dist-es/commands/CreateImportJobCommand.js +3 -9
  9. package/dist-es/commands/CreateInAppTemplateCommand.js +3 -9
  10. package/dist-es/commands/CreateJourneyCommand.js +3 -9
  11. package/dist-es/commands/CreatePushTemplateCommand.js +3 -9
  12. package/dist-es/commands/CreateRecommenderConfigurationCommand.js +3 -9
  13. package/dist-es/commands/CreateSegmentCommand.js +3 -9
  14. package/dist-es/commands/CreateSmsTemplateCommand.js +3 -9
  15. package/dist-es/commands/CreateVoiceTemplateCommand.js +3 -9
  16. package/dist-es/commands/DeleteAdmChannelCommand.js +3 -9
  17. package/dist-es/commands/DeleteApnsChannelCommand.js +3 -9
  18. package/dist-es/commands/DeleteApnsSandboxChannelCommand.js +3 -9
  19. package/dist-es/commands/DeleteApnsVoipChannelCommand.js +3 -9
  20. package/dist-es/commands/DeleteApnsVoipSandboxChannelCommand.js +3 -9
  21. package/dist-es/commands/DeleteAppCommand.js +3 -9
  22. package/dist-es/commands/DeleteBaiduChannelCommand.js +3 -9
  23. package/dist-es/commands/DeleteCampaignCommand.js +3 -9
  24. package/dist-es/commands/DeleteEmailChannelCommand.js +3 -9
  25. package/dist-es/commands/DeleteEmailTemplateCommand.js +3 -9
  26. package/dist-es/commands/DeleteEndpointCommand.js +3 -9
  27. package/dist-es/commands/DeleteEventStreamCommand.js +3 -9
  28. package/dist-es/commands/DeleteGcmChannelCommand.js +3 -9
  29. package/dist-es/commands/DeleteInAppTemplateCommand.js +3 -9
  30. package/dist-es/commands/DeleteJourneyCommand.js +3 -9
  31. package/dist-es/commands/DeletePushTemplateCommand.js +3 -9
  32. package/dist-es/commands/DeleteRecommenderConfigurationCommand.js +3 -9
  33. package/dist-es/commands/DeleteSegmentCommand.js +3 -9
  34. package/dist-es/commands/DeleteSmsChannelCommand.js +3 -9
  35. package/dist-es/commands/DeleteSmsTemplateCommand.js +3 -9
  36. package/dist-es/commands/DeleteUserEndpointsCommand.js +3 -9
  37. package/dist-es/commands/DeleteVoiceChannelCommand.js +3 -9
  38. package/dist-es/commands/DeleteVoiceTemplateCommand.js +3 -9
  39. package/dist-es/commands/GetAdmChannelCommand.js +3 -9
  40. package/dist-es/commands/GetApnsChannelCommand.js +3 -9
  41. package/dist-es/commands/GetApnsSandboxChannelCommand.js +3 -9
  42. package/dist-es/commands/GetApnsVoipChannelCommand.js +3 -9
  43. package/dist-es/commands/GetApnsVoipSandboxChannelCommand.js +3 -9
  44. package/dist-es/commands/GetAppCommand.js +3 -9
  45. package/dist-es/commands/GetApplicationDateRangeKpiCommand.js +3 -9
  46. package/dist-es/commands/GetApplicationSettingsCommand.js +3 -9
  47. package/dist-es/commands/GetAppsCommand.js +3 -9
  48. package/dist-es/commands/GetBaiduChannelCommand.js +3 -9
  49. package/dist-es/commands/GetCampaignActivitiesCommand.js +3 -9
  50. package/dist-es/commands/GetCampaignCommand.js +3 -9
  51. package/dist-es/commands/GetCampaignDateRangeKpiCommand.js +3 -9
  52. package/dist-es/commands/GetCampaignVersionCommand.js +3 -9
  53. package/dist-es/commands/GetCampaignVersionsCommand.js +3 -9
  54. package/dist-es/commands/GetCampaignsCommand.js +3 -9
  55. package/dist-es/commands/GetChannelsCommand.js +3 -9
  56. package/dist-es/commands/GetEmailChannelCommand.js +3 -9
  57. package/dist-es/commands/GetEmailTemplateCommand.js +3 -9
  58. package/dist-es/commands/GetEndpointCommand.js +3 -9
  59. package/dist-es/commands/GetEventStreamCommand.js +3 -9
  60. package/dist-es/commands/GetExportJobCommand.js +3 -9
  61. package/dist-es/commands/GetExportJobsCommand.js +3 -9
  62. package/dist-es/commands/GetGcmChannelCommand.js +3 -9
  63. package/dist-es/commands/GetImportJobCommand.js +3 -9
  64. package/dist-es/commands/GetImportJobsCommand.js +3 -9
  65. package/dist-es/commands/GetInAppMessagesCommand.js +3 -9
  66. package/dist-es/commands/GetInAppTemplateCommand.js +3 -9
  67. package/dist-es/commands/GetJourneyCommand.js +3 -9
  68. package/dist-es/commands/GetJourneyDateRangeKpiCommand.js +3 -9
  69. package/dist-es/commands/GetJourneyExecutionActivityMetricsCommand.js +3 -9
  70. package/dist-es/commands/GetJourneyExecutionMetricsCommand.js +3 -9
  71. package/dist-es/commands/GetJourneyRunExecutionActivityMetricsCommand.js +3 -9
  72. package/dist-es/commands/GetJourneyRunExecutionMetricsCommand.js +3 -9
  73. package/dist-es/commands/GetJourneyRunsCommand.js +3 -9
  74. package/dist-es/commands/GetPushTemplateCommand.js +3 -9
  75. package/dist-es/commands/GetRecommenderConfigurationCommand.js +3 -9
  76. package/dist-es/commands/GetRecommenderConfigurationsCommand.js +3 -9
  77. package/dist-es/commands/GetSegmentCommand.js +3 -9
  78. package/dist-es/commands/GetSegmentExportJobsCommand.js +3 -9
  79. package/dist-es/commands/GetSegmentImportJobsCommand.js +3 -9
  80. package/dist-es/commands/GetSegmentVersionCommand.js +3 -9
  81. package/dist-es/commands/GetSegmentVersionsCommand.js +3 -9
  82. package/dist-es/commands/GetSegmentsCommand.js +3 -9
  83. package/dist-es/commands/GetSmsChannelCommand.js +3 -9
  84. package/dist-es/commands/GetSmsTemplateCommand.js +3 -9
  85. package/dist-es/commands/GetUserEndpointsCommand.js +3 -9
  86. package/dist-es/commands/GetVoiceChannelCommand.js +3 -9
  87. package/dist-es/commands/GetVoiceTemplateCommand.js +3 -9
  88. package/dist-es/commands/ListJourneysCommand.js +3 -9
  89. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  90. package/dist-es/commands/ListTemplateVersionsCommand.js +3 -9
  91. package/dist-es/commands/ListTemplatesCommand.js +3 -9
  92. package/dist-es/commands/PhoneNumberValidateCommand.js +3 -9
  93. package/dist-es/commands/PutEventStreamCommand.js +3 -9
  94. package/dist-es/commands/PutEventsCommand.js +3 -9
  95. package/dist-es/commands/RemoveAttributesCommand.js +3 -9
  96. package/dist-es/commands/SendMessagesCommand.js +3 -9
  97. package/dist-es/commands/SendOTPMessageCommand.js +3 -9
  98. package/dist-es/commands/SendUsersMessagesCommand.js +3 -9
  99. package/dist-es/commands/TagResourceCommand.js +3 -9
  100. package/dist-es/commands/UntagResourceCommand.js +3 -9
  101. package/dist-es/commands/UpdateAdmChannelCommand.js +3 -9
  102. package/dist-es/commands/UpdateApnsChannelCommand.js +3 -9
  103. package/dist-es/commands/UpdateApnsSandboxChannelCommand.js +3 -9
  104. package/dist-es/commands/UpdateApnsVoipChannelCommand.js +3 -9
  105. package/dist-es/commands/UpdateApnsVoipSandboxChannelCommand.js +3 -9
  106. package/dist-es/commands/UpdateApplicationSettingsCommand.js +3 -9
  107. package/dist-es/commands/UpdateBaiduChannelCommand.js +3 -9
  108. package/dist-es/commands/UpdateCampaignCommand.js +3 -9
  109. package/dist-es/commands/UpdateEmailChannelCommand.js +3 -9
  110. package/dist-es/commands/UpdateEmailTemplateCommand.js +3 -9
  111. package/dist-es/commands/UpdateEndpointCommand.js +3 -9
  112. package/dist-es/commands/UpdateEndpointsBatchCommand.js +3 -9
  113. package/dist-es/commands/UpdateGcmChannelCommand.js +3 -9
  114. package/dist-es/commands/UpdateInAppTemplateCommand.js +3 -9
  115. package/dist-es/commands/UpdateJourneyCommand.js +3 -9
  116. package/dist-es/commands/UpdateJourneyStateCommand.js +3 -9
  117. package/dist-es/commands/UpdatePushTemplateCommand.js +3 -9
  118. package/dist-es/commands/UpdateRecommenderConfigurationCommand.js +3 -9
  119. package/dist-es/commands/UpdateSegmentCommand.js +3 -9
  120. package/dist-es/commands/UpdateSmsChannelCommand.js +3 -9
  121. package/dist-es/commands/UpdateSmsTemplateCommand.js +3 -9
  122. package/dist-es/commands/UpdateTemplateActiveVersionCommand.js +3 -9
  123. package/dist-es/commands/UpdateVoiceChannelCommand.js +3 -9
  124. package/dist-es/commands/UpdateVoiceTemplateCommand.js +3 -9
  125. package/dist-es/commands/VerifyOTPMessageCommand.js +3 -9
  126. package/dist-es/runtimeConfig.shared.js +2 -0
  127. package/dist-es/schemas/schemas_0.js +6135 -0
  128. package/dist-types/PinpointClient.d.ts +10 -1
  129. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  130. package/dist-types/runtimeConfig.d.ts +1 -0
  131. package/dist-types/runtimeConfig.native.d.ts +1 -0
  132. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  133. package/dist-types/schemas/schemas_0.d.ts +633 -0
  134. package/dist-types/ts3.4/PinpointClient.d.ts +4 -0
  135. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  136. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  137. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  138. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  139. package/dist-types/ts3.4/schemas/schemas_0.d.ts +639 -0
  140. package/package.json +2 -2
  141. package/dist-es/protocols/Aws_restJson1.js +0 -4306
  142. package/dist-types/protocols/Aws_restJson1.d.ts +0 -1100
  143. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1469
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
11
11
  import { CreateCampaignCommandInput, CreateCampaignCommandOutput } from "./commands/CreateCampaignCommand";
@@ -263,6 +263,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
263
263
  * Optional extensions
264
264
  */
265
265
  extensions?: RuntimeExtension[];
266
+ /**
267
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
268
+ * may be overridden. A default will always be set by the client.
269
+ * Available options depend on the service's supported protocols and will not be validated by
270
+ * the client.
271
+ * @alpha
272
+ *
273
+ */
274
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
266
275
  /**
267
276
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
268
277
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PinpointHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;