@aws-sdk/client-pinpoint 3.943.0 → 3.946.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 (150) hide show
  1. package/dist-cjs/index.js +221 -1123
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/PinpointClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +221 -1123
  8. package/dist-types/Pinpoint.d.ts +1 -1
  9. package/dist-types/PinpointClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/CreateAppCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateCampaignCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateEmailTemplateCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateExportJobCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateImportJobCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateInAppTemplateCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateJourneyCommand.d.ts +3 -3
  19. package/dist-types/commands/CreatePushTemplateCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateRecommenderConfigurationCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateSegmentCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateSmsTemplateCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateVoiceTemplateCommand.d.ts +3 -3
  24. package/dist-types/commands/DeleteAdmChannelCommand.d.ts +3 -3
  25. package/dist-types/commands/DeleteApnsChannelCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteApnsSandboxChannelCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteApnsVoipChannelCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteAppCommand.d.ts +3 -3
  30. package/dist-types/commands/DeleteBaiduChannelCommand.d.ts +3 -3
  31. package/dist-types/commands/DeleteCampaignCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteEmailChannelCommand.d.ts +3 -3
  33. package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -3
  35. package/dist-types/commands/DeleteEventStreamCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteGcmChannelCommand.d.ts +3 -3
  37. package/dist-types/commands/DeleteInAppTemplateCommand.d.ts +3 -3
  38. package/dist-types/commands/DeleteJourneyCommand.d.ts +3 -3
  39. package/dist-types/commands/DeletePushTemplateCommand.d.ts +3 -3
  40. package/dist-types/commands/DeleteRecommenderConfigurationCommand.d.ts +3 -3
  41. package/dist-types/commands/DeleteSegmentCommand.d.ts +3 -3
  42. package/dist-types/commands/DeleteSmsChannelCommand.d.ts +3 -3
  43. package/dist-types/commands/DeleteSmsTemplateCommand.d.ts +3 -3
  44. package/dist-types/commands/DeleteUserEndpointsCommand.d.ts +3 -3
  45. package/dist-types/commands/DeleteVoiceChannelCommand.d.ts +3 -3
  46. package/dist-types/commands/DeleteVoiceTemplateCommand.d.ts +3 -3
  47. package/dist-types/commands/GetAdmChannelCommand.d.ts +3 -3
  48. package/dist-types/commands/GetApnsChannelCommand.d.ts +3 -3
  49. package/dist-types/commands/GetApnsSandboxChannelCommand.d.ts +3 -3
  50. package/dist-types/commands/GetApnsVoipChannelCommand.d.ts +3 -3
  51. package/dist-types/commands/GetApnsVoipSandboxChannelCommand.d.ts +3 -3
  52. package/dist-types/commands/GetAppCommand.d.ts +3 -3
  53. package/dist-types/commands/GetApplicationDateRangeKpiCommand.d.ts +3 -3
  54. package/dist-types/commands/GetApplicationSettingsCommand.d.ts +3 -3
  55. package/dist-types/commands/GetAppsCommand.d.ts +3 -3
  56. package/dist-types/commands/GetBaiduChannelCommand.d.ts +3 -3
  57. package/dist-types/commands/GetCampaignActivitiesCommand.d.ts +3 -3
  58. package/dist-types/commands/GetCampaignCommand.d.ts +3 -3
  59. package/dist-types/commands/GetCampaignDateRangeKpiCommand.d.ts +3 -3
  60. package/dist-types/commands/GetCampaignVersionCommand.d.ts +3 -3
  61. package/dist-types/commands/GetCampaignVersionsCommand.d.ts +3 -3
  62. package/dist-types/commands/GetCampaignsCommand.d.ts +3 -3
  63. package/dist-types/commands/GetChannelsCommand.d.ts +3 -3
  64. package/dist-types/commands/GetEmailChannelCommand.d.ts +3 -3
  65. package/dist-types/commands/GetEmailTemplateCommand.d.ts +3 -3
  66. package/dist-types/commands/GetEndpointCommand.d.ts +3 -3
  67. package/dist-types/commands/GetEventStreamCommand.d.ts +3 -3
  68. package/dist-types/commands/GetExportJobCommand.d.ts +3 -3
  69. package/dist-types/commands/GetExportJobsCommand.d.ts +3 -3
  70. package/dist-types/commands/GetGcmChannelCommand.d.ts +3 -3
  71. package/dist-types/commands/GetImportJobCommand.d.ts +3 -3
  72. package/dist-types/commands/GetImportJobsCommand.d.ts +3 -3
  73. package/dist-types/commands/GetInAppMessagesCommand.d.ts +3 -3
  74. package/dist-types/commands/GetInAppTemplateCommand.d.ts +3 -3
  75. package/dist-types/commands/GetJourneyCommand.d.ts +4 -4
  76. package/dist-types/commands/GetJourneyDateRangeKpiCommand.d.ts +3 -3
  77. package/dist-types/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +3 -3
  78. package/dist-types/commands/GetJourneyExecutionMetricsCommand.d.ts +3 -3
  79. package/dist-types/commands/GetJourneyRunExecutionActivityMetricsCommand.d.ts +3 -3
  80. package/dist-types/commands/GetJourneyRunExecutionMetricsCommand.d.ts +3 -3
  81. package/dist-types/commands/GetJourneyRunsCommand.d.ts +3 -3
  82. package/dist-types/commands/GetPushTemplateCommand.d.ts +3 -3
  83. package/dist-types/commands/GetRecommenderConfigurationCommand.d.ts +3 -3
  84. package/dist-types/commands/GetRecommenderConfigurationsCommand.d.ts +3 -3
  85. package/dist-types/commands/GetSegmentCommand.d.ts +3 -3
  86. package/dist-types/commands/GetSegmentExportJobsCommand.d.ts +3 -3
  87. package/dist-types/commands/GetSegmentImportJobsCommand.d.ts +3 -3
  88. package/dist-types/commands/GetSegmentVersionCommand.d.ts +3 -3
  89. package/dist-types/commands/GetSegmentVersionsCommand.d.ts +3 -3
  90. package/dist-types/commands/GetSegmentsCommand.d.ts +3 -3
  91. package/dist-types/commands/GetSmsChannelCommand.d.ts +3 -3
  92. package/dist-types/commands/GetSmsTemplateCommand.d.ts +3 -3
  93. package/dist-types/commands/GetUserEndpointsCommand.d.ts +3 -3
  94. package/dist-types/commands/GetVoiceChannelCommand.d.ts +3 -3
  95. package/dist-types/commands/GetVoiceTemplateCommand.d.ts +3 -3
  96. package/dist-types/commands/ListJourneysCommand.d.ts +3 -3
  97. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  98. package/dist-types/commands/ListTemplateVersionsCommand.d.ts +3 -3
  99. package/dist-types/commands/ListTemplatesCommand.d.ts +3 -3
  100. package/dist-types/commands/PhoneNumberValidateCommand.d.ts +3 -3
  101. package/dist-types/commands/PutEventStreamCommand.d.ts +3 -3
  102. package/dist-types/commands/PutEventsCommand.d.ts +3 -3
  103. package/dist-types/commands/RemoveAttributesCommand.d.ts +3 -3
  104. package/dist-types/commands/SendMessagesCommand.d.ts +3 -3
  105. package/dist-types/commands/SendOTPMessageCommand.d.ts +3 -3
  106. package/dist-types/commands/SendUsersMessagesCommand.d.ts +3 -3
  107. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  108. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  109. package/dist-types/commands/UpdateAdmChannelCommand.d.ts +3 -3
  110. package/dist-types/commands/UpdateApnsChannelCommand.d.ts +3 -3
  111. package/dist-types/commands/UpdateApnsSandboxChannelCommand.d.ts +3 -3
  112. package/dist-types/commands/UpdateApnsVoipChannelCommand.d.ts +3 -3
  113. package/dist-types/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +3 -3
  114. package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +3 -3
  115. package/dist-types/commands/UpdateBaiduChannelCommand.d.ts +3 -3
  116. package/dist-types/commands/UpdateCampaignCommand.d.ts +3 -3
  117. package/dist-types/commands/UpdateEmailChannelCommand.d.ts +3 -3
  118. package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +3 -3
  119. package/dist-types/commands/UpdateEndpointCommand.d.ts +3 -3
  120. package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +3 -3
  121. package/dist-types/commands/UpdateGcmChannelCommand.d.ts +3 -3
  122. package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +3 -3
  123. package/dist-types/commands/UpdateJourneyCommand.d.ts +3 -3
  124. package/dist-types/commands/UpdateJourneyStateCommand.d.ts +3 -3
  125. package/dist-types/commands/UpdatePushTemplateCommand.d.ts +3 -3
  126. package/dist-types/commands/UpdateRecommenderConfigurationCommand.d.ts +3 -3
  127. package/dist-types/commands/UpdateSegmentCommand.d.ts +3 -3
  128. package/dist-types/commands/UpdateSmsChannelCommand.d.ts +3 -3
  129. package/dist-types/commands/UpdateSmsTemplateCommand.d.ts +3 -3
  130. package/dist-types/commands/UpdateTemplateActiveVersionCommand.d.ts +3 -3
  131. package/dist-types/commands/UpdateVoiceChannelCommand.d.ts +3 -3
  132. package/dist-types/commands/UpdateVoiceTemplateCommand.d.ts +3 -3
  133. package/dist-types/commands/VerifyOTPMessageCommand.d.ts +3 -3
  134. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  135. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  136. package/dist-types/extensionConfiguration.d.ts +4 -4
  137. package/dist-types/models/PinpointServiceException.d.ts +1 -1
  138. package/dist-types/models/errors.d.ts +1 -1
  139. package/dist-types/models/models_1.d.ts +1 -1
  140. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  141. package/dist-types/runtimeConfig.d.ts +1 -1
  142. package/dist-types/runtimeConfig.native.d.ts +1 -1
  143. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  144. package/dist-types/runtimeExtensions.d.ts +1 -1
  145. package/dist-types/schemas/schemas_0.d.ts +1 -1
  146. package/dist-types/ts3.4/PinpointClient.d.ts +3 -3
  147. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  148. package/dist-types/ts3.4/models/PinpointServiceException.d.ts +1 -1
  149. package/dist-types/ts3.4/models/models_1.d.ts +6 -6
  150. package/package.json +13 -12
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultPinpointHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);