@aws-sdk/client-endusermessaging 3.1145.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 (178) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +370 -0
  3. package/dist-cjs/index.js +1645 -0
  4. package/dist-es/EndUserMessaging.js +79 -0
  5. package/dist-es/EndUserMessagingClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateBrandProfileAttributesCommand.js +4 -0
  10. package/dist-es/commands/CreateBrandProfileCommand.js +4 -0
  11. package/dist-es/commands/CreateBrandProfileFromRegistrationCommand.js +4 -0
  12. package/dist-es/commands/CreateNotifyCodeConfigurationCommand.js +4 -0
  13. package/dist-es/commands/CreateRegistrationsFromBrandProfileCommand.js +4 -0
  14. package/dist-es/commands/DeleteBrandProfileAttributeCommand.js +4 -0
  15. package/dist-es/commands/DeleteBrandProfileCommand.js +4 -0
  16. package/dist-es/commands/DeleteNotifyCodeConfigurationCommand.js +4 -0
  17. package/dist-es/commands/GetBrandProfileAttributeCommand.js +4 -0
  18. package/dist-es/commands/GetBrandProfileCommand.js +4 -0
  19. package/dist-es/commands/GetJobCommand.js +4 -0
  20. package/dist-es/commands/GetNotifyCodeConfigurationCommand.js +4 -0
  21. package/dist-es/commands/ListBrandProfileAttributesCommand.js +4 -0
  22. package/dist-es/commands/ListBrandProfilesCommand.js +4 -0
  23. package/dist-es/commands/ListJobsCommand.js +4 -0
  24. package/dist-es/commands/ListNotifyCodeConfigurationsCommand.js +4 -0
  25. package/dist-es/commands/ListRegistrationsFromBrandProfileCommand.js +4 -0
  26. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  27. package/dist-es/commands/SendNotifyCodeVerificationCommand.js +4 -0
  28. package/dist-es/commands/TagResourceCommand.js +4 -0
  29. package/dist-es/commands/UntagResourceCommand.js +4 -0
  30. package/dist-es/commands/UpdateBrandProfileAttributeCommand.js +4 -0
  31. package/dist-es/commands/UpdateBrandProfileCommand.js +4 -0
  32. package/dist-es/commands/UpdateBrandProfileFromRegistrationCommand.js +4 -0
  33. package/dist-es/commands/UpdateNotifyCodeConfigurationCommand.js +4 -0
  34. package/dist-es/commands/UpdateRegistrationsFromBrandProfileCommand.js +4 -0
  35. package/dist-es/commands/ValidateNotifyCodeVerificationCommand.js +4 -0
  36. package/dist-es/commands/index.js +27 -0
  37. package/dist-es/endpoint/EndpointParameters.js +13 -0
  38. package/dist-es/endpoint/bdd.js +46 -0
  39. package/dist-es/endpoint/endpointResolver.js +14 -0
  40. package/dist-es/extensionConfiguration.js +1 -0
  41. package/dist-es/index.js +11 -0
  42. package/dist-es/models/EndUserMessagingServiceException.js +8 -0
  43. package/dist-es/models/enums.js +43 -0
  44. package/dist-es/models/errors.js +99 -0
  45. package/dist-es/models/models_0.js +1 -0
  46. package/dist-es/pagination/Interfaces.js +1 -0
  47. package/dist-es/pagination/ListBrandProfileAttributesPaginator.js +4 -0
  48. package/dist-es/pagination/ListBrandProfilesPaginator.js +4 -0
  49. package/dist-es/pagination/ListJobsPaginator.js +4 -0
  50. package/dist-es/pagination/ListNotifyCodeConfigurationsPaginator.js +4 -0
  51. package/dist-es/pagination/ListRegistrationsFromBrandProfilePaginator.js +4 -0
  52. package/dist-es/pagination/index.js +6 -0
  53. package/dist-es/runtimeConfig.browser.js +29 -0
  54. package/dist-es/runtimeConfig.js +43 -0
  55. package/dist-es/runtimeConfig.native.js +9 -0
  56. package/dist-es/runtimeConfig.shared.js +40 -0
  57. package/dist-es/runtimeExtensions.js +9 -0
  58. package/dist-es/schemas/schemas_0.js +818 -0
  59. package/dist-es/waiters/index.js +2 -0
  60. package/dist-es/waiters/waitForBrandProfileActive.js +58 -0
  61. package/dist-es/waiters/waitForJobSuccess.js +40 -0
  62. package/dist-types/EndUserMessaging.d.ts +256 -0
  63. package/dist-types/EndUserMessagingClient.d.ts +213 -0
  64. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  65. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  66. package/dist-types/commandBuilder.d.ts +18 -0
  67. package/dist-types/commands/CreateBrandProfileAttributesCommand.d.ts +139 -0
  68. package/dist-types/commands/CreateBrandProfileCommand.d.ts +129 -0
  69. package/dist-types/commands/CreateBrandProfileFromRegistrationCommand.d.ts +130 -0
  70. package/dist-types/commands/CreateNotifyCodeConfigurationCommand.d.ts +206 -0
  71. package/dist-types/commands/CreateRegistrationsFromBrandProfileCommand.d.ts +125 -0
  72. package/dist-types/commands/DeleteBrandProfileAttributeCommand.d.ts +110 -0
  73. package/dist-types/commands/DeleteBrandProfileCommand.d.ts +108 -0
  74. package/dist-types/commands/DeleteNotifyCodeConfigurationCommand.d.ts +102 -0
  75. package/dist-types/commands/GetBrandProfileAttributeCommand.d.ts +119 -0
  76. package/dist-types/commands/GetBrandProfileCommand.d.ts +115 -0
  77. package/dist-types/commands/GetJobCommand.d.ts +129 -0
  78. package/dist-types/commands/GetNotifyCodeConfigurationCommand.d.ts +156 -0
  79. package/dist-types/commands/ListBrandProfileAttributesCommand.d.ts +124 -0
  80. package/dist-types/commands/ListBrandProfilesCommand.d.ts +122 -0
  81. package/dist-types/commands/ListJobsCommand.d.ts +133 -0
  82. package/dist-types/commands/ListNotifyCodeConfigurationsCommand.d.ts +159 -0
  83. package/dist-types/commands/ListRegistrationsFromBrandProfileCommand.d.ts +121 -0
  84. package/dist-types/commands/ListTagsForResourceCommand.d.ts +113 -0
  85. package/dist-types/commands/SendNotifyCodeVerificationCommand.d.ts +151 -0
  86. package/dist-types/commands/TagResourceCommand.d.ts +114 -0
  87. package/dist-types/commands/UntagResourceCommand.d.ts +105 -0
  88. package/dist-types/commands/UpdateBrandProfileAttributeCommand.d.ts +127 -0
  89. package/dist-types/commands/UpdateBrandProfileCommand.d.ts +122 -0
  90. package/dist-types/commands/UpdateBrandProfileFromRegistrationCommand.d.ts +123 -0
  91. package/dist-types/commands/UpdateNotifyCodeConfigurationCommand.d.ts +193 -0
  92. package/dist-types/commands/UpdateRegistrationsFromBrandProfileCommand.d.ts +127 -0
  93. package/dist-types/commands/ValidateNotifyCodeVerificationCommand.d.ts +104 -0
  94. package/dist-types/commands/index.d.ts +27 -0
  95. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  96. package/dist-types/endpoint/bdd.d.ts +2 -0
  97. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  98. package/dist-types/extensionConfiguration.d.ts +9 -0
  99. package/dist-types/index.d.ts +19 -0
  100. package/dist-types/models/EndUserMessagingServiceException.d.ts +14 -0
  101. package/dist-types/models/enums.d.ts +145 -0
  102. package/dist-types/models/errors.d.ts +119 -0
  103. package/dist-types/models/models_0.d.ts +1667 -0
  104. package/dist-types/pagination/Interfaces.d.ts +8 -0
  105. package/dist-types/pagination/ListBrandProfileAttributesPaginator.d.ts +7 -0
  106. package/dist-types/pagination/ListBrandProfilesPaginator.d.ts +7 -0
  107. package/dist-types/pagination/ListJobsPaginator.d.ts +7 -0
  108. package/dist-types/pagination/ListNotifyCodeConfigurationsPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListRegistrationsFromBrandProfilePaginator.d.ts +7 -0
  110. package/dist-types/pagination/index.d.ts +6 -0
  111. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  112. package/dist-types/runtimeConfig.d.ts +57 -0
  113. package/dist-types/runtimeConfig.native.d.ts +56 -0
  114. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  115. package/dist-types/runtimeExtensions.d.ts +17 -0
  116. package/dist-types/schemas/schemas_0.d.ts +120 -0
  117. package/dist-types/ts3.4/EndUserMessaging.d.ts +515 -0
  118. package/dist-types/ts3.4/EndUserMessagingClient.d.ts +256 -0
  119. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  120. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  121. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  122. package/dist-types/ts3.4/commands/CreateBrandProfileAttributesCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/CreateBrandProfileCommand.d.ts +39 -0
  124. package/dist-types/ts3.4/commands/CreateBrandProfileFromRegistrationCommand.d.ts +42 -0
  125. package/dist-types/ts3.4/commands/CreateNotifyCodeConfigurationCommand.d.ts +42 -0
  126. package/dist-types/ts3.4/commands/CreateRegistrationsFromBrandProfileCommand.d.ts +42 -0
  127. package/dist-types/ts3.4/commands/DeleteBrandProfileAttributeCommand.d.ts +42 -0
  128. package/dist-types/ts3.4/commands/DeleteBrandProfileCommand.d.ts +39 -0
  129. package/dist-types/ts3.4/commands/DeleteNotifyCodeConfigurationCommand.d.ts +42 -0
  130. package/dist-types/ts3.4/commands/GetBrandProfileAttributeCommand.d.ts +39 -0
  131. package/dist-types/ts3.4/commands/GetBrandProfileCommand.d.ts +38 -0
  132. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +38 -0
  133. package/dist-types/ts3.4/commands/GetNotifyCodeConfigurationCommand.d.ts +42 -0
  134. package/dist-types/ts3.4/commands/ListBrandProfileAttributesCommand.d.ts +42 -0
  135. package/dist-types/ts3.4/commands/ListBrandProfilesCommand.d.ts +38 -0
  136. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +38 -0
  137. package/dist-types/ts3.4/commands/ListNotifyCodeConfigurationsCommand.d.ts +42 -0
  138. package/dist-types/ts3.4/commands/ListRegistrationsFromBrandProfileCommand.d.ts +42 -0
  139. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  140. package/dist-types/ts3.4/commands/SendNotifyCodeVerificationCommand.d.ts +42 -0
  141. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  142. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  143. package/dist-types/ts3.4/commands/UpdateBrandProfileAttributeCommand.d.ts +42 -0
  144. package/dist-types/ts3.4/commands/UpdateBrandProfileCommand.d.ts +39 -0
  145. package/dist-types/ts3.4/commands/UpdateBrandProfileFromRegistrationCommand.d.ts +42 -0
  146. package/dist-types/ts3.4/commands/UpdateNotifyCodeConfigurationCommand.d.ts +42 -0
  147. package/dist-types/ts3.4/commands/UpdateRegistrationsFromBrandProfileCommand.d.ts +42 -0
  148. package/dist-types/ts3.4/commands/ValidateNotifyCodeVerificationCommand.d.ts +42 -0
  149. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  150. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  151. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  152. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  153. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  154. package/dist-types/ts3.4/index.d.ts +14 -0
  155. package/dist-types/ts3.4/models/EndUserMessagingServiceException.d.ts +9 -0
  156. package/dist-types/ts3.4/models/enums.d.ts +54 -0
  157. package/dist-types/ts3.4/models/errors.d.ts +47 -0
  158. package/dist-types/ts3.4/models/models_0.d.ts +413 -0
  159. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  160. package/dist-types/ts3.4/pagination/ListBrandProfileAttributesPaginator.d.ts +11 -0
  161. package/dist-types/ts3.4/pagination/ListBrandProfilesPaginator.d.ts +11 -0
  162. package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +8 -0
  163. package/dist-types/ts3.4/pagination/ListNotifyCodeConfigurationsPaginator.d.ts +11 -0
  164. package/dist-types/ts3.4/pagination/ListRegistrationsFromBrandProfilePaginator.d.ts +11 -0
  165. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  166. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  167. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  168. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  169. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  170. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  171. package/dist-types/ts3.4/schemas/schemas_0.d.ts +115 -0
  172. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  173. package/dist-types/ts3.4/waiters/waitForBrandProfileActive.d.ts +15 -0
  174. package/dist-types/ts3.4/waiters/waitForJobSuccess.d.ts +12 -0
  175. package/dist-types/waiters/index.d.ts +2 -0
  176. package/dist-types/waiters/waitForBrandProfileActive.d.ts +15 -0
  177. package/dist-types/waiters/waitForJobSuccess.d.ts +15 -0
  178. package/package.json +69 -0
