@aws-sdk/client-socialmessaging 3.934.0 → 3.935.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.
package/dist-cjs/index.js CHANGED
@@ -141,10 +141,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends SocialMessagin
141
141
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
142
142
  }
143
143
  };
144
- const RegistrationStatus = {
145
- COMPLETE: "COMPLETE",
146
- INCOMPLETE: "INCOMPLETE",
147
- };
148
144
  let DependencyException$1 = class DependencyException extends SocialMessagingServiceException$1 {
149
145
  name = "DependencyException";
150
146
  $fault = "server";
@@ -1561,6 +1557,11 @@ const paginateListWhatsAppMessageTemplates = core.createPaginator(SocialMessagin
1561
1557
 
1562
1558
  const paginateListWhatsAppTemplateLibrary = core.createPaginator(SocialMessagingClient, ListWhatsAppTemplateLibraryCommand, "nextToken", "nextToken", "maxResults");
1563
1559
 
1560
+ const RegistrationStatus = {
1561
+ COMPLETE: "COMPLETE",
1562
+ INCOMPLETE: "INCOMPLETE",
1563
+ };
1564
+
1564
1565
  Object.defineProperty(exports, "$Command", {
1565
1566
  enumerable: true,
1566
1567
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./SocialMessagingClient";
2
2
  export * from "./SocialMessaging";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { SocialMessagingServiceException } from "./models/SocialMessagingServiceException";
@@ -0,0 +1,4 @@
1
+ export const RegistrationStatus = {
2
+ COMPLETE: "COMPLETE",
3
+ INCOMPLETE: "INCOMPLETE",
4
+ };
@@ -0,0 +1,112 @@
1
+ import { SocialMessagingServiceException as __BaseException } from "./SocialMessagingServiceException";
2
+ export class AccessDeniedByMetaException extends __BaseException {
3
+ name = "AccessDeniedByMetaException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedByMetaException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedByMetaException.prototype);
12
+ }
13
+ }
14
+ export class AccessDeniedException extends __BaseException {
15
+ name = "AccessDeniedException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "AccessDeniedException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
24
+ }
25
+ }
26
+ export class DependencyException extends __BaseException {
27
+ name = "DependencyException";
28
+ $fault = "server";
29
+ $retryable = {};
30
+ constructor(opts) {
31
+ super({
32
+ name: "DependencyException",
33
+ $fault: "server",
34
+ ...opts,
35
+ });
36
+ Object.setPrototypeOf(this, DependencyException.prototype);
37
+ }
38
+ }
39
+ export class InvalidParametersException extends __BaseException {
40
+ name = "InvalidParametersException";
41
+ $fault = "client";
42
+ constructor(opts) {
43
+ super({
44
+ name: "InvalidParametersException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, InvalidParametersException.prototype);
49
+ }
50
+ }
51
+ export class LimitExceededException extends __BaseException {
52
+ name = "LimitExceededException";
53
+ $fault = "client";
54
+ constructor(opts) {
55
+ super({
56
+ name: "LimitExceededException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
61
+ }
62
+ }
63
+ export class ThrottledRequestException extends __BaseException {
64
+ name = "ThrottledRequestException";
65
+ $fault = "client";
66
+ $retryable = {};
67
+ constructor(opts) {
68
+ super({
69
+ name: "ThrottledRequestException",
70
+ $fault: "client",
71
+ ...opts,
72
+ });
73
+ Object.setPrototypeOf(this, ThrottledRequestException.prototype);
74
+ }
75
+ }
76
+ export class ValidationException extends __BaseException {
77
+ name = "ValidationException";
78
+ $fault = "client";
79
+ constructor(opts) {
80
+ super({
81
+ name: "ValidationException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ Object.setPrototypeOf(this, ValidationException.prototype);
86
+ }
87
+ }
88
+ export class InternalServiceException extends __BaseException {
89
+ name = "InternalServiceException";
90
+ $fault = "server";
91
+ $retryable = {};
92
+ constructor(opts) {
93
+ super({
94
+ name: "InternalServiceException",
95
+ $fault: "server",
96
+ ...opts,
97
+ });
98
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
99
+ }
100
+ }
101
+ export class ResourceNotFoundException extends __BaseException {
102
+ name = "ResourceNotFoundException";
103
+ $fault = "client";
104
+ constructor(opts) {
105
+ super({
106
+ name: "ResourceNotFoundException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
111
+ }
112
+ }
@@ -1,116 +1 @@
1
- import { SocialMessagingServiceException as __BaseException } from "./SocialMessagingServiceException";
2
- export class AccessDeniedByMetaException extends __BaseException {
3
- name = "AccessDeniedByMetaException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedByMetaException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedByMetaException.prototype);
12
- }
13
- }
14
- export class AccessDeniedException extends __BaseException {
15
- name = "AccessDeniedException";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "AccessDeniedException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
24
- }
25
- }
26
- export const RegistrationStatus = {
27
- COMPLETE: "COMPLETE",
28
- INCOMPLETE: "INCOMPLETE",
29
- };
30
- export class DependencyException extends __BaseException {
31
- name = "DependencyException";
32
- $fault = "server";
33
- $retryable = {};
34
- constructor(opts) {
35
- super({
36
- name: "DependencyException",
37
- $fault: "server",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, DependencyException.prototype);
41
- }
42
- }
43
- export class InvalidParametersException extends __BaseException {
44
- name = "InvalidParametersException";
45
- $fault = "client";
46
- constructor(opts) {
47
- super({
48
- name: "InvalidParametersException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- Object.setPrototypeOf(this, InvalidParametersException.prototype);
53
- }
54
- }
55
- export class LimitExceededException extends __BaseException {
56
- name = "LimitExceededException";
57
- $fault = "client";
58
- constructor(opts) {
59
- super({
60
- name: "LimitExceededException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- Object.setPrototypeOf(this, LimitExceededException.prototype);
65
- }
66
- }
67
- export class ThrottledRequestException extends __BaseException {
68
- name = "ThrottledRequestException";
69
- $fault = "client";
70
- $retryable = {};
71
- constructor(opts) {
72
- super({
73
- name: "ThrottledRequestException",
74
- $fault: "client",
75
- ...opts,
76
- });
77
- Object.setPrototypeOf(this, ThrottledRequestException.prototype);
78
- }
79
- }
80
- export class ValidationException extends __BaseException {
81
- name = "ValidationException";
82
- $fault = "client";
83
- constructor(opts) {
84
- super({
85
- name: "ValidationException",
86
- $fault: "client",
87
- ...opts,
88
- });
89
- Object.setPrototypeOf(this, ValidationException.prototype);
90
- }
91
- }
92
- export class InternalServiceException extends __BaseException {
93
- name = "InternalServiceException";
94
- $fault = "server";
95
- $retryable = {};
96
- constructor(opts) {
97
- super({
98
- name: "InternalServiceException",
99
- $fault: "server",
100
- ...opts,
101
- });
102
- Object.setPrototypeOf(this, InternalServiceException.prototype);
103
- }
104
- }
105
- export class ResourceNotFoundException extends __BaseException {
106
- name = "ResourceNotFoundException";
107
- $fault = "client";
108
- constructor(opts) {
109
- super({
110
- name: "ResourceNotFoundException",
111
- $fault: "client",
112
- ...opts,
113
- });
114
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
115
- }
116
- }
1
+ export {};
@@ -207,7 +207,7 @@ const _wN = "wabaName";
207
207
  const _zTTA = "zeroTapTermsAccepted";
208
208
  const n0 = "com.amazonaws.socialmessaging";
209
209
  import { TypeRegistry } from "@smithy/core/schema";
210
- import { AccessDeniedByMetaException as __AccessDeniedByMetaException, AccessDeniedException as __AccessDeniedException, DependencyException as __DependencyException, InternalServiceException as __InternalServiceException, InvalidParametersException as __InvalidParametersException, LimitExceededException as __LimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ThrottledRequestException as __ThrottledRequestException, ValidationException as __ValidationException, } from "../models/index";
210
+ import { AccessDeniedByMetaException as __AccessDeniedByMetaException, AccessDeniedException as __AccessDeniedException, DependencyException as __DependencyException, InternalServiceException as __InternalServiceException, InvalidParametersException as __InvalidParametersException, LimitExceededException as __LimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ThrottledRequestException as __ThrottledRequestException, ValidationException as __ValidationException, } from "../models/errors";
211
211
  import { SocialMessagingServiceException as __SocialMessagingServiceException } from "../models/SocialMessagingServiceException";
212
212
  export var AssociateInProgressToken = [0, n0, _AIPT, 8, 0];
213
213
  export var TwoFactorPin = [0, n0, _TFP, 8, 0];
@@ -35,5 +35,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
35
35
  export type { SocialMessagingExtensionConfiguration } from "./extensionConfiguration";
36
36
  export * from "./commands";
37
37
  export * from "./pagination";
38
- export * from "./models";
38
+ export * from "./models/enums";
39
+ export * from "./models/errors";
40
+ export type * from "./models/models_0";
39
41
  export { SocialMessagingServiceException } from "./models/SocialMessagingServiceException";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const RegistrationStatus: {
6
+ readonly COMPLETE: "COMPLETE";
7
+ readonly INCOMPLETE: "INCOMPLETE";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type RegistrationStatus = (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
@@ -0,0 +1,114 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SocialMessagingServiceException as __BaseException } from "./SocialMessagingServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedByMetaException extends __BaseException {
8
+ readonly name: "AccessDeniedByMetaException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedByMetaException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>You do not have sufficient access to perform this action.</p>
17
+ * @public
18
+ */
19
+ export declare class AccessDeniedException extends __BaseException {
20
+ readonly name: "AccessDeniedException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>Thrown when performing an action because a dependency would be broken.</p>
29
+ * @public
30
+ */
31
+ export declare class DependencyException extends __BaseException {
32
+ readonly name: "DependencyException";
33
+ readonly $fault: "server";
34
+ $retryable: {};
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<DependencyException, __BaseException>);
39
+ }
40
+ /**
41
+ * <p>One or more parameters provided to the action are not valid.</p>
42
+ * @public
43
+ */
44
+ export declare class InvalidParametersException extends __BaseException {
45
+ readonly name: "InvalidParametersException";
46
+ readonly $fault: "client";
47
+ /**
48
+ * @internal
49
+ */
50
+ constructor(opts: __ExceptionOptionType<InvalidParametersException, __BaseException>);
51
+ }
52
+ /**
53
+ * <p>The request was denied because it would exceed one or more service quotas or limits.</p>
54
+ * @public
55
+ */
56
+ export declare class LimitExceededException extends __BaseException {
57
+ readonly name: "LimitExceededException";
58
+ readonly $fault: "client";
59
+ /**
60
+ * @internal
61
+ */
62
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
63
+ }
64
+ /**
65
+ * <p>The request was denied due to request throttling.</p>
66
+ * @public
67
+ */
68
+ export declare class ThrottledRequestException extends __BaseException {
69
+ readonly name: "ThrottledRequestException";
70
+ readonly $fault: "client";
71
+ $retryable: {};
72
+ /**
73
+ * @internal
74
+ */
75
+ constructor(opts: __ExceptionOptionType<ThrottledRequestException, __BaseException>);
76
+ }
77
+ /**
78
+ * <p>The request contains an invalid parameter value. </p>
79
+ * @public
80
+ */
81
+ export declare class ValidationException extends __BaseException {
82
+ readonly name: "ValidationException";
83
+ readonly $fault: "client";
84
+ /**
85
+ * @internal
86
+ */
87
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
88
+ }
89
+ /**
90
+ * <p>The request processing has failed because of an unknown error, exception, or
91
+ * failure.</p>
92
+ * @public
93
+ */
94
+ export declare class InternalServiceException extends __BaseException {
95
+ readonly name: "InternalServiceException";
96
+ readonly $fault: "server";
97
+ $retryable: {};
98
+ /**
99
+ * @internal
100
+ */
101
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
102
+ }
103
+ /**
104
+ * <p>The resource was not found.</p>
105
+ * @public
106
+ */
107
+ export declare class ResourceNotFoundException extends __BaseException {
108
+ readonly name: "ResourceNotFoundException";
109
+ readonly $fault: "client";
110
+ /**
111
+ * @internal
112
+ */
113
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
114
+ }
@@ -1,29 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SocialMessagingServiceException as __BaseException } from "./SocialMessagingServiceException";
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedByMetaException extends __BaseException {
8
- readonly name: "AccessDeniedByMetaException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedByMetaException, __BaseException>);
14
- }
15
- /**
16
- * <p>You do not have sufficient access to perform this action.</p>
17
- * @public
18
- */
19
- export declare class AccessDeniedException extends __BaseException {
20
- readonly name: "AccessDeniedException";
21
- readonly $fault: "client";
22
- /**
23
- * @internal
24
- */
25
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
26
- }
1
+ import { RegistrationStatus } from "./enums";
27
2
  /**
28
3
  * <p>The tag for a resource.</p>
29
4
  * @public
@@ -248,18 +223,6 @@ export interface AssociateWhatsAppBusinessAccountInput {
248
223
  */
249
224
  setupFinalization?: WhatsAppSetupFinalization | undefined;
250
225
  }
251
- /**
252
- * @public
253
- * @enum
254
- */
255
- export declare const RegistrationStatus: {
256
- readonly COMPLETE: "COMPLETE";
257
- readonly INCOMPLETE: "INCOMPLETE";
258
- };
259
- /**
260
- * @public
261
- */
262
- export type RegistrationStatus = (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
263
226
  /**
264
227
  * <p>The details of your WhatsApp phone number.</p>
265
228
  * @public
@@ -364,68 +327,6 @@ export interface AssociateWhatsAppBusinessAccountOutput {
364
327
  */
365
328
  statusCode?: number | undefined;
366
329
  }
367
- /**
368
- * <p>Thrown when performing an action because a dependency would be broken.</p>
369
- * @public
370
- */
371
- export declare class DependencyException extends __BaseException {
372
- readonly name: "DependencyException";
373
- readonly $fault: "server";
374
- $retryable: {};
375
- /**
376
- * @internal
377
- */
378
- constructor(opts: __ExceptionOptionType<DependencyException, __BaseException>);
379
- }
380
- /**
381
- * <p>One or more parameters provided to the action are not valid.</p>
382
- * @public
383
- */
384
- export declare class InvalidParametersException extends __BaseException {
385
- readonly name: "InvalidParametersException";
386
- readonly $fault: "client";
387
- /**
388
- * @internal
389
- */
390
- constructor(opts: __ExceptionOptionType<InvalidParametersException, __BaseException>);
391
- }
392
- /**
393
- * <p>The request was denied because it would exceed one or more service quotas or limits.</p>
394
- * @public
395
- */
396
- export declare class LimitExceededException extends __BaseException {
397
- readonly name: "LimitExceededException";
398
- readonly $fault: "client";
399
- /**
400
- * @internal
401
- */
402
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
403
- }
404
- /**
405
- * <p>The request was denied due to request throttling.</p>
406
- * @public
407
- */
408
- export declare class ThrottledRequestException extends __BaseException {
409
- readonly name: "ThrottledRequestException";
410
- readonly $fault: "client";
411
- $retryable: {};
412
- /**
413
- * @internal
414
- */
415
- constructor(opts: __ExceptionOptionType<ThrottledRequestException, __BaseException>);
416
- }
417
- /**
418
- * <p>The request contains an invalid parameter value. </p>
419
- * @public
420
- */
421
- export declare class ValidationException extends __BaseException {
422
- readonly name: "ValidationException";
423
- readonly $fault: "client";
424
- /**
425
- * @internal
426
- */
427
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
428
- }
429
330
  /**
430
331
  * @public
431
332
  */
@@ -461,32 +362,6 @@ export interface CreateWhatsAppMessageTemplateOutput {
461
362
  */
462
363
  category?: string | undefined;
463
364
  }
464
- /**
465
- * <p>The request processing has failed because of an unknown error, exception, or
466
- * failure.</p>
467
- * @public
468
- */
469
- export declare class InternalServiceException extends __BaseException {
470
- readonly name: "InternalServiceException";
471
- readonly $fault: "server";
472
- $retryable: {};
473
- /**
474
- * @internal
475
- */
476
- constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
477
- }
478
- /**
479
- * <p>The resource was not found.</p>
480
- * @public
481
- */
482
- export declare class ResourceNotFoundException extends __BaseException {
483
- readonly name: "ResourceNotFoundException";
484
- readonly $fault: "client";
485
- /**
486
- * @internal
487
- */
488
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
489
- }
490
365
  /**
491
366
  * <p>Configuration options for customizing the body content of a template from Meta's library.</p>
492
367
  * @public
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SocialMessagingExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { SocialMessagingServiceException } from "./models/SocialMessagingServiceException";
@@ -0,0 +1,6 @@
1
+ export declare const RegistrationStatus: {
2
+ readonly COMPLETE: "COMPLETE";
3
+ readonly INCOMPLETE: "INCOMPLETE";
4
+ };
5
+ export type RegistrationStatus =
6
+ (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
@@ -0,0 +1,68 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SocialMessagingServiceException as __BaseException } from "./SocialMessagingServiceException";
3
+ export declare class AccessDeniedByMetaException extends __BaseException {
4
+ readonly name: "AccessDeniedByMetaException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedByMetaException, __BaseException>
8
+ );
9
+ }
10
+ export declare class AccessDeniedException extends __BaseException {
11
+ readonly name: "AccessDeniedException";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
15
+ );
16
+ }
17
+ export declare class DependencyException extends __BaseException {
18
+ readonly name: "DependencyException";
19
+ readonly $fault: "server";
20
+ $retryable: {};
21
+ constructor(
22
+ opts: __ExceptionOptionType<DependencyException, __BaseException>
23
+ );
24
+ }
25
+ export declare class InvalidParametersException extends __BaseException {
26
+ readonly name: "InvalidParametersException";
27
+ readonly $fault: "client";
28
+ constructor(
29
+ opts: __ExceptionOptionType<InvalidParametersException, __BaseException>
30
+ );
31
+ }
32
+ export declare class LimitExceededException extends __BaseException {
33
+ readonly name: "LimitExceededException";
34
+ readonly $fault: "client";
35
+ constructor(
36
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
37
+ );
38
+ }
39
+ export declare class ThrottledRequestException extends __BaseException {
40
+ readonly name: "ThrottledRequestException";
41
+ readonly $fault: "client";
42
+ $retryable: {};
43
+ constructor(
44
+ opts: __ExceptionOptionType<ThrottledRequestException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ValidationException extends __BaseException {
48
+ readonly name: "ValidationException";
49
+ readonly $fault: "client";
50
+ constructor(
51
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
52
+ );
53
+ }
54
+ export declare class InternalServiceException extends __BaseException {
55
+ readonly name: "InternalServiceException";
56
+ readonly $fault: "server";
57
+ $retryable: {};
58
+ constructor(
59
+ opts: __ExceptionOptionType<InternalServiceException, __BaseException>
60
+ );
61
+ }
62
+ export declare class ResourceNotFoundException extends __BaseException {
63
+ readonly name: "ResourceNotFoundException";
64
+ readonly $fault: "client";
65
+ constructor(
66
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
67
+ );
68
+ }
@@ -1,19 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SocialMessagingServiceException as __BaseException } from "./SocialMessagingServiceException";
3
- export declare class AccessDeniedByMetaException extends __BaseException {
4
- readonly name: "AccessDeniedByMetaException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedByMetaException, __BaseException>
8
- );
9
- }
10
- export declare class AccessDeniedException extends __BaseException {
11
- readonly name: "AccessDeniedException";
12
- readonly $fault: "client";
13
- constructor(
14
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
15
- );
16
- }
1
+ import { RegistrationStatus } from "./enums";
17
2
  export interface Tag {
18
3
  key: string | undefined;
19
4
  value?: string | undefined;
@@ -47,12 +32,6 @@ export interface AssociateWhatsAppBusinessAccountInput {
47
32
  signupCallback?: WhatsAppSignupCallback | undefined;
48
33
  setupFinalization?: WhatsAppSetupFinalization | undefined;
49
34
  }
50
- export declare const RegistrationStatus: {
51
- readonly COMPLETE: "COMPLETE";
52
- readonly INCOMPLETE: "INCOMPLETE";
53
- };
54
- export type RegistrationStatus =
55
- (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
56
35
  export interface WhatsAppPhoneNumberDetail {
57
36
  arn: string | undefined;
58
37
  phoneNumber: string | undefined;
@@ -79,43 +58,6 @@ export interface AssociateWhatsAppBusinessAccountOutput {
79
58
  signupCallbackResult?: WhatsAppSignupCallbackResult | undefined;
80
59
  statusCode?: number | undefined;
81
60
  }
82
- export declare class DependencyException extends __BaseException {
83
- readonly name: "DependencyException";
84
- readonly $fault: "server";
85
- $retryable: {};
86
- constructor(
87
- opts: __ExceptionOptionType<DependencyException, __BaseException>
88
- );
89
- }
90
- export declare class InvalidParametersException extends __BaseException {
91
- readonly name: "InvalidParametersException";
92
- readonly $fault: "client";
93
- constructor(
94
- opts: __ExceptionOptionType<InvalidParametersException, __BaseException>
95
- );
96
- }
97
- export declare class LimitExceededException extends __BaseException {
98
- readonly name: "LimitExceededException";
99
- readonly $fault: "client";
100
- constructor(
101
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
102
- );
103
- }
104
- export declare class ThrottledRequestException extends __BaseException {
105
- readonly name: "ThrottledRequestException";
106
- readonly $fault: "client";
107
- $retryable: {};
108
- constructor(
109
- opts: __ExceptionOptionType<ThrottledRequestException, __BaseException>
110
- );
111
- }
112
- export declare class ValidationException extends __BaseException {
113
- readonly name: "ValidationException";
114
- readonly $fault: "client";
115
- constructor(
116
- opts: __ExceptionOptionType<ValidationException, __BaseException>
117
- );
118
- }
119
61
  export interface CreateWhatsAppMessageTemplateInput {
120
62
  templateDefinition: Uint8Array | undefined;
121
63
  id: string | undefined;
@@ -125,21 +67,6 @@ export interface CreateWhatsAppMessageTemplateOutput {
125
67
  templateStatus?: string | undefined;
126
68
  category?: string | undefined;
127
69
  }
128
- export declare class InternalServiceException extends __BaseException {
129
- readonly name: "InternalServiceException";
130
- readonly $fault: "server";
131
- $retryable: {};
132
- constructor(
133
- opts: __ExceptionOptionType<InternalServiceException, __BaseException>
134
- );
135
- }
136
- export declare class ResourceNotFoundException extends __BaseException {
137
- readonly name: "ResourceNotFoundException";
138
- readonly $fault: "client";
139
- constructor(
140
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
141
- );
142
- }
143
70
  export interface LibraryTemplateBodyInputs {
144
71
  addContactNumber?: boolean | undefined;
145
72
  addLearnMoreLink?: boolean | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-socialmessaging",
3
3
  "description": "AWS SDK for JavaScript Socialmessaging Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-socialmessaging",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";