@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,97 @@
1
+ import { EndUserMessagingClientConfig } from "./EndUserMessagingClient";
2
+ export declare const getRuntimeConfig: (config: EndUserMessagingClientConfig) => {
3
+ cacheMiddleware?: boolean;
4
+ endpoint?:
5
+ | ((
6
+ | string
7
+ | import("@smithy/types").Endpoint
8
+ | import("@smithy/types").EndpointV2
9
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
10
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
11
+ ) &
12
+ (
13
+ | string
14
+ | import("@smithy/types").Endpoint
15
+ | import("@smithy/types").EndpointV2
16
+ | import("@smithy/types").Provider<string>
17
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
18
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
19
+ ))
20
+ | undefined;
21
+ tls?: boolean;
22
+ ignoreConfiguredEndpointUrls?: boolean;
23
+ serviceConfiguredEndpoint?: never;
24
+ customUserAgent?: string | import("@smithy/types").UserAgent;
25
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
27
+ credentials?:
28
+ | import("@smithy/types").AwsCredentialIdentity
29
+ | import("@smithy/types").AwsCredentialIdentityProvider;
30
+ signer?:
31
+ | import("@smithy/types").RequestSigner
32
+ | ((
33
+ authScheme?: import("@smithy/types").AuthScheme,
34
+ ) => Promise<import("@smithy/types").RequestSigner>);
35
+ signingEscapePath?: boolean;
36
+ systemClockOffset?: number;
37
+ signingRegion?: string;
38
+ signerConstructor?: new (
39
+ options: import("@smithy/signature-v4").SignatureV4Init &
40
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
41
+ ) => import("@smithy/types").RequestSigner;
42
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
43
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
+ apiVersion: string;
45
+ base64Decoder: import("@smithy/types").Decoder;
46
+ base64Encoder: (_input: Uint8Array | string) => string;
47
+ disableHostPrefix: boolean;
48
+ endpointProvider: (
49
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
50
+ context?: {
51
+ logger?: import("@smithy/types").Logger;
52
+ },
53
+ ) => import("@smithy/types").EndpointV2;
54
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
55
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EndUserMessagingHttpAuthSchemeProvider;
56
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
57
+ logger: import("@smithy/types").Logger;
58
+ protocol:
59
+ | import("@smithy/types").$ClientProtocol<any, any>
60
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
61
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
62
+ protocolSettings: {
63
+ [setting: string]: unknown;
64
+ defaultNamespace?: string;
65
+ };
66
+ serviceId: string;
67
+ sha256: import("@smithy/types").HashConstructor;
68
+ urlParser: import("@smithy/types").UrlParser;
69
+ utf8Decoder: import("@smithy/types").Decoder;
70
+ utf8Encoder: (input: Uint8Array | string) => string;
71
+ profile?: string;
72
+ defaultsMode:
73
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
74
+ | import("@smithy/core/client").DefaultsMode;
75
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
+ credentialDefaultProvider:
77
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
78
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
79
+ defaultUserAgentProvider: (
80
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
81
+ ) => Promise<import("@smithy/types").UserAgent>;
82
+ maxAttempts: number | import("@smithy/types").Provider<number>;
83
+ region: string | import("@smithy/types").Provider<any>;
84
+ requestHandler:
85
+ | import("@smithy/fetch-http-handler").FetchHttpHandler
86
+ | import("@smithy/types").FetchHttpHandlerOptions
87
+ | import("@smithy/types").NodeHttpHandlerOptions
88
+ | Record<string, unknown>
89
+ | import("@smithy/core/protocols").HttpHandler<any>;
90
+ retryMode: string | import("@smithy/types").Provider<string>;
91
+ streamCollector: (
92
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
93
+ ) => Promise<Uint8Array>;
94
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
95
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
96
+ runtime: string;
97
+ };
@@ -0,0 +1,31 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
+ import { EndUserMessagingClientConfig } from "./EndUserMessagingClient";
3
+ export declare const getRuntimeConfig: (config: EndUserMessagingClientConfig) => {
4
+ apiVersion: string;
5
+ base64Decoder: import("@smithy/types").Decoder;
6
+ base64Encoder: (_input: Uint8Array | string) => string;
7
+ disableHostPrefix: boolean;
8
+ endpointProvider: (
9
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
10
+ context?: {
11
+ logger?: import("@smithy/types").Logger;
12
+ },
13
+ ) => import("@smithy/types").EndpointV2;
14
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
15
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EndUserMessagingHttpAuthSchemeProvider;
16
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
+ logger: import("@smithy/types").Logger;
18
+ protocol:
19
+ | import("@smithy/types").$ClientProtocol<any, any>
20
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
21
+ | typeof AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
26
+ serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
28
+ urlParser: import("@smithy/types").UrlParser;
29
+ utf8Decoder: import("@smithy/types").Decoder;
30
+ utf8Encoder: (input: Uint8Array | string) => string;
31
+ };
@@ -0,0 +1,11 @@
1
+ import { EndUserMessagingExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: EndUserMessagingExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[],
11
+ ) => any;
@@ -0,0 +1,115 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var EndUserMessagingServiceException$: StaticErrorSchema;
4
+ export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var ThrottlingException$: StaticErrorSchema;
10
+ export declare var ValidationException$: StaticErrorSchema;
11
+ export declare const errorTypeRegistries: TypeRegistry[];
12
+ export declare var BrandProfileAttributeInput$: StaticStructureSchema;
13
+ export declare var BrandProfileAttributeOutput$: StaticStructureSchema;
14
+ export declare var BrandProfileAttributeSummary$: StaticStructureSchema;
15
+ export declare var BrandProfileInfo$: StaticStructureSchema;
16
+ export declare var ChannelParameters$: StaticStructureSchema;
17
+ export declare var CodeConfigurationParameters$: StaticStructureSchema;
18
+ export declare var CreateBrandProfileAttributesInput$: StaticStructureSchema;
19
+ export declare var CreateBrandProfileAttributesOutput$: StaticStructureSchema;
20
+ export declare var CreateBrandProfileFromRegistrationInput$: StaticStructureSchema;
21
+ export declare var CreateBrandProfileFromRegistrationOutput$: StaticStructureSchema;
22
+ export declare var CreateBrandProfileInput$: StaticStructureSchema;
23
+ export declare var CreateBrandProfileOutput$: StaticStructureSchema;
24
+ export declare var CreateNotifyCodeConfigurationInput$: StaticStructureSchema;
25
+ export declare var CreateNotifyCodeConfigurationOutput$: StaticStructureSchema;
26
+ export declare var CreateRegistrationsFromBrandProfileInput$: StaticStructureSchema;
27
+ export declare var CreateRegistrationsFromBrandProfileOutput$: StaticStructureSchema;
28
+ export declare var DeleteBrandProfileAttributeInput$: StaticStructureSchema;
29
+ export declare var DeleteBrandProfileAttributeOutput$: StaticStructureSchema;
30
+ export declare var DeleteBrandProfileInput$: StaticStructureSchema;
31
+ export declare var DeleteBrandProfileOutput$: StaticStructureSchema;
32
+ export declare var DeleteNotifyCodeConfigurationInput$: StaticStructureSchema;
33
+ export declare var DeleteNotifyCodeConfigurationOutput$: StaticStructureSchema;
34
+ export declare var GetBrandProfileAttributeInput$: StaticStructureSchema;
35
+ export declare var GetBrandProfileAttributeOutput$: StaticStructureSchema;
36
+ export declare var GetBrandProfileInput$: StaticStructureSchema;
37
+ export declare var GetBrandProfileOutput$: StaticStructureSchema;
38
+ export declare var GetJobInput$: StaticStructureSchema;
39
+ export declare var GetNotifyCodeConfigurationInput$: StaticStructureSchema;
40
+ export declare var GetNotifyCodeConfigurationOutput$: StaticStructureSchema;
41
+ export declare var Job$: StaticStructureSchema;
42
+ export declare var JobResource$: StaticStructureSchema;
43
+ export declare var JobResult$: StaticStructureSchema;
44
+ export declare var JobSummary$: StaticStructureSchema;
45
+ export declare var ListBrandProfileAttributesInput$: StaticStructureSchema;
46
+ export declare var ListBrandProfileAttributesOutput$: StaticStructureSchema;
47
+ export declare var ListBrandProfilesInput$: StaticStructureSchema;
48
+ export declare var ListBrandProfilesOutput$: StaticStructureSchema;
49
+ export declare var ListJobsInput$: StaticStructureSchema;
50
+ export declare var ListJobsOutput$: StaticStructureSchema;
51
+ export declare var ListNotifyCodeConfigurationsInput$: StaticStructureSchema;
52
+ export declare var ListNotifyCodeConfigurationsOutput$: StaticStructureSchema;
53
+ export declare var ListRegistrationsFromBrandProfileInput$: StaticStructureSchema;
54
+ export declare var ListRegistrationsFromBrandProfileOutput$: StaticStructureSchema;
55
+ export declare var ListTagsForResourceInput$: StaticStructureSchema;
56
+ export declare var ListTagsForResourceOutput$: StaticStructureSchema;
57
+ export declare var NotifyCodeConfiguration$: StaticStructureSchema;
58
+ export declare var NotifyParameters$: StaticStructureSchema;
59
+ export declare var RegistrationAssociationSummary$: StaticStructureSchema;
60
+ export declare var SendNotifyCodeVerificationInput$: StaticStructureSchema;
61
+ export declare var SendNotifyCodeVerificationOutput$: StaticStructureSchema;
62
+ export declare var Tag$: StaticStructureSchema;
63
+ export declare var TagResourceInput$: StaticStructureSchema;
64
+ export declare var TagResourceOutput$: StaticStructureSchema;
65
+ export declare var TextParameters$: StaticStructureSchema;
66
+ export declare var UntagResourceInput$: StaticStructureSchema;
67
+ export declare var UntagResourceOutput$: StaticStructureSchema;
68
+ export declare var UpdateBrandProfileAttributeInput$: StaticStructureSchema;
69
+ export declare var UpdateBrandProfileAttributeOutput$: StaticStructureSchema;
70
+ export declare var UpdateBrandProfileFromRegistrationInput$: StaticStructureSchema;
71
+ export declare var UpdateBrandProfileFromRegistrationOutput$: StaticStructureSchema;
72
+ export declare var UpdateBrandProfileInput$: StaticStructureSchema;
73
+ export declare var UpdateBrandProfileOutput$: StaticStructureSchema;
74
+ export declare var UpdateChannelParameters$: StaticStructureSchema;
75
+ export declare var UpdateCodeConfigurationParameters$: StaticStructureSchema;
76
+ export declare var UpdateNotifyCodeConfigurationInput$: StaticStructureSchema;
77
+ export declare var UpdateNotifyCodeConfigurationOutput$: StaticStructureSchema;
78
+ export declare var UpdateNotifyParameters$: StaticStructureSchema;
79
+ export declare var UpdateRegistrationsFromBrandProfileInput$: StaticStructureSchema;
80
+ export declare var UpdateRegistrationsFromBrandProfileOutput$: StaticStructureSchema;
81
+ export declare var UpdateTextParameters$: StaticStructureSchema;
82
+ export declare var UpdateVoiceParameters$: StaticStructureSchema;
83
+ export declare var UpdateWhatsAppParameters$: StaticStructureSchema;
84
+ export declare var ValidateNotifyCodeVerificationInput$: StaticStructureSchema;
85
+ export declare var ValidateNotifyCodeVerificationOutput$: StaticStructureSchema;
86
+ export declare var ValidationExceptionField$: StaticStructureSchema;
87
+ export declare var VoiceParameters$: StaticStructureSchema;
88
+ export declare var WhatsAppParameters$: StaticStructureSchema;
89
+ export declare var CreateBrandProfile$: StaticOperationSchema;
90
+ export declare var CreateBrandProfileAttributes$: StaticOperationSchema;
91
+ export declare var CreateBrandProfileFromRegistration$: StaticOperationSchema;
92
+ export declare var CreateNotifyCodeConfiguration$: StaticOperationSchema;
93
+ export declare var CreateRegistrationsFromBrandProfile$: StaticOperationSchema;
94
+ export declare var DeleteBrandProfile$: StaticOperationSchema;
95
+ export declare var DeleteBrandProfileAttribute$: StaticOperationSchema;
96
+ export declare var DeleteNotifyCodeConfiguration$: StaticOperationSchema;
97
+ export declare var GetBrandProfile$: StaticOperationSchema;
98
+ export declare var GetBrandProfileAttribute$: StaticOperationSchema;
99
+ export declare var GetJob$: StaticOperationSchema;
100
+ export declare var GetNotifyCodeConfiguration$: StaticOperationSchema;
101
+ export declare var ListBrandProfileAttributes$: StaticOperationSchema;
102
+ export declare var ListBrandProfiles$: StaticOperationSchema;
103
+ export declare var ListJobs$: StaticOperationSchema;
104
+ export declare var ListNotifyCodeConfigurations$: StaticOperationSchema;
105
+ export declare var ListRegistrationsFromBrandProfile$: StaticOperationSchema;
106
+ export declare var ListTagsForResource$: StaticOperationSchema;
107
+ export declare var SendNotifyCodeVerification$: StaticOperationSchema;
108
+ export declare var TagResource$: StaticOperationSchema;
109
+ export declare var UntagResource$: StaticOperationSchema;
110
+ export declare var UpdateBrandProfile$: StaticOperationSchema;
111
+ export declare var UpdateBrandProfileAttribute$: StaticOperationSchema;
112
+ export declare var UpdateBrandProfileFromRegistration$: StaticOperationSchema;
113
+ export declare var UpdateNotifyCodeConfiguration$: StaticOperationSchema;
114
+ export declare var UpdateRegistrationsFromBrandProfile$: StaticOperationSchema;
115
+ export declare var ValidateNotifyCodeVerification$: StaticOperationSchema;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForBrandProfileActive";
2
+ export * from "./waitForJobSuccess";
@@ -0,0 +1,15 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
2
+ import {
3
+ GetBrandProfileCommandInput,
4
+ GetBrandProfileCommandOutput,
5
+ } from "../commands/GetBrandProfileCommand";
6
+ import { EndUserMessagingClient } from "../EndUserMessagingClient";
7
+ import { EndUserMessagingServiceException } from "../models/EndUserMessagingServiceException";
8
+ export declare const waitForBrandProfileActive: (
9
+ params: WaiterConfiguration<EndUserMessagingClient>,
10
+ input: GetBrandProfileCommandInput,
11
+ ) => Promise<WaiterResult<GetBrandProfileCommandOutput | EndUserMessagingServiceException>>;
12
+ export declare const waitUntilBrandProfileActive: (
13
+ params: WaiterConfiguration<EndUserMessagingClient>,
14
+ input: GetBrandProfileCommandInput,
15
+ ) => Promise<WaiterResult<GetBrandProfileCommandOutput>>;
@@ -0,0 +1,12 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
2
+ import { GetJobCommandInput, GetJobCommandOutput } from "../commands/GetJobCommand";
3
+ import { EndUserMessagingClient } from "../EndUserMessagingClient";
4
+ import { EndUserMessagingServiceException } from "../models/EndUserMessagingServiceException";
5
+ export declare const waitForJobSuccess: (
6
+ params: WaiterConfiguration<EndUserMessagingClient>,
7
+ input: GetJobCommandInput,
8
+ ) => Promise<WaiterResult<GetJobCommandOutput | EndUserMessagingServiceException>>;
9
+ export declare const waitUntilJobSuccess: (
10
+ params: WaiterConfiguration<EndUserMessagingClient>,
11
+ input: GetJobCommandInput,
12
+ ) => Promise<WaiterResult<GetJobCommandOutput>>;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForBrandProfileActive";
2
+ export * from "./waitForJobSuccess";
@@ -0,0 +1,15 @@
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
2
+ import { type GetBrandProfileCommandInput, type GetBrandProfileCommandOutput } from "../commands/GetBrandProfileCommand";
3
+ import type { EndUserMessagingClient } from "../EndUserMessagingClient";
4
+ import type { EndUserMessagingServiceException } from "../models/EndUserMessagingServiceException";
5
+ /**
6
+ * Wait until a brand profile reaches the ACTIVE state.
7
+ * @deprecated Use waitUntilBrandProfileActive instead. waitForBrandProfileActive does not throw error in non-success cases.
8
+ */
9
+ export declare const waitForBrandProfileActive: (params: WaiterConfiguration<EndUserMessagingClient>, input: GetBrandProfileCommandInput) => Promise<WaiterResult<GetBrandProfileCommandOutput | EndUserMessagingServiceException>>;
10
+ /**
11
+ * Wait until a brand profile reaches the ACTIVE state.
12
+ * @param params - Waiter configuration options.
13
+ * @param input - The input to GetBrandProfileCommand for polling.
14
+ */
15
+ export declare const waitUntilBrandProfileActive: (params: WaiterConfiguration<EndUserMessagingClient>, input: GetBrandProfileCommandInput) => Promise<WaiterResult<GetBrandProfileCommandOutput>>;
@@ -0,0 +1,15 @@
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
2
+ import { type GetJobCommandInput, type GetJobCommandOutput } from "../commands/GetJobCommand";
3
+ import type { EndUserMessagingClient } from "../EndUserMessagingClient";
4
+ import type { EndUserMessagingServiceException } from "../models/EndUserMessagingServiceException";
5
+ /**
6
+ * Wait until an async job reaches the SUCCESS terminal state.
7
+ * @deprecated Use waitUntilJobSuccess instead. waitForJobSuccess does not throw error in non-success cases.
8
+ */
9
+ export declare const waitForJobSuccess: (params: WaiterConfiguration<EndUserMessagingClient>, input: GetJobCommandInput) => Promise<WaiterResult<GetJobCommandOutput | EndUserMessagingServiceException>>;
10
+ /**
11
+ * Wait until an async job reaches the SUCCESS terminal state.
12
+ * @param params - Waiter configuration options.
13
+ * @param input - The input to GetJobCommand for polling.
14
+ */
15
+ export declare const waitUntilJobSuccess: (params: WaiterConfiguration<EndUserMessagingClient>, input: GetJobCommandInput) => Promise<WaiterResult<GetJobCommandOutput>>;
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "@aws-sdk/client-endusermessaging",
3
+ "version": "3.1145.0",
4
+ "description": "AWS SDK for JavaScript Endusermessaging Client for Node.js, Browser and React Native",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-endusermessaging",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-endusermessaging"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
36
+ "scripts": {
37
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
38
+ "build:cjs": "node ../../scripts/compilation/inline",
39
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
40
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
41
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
42
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
43
+ "clean": "premove dist-cjs dist-es dist-types",
44
+ "extract:docs": "api-extractor run --local",
45
+ "generate:client": "node ../../scripts/generate-clients/single-service",
46
+ "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
+ },
48
+ "dependencies": {
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
+ "tslib": "^2.6.2"
57
+ },
58
+ "devDependencies": {
59
+ "@tsconfig/node20": "20.1.8",
60
+ "@types/node": "^20.14.8",
61
+ "concurrently": "7.0.0",
62
+ "downlevel-dts": "0.10.1",
63
+ "premove": "4.0.0",
64
+ "typescript": "~7.0.2"
65
+ },
66
+ "engines": {
67
+ "node": ">=20.0.0"
68
+ }
69
+ }