@@ -0,0 +1,2 @@
1
+ export * from "./waitForBrandProfileActive";
2
+ export * from "./waitForJobSuccess";
@@ -0,0 +1,58 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetBrandProfileCommand, } from "../commands/GetBrandProfileCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetBrandProfileCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.status;
11
+ };
12
+ if (returnComparator() === "ACTIVE") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.status;
20
+ };
21
+ if (returnComparator() === "BLOCKED") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ try {
27
+ const returnComparator = () => {
28
+ return result.status;
29
+ };
30
+ if (returnComparator() === "CANCELLED") {
31
+ return { state: WaiterState.FAILURE, reason };
32
+ }
33
+ }
34
+ catch (e) { }
35
+ try {
36
+ const returnComparator = () => {
37
+ return result.status;
38
+ };
39
+ if (returnComparator() === "FAILED") {
40
+ return { state: WaiterState.FAILURE, reason };
41
+ }
42
+ }
43
+ catch (e) { }
44
+ }
45
+ catch (exception) {
46
+ reason = exception;
47
+ }
48
+ return { state: WaiterState.RETRY, reason };
49
+ };
50
+ export const waitForBrandProfileActive = async (params, input) => {
51
+ const serviceDefaults = { minDelay: 30, maxDelay: 120 };
52
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
53
+ };
54
+ export const waitUntilBrandProfileActive = async (params, input) => {
55
+ const serviceDefaults = { minDelay: 30, maxDelay: 120 };
56
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
57
+ return checkExceptions(result);
58
+ };
@@ -0,0 +1,40 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetJobCommand } from "../commands/GetJobCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetJobCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.status;
11
+ };
12
+ if (returnComparator() === "SUCCESS") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.status;
20
+ };
21
+ if (returnComparator() === "FAILED") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ }
27
+ catch (exception) {
28
+ reason = exception;
29
+ }
30
+ return { state: WaiterState.RETRY, reason };
31
+ };
32
+ export const waitForJobSuccess = async (params, input) => {
33
+ const serviceDefaults = { minDelay: 30, maxDelay: 120 };
34
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
35
+ };
36
+ export const waitUntilJobSuccess = async (params, input) => {
37
+ const serviceDefaults = { minDelay: 30, maxDelay: 120 };
38
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
39
+ return checkExceptions(result);
40
+ };
@@ -0,0 +1,256 @@
1
+ import { type WaiterResult } from "@smithy/core/client";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
+ import { type CreateBrandProfileAttributesCommandInput, type CreateBrandProfileAttributesCommandOutput } from "./commands/CreateBrandProfileAttributesCommand";
4
+ import { type CreateBrandProfileCommandInput, type CreateBrandProfileCommandOutput } from "./commands/CreateBrandProfileCommand";
5
+ import { type CreateBrandProfileFromRegistrationCommandInput, type CreateBrandProfileFromRegistrationCommandOutput } from "./commands/CreateBrandProfileFromRegistrationCommand";
6
+ import { type CreateNotifyCodeConfigurationCommandInput, type CreateNotifyCodeConfigurationCommandOutput } from "./commands/CreateNotifyCodeConfigurationCommand";
7
+ import { type CreateRegistrationsFromBrandProfileCommandInput, type CreateRegistrationsFromBrandProfileCommandOutput } from "./commands/CreateRegistrationsFromBrandProfileCommand";
8
+ import { type DeleteBrandProfileAttributeCommandInput, type DeleteBrandProfileAttributeCommandOutput } from "./commands/DeleteBrandProfileAttributeCommand";
9
+ import { type DeleteBrandProfileCommandInput, type DeleteBrandProfileCommandOutput } from "./commands/DeleteBrandProfileCommand";
10
+ import { type DeleteNotifyCodeConfigurationCommandInput, type DeleteNotifyCodeConfigurationCommandOutput } from "./commands/DeleteNotifyCodeConfigurationCommand";
11
+ import { type GetBrandProfileAttributeCommandInput, type GetBrandProfileAttributeCommandOutput } from "./commands/GetBrandProfileAttributeCommand";
12
+ import { type GetBrandProfileCommandInput, type GetBrandProfileCommandOutput } from "./commands/GetBrandProfileCommand";
13
+ import { type GetJobCommandInput, type GetJobCommandOutput } from "./commands/GetJobCommand";
14
+ import { type GetNotifyCodeConfigurationCommandInput, type GetNotifyCodeConfigurationCommandOutput } from "./commands/GetNotifyCodeConfigurationCommand";
15
+ import { type ListBrandProfileAttributesCommandInput, type ListBrandProfileAttributesCommandOutput } from "./commands/ListBrandProfileAttributesCommand";
16
+ import { type ListBrandProfilesCommandInput, type ListBrandProfilesCommandOutput } from "./commands/ListBrandProfilesCommand";
17
+ import { type ListJobsCommandInput, type ListJobsCommandOutput } from "./commands/ListJobsCommand";
18
+ import { type ListNotifyCodeConfigurationsCommandInput, type ListNotifyCodeConfigurationsCommandOutput } from "./commands/ListNotifyCodeConfigurationsCommand";
19
+ import { type ListRegistrationsFromBrandProfileCommandInput, type ListRegistrationsFromBrandProfileCommandOutput } from "./commands/ListRegistrationsFromBrandProfileCommand";
20
+ import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
21
+ import { type SendNotifyCodeVerificationCommandInput, type SendNotifyCodeVerificationCommandOutput } from "./commands/SendNotifyCodeVerificationCommand";
22
+ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
23
+ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
24
+ import { type UpdateBrandProfileAttributeCommandInput, type UpdateBrandProfileAttributeCommandOutput } from "./commands/UpdateBrandProfileAttributeCommand";
25
+ import { type UpdateBrandProfileCommandInput, type UpdateBrandProfileCommandOutput } from "./commands/UpdateBrandProfileCommand";
26
+ import { type UpdateBrandProfileFromRegistrationCommandInput, type UpdateBrandProfileFromRegistrationCommandOutput } from "./commands/UpdateBrandProfileFromRegistrationCommand";
27
+ import { type UpdateNotifyCodeConfigurationCommandInput, type UpdateNotifyCodeConfigurationCommandOutput } from "./commands/UpdateNotifyCodeConfigurationCommand";
28
+ import { type UpdateRegistrationsFromBrandProfileCommandInput, type UpdateRegistrationsFromBrandProfileCommandOutput } from "./commands/UpdateRegistrationsFromBrandProfileCommand";
29
+ import { type ValidateNotifyCodeVerificationCommandInput, type ValidateNotifyCodeVerificationCommandOutput } from "./commands/ValidateNotifyCodeVerificationCommand";
30
+ import { EndUserMessagingClient } from "./EndUserMessagingClient";
31
+ /**
32
+ * @public
33
+ */
34
+ export interface EndUserMessagingRequestOptions extends __HttpHandlerOptions {
35
+ metricsRecorder?: __MetricsRecorder<unknown>;
36
+ }
37
+ export interface EndUserMessaging {
38
+ /**
39
+ * @see {@link CreateBrandProfileCommand}
40
+ */
41
+ createBrandProfile(args: CreateBrandProfileCommandInput, options?: EndUserMessagingRequestOptions): Promise<CreateBrandProfileCommandOutput>;
42
+ createBrandProfile(args: CreateBrandProfileCommandInput, cb: (err: any, data?: CreateBrandProfileCommandOutput) => void): void;
43
+ createBrandProfile(args: CreateBrandProfileCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: CreateBrandProfileCommandOutput) => void): void;
44
+ /**
45
+ * @see {@link CreateBrandProfileAttributesCommand}
46
+ */
47
+ createBrandProfileAttributes(args: CreateBrandProfileAttributesCommandInput, options?: EndUserMessagingRequestOptions): Promise<CreateBrandProfileAttributesCommandOutput>;
48
+ createBrandProfileAttributes(args: CreateBrandProfileAttributesCommandInput, cb: (err: any, data?: CreateBrandProfileAttributesCommandOutput) => void): void;
49
+ createBrandProfileAttributes(args: CreateBrandProfileAttributesCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: CreateBrandProfileAttributesCommandOutput) => void): void;
50
+ /**
51
+ * @see {@link CreateBrandProfileFromRegistrationCommand}
52
+ */
53
+ createBrandProfileFromRegistration(args: CreateBrandProfileFromRegistrationCommandInput, options?: EndUserMessagingRequestOptions): Promise<CreateBrandProfileFromRegistrationCommandOutput>;
54
+ createBrandProfileFromRegistration(args: CreateBrandProfileFromRegistrationCommandInput, cb: (err: any, data?: CreateBrandProfileFromRegistrationCommandOutput) => void): void;
55
+ createBrandProfileFromRegistration(args: CreateBrandProfileFromRegistrationCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: CreateBrandProfileFromRegistrationCommandOutput) => void): void;
56
+ /**
57
+ * @see {@link CreateNotifyCodeConfigurationCommand}
58
+ */
59
+ createNotifyCodeConfiguration(args: CreateNotifyCodeConfigurationCommandInput, options?: EndUserMessagingRequestOptions): Promise<CreateNotifyCodeConfigurationCommandOutput>;
60
+ createNotifyCodeConfiguration(args: CreateNotifyCodeConfigurationCommandInput, cb: (err: any, data?: CreateNotifyCodeConfigurationCommandOutput) => void): void;
61
+ createNotifyCodeConfiguration(args: CreateNotifyCodeConfigurationCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: CreateNotifyCodeConfigurationCommandOutput) => void): void;
62
+ /**
63
+ * @see {@link CreateRegistrationsFromBrandProfileCommand}
64
+ */
65
+ createRegistrationsFromBrandProfile(args: CreateRegistrationsFromBrandProfileCommandInput, options?: EndUserMessagingRequestOptions): Promise<CreateRegistrationsFromBrandProfileCommandOutput>;
66
+ createRegistrationsFromBrandProfile(args: CreateRegistrationsFromBrandProfileCommandInput, cb: (err: any, data?: CreateRegistrationsFromBrandProfileCommandOutput) => void): void;
67
+ createRegistrationsFromBrandProfile(args: CreateRegistrationsFromBrandProfileCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: CreateRegistrationsFromBrandProfileCommandOutput) => void): void;
68
+ /**
69
+ * @see {@link DeleteBrandProfileCommand}
70
+ */
71
+ deleteBrandProfile(args: DeleteBrandProfileCommandInput, options?: EndUserMessagingRequestOptions): Promise<DeleteBrandProfileCommandOutput>;
72
+ deleteBrandProfile(args: DeleteBrandProfileCommandInput, cb: (err: any, data?: DeleteBrandProfileCommandOutput) => void): void;
73
+ deleteBrandProfile(args: DeleteBrandProfileCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: DeleteBrandProfileCommandOutput) => void): void;
74
+ /**
75
+ * @see {@link DeleteBrandProfileAttributeCommand}
76
+ */
77
+ deleteBrandProfileAttribute(args: DeleteBrandProfileAttributeCommandInput, options?: EndUserMessagingRequestOptions): Promise<DeleteBrandProfileAttributeCommandOutput>;
78
+ deleteBrandProfileAttribute(args: DeleteBrandProfileAttributeCommandInput, cb: (err: any, data?: DeleteBrandProfileAttributeCommandOutput) => void): void;
79
+ deleteBrandProfileAttribute(args: DeleteBrandProfileAttributeCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: DeleteBrandProfileAttributeCommandOutput) => void): void;
80
+ /**
81
+ * @see {@link DeleteNotifyCodeConfigurationCommand}
82
+ */
83
+ deleteNotifyCodeConfiguration(args: DeleteNotifyCodeConfigurationCommandInput, options?: EndUserMessagingRequestOptions): Promise<DeleteNotifyCodeConfigurationCommandOutput>;
84
+ deleteNotifyCodeConfiguration(args: DeleteNotifyCodeConfigurationCommandInput, cb: (err: any, data?: DeleteNotifyCodeConfigurationCommandOutput) => void): void;
85
+ deleteNotifyCodeConfiguration(args: DeleteNotifyCodeConfigurationCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: DeleteNotifyCodeConfigurationCommandOutput) => void): void;
86
+ /**
87
+ * @see {@link GetBrandProfileCommand}
88
+ */
89
+ getBrandProfile(args: GetBrandProfileCommandInput, options?: EndUserMessagingRequestOptions): Promise<GetBrandProfileCommandOutput>;
90
+ getBrandProfile(args: GetBrandProfileCommandInput, cb: (err: any, data?: GetBrandProfileCommandOutput) => void): void;
91
+ getBrandProfile(args: GetBrandProfileCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: GetBrandProfileCommandOutput) => void): void;
92
+ /**
93
+ * @see {@link GetBrandProfileAttributeCommand}
94
+ */
95
+ getBrandProfileAttribute(args: GetBrandProfileAttributeCommandInput, options?: EndUserMessagingRequestOptions): Promise<GetBrandProfileAttributeCommandOutput>;
96
+ getBrandProfileAttribute(args: GetBrandProfileAttributeCommandInput, cb: (err: any, data?: GetBrandProfileAttributeCommandOutput) => void): void;
97
+ getBrandProfileAttribute(args: GetBrandProfileAttributeCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: GetBrandProfileAttributeCommandOutput) => void): void;
98
+ /**
99
+ * @see {@link GetJobCommand}
100
+ */
101
+ getJob(args: GetJobCommandInput, options?: EndUserMessagingRequestOptions): Promise<GetJobCommandOutput>;
102
+ getJob(args: GetJobCommandInput, cb: (err: any, data?: GetJobCommandOutput) => void): void;
103
+ getJob(args: GetJobCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: GetJobCommandOutput) => void): void;
104
+ /**
105
+ * @see {@link GetNotifyCodeConfigurationCommand}
106
+ */
107
+ getNotifyCodeConfiguration(args: GetNotifyCodeConfigurationCommandInput, options?: EndUserMessagingRequestOptions): Promise<GetNotifyCodeConfigurationCommandOutput>;
108
+ getNotifyCodeConfiguration(args: GetNotifyCodeConfigurationCommandInput, cb: (err: any, data?: GetNotifyCodeConfigurationCommandOutput) => void): void;
109
+ getNotifyCodeConfiguration(args: GetNotifyCodeConfigurationCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: GetNotifyCodeConfigurationCommandOutput) => void): void;
110
+ /**
111
+ * @see {@link ListBrandProfileAttributesCommand}
112
+ */
113
+ listBrandProfileAttributes(args: ListBrandProfileAttributesCommandInput, options?: EndUserMessagingRequestOptions): Promise<ListBrandProfileAttributesCommandOutput>;
114
+ listBrandProfileAttributes(args: ListBrandProfileAttributesCommandInput, cb: (err: any, data?: ListBrandProfileAttributesCommandOutput) => void): void;
115
+ listBrandProfileAttributes(args: ListBrandProfileAttributesCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: ListBrandProfileAttributesCommandOutput) => void): void;
116
+ /**
117
+ * @see {@link ListBrandProfilesCommand}
118
+ */
119
+ listBrandProfiles(): Promise<ListBrandProfilesCommandOutput>;
120
+ listBrandProfiles(args: ListBrandProfilesCommandInput, options?: EndUserMessagingRequestOptions): Promise<ListBrandProfilesCommandOutput>;
121
+ listBrandProfiles(args: ListBrandProfilesCommandInput, cb: (err: any, data?: ListBrandProfilesCommandOutput) => void): void;
122
+ listBrandProfiles(args: ListBrandProfilesCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: ListBrandProfilesCommandOutput) => void): void;
123
+ /**
124
+ * @see {@link ListJobsCommand}
125
+ */
126
+ listJobs(): Promise<ListJobsCommandOutput>;
127
+ listJobs(args: ListJobsCommandInput, options?: EndUserMessagingRequestOptions): Promise<ListJobsCommandOutput>;
128
+ listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
129
+ listJobs(args: ListJobsCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
130
+ /**
131
+ * @see {@link ListNotifyCodeConfigurationsCommand}
132
+ */
133
+ listNotifyCodeConfigurations(): Promise<ListNotifyCodeConfigurationsCommandOutput>;
134
+ listNotifyCodeConfigurations(args: ListNotifyCodeConfigurationsCommandInput, options?: EndUserMessagingRequestOptions): Promise<ListNotifyCodeConfigurationsCommandOutput>;
135
+ listNotifyCodeConfigurations(args: ListNotifyCodeConfigurationsCommandInput, cb: (err: any, data?: ListNotifyCodeConfigurationsCommandOutput) => void): void;
136
+ listNotifyCodeConfigurations(args: ListNotifyCodeConfigurationsCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: ListNotifyCodeConfigurationsCommandOutput) => void): void;
137
+ /**
138
+ * @see {@link ListRegistrationsFromBrandProfileCommand}
139
+ */
140
+ listRegistrationsFromBrandProfile(args: ListRegistrationsFromBrandProfileCommandInput, options?: EndUserMessagingRequestOptions): Promise<ListRegistrationsFromBrandProfileCommandOutput>;
141
+ listRegistrationsFromBrandProfile(args: ListRegistrationsFromBrandProfileCommandInput, cb: (err: any, data?: ListRegistrationsFromBrandProfileCommandOutput) => void): void;
142
+ listRegistrationsFromBrandProfile(args: ListRegistrationsFromBrandProfileCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: ListRegistrationsFromBrandProfileCommandOutput) => void): void;
143
+ /**
144
+ * @see {@link ListTagsForResourceCommand}
145
+ */
146
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: EndUserMessagingRequestOptions): Promise<ListTagsForResourceCommandOutput>;
147
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
148
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
149
+ /**
150
+ * @see {@link SendNotifyCodeVerificationCommand}
151
+ */
152
+ sendNotifyCodeVerification(args: SendNotifyCodeVerificationCommandInput, options?: EndUserMessagingRequestOptions): Promise<SendNotifyCodeVerificationCommandOutput>;
153
+ sendNotifyCodeVerification(args: SendNotifyCodeVerificationCommandInput, cb: (err: any, data?: SendNotifyCodeVerificationCommandOutput) => void): void;
154
+ sendNotifyCodeVerification(args: SendNotifyCodeVerificationCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: SendNotifyCodeVerificationCommandOutput) => void): void;
155
+ /**
156
+ * @see {@link TagResourceCommand}
157
+ */
158
+ tagResource(args: TagResourceCommandInput, options?: EndUserMessagingRequestOptions): Promise<TagResourceCommandOutput>;
159
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
160
+ tagResource(args: TagResourceCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
161
+ /**
162
+ * @see {@link UntagResourceCommand}
163
+ */
164
+ untagResource(args: UntagResourceCommandInput, options?: EndUserMessagingRequestOptions): Promise<UntagResourceCommandOutput>;
165
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
166
+ untagResource(args: UntagResourceCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
167
+ /**
168
+ * @see {@link UpdateBrandProfileCommand}
169
+ */
170
+ updateBrandProfile(args: UpdateBrandProfileCommandInput, options?: EndUserMessagingRequestOptions): Promise<UpdateBrandProfileCommandOutput>;
171
+ updateBrandProfile(args: UpdateBrandProfileCommandInput, cb: (err: any, data?: UpdateBrandProfileCommandOutput) => void): void;
172
+ updateBrandProfile(args: UpdateBrandProfileCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: UpdateBrandProfileCommandOutput) => void): void;
173
+ /**
174
+ * @see {@link UpdateBrandProfileAttributeCommand}
175
+ */
176
+ updateBrandProfileAttribute(args: UpdateBrandProfileAttributeCommandInput, options?: EndUserMessagingRequestOptions): Promise<UpdateBrandProfileAttributeCommandOutput>;
177
+ updateBrandProfileAttribute(args: UpdateBrandProfileAttributeCommandInput, cb: (err: any, data?: UpdateBrandProfileAttributeCommandOutput) => void): void;
178
+ updateBrandProfileAttribute(args: UpdateBrandProfileAttributeCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: UpdateBrandProfileAttributeCommandOutput) => void): void;
179
+ /**
180
+ * @see {@link UpdateBrandProfileFromRegistrationCommand}
181
+ */
182
+ updateBrandProfileFromRegistration(args: UpdateBrandProfileFromRegistrationCommandInput, options?: EndUserMessagingRequestOptions): Promise<UpdateBrandProfileFromRegistrationCommandOutput>;
183
+ updateBrandProfileFromRegistration(args: UpdateBrandProfileFromRegistrationCommandInput, cb: (err: any, data?: UpdateBrandProfileFromRegistrationCommandOutput) => void): void;
184
+ updateBrandProfileFromRegistration(args: UpdateBrandProfileFromRegistrationCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: UpdateBrandProfileFromRegistrationCommandOutput) => void): void;
185
+ /**
186
+ * @see {@link UpdateNotifyCodeConfigurationCommand}
187
+ */
188
+ updateNotifyCodeConfiguration(args: UpdateNotifyCodeConfigurationCommandInput, options?: EndUserMessagingRequestOptions): Promise<UpdateNotifyCodeConfigurationCommandOutput>;
189
+ updateNotifyCodeConfiguration(args: UpdateNotifyCodeConfigurationCommandInput, cb: (err: any, data?: UpdateNotifyCodeConfigurationCommandOutput) => void): void;
190
+ updateNotifyCodeConfiguration(args: UpdateNotifyCodeConfigurationCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: UpdateNotifyCodeConfigurationCommandOutput) => void): void;
191
+ /**
192
+ * @see {@link UpdateRegistrationsFromBrandProfileCommand}
193
+ */
194
+ updateRegistrationsFromBrandProfile(args: UpdateRegistrationsFromBrandProfileCommandInput, options?: EndUserMessagingRequestOptions): Promise<UpdateRegistrationsFromBrandProfileCommandOutput>;
195
+ updateRegistrationsFromBrandProfile(args: UpdateRegistrationsFromBrandProfileCommandInput, cb: (err: any, data?: UpdateRegistrationsFromBrandProfileCommandOutput) => void): void;
196
+ updateRegistrationsFromBrandProfile(args: UpdateRegistrationsFromBrandProfileCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: UpdateRegistrationsFromBrandProfileCommandOutput) => void): void;
197
+ /**
198
+ * @see {@link ValidateNotifyCodeVerificationCommand}
199
+ */
200
+ validateNotifyCodeVerification(args: ValidateNotifyCodeVerificationCommandInput, options?: EndUserMessagingRequestOptions): Promise<ValidateNotifyCodeVerificationCommandOutput>;
201
+ validateNotifyCodeVerification(args: ValidateNotifyCodeVerificationCommandInput, cb: (err: any, data?: ValidateNotifyCodeVerificationCommandOutput) => void): void;
202
+ validateNotifyCodeVerification(args: ValidateNotifyCodeVerificationCommandInput, options: EndUserMessagingRequestOptions, cb: (err: any, data?: ValidateNotifyCodeVerificationCommandOutput) => void): void;
203
+ /**
204
+ * @see {@link ListBrandProfileAttributesCommand}
205
+ * @param args - command input.
206
+ * @param paginationConfig - optional pagination config.
207
+ * @returns AsyncIterable of {@link ListBrandProfileAttributesCommandOutput}.
208
+ */
209
+ paginateListBrandProfileAttributes(args: ListBrandProfileAttributesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBrandProfileAttributesCommandOutput>;
210
+ /**
211
+ * @see {@link ListBrandProfilesCommand}
212
+ * @param args - command input.
213
+ * @param paginationConfig - optional pagination config.
214
+ * @returns AsyncIterable of {@link ListBrandProfilesCommandOutput}.
215
+ */
216
+ paginateListBrandProfiles(args?: ListBrandProfilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBrandProfilesCommandOutput>;
217
+ /**
218
+ * @see {@link ListJobsCommand}
219
+ * @param args - command input.
220
+ * @param paginationConfig - optional pagination config.
221
+ * @returns AsyncIterable of {@link ListJobsCommandOutput}.
222
+ */
223
+ paginateListJobs(args?: ListJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListJobsCommandOutput>;
224
+ /**
225
+ * @see {@link ListNotifyCodeConfigurationsCommand}
226
+ * @param args - command input.
227
+ * @param paginationConfig - optional pagination config.
228
+ * @returns AsyncIterable of {@link ListNotifyCodeConfigurationsCommandOutput}.
229
+ */
230
+ paginateListNotifyCodeConfigurations(args?: ListNotifyCodeConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListNotifyCodeConfigurationsCommandOutput>;
231
+ /**
232
+ * @see {@link ListRegistrationsFromBrandProfileCommand}
233
+ * @param args - command input.
234
+ * @param paginationConfig - optional pagination config.
235
+ * @returns AsyncIterable of {@link ListRegistrationsFromBrandProfileCommandOutput}.
236
+ */
237
+ paginateListRegistrationsFromBrandProfile(args: ListRegistrationsFromBrandProfileCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRegistrationsFromBrandProfileCommandOutput>;
238
+ /**
239
+ * @see {@link GetBrandProfileCommand}
240
+ * @param args - command input.
241
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
242
+ */
243
+ waitUntilBrandProfileActive(args: GetBrandProfileCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EndUserMessaging>, "client">): Promise<WaiterResult<GetBrandProfileCommandOutput>>;
244
+ /**
245
+ * @see {@link GetJobCommand}
246
+ * @param args - command input.
247
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
248
+ */
249
+ waitUntilJobSuccess(args: GetJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EndUserMessaging>, "client">): Promise<WaiterResult<GetJobCommandOutput>>;
250
+ }
251
+ /**
252
+ * <p>AWS End User Messaging provides a set of APIs to manage brand profiles, synchronize brand profile data with SMS and Rich Communication Services (RCS) registrations, and send and validate one-time passcodes across the SMS, voice, and WhatsApp channels.</p>
253
+ * @public
254
+ */
255
+ export declare class EndUserMessaging extends EndUserMessagingClient implements EndUserMessaging {
256
+ }
@@ -0,0 +1,213 @@
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
2
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
5
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
6
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
7
+ import type { 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, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
+ import type { CreateBrandProfileAttributesCommandInput, CreateBrandProfileAttributesCommandOutput } from "./commands/CreateBrandProfileAttributesCommand";
10
+ import type { CreateBrandProfileCommandInput, CreateBrandProfileCommandOutput } from "./commands/CreateBrandProfileCommand";
11
+ import type { CreateBrandProfileFromRegistrationCommandInput, CreateBrandProfileFromRegistrationCommandOutput } from "./commands/CreateBrandProfileFromRegistrationCommand";
12
+ import type { CreateNotifyCodeConfigurationCommandInput, CreateNotifyCodeConfigurationCommandOutput } from "./commands/CreateNotifyCodeConfigurationCommand";
13
+ import type { CreateRegistrationsFromBrandProfileCommandInput, CreateRegistrationsFromBrandProfileCommandOutput } from "./commands/CreateRegistrationsFromBrandProfileCommand";
14
+ import type { DeleteBrandProfileAttributeCommandInput, DeleteBrandProfileAttributeCommandOutput } from "./commands/DeleteBrandProfileAttributeCommand";
15
+ import type { DeleteBrandProfileCommandInput, DeleteBrandProfileCommandOutput } from "./commands/DeleteBrandProfileCommand";
16
+ import type { DeleteNotifyCodeConfigurationCommandInput, DeleteNotifyCodeConfigurationCommandOutput } from "./commands/DeleteNotifyCodeConfigurationCommand";
17
+ import type { GetBrandProfileAttributeCommandInput, GetBrandProfileAttributeCommandOutput } from "./commands/GetBrandProfileAttributeCommand";
18
+ import type { GetBrandProfileCommandInput, GetBrandProfileCommandOutput } from "./commands/GetBrandProfileCommand";
19
+ import type { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
20
+ import type { GetNotifyCodeConfigurationCommandInput, GetNotifyCodeConfigurationCommandOutput } from "./commands/GetNotifyCodeConfigurationCommand";
21
+ import type { ListBrandProfileAttributesCommandInput, ListBrandProfileAttributesCommandOutput } from "./commands/ListBrandProfileAttributesCommand";
22
+ import type { ListBrandProfilesCommandInput, ListBrandProfilesCommandOutput } from "./commands/ListBrandProfilesCommand";
23
+ import type { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
24
+ import type { ListNotifyCodeConfigurationsCommandInput, ListNotifyCodeConfigurationsCommandOutput } from "./commands/ListNotifyCodeConfigurationsCommand";
25
+ import type { ListRegistrationsFromBrandProfileCommandInput, ListRegistrationsFromBrandProfileCommandOutput } from "./commands/ListRegistrationsFromBrandProfileCommand";
26
+ import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
27
+ import type { SendNotifyCodeVerificationCommandInput, SendNotifyCodeVerificationCommandOutput } from "./commands/SendNotifyCodeVerificationCommand";
28
+ import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
29
+ import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
30
+ import type { UpdateBrandProfileAttributeCommandInput, UpdateBrandProfileAttributeCommandOutput } from "./commands/UpdateBrandProfileAttributeCommand";
31
+ import type { UpdateBrandProfileCommandInput, UpdateBrandProfileCommandOutput } from "./commands/UpdateBrandProfileCommand";
32
+ import type { UpdateBrandProfileFromRegistrationCommandInput, UpdateBrandProfileFromRegistrationCommandOutput } from "./commands/UpdateBrandProfileFromRegistrationCommand";
33
+ import type { UpdateNotifyCodeConfigurationCommandInput, UpdateNotifyCodeConfigurationCommandOutput } from "./commands/UpdateNotifyCodeConfigurationCommand";
34
+ import type { UpdateRegistrationsFromBrandProfileCommandInput, UpdateRegistrationsFromBrandProfileCommandOutput } from "./commands/UpdateRegistrationsFromBrandProfileCommand";
35
+ import type { ValidateNotifyCodeVerificationCommandInput, ValidateNotifyCodeVerificationCommandOutput } from "./commands/ValidateNotifyCodeVerificationCommand";
36
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
37
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
38
+ export { __Client };
39
+ /**
40
+ * @public
41
+ */
42
+ export type ServiceInputTypes = CreateBrandProfileAttributesCommandInput | CreateBrandProfileCommandInput | CreateBrandProfileFromRegistrationCommandInput | CreateNotifyCodeConfigurationCommandInput | CreateRegistrationsFromBrandProfileCommandInput | DeleteBrandProfileAttributeCommandInput | DeleteBrandProfileCommandInput | DeleteNotifyCodeConfigurationCommandInput | GetBrandProfileAttributeCommandInput | GetBrandProfileCommandInput | GetJobCommandInput | GetNotifyCodeConfigurationCommandInput | ListBrandProfileAttributesCommandInput | ListBrandProfilesCommandInput | ListJobsCommandInput | ListNotifyCodeConfigurationsCommandInput | ListRegistrationsFromBrandProfileCommandInput | ListTagsForResourceCommandInput | SendNotifyCodeVerificationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrandProfileAttributeCommandInput | UpdateBrandProfileCommandInput | UpdateBrandProfileFromRegistrationCommandInput | UpdateNotifyCodeConfigurationCommandInput | UpdateRegistrationsFromBrandProfileCommandInput | ValidateNotifyCodeVerificationCommandInput;
43
+ /**
44
+ * @public
45
+ */
46
+ export type ServiceOutputTypes = CreateBrandProfileAttributesCommandOutput | CreateBrandProfileCommandOutput | CreateBrandProfileFromRegistrationCommandOutput | CreateNotifyCodeConfigurationCommandOutput | CreateRegistrationsFromBrandProfileCommandOutput | DeleteBrandProfileAttributeCommandOutput | DeleteBrandProfileCommandOutput | DeleteNotifyCodeConfigurationCommandOutput | GetBrandProfileAttributeCommandOutput | GetBrandProfileCommandOutput | GetJobCommandOutput | GetNotifyCodeConfigurationCommandOutput | ListBrandProfileAttributesCommandOutput | ListBrandProfilesCommandOutput | ListJobsCommandOutput | ListNotifyCodeConfigurationsCommandOutput | ListRegistrationsFromBrandProfileCommandOutput | ListTagsForResourceCommandOutput | SendNotifyCodeVerificationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrandProfileAttributeCommandOutput | UpdateBrandProfileCommandOutput | UpdateBrandProfileFromRegistrationCommandOutput | UpdateNotifyCodeConfigurationCommandOutput | UpdateRegistrationsFromBrandProfileCommandOutput | ValidateNotifyCodeVerificationCommandOutput;
47
+ /**
48
+ * @public
49
+ */
50
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
51
+ /**
52
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
53
+ */
54
+ requestHandler?: __HttpHandlerUserInput;
55
+ /**
56
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
57
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
58
+ * @internal
59
+ */
60
+ sha256?: __ChecksumConstructor | __HashConstructor;
61
+ /**
62
+ * The function that will be used to convert strings into HTTP endpoints.
63
+ * @internal
64
+ */
65
+ urlParser?: __UrlParser;
66
+ /**
67
+ * A function that can calculate the length of a request body.
68
+ * @internal
69
+ */
70
+ bodyLengthChecker?: __BodyLengthCalculator;
71
+ /**
72
+ * A function that converts a stream into an array of bytes.
73
+ * @internal
74
+ */
75
+ streamCollector?: __StreamCollector;
76
+ /**
77
+ * The function that will be used to convert a base64-encoded string to a byte array.
78
+ * @internal
79
+ */
80
+ base64Decoder?: __Decoder;
81
+ /**
82
+ * The function that will be used to convert binary data to a base64-encoded string.
83
+ * @internal
84
+ */
85
+ base64Encoder?: __Encoder;
86
+ /**
87
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
88
+ * @internal
89
+ */
90
+ utf8Decoder?: __Decoder;
91
+ /**
92
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
93
+ * @internal
94
+ */
95
+ utf8Encoder?: __Encoder;
96
+ /**
97
+ * The runtime environment.
98
+ * @internal
99
+ */
100
+ runtime?: string;
101
+ /**
102
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
103
+ * trait of an operation.
104
+ */
105
+ disableHostPrefix?: boolean;
106
+ /**
107
+ * Unique service identifier.
108
+ * @internal
109
+ */
110
+ serviceId?: string;
111
+ /**
112
+ * Enables IPv6/IPv4 dualstack endpoint.
113
+ */
114
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
115
+ /**
116
+ * Enables FIPS compatible endpoints.
117
+ */
118
+ useFipsEndpoint?: boolean | __Provider<boolean>;
119
+ /**
120
+ * The AWS region to which this client will send requests
121
+ */
122
+ region?: string | __Provider<string>;
123
+ /**
124
+ * Setting a client profile is similar to setting a value for the
125
+ * AWS_PROFILE environment variable. Setting a profile on a client
126
+ * in code only affects the single client instance, unlike AWS_PROFILE.
127
+ *
128
+ * When set, and only for environments where an AWS configuration
129
+ * file exists, fields configurable by this file will be retrieved
130
+ * from the specified profile within that file.
131
+ * Conflicting code configuration and environment variables will
132
+ * still have higher priority.
133
+ *
134
+ * For client credential resolution that involves checking the AWS
135
+ * configuration file, the client's profile (this value) will be
136
+ * used unless a different profile is set in the credential
137
+ * provider options.
138
+ *
139
+ */
140
+ profile?: string;
141
+ /**
142
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
143
+ * @internal
144
+ */
145
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
146
+ /**
147
+ * Default credentials provider; Not available in browser runtime.
148
+ * @deprecated
149
+ * @internal
150
+ */
151
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
152
+ /**
153
+ * Value for how many times a request will be made at most in case of retry.
154
+ */
155
+ maxAttempts?: number | __Provider<number>;
156
+ /**
157
+ * Specifies which retry algorithm to use.
158
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
159
+ *
160
+ */
161
+ retryMode?: string | __Provider<string>;
162
+ /**
163
+ * Optional logger for logging debug/info/warn/error.
164
+ */
165
+ logger?: __Logger;
166
+ /**
167
+ * Optional extensions
168
+ */
169
+ extensions?: RuntimeExtension[];
170
+ /**
171
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
172
+ */
173
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
174
+ }
175
+ /**
176
+ * @public
177
+ */
178
+ export type EndUserMessagingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
179
+ /**
180
+ * @public
181
+ *
182
+ * The configuration interface of EndUserMessagingClient class constructor that set the region, credentials and other options.
183
+ */
184
+ export interface EndUserMessagingClientConfig extends EndUserMessagingClientConfigType {
185
+ }
186
+ /**
187
+ * @public
188
+ */
189
+ export type EndUserMessagingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
190
+ /**
191
+ * @public
192
+ *
193
+ * The resolved configuration interface of EndUserMessagingClient class. This is resolved and normalized from the {@link EndUserMessagingClientConfig | constructor configuration interface}.
194
+ */
195
+ export interface EndUserMessagingClientResolvedConfig extends EndUserMessagingClientResolvedConfigType {
196
+ }
197
+ /**
198
+ * <p>AWS End User Messaging provides a set of APIs to manage brand profiles, synchronize brand profile data with SMS and Rich Communication Services (RCS) registrations, and send and validate one-time passcodes across the SMS, voice, and WhatsApp channels.</p>
199
+ * @public
200
+ */
201
+ export declare class EndUserMessagingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EndUserMessagingClientResolvedConfig> {
202
+ /**
203
+ * The resolved configuration of EndUserMessagingClient class. This is resolved and normalized from the {@link EndUserMessagingClientConfig | constructor configuration interface}.
204
+ */
205
+ readonly config: EndUserMessagingClientResolvedConfig;
206
+ constructor(...[configuration]: __CheckOptionalClientConfig<EndUserMessagingClientConfig>);
207
+ /**
208
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
209
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
210
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
211
+ */
212
+ destroy(): void;
213
+ }
@@ -0,0 +1,29 @@
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import type { EndUserMessagingHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: EndUserMessagingHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): EndUserMessagingHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: EndUserMessagingHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;