@aws-sdk/client-notifications 3.876.0 → 3.880.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 (64) hide show
  1. package/README.md +33 -8
  2. package/dist-cjs/Notifications.js +8 -0
  3. package/dist-cjs/commands/AssociateOrganizationalUnitCommand.js +26 -0
  4. package/dist-cjs/commands/DisassociateOrganizationalUnitCommand.js +26 -0
  5. package/dist-cjs/commands/ListMemberAccountsCommand.js +26 -0
  6. package/dist-cjs/commands/ListOrganizationalUnitsCommand.js +26 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +13 -1
  9. package/dist-cjs/pagination/ListMemberAccountsPaginator.js +7 -0
  10. package/dist-cjs/pagination/ListOrganizationalUnitsPaginator.js +7 -0
  11. package/dist-cjs/pagination/index.js +2 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +125 -2
  13. package/dist-es/Notifications.js +8 -0
  14. package/dist-es/commands/AssociateOrganizationalUnitCommand.js +22 -0
  15. package/dist-es/commands/DisassociateOrganizationalUnitCommand.js +22 -0
  16. package/dist-es/commands/ListMemberAccountsCommand.js +22 -0
  17. package/dist-es/commands/ListOrganizationalUnitsCommand.js +22 -0
  18. package/dist-es/commands/index.js +4 -0
  19. package/dist-es/models/models_0.js +12 -0
  20. package/dist-es/pagination/ListMemberAccountsPaginator.js +4 -0
  21. package/dist-es/pagination/ListOrganizationalUnitsPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +2 -0
  23. package/dist-es/protocols/Aws_restJson1.js +115 -0
  24. package/dist-types/Notifications.d.ts +29 -8
  25. package/dist-types/NotificationsClient.d.ts +7 -10
  26. package/dist-types/commands/AssociateChannelCommand.d.ts +1 -2
  27. package/dist-types/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +1 -2
  28. package/dist-types/commands/AssociateOrganizationalUnitCommand.d.ts +92 -0
  29. package/dist-types/commands/CreateEventRuleCommand.d.ts +1 -4
  30. package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +1 -7
  31. package/dist-types/commands/DisassociateChannelCommand.d.ts +1 -1
  32. package/dist-types/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +1 -2
  33. package/dist-types/commands/DisassociateOrganizationalUnitCommand.d.ts +86 -0
  34. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +1 -0
  35. package/dist-types/commands/GetNotificationEventCommand.d.ts +2 -6
  36. package/dist-types/commands/GetNotificationsAccessForOrganizationCommand.d.ts +1 -1
  37. package/dist-types/commands/ListMemberAccountsCommand.d.ts +101 -0
  38. package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +3 -2
  39. package/dist-types/commands/ListNotificationEventsCommand.d.ts +3 -6
  40. package/dist-types/commands/ListOrganizationalUnitsCommand.d.ts +92 -0
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -5
  42. package/dist-types/commands/RegisterNotificationHubCommand.d.ts +1 -3
  43. package/dist-types/commands/TagResourceCommand.d.ts +1 -5
  44. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  45. package/dist-types/commands/index.d.ts +4 -0
  46. package/dist-types/index.d.ts +1 -8
  47. package/dist-types/models/models_0.d.ts +303 -1054
  48. package/dist-types/pagination/ListMemberAccountsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/ListOrganizationalUnitsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/index.d.ts +2 -0
  51. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  52. package/dist-types/ts3.4/Notifications.d.ts +68 -0
  53. package/dist-types/ts3.4/NotificationsClient.d.ts +24 -0
  54. package/dist-types/ts3.4/commands/AssociateOrganizationalUnitCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/DisassociateOrganizationalUnitCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/ListMemberAccountsCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListOrganizationalUnitsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +60 -0
  60. package/dist-types/ts3.4/pagination/ListMemberAccountsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListOrganizationalUnitsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  63. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  64. package/package.json +12 -12
@@ -2,6 +2,7 @@ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { AssociateChannelCommand, } from "./commands/AssociateChannelCommand";
3
3
  import { AssociateManagedNotificationAccountContactCommand, } from "./commands/AssociateManagedNotificationAccountContactCommand";
4
4
  import { AssociateManagedNotificationAdditionalChannelCommand, } from "./commands/AssociateManagedNotificationAdditionalChannelCommand";
5
+ import { AssociateOrganizationalUnitCommand, } from "./commands/AssociateOrganizationalUnitCommand";
5
6
  import { CreateEventRuleCommand, } from "./commands/CreateEventRuleCommand";
6
7
  import { CreateNotificationConfigurationCommand, } from "./commands/CreateNotificationConfigurationCommand";
7
8
  import { DeleteEventRuleCommand, } from "./commands/DeleteEventRuleCommand";
@@ -11,6 +12,7 @@ import { DisableNotificationsAccessForOrganizationCommand, } from "./commands/Di
11
12
  import { DisassociateChannelCommand, } from "./commands/DisassociateChannelCommand";
12
13
  import { DisassociateManagedNotificationAccountContactCommand, } from "./commands/DisassociateManagedNotificationAccountContactCommand";
13
14
  import { DisassociateManagedNotificationAdditionalChannelCommand, } from "./commands/DisassociateManagedNotificationAdditionalChannelCommand";
15
+ import { DisassociateOrganizationalUnitCommand, } from "./commands/DisassociateOrganizationalUnitCommand";
14
16
  import { EnableNotificationsAccessForOrganizationCommand, } from "./commands/EnableNotificationsAccessForOrganizationCommand";
15
17
  import { GetEventRuleCommand, } from "./commands/GetEventRuleCommand";
16
18
  import { GetManagedNotificationChildEventCommand, } from "./commands/GetManagedNotificationChildEventCommand";
@@ -25,9 +27,11 @@ import { ListManagedNotificationChannelAssociationsCommand, } from "./commands/L
25
27
  import { ListManagedNotificationChildEventsCommand, } from "./commands/ListManagedNotificationChildEventsCommand";
26
28
  import { ListManagedNotificationConfigurationsCommand, } from "./commands/ListManagedNotificationConfigurationsCommand";
27
29
  import { ListManagedNotificationEventsCommand, } from "./commands/ListManagedNotificationEventsCommand";
30
+ import { ListMemberAccountsCommand, } from "./commands/ListMemberAccountsCommand";
28
31
  import { ListNotificationConfigurationsCommand, } from "./commands/ListNotificationConfigurationsCommand";
29
32
  import { ListNotificationEventsCommand, } from "./commands/ListNotificationEventsCommand";
30
33
  import { ListNotificationHubsCommand, } from "./commands/ListNotificationHubsCommand";
34
+ import { ListOrganizationalUnitsCommand, } from "./commands/ListOrganizationalUnitsCommand";
31
35
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
32
36
  import { RegisterNotificationHubCommand, } from "./commands/RegisterNotificationHubCommand";
33
37
  import { TagResourceCommand } from "./commands/TagResourceCommand";
@@ -39,6 +43,7 @@ const commands = {
39
43
  AssociateChannelCommand,
40
44
  AssociateManagedNotificationAccountContactCommand,
41
45
  AssociateManagedNotificationAdditionalChannelCommand,
46
+ AssociateOrganizationalUnitCommand,
42
47
  CreateEventRuleCommand,
43
48
  CreateNotificationConfigurationCommand,
44
49
  DeleteEventRuleCommand,
@@ -48,6 +53,7 @@ const commands = {
48
53
  DisassociateChannelCommand,
49
54
  DisassociateManagedNotificationAccountContactCommand,
50
55
  DisassociateManagedNotificationAdditionalChannelCommand,
56
+ DisassociateOrganizationalUnitCommand,
51
57
  EnableNotificationsAccessForOrganizationCommand,
52
58
  GetEventRuleCommand,
53
59
  GetManagedNotificationChildEventCommand,
@@ -62,9 +68,11 @@ const commands = {
62
68
  ListManagedNotificationChildEventsCommand,
63
69
  ListManagedNotificationConfigurationsCommand,
64
70
  ListManagedNotificationEventsCommand,
71
+ ListMemberAccountsCommand,
65
72
  ListNotificationConfigurationsCommand,
66
73
  ListNotificationEventsCommand,
67
74
  ListNotificationHubsCommand,
75
+ ListOrganizationalUnitsCommand,
68
76
  ListTagsForResourceCommand,
69
77
  RegisterNotificationHubCommand,
70
78
  TagResourceCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_AssociateOrganizationalUnitCommand, se_AssociateOrganizationalUnitCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class AssociateOrganizationalUnitCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Notifications", "AssociateOrganizationalUnit", {})
17
+ .n("NotificationsClient", "AssociateOrganizationalUnitCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_AssociateOrganizationalUnitCommand)
20
+ .de(de_AssociateOrganizationalUnitCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DisassociateOrganizationalUnitCommand, se_DisassociateOrganizationalUnitCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DisassociateOrganizationalUnitCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Notifications", "DisassociateOrganizationalUnit", {})
17
+ .n("NotificationsClient", "DisassociateOrganizationalUnitCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DisassociateOrganizationalUnitCommand)
20
+ .de(de_DisassociateOrganizationalUnitCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListMemberAccountsCommand, se_ListMemberAccountsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListMemberAccountsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Notifications", "ListMemberAccounts", {})
17
+ .n("NotificationsClient", "ListMemberAccountsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListMemberAccountsCommand)
20
+ .de(de_ListMemberAccountsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListOrganizationalUnitsCommand, se_ListOrganizationalUnitsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListOrganizationalUnitsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Notifications", "ListOrganizationalUnits", {})
17
+ .n("NotificationsClient", "ListOrganizationalUnitsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListOrganizationalUnitsCommand)
20
+ .de(de_ListOrganizationalUnitsCommand)
21
+ .build() {
22
+ }
@@ -1,6 +1,7 @@
1
1
  export * from "./AssociateChannelCommand";
2
2
  export * from "./AssociateManagedNotificationAccountContactCommand";
3
3
  export * from "./AssociateManagedNotificationAdditionalChannelCommand";
4
+ export * from "./AssociateOrganizationalUnitCommand";
4
5
  export * from "./CreateEventRuleCommand";
5
6
  export * from "./CreateNotificationConfigurationCommand";
6
7
  export * from "./DeleteEventRuleCommand";
@@ -10,6 +11,7 @@ export * from "./DisableNotificationsAccessForOrganizationCommand";
10
11
  export * from "./DisassociateChannelCommand";
11
12
  export * from "./DisassociateManagedNotificationAccountContactCommand";
12
13
  export * from "./DisassociateManagedNotificationAdditionalChannelCommand";
14
+ export * from "./DisassociateOrganizationalUnitCommand";
13
15
  export * from "./EnableNotificationsAccessForOrganizationCommand";
14
16
  export * from "./GetEventRuleCommand";
15
17
  export * from "./GetManagedNotificationChildEventCommand";
@@ -24,9 +26,11 @@ export * from "./ListManagedNotificationChannelAssociationsCommand";
24
26
  export * from "./ListManagedNotificationChildEventsCommand";
25
27
  export * from "./ListManagedNotificationConfigurationsCommand";
26
28
  export * from "./ListManagedNotificationEventsCommand";
29
+ export * from "./ListMemberAccountsCommand";
27
30
  export * from "./ListNotificationConfigurationsCommand";
28
31
  export * from "./ListNotificationEventsCommand";
29
32
  export * from "./ListNotificationHubsCommand";
33
+ export * from "./ListOrganizationalUnitsCommand";
30
34
  export * from "./ListTagsForResourceCommand";
31
35
  export * from "./RegisterNotificationHubCommand";
32
36
  export * from "./TagResourceCommand";
@@ -14,6 +14,7 @@ export class AccessDeniedException extends __BaseException {
14
14
  export const AccessStatus = {
15
15
  DISABLED: "DISABLED",
16
16
  ENABLED: "ENABLED",
17
+ FAILED: "FAILED",
17
18
  PENDING: "PENDING",
18
19
  };
19
20
  export const AccountContactType = {
@@ -198,6 +199,17 @@ export const TextPartType = {
198
199
  PLAIN_TEXT: "PLAIN_TEXT",
199
200
  URL: "URL",
200
201
  };
202
+ export const NotificationConfigurationSubtype = {
203
+ ACCOUNT: "ACCOUNT",
204
+ ADMIN_MANAGED: "ADMIN_MANAGED",
205
+ };
201
206
  export const MediaElementType = {
202
207
  IMAGE: "IMAGE",
203
208
  };
209
+ export const MemberAccountNotificationConfigurationStatus = {
210
+ ACTIVE: "ACTIVE",
211
+ CREATING: "CREATING",
212
+ DELETING: "DELETING",
213
+ INACTIVE: "INACTIVE",
214
+ PENDING: "PENDING",
215
+ };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListMemberAccountsCommand, } from "../commands/ListMemberAccountsCommand";
3
+ import { NotificationsClient } from "../NotificationsClient";
4
+ export const paginateListMemberAccounts = createPaginator(NotificationsClient, ListMemberAccountsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListOrganizationalUnitsCommand, } from "../commands/ListOrganizationalUnitsCommand";
3
+ import { NotificationsClient } from "../NotificationsClient";
4
+ export const paginateListOrganizationalUnits = createPaginator(NotificationsClient, ListOrganizationalUnitsCommand, "nextToken", "nextToken", "maxResults");
@@ -5,6 +5,8 @@ export * from "./ListManagedNotificationChannelAssociationsPaginator";
5
5
  export * from "./ListManagedNotificationChildEventsPaginator";
6
6
  export * from "./ListManagedNotificationConfigurationsPaginator";
7
7
  export * from "./ListManagedNotificationEventsPaginator";
8
+ export * from "./ListMemberAccountsPaginator";
8
9
  export * from "./ListNotificationConfigurationsPaginator";
9
10
  export * from "./ListNotificationEventsPaginator";
10
11
  export * from "./ListNotificationHubsPaginator";
12
+ export * from "./ListOrganizationalUnitsPaginator";
@@ -45,6 +45,20 @@ export const se_AssociateManagedNotificationAdditionalChannelCommand = async (in
45
45
  b.m("PUT").h(headers).b(body);
46
46
  return b.build();
47
47
  };
48
+ export const se_AssociateOrganizationalUnitCommand = async (input, context) => {
49
+ const b = rb(input, context);
50
+ const headers = {
51
+ "content-type": "application/json",
52
+ };
53
+ b.bp("/organizational-units/associate/{organizationalUnitId}");
54
+ b.p("organizationalUnitId", () => input.organizationalUnitId, "{organizationalUnitId}", false);
55
+ let body;
56
+ body = JSON.stringify(take(input, {
57
+ notificationConfigurationArn: [],
58
+ }));
59
+ b.m("POST").h(headers).b(body);
60
+ return b.build();
61
+ };
48
62
  export const se_CreateEventRuleCommand = async (input, context) => {
49
63
  const b = rb(input, context);
50
64
  const headers = {
@@ -155,6 +169,20 @@ export const se_DisassociateManagedNotificationAdditionalChannelCommand = async
155
169
  b.m("PUT").h(headers).b(body);
156
170
  return b.build();
157
171
  };
172
+ export const se_DisassociateOrganizationalUnitCommand = async (input, context) => {
173
+ const b = rb(input, context);
174
+ const headers = {
175
+ "content-type": "application/json",
176
+ };
177
+ b.bp("/organizational-units/disassociate/{organizationalUnitId}");
178
+ b.p("organizationalUnitId", () => input.organizationalUnitId, "{organizationalUnitId}", false);
179
+ let body;
180
+ body = JSON.stringify(take(input, {
181
+ notificationConfigurationArn: [],
182
+ }));
183
+ b.m("POST").h(headers).b(body);
184
+ return b.build();
185
+ };
158
186
  export const se_EnableNotificationsAccessForOrganizationCommand = async (input, context) => {
159
187
  const b = rb(input, context);
160
188
  const headers = {};
@@ -322,6 +350,22 @@ export const se_ListManagedNotificationEventsCommand = async (input, context) =>
322
350
  b.m("GET").h(headers).q(query).b(body);
323
351
  return b.build();
324
352
  };
353
+ export const se_ListMemberAccountsCommand = async (input, context) => {
354
+ const b = rb(input, context);
355
+ const headers = {};
356
+ b.bp("/list-member-accounts");
357
+ const query = map({
358
+ [_nCA]: [, __expectNonNull(input[_nCA], `notificationConfigurationArn`)],
359
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
360
+ [_nT]: [, input[_nT]],
361
+ [_mA]: [, input[_mA]],
362
+ [_st]: [, input[_st]],
363
+ [_oUI]: [, input[_oUI]],
364
+ });
365
+ let body;
366
+ b.m("GET").h(headers).q(query).b(body);
367
+ return b.build();
368
+ };
325
369
  export const se_ListNotificationConfigurationsCommand = async (input, context) => {
326
370
  const b = rb(input, context);
327
371
  const headers = {};
@@ -330,6 +374,7 @@ export const se_ListNotificationConfigurationsCommand = async (input, context) =
330
374
  [_eRS]: [, input[_eRS]],
331
375
  [_cA]: [, input[_cA]],
332
376
  [_st]: [, input[_st]],
377
+ [_su]: [, input[_su]],
333
378
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
334
379
  [_nT]: [, input[_nT]],
335
380
  });
@@ -350,6 +395,7 @@ export const se_ListNotificationEventsCommand = async (input, context) => {
350
395
  [_aNEA]: [, input[_aNEA]],
351
396
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
352
397
  [_nT]: [, input[_nT]],
398
+ [_oUI]: [, input[_oUI]],
353
399
  });
354
400
  let body;
355
401
  b.m("GET").h(headers).q(query).b(body);
@@ -367,6 +413,19 @@ export const se_ListNotificationHubsCommand = async (input, context) => {
367
413
  b.m("GET").h(headers).q(query).b(body);
368
414
  return b.build();
369
415
  };
416
+ export const se_ListOrganizationalUnitsCommand = async (input, context) => {
417
+ const b = rb(input, context);
418
+ const headers = {};
419
+ b.bp("/organizational-units");
420
+ const query = map({
421
+ [_nCA]: [, __expectNonNull(input[_nCA], `notificationConfigurationArn`)],
422
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
423
+ [_nT]: [, input[_nT]],
424
+ });
425
+ let body;
426
+ b.m("GET").h(headers).q(query).b(body);
427
+ return b.build();
428
+ };
370
429
  export const se_ListTagsForResourceCommand = async (input, context) => {
371
430
  const b = rb(input, context);
372
431
  const headers = {};
@@ -476,6 +535,16 @@ export const de_AssociateManagedNotificationAdditionalChannelCommand = async (ou
476
535
  await collectBody(output.body, context);
477
536
  return contents;
478
537
  };
538
+ export const de_AssociateOrganizationalUnitCommand = async (output, context) => {
539
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
540
+ return de_CommandError(output, context);
541
+ }
542
+ const contents = map({
543
+ $metadata: deserializeMetadata(output),
544
+ });
545
+ await collectBody(output.body, context);
546
+ return contents;
547
+ };
479
548
  export const de_CreateEventRuleCommand = async (output, context) => {
480
549
  if (output.statusCode !== 201 && output.statusCode >= 300) {
481
550
  return de_CommandError(output, context);
@@ -582,6 +651,16 @@ export const de_DisassociateManagedNotificationAdditionalChannelCommand = async
582
651
  await collectBody(output.body, context);
583
652
  return contents;
584
653
  };
654
+ export const de_DisassociateOrganizationalUnitCommand = async (output, context) => {
655
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
656
+ return de_CommandError(output, context);
657
+ }
658
+ const contents = map({
659
+ $metadata: deserializeMetadata(output),
660
+ });
661
+ await collectBody(output.body, context);
662
+ return contents;
663
+ };
585
664
  export const de_EnableNotificationsAccessForOrganizationCommand = async (output, context) => {
586
665
  if (output.statusCode !== 200 && output.statusCode >= 300) {
587
666
  return de_CommandError(output, context);
@@ -681,6 +760,7 @@ export const de_GetNotificationConfigurationCommand = async (output, context) =>
681
760
  description: __expectString,
682
761
  name: __expectString,
683
762
  status: __expectString,
763
+ subtype: __expectString,
684
764
  });
685
765
  Object.assign(contents, doc);
686
766
  return contents;
@@ -806,6 +886,21 @@ export const de_ListManagedNotificationEventsCommand = async (output, context) =
806
886
  Object.assign(contents, doc);
807
887
  return contents;
808
888
  };
889
+ export const de_ListMemberAccountsCommand = async (output, context) => {
890
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
891
+ return de_CommandError(output, context);
892
+ }
893
+ const contents = map({
894
+ $metadata: deserializeMetadata(output),
895
+ });
896
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
897
+ const doc = take(data, {
898
+ memberAccounts: _json,
899
+ nextToken: __expectString,
900
+ });
901
+ Object.assign(contents, doc);
902
+ return contents;
903
+ };
809
904
  export const de_ListNotificationConfigurationsCommand = async (output, context) => {
810
905
  if (output.statusCode !== 200 && output.statusCode >= 300) {
811
906
  return de_CommandError(output, context);
@@ -851,6 +946,21 @@ export const de_ListNotificationHubsCommand = async (output, context) => {
851
946
  Object.assign(contents, doc);
852
947
  return contents;
853
948
  };
949
+ export const de_ListOrganizationalUnitsCommand = async (output, context) => {
950
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
951
+ return de_CommandError(output, context);
952
+ }
953
+ const contents = map({
954
+ $metadata: deserializeMetadata(output),
955
+ });
956
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
957
+ const doc = take(data, {
958
+ nextToken: __expectString,
959
+ organizationalUnits: _json,
960
+ });
961
+ Object.assign(contents, doc);
962
+ return contents;
963
+ };
854
964
  export const de_ListTagsForResourceCommand = async (output, context) => {
855
965
  if (output.statusCode !== 200 && output.statusCode >= 300) {
856
966
  return de_CommandError(output, context);
@@ -1184,6 +1294,7 @@ const de_NotificationConfigurationStructure = (output, context) => {
1184
1294
  description: __expectString,
1185
1295
  name: __expectString,
1186
1296
  status: __expectString,
1297
+ subtype: __expectString,
1187
1298
  });
1188
1299
  };
1189
1300
  const de_NotificationEventOverview = (output, context) => {
@@ -1195,6 +1306,7 @@ const de_NotificationEventOverview = (output, context) => {
1195
1306
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1196
1307
  notificationConfigurationArn: __expectString,
1197
1308
  notificationEvent: _json,
1309
+ organizationalUnitId: __expectString,
1198
1310
  relatedAccount: __expectString,
1199
1311
  });
1200
1312
  };
@@ -1217,6 +1329,7 @@ const de_NotificationEventSchema = (output, context) => {
1217
1329
  media: _json,
1218
1330
  messageComponents: _json,
1219
1331
  notificationType: __expectString,
1332
+ organizationalUnitId: __expectString,
1220
1333
  schemaVersion: __expectString,
1221
1334
  sourceEventDetailUrl: __expectString,
1222
1335
  sourceEventDetailUrlDisplayText: __expectString,
@@ -1267,6 +1380,7 @@ const _eRS = "eventRuleSource";
1267
1380
  const _eT = "endTime";
1268
1381
  const _iCE = "includeChildEvents";
1269
1382
  const _l = "locale";
1383
+ const _mA = "memberAccount";
1270
1384
  const _mNCA = "managedNotificationConfigurationArn";
1271
1385
  const _mR = "maxResults";
1272
1386
  const _nCA = "notificationConfigurationArn";
@@ -1278,4 +1392,5 @@ const _ra = "retry-after";
1278
1392
  const _s = "source";
1279
1393
  const _sT = "startTime";
1280
1394
  const _st = "status";
1395
+ const _su = "subtype";
1281
1396
  const _tK = "tagKeys";
@@ -2,6 +2,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AssociateChannelCommandInput, AssociateChannelCommandOutput } from "./commands/AssociateChannelCommand";
3
3
  import { AssociateManagedNotificationAccountContactCommandInput, AssociateManagedNotificationAccountContactCommandOutput } from "./commands/AssociateManagedNotificationAccountContactCommand";
4
4
  import { AssociateManagedNotificationAdditionalChannelCommandInput, AssociateManagedNotificationAdditionalChannelCommandOutput } from "./commands/AssociateManagedNotificationAdditionalChannelCommand";
5
+ import { AssociateOrganizationalUnitCommandInput, AssociateOrganizationalUnitCommandOutput } from "./commands/AssociateOrganizationalUnitCommand";
5
6
  import { CreateEventRuleCommandInput, CreateEventRuleCommandOutput } from "./commands/CreateEventRuleCommand";
6
7
  import { CreateNotificationConfigurationCommandInput, CreateNotificationConfigurationCommandOutput } from "./commands/CreateNotificationConfigurationCommand";
7
8
  import { DeleteEventRuleCommandInput, DeleteEventRuleCommandOutput } from "./commands/DeleteEventRuleCommand";
@@ -11,6 +12,7 @@ import { DisableNotificationsAccessForOrganizationCommandInput, DisableNotificat
11
12
  import { DisassociateChannelCommandInput, DisassociateChannelCommandOutput } from "./commands/DisassociateChannelCommand";
12
13
  import { DisassociateManagedNotificationAccountContactCommandInput, DisassociateManagedNotificationAccountContactCommandOutput } from "./commands/DisassociateManagedNotificationAccountContactCommand";
13
14
  import { DisassociateManagedNotificationAdditionalChannelCommandInput, DisassociateManagedNotificationAdditionalChannelCommandOutput } from "./commands/DisassociateManagedNotificationAdditionalChannelCommand";
15
+ import { DisassociateOrganizationalUnitCommandInput, DisassociateOrganizationalUnitCommandOutput } from "./commands/DisassociateOrganizationalUnitCommand";
14
16
  import { EnableNotificationsAccessForOrganizationCommandInput, EnableNotificationsAccessForOrganizationCommandOutput } from "./commands/EnableNotificationsAccessForOrganizationCommand";
15
17
  import { GetEventRuleCommandInput, GetEventRuleCommandOutput } from "./commands/GetEventRuleCommand";
16
18
  import { GetManagedNotificationChildEventCommandInput, GetManagedNotificationChildEventCommandOutput } from "./commands/GetManagedNotificationChildEventCommand";
@@ -25,9 +27,11 @@ import { ListManagedNotificationChannelAssociationsCommandInput, ListManagedNoti
25
27
  import { ListManagedNotificationChildEventsCommandInput, ListManagedNotificationChildEventsCommandOutput } from "./commands/ListManagedNotificationChildEventsCommand";
26
28
  import { ListManagedNotificationConfigurationsCommandInput, ListManagedNotificationConfigurationsCommandOutput } from "./commands/ListManagedNotificationConfigurationsCommand";
27
29
  import { ListManagedNotificationEventsCommandInput, ListManagedNotificationEventsCommandOutput } from "./commands/ListManagedNotificationEventsCommand";
30
+ import { ListMemberAccountsCommandInput, ListMemberAccountsCommandOutput } from "./commands/ListMemberAccountsCommand";
28
31
  import { ListNotificationConfigurationsCommandInput, ListNotificationConfigurationsCommandOutput } from "./commands/ListNotificationConfigurationsCommand";
29
32
  import { ListNotificationEventsCommandInput, ListNotificationEventsCommandOutput } from "./commands/ListNotificationEventsCommand";
30
33
  import { ListNotificationHubsCommandInput, ListNotificationHubsCommandOutput } from "./commands/ListNotificationHubsCommand";
34
+ import { ListOrganizationalUnitsCommandInput, ListOrganizationalUnitsCommandOutput } from "./commands/ListOrganizationalUnitsCommand";
31
35
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
32
36
  import { RegisterNotificationHubCommandInput, RegisterNotificationHubCommandOutput } from "./commands/RegisterNotificationHubCommand";
33
37
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -54,6 +58,12 @@ export interface Notifications {
54
58
  associateManagedNotificationAdditionalChannel(args: AssociateManagedNotificationAdditionalChannelCommandInput, options?: __HttpHandlerOptions): Promise<AssociateManagedNotificationAdditionalChannelCommandOutput>;
55
59
  associateManagedNotificationAdditionalChannel(args: AssociateManagedNotificationAdditionalChannelCommandInput, cb: (err: any, data?: AssociateManagedNotificationAdditionalChannelCommandOutput) => void): void;
56
60
  associateManagedNotificationAdditionalChannel(args: AssociateManagedNotificationAdditionalChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateManagedNotificationAdditionalChannelCommandOutput) => void): void;
61
+ /**
62
+ * @see {@link AssociateOrganizationalUnitCommand}
63
+ */
64
+ associateOrganizationalUnit(args: AssociateOrganizationalUnitCommandInput, options?: __HttpHandlerOptions): Promise<AssociateOrganizationalUnitCommandOutput>;
65
+ associateOrganizationalUnit(args: AssociateOrganizationalUnitCommandInput, cb: (err: any, data?: AssociateOrganizationalUnitCommandOutput) => void): void;
66
+ associateOrganizationalUnit(args: AssociateOrganizationalUnitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateOrganizationalUnitCommandOutput) => void): void;
57
67
  /**
58
68
  * @see {@link CreateEventRuleCommand}
59
69
  */
@@ -109,6 +119,12 @@ export interface Notifications {
109
119
  disassociateManagedNotificationAdditionalChannel(args: DisassociateManagedNotificationAdditionalChannelCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateManagedNotificationAdditionalChannelCommandOutput>;
110
120
  disassociateManagedNotificationAdditionalChannel(args: DisassociateManagedNotificationAdditionalChannelCommandInput, cb: (err: any, data?: DisassociateManagedNotificationAdditionalChannelCommandOutput) => void): void;
111
121
  disassociateManagedNotificationAdditionalChannel(args: DisassociateManagedNotificationAdditionalChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateManagedNotificationAdditionalChannelCommandOutput) => void): void;
122
+ /**
123
+ * @see {@link DisassociateOrganizationalUnitCommand}
124
+ */
125
+ disassociateOrganizationalUnit(args: DisassociateOrganizationalUnitCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateOrganizationalUnitCommandOutput>;
126
+ disassociateOrganizationalUnit(args: DisassociateOrganizationalUnitCommandInput, cb: (err: any, data?: DisassociateOrganizationalUnitCommandOutput) => void): void;
127
+ disassociateOrganizationalUnit(args: DisassociateOrganizationalUnitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateOrganizationalUnitCommandOutput) => void): void;
112
128
  /**
113
129
  * @see {@link EnableNotificationsAccessForOrganizationCommand}
114
130
  */
@@ -197,6 +213,12 @@ export interface Notifications {
197
213
  listManagedNotificationEvents(args: ListManagedNotificationEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedNotificationEventsCommandOutput>;
198
214
  listManagedNotificationEvents(args: ListManagedNotificationEventsCommandInput, cb: (err: any, data?: ListManagedNotificationEventsCommandOutput) => void): void;
199
215
  listManagedNotificationEvents(args: ListManagedNotificationEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedNotificationEventsCommandOutput) => void): void;
216
+ /**
217
+ * @see {@link ListMemberAccountsCommand}
218
+ */
219
+ listMemberAccounts(args: ListMemberAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListMemberAccountsCommandOutput>;
220
+ listMemberAccounts(args: ListMemberAccountsCommandInput, cb: (err: any, data?: ListMemberAccountsCommandOutput) => void): void;
221
+ listMemberAccounts(args: ListMemberAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMemberAccountsCommandOutput) => void): void;
200
222
  /**
201
223
  * @see {@link ListNotificationConfigurationsCommand}
202
224
  */
@@ -218,6 +240,12 @@ export interface Notifications {
218
240
  listNotificationHubs(args: ListNotificationHubsCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationHubsCommandOutput>;
219
241
  listNotificationHubs(args: ListNotificationHubsCommandInput, cb: (err: any, data?: ListNotificationHubsCommandOutput) => void): void;
220
242
  listNotificationHubs(args: ListNotificationHubsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotificationHubsCommandOutput) => void): void;
243
+ /**
244
+ * @see {@link ListOrganizationalUnitsCommand}
245
+ */
246
+ listOrganizationalUnits(args: ListOrganizationalUnitsCommandInput, options?: __HttpHandlerOptions): Promise<ListOrganizationalUnitsCommandOutput>;
247
+ listOrganizationalUnits(args: ListOrganizationalUnitsCommandInput, cb: (err: any, data?: ListOrganizationalUnitsCommandOutput) => void): void;
248
+ listOrganizationalUnits(args: ListOrganizationalUnitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOrganizationalUnitsCommandOutput) => void): void;
221
249
  /**
222
250
  * @see {@link ListTagsForResourceCommand}
223
251
  */
@@ -256,14 +284,7 @@ export interface Notifications {
256
284
  updateNotificationConfiguration(args: UpdateNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationConfigurationCommandOutput) => void): void;
257
285
  }
258
286
  /**
259
- * <p>The <i>Amazon Web Services User Notifications API Reference</i> provides descriptions, API request parameters, and the JSON response for each of the User Notification API actions.</p>
260
- * <p>User Notification control plane APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p>
261
- * <p>
262
- * <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_GetNotificationEvent.html">GetNotificationEvent</a>
263
- * and <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_ListNotificationEvents.html">ListNotificationEvents</a> APIs are currently available in
264
- * <a href="https://docs.aws.amazon.com/notifications/latest/userguide/supported-regions.html">commercial partition Regions</a> and only return notifications stored in the same Region in which they're called.</p>
265
- * <p>The User Notifications console can only be used in US East (Virginia). Your data however, is stored in each Region chosen as a
266
- * <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">notification hub</a> in addition to US East (Virginia).</p>
287
+ * <p>The <i>User Notifications API Reference</i> provides descriptions, API request parameters, and the JSON response for each of the User Notifications API actions.</p> <p>User Notification control plane APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p> <p> <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_GetNotificationEvent.html">GetNotificationEvent</a> and <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_ListNotificationEvents.html">ListNotificationEvents</a> APIs are currently available in <a href="https://docs.aws.amazon.com/notifications/latest/userguide/supported-regions.html">commercial partition Regions</a> and only return notifications stored in the same Region in which they're called.</p> <p>The User Notifications console can only be used in US East (Virginia). Your data however, is stored in each Region chosen as a <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">notification hub</a> in addition to US East (Virginia).</p> <note> <p>For information about descriptions, API request parameters, and the JSON response for email contact related API actions, see the <a href="https://docs.aws.amazon.com/notificationscontacts/latest/APIReference/Welcome.html">User Notifications Contacts API Reference Guide</a>.</p> </note>
267
288
  * @public
268
289
  */
269
290
  export declare class Notifications extends NotificationsClient implements Notifications {
@@ -10,6 +10,7 @@ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/
10
10
  import { AssociateChannelCommandInput, AssociateChannelCommandOutput } from "./commands/AssociateChannelCommand";
11
11
  import { AssociateManagedNotificationAccountContactCommandInput, AssociateManagedNotificationAccountContactCommandOutput } from "./commands/AssociateManagedNotificationAccountContactCommand";
12
12
  import { AssociateManagedNotificationAdditionalChannelCommandInput, AssociateManagedNotificationAdditionalChannelCommandOutput } from "./commands/AssociateManagedNotificationAdditionalChannelCommand";
13
+ import { AssociateOrganizationalUnitCommandInput, AssociateOrganizationalUnitCommandOutput } from "./commands/AssociateOrganizationalUnitCommand";
13
14
  import { CreateEventRuleCommandInput, CreateEventRuleCommandOutput } from "./commands/CreateEventRuleCommand";
14
15
  import { CreateNotificationConfigurationCommandInput, CreateNotificationConfigurationCommandOutput } from "./commands/CreateNotificationConfigurationCommand";
15
16
  import { DeleteEventRuleCommandInput, DeleteEventRuleCommandOutput } from "./commands/DeleteEventRuleCommand";
@@ -19,6 +20,7 @@ import { DisableNotificationsAccessForOrganizationCommandInput, DisableNotificat
19
20
  import { DisassociateChannelCommandInput, DisassociateChannelCommandOutput } from "./commands/DisassociateChannelCommand";
20
21
  import { DisassociateManagedNotificationAccountContactCommandInput, DisassociateManagedNotificationAccountContactCommandOutput } from "./commands/DisassociateManagedNotificationAccountContactCommand";
21
22
  import { DisassociateManagedNotificationAdditionalChannelCommandInput, DisassociateManagedNotificationAdditionalChannelCommandOutput } from "./commands/DisassociateManagedNotificationAdditionalChannelCommand";
23
+ import { DisassociateOrganizationalUnitCommandInput, DisassociateOrganizationalUnitCommandOutput } from "./commands/DisassociateOrganizationalUnitCommand";
22
24
  import { EnableNotificationsAccessForOrganizationCommandInput, EnableNotificationsAccessForOrganizationCommandOutput } from "./commands/EnableNotificationsAccessForOrganizationCommand";
23
25
  import { GetEventRuleCommandInput, GetEventRuleCommandOutput } from "./commands/GetEventRuleCommand";
24
26
  import { GetManagedNotificationChildEventCommandInput, GetManagedNotificationChildEventCommandOutput } from "./commands/GetManagedNotificationChildEventCommand";
@@ -33,9 +35,11 @@ import { ListManagedNotificationChannelAssociationsCommandInput, ListManagedNoti
33
35
  import { ListManagedNotificationChildEventsCommandInput, ListManagedNotificationChildEventsCommandOutput } from "./commands/ListManagedNotificationChildEventsCommand";
34
36
  import { ListManagedNotificationConfigurationsCommandInput, ListManagedNotificationConfigurationsCommandOutput } from "./commands/ListManagedNotificationConfigurationsCommand";
35
37
  import { ListManagedNotificationEventsCommandInput, ListManagedNotificationEventsCommandOutput } from "./commands/ListManagedNotificationEventsCommand";
38
+ import { ListMemberAccountsCommandInput, ListMemberAccountsCommandOutput } from "./commands/ListMemberAccountsCommand";
36
39
  import { ListNotificationConfigurationsCommandInput, ListNotificationConfigurationsCommandOutput } from "./commands/ListNotificationConfigurationsCommand";
37
40
  import { ListNotificationEventsCommandInput, ListNotificationEventsCommandOutput } from "./commands/ListNotificationEventsCommand";
38
41
  import { ListNotificationHubsCommandInput, ListNotificationHubsCommandOutput } from "./commands/ListNotificationHubsCommand";
42
+ import { ListOrganizationalUnitsCommandInput, ListOrganizationalUnitsCommandOutput } from "./commands/ListOrganizationalUnitsCommand";
39
43
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
40
44
  import { RegisterNotificationHubCommandInput, RegisterNotificationHubCommandOutput } from "./commands/RegisterNotificationHubCommand";
41
45
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -48,11 +52,11 @@ export { __Client };
48
52
  /**
49
53
  * @public
50
54
  */
51
- export type ServiceInputTypes = AssociateChannelCommandInput | AssociateManagedNotificationAccountContactCommandInput | AssociateManagedNotificationAdditionalChannelCommandInput | CreateEventRuleCommandInput | CreateNotificationConfigurationCommandInput | DeleteEventRuleCommandInput | DeleteNotificationConfigurationCommandInput | DeregisterNotificationHubCommandInput | DisableNotificationsAccessForOrganizationCommandInput | DisassociateChannelCommandInput | DisassociateManagedNotificationAccountContactCommandInput | DisassociateManagedNotificationAdditionalChannelCommandInput | EnableNotificationsAccessForOrganizationCommandInput | GetEventRuleCommandInput | GetManagedNotificationChildEventCommandInput | GetManagedNotificationConfigurationCommandInput | GetManagedNotificationEventCommandInput | GetNotificationConfigurationCommandInput | GetNotificationEventCommandInput | GetNotificationsAccessForOrganizationCommandInput | ListChannelsCommandInput | ListEventRulesCommandInput | ListManagedNotificationChannelAssociationsCommandInput | ListManagedNotificationChildEventsCommandInput | ListManagedNotificationConfigurationsCommandInput | ListManagedNotificationEventsCommandInput | ListNotificationConfigurationsCommandInput | ListNotificationEventsCommandInput | ListNotificationHubsCommandInput | ListTagsForResourceCommandInput | RegisterNotificationHubCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventRuleCommandInput | UpdateNotificationConfigurationCommandInput;
55
+ export type ServiceInputTypes = AssociateChannelCommandInput | AssociateManagedNotificationAccountContactCommandInput | AssociateManagedNotificationAdditionalChannelCommandInput | AssociateOrganizationalUnitCommandInput | CreateEventRuleCommandInput | CreateNotificationConfigurationCommandInput | DeleteEventRuleCommandInput | DeleteNotificationConfigurationCommandInput | DeregisterNotificationHubCommandInput | DisableNotificationsAccessForOrganizationCommandInput | DisassociateChannelCommandInput | DisassociateManagedNotificationAccountContactCommandInput | DisassociateManagedNotificationAdditionalChannelCommandInput | DisassociateOrganizationalUnitCommandInput | EnableNotificationsAccessForOrganizationCommandInput | GetEventRuleCommandInput | GetManagedNotificationChildEventCommandInput | GetManagedNotificationConfigurationCommandInput | GetManagedNotificationEventCommandInput | GetNotificationConfigurationCommandInput | GetNotificationEventCommandInput | GetNotificationsAccessForOrganizationCommandInput | ListChannelsCommandInput | ListEventRulesCommandInput | ListManagedNotificationChannelAssociationsCommandInput | ListManagedNotificationChildEventsCommandInput | ListManagedNotificationConfigurationsCommandInput | ListManagedNotificationEventsCommandInput | ListMemberAccountsCommandInput | ListNotificationConfigurationsCommandInput | ListNotificationEventsCommandInput | ListNotificationHubsCommandInput | ListOrganizationalUnitsCommandInput | ListTagsForResourceCommandInput | RegisterNotificationHubCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventRuleCommandInput | UpdateNotificationConfigurationCommandInput;
52
56
  /**
53
57
  * @public
54
58
  */
55
- export type ServiceOutputTypes = AssociateChannelCommandOutput | AssociateManagedNotificationAccountContactCommandOutput | AssociateManagedNotificationAdditionalChannelCommandOutput | CreateEventRuleCommandOutput | CreateNotificationConfigurationCommandOutput | DeleteEventRuleCommandOutput | DeleteNotificationConfigurationCommandOutput | DeregisterNotificationHubCommandOutput | DisableNotificationsAccessForOrganizationCommandOutput | DisassociateChannelCommandOutput | DisassociateManagedNotificationAccountContactCommandOutput | DisassociateManagedNotificationAdditionalChannelCommandOutput | EnableNotificationsAccessForOrganizationCommandOutput | GetEventRuleCommandOutput | GetManagedNotificationChildEventCommandOutput | GetManagedNotificationConfigurationCommandOutput | GetManagedNotificationEventCommandOutput | GetNotificationConfigurationCommandOutput | GetNotificationEventCommandOutput | GetNotificationsAccessForOrganizationCommandOutput | ListChannelsCommandOutput | ListEventRulesCommandOutput | ListManagedNotificationChannelAssociationsCommandOutput | ListManagedNotificationChildEventsCommandOutput | ListManagedNotificationConfigurationsCommandOutput | ListManagedNotificationEventsCommandOutput | ListNotificationConfigurationsCommandOutput | ListNotificationEventsCommandOutput | ListNotificationHubsCommandOutput | ListTagsForResourceCommandOutput | RegisterNotificationHubCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventRuleCommandOutput | UpdateNotificationConfigurationCommandOutput;
59
+ export type ServiceOutputTypes = AssociateChannelCommandOutput | AssociateManagedNotificationAccountContactCommandOutput | AssociateManagedNotificationAdditionalChannelCommandOutput | AssociateOrganizationalUnitCommandOutput | CreateEventRuleCommandOutput | CreateNotificationConfigurationCommandOutput | DeleteEventRuleCommandOutput | DeleteNotificationConfigurationCommandOutput | DeregisterNotificationHubCommandOutput | DisableNotificationsAccessForOrganizationCommandOutput | DisassociateChannelCommandOutput | DisassociateManagedNotificationAccountContactCommandOutput | DisassociateManagedNotificationAdditionalChannelCommandOutput | DisassociateOrganizationalUnitCommandOutput | EnableNotificationsAccessForOrganizationCommandOutput | GetEventRuleCommandOutput | GetManagedNotificationChildEventCommandOutput | GetManagedNotificationConfigurationCommandOutput | GetManagedNotificationEventCommandOutput | GetNotificationConfigurationCommandOutput | GetNotificationEventCommandOutput | GetNotificationsAccessForOrganizationCommandOutput | ListChannelsCommandOutput | ListEventRulesCommandOutput | ListManagedNotificationChannelAssociationsCommandOutput | ListManagedNotificationChildEventsCommandOutput | ListManagedNotificationConfigurationsCommandOutput | ListManagedNotificationEventsCommandOutput | ListMemberAccountsCommandOutput | ListNotificationConfigurationsCommandOutput | ListNotificationEventsCommandOutput | ListNotificationHubsCommandOutput | ListOrganizationalUnitsCommandOutput | ListTagsForResourceCommandOutput | RegisterNotificationHubCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventRuleCommandOutput | UpdateNotificationConfigurationCommandOutput;
56
60
  /**
57
61
  * @public
58
62
  */
@@ -204,14 +208,7 @@ export type NotificationsClientResolvedConfigType = __SmithyResolvedConfiguratio
204
208
  export interface NotificationsClientResolvedConfig extends NotificationsClientResolvedConfigType {
205
209
  }
206
210
  /**
207
- * <p>The <i>Amazon Web Services User Notifications API Reference</i> provides descriptions, API request parameters, and the JSON response for each of the User Notification API actions.</p>
208
- * <p>User Notification control plane APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p>
209
- * <p>
210
- * <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_GetNotificationEvent.html">GetNotificationEvent</a>
211
- * and <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_ListNotificationEvents.html">ListNotificationEvents</a> APIs are currently available in
212
- * <a href="https://docs.aws.amazon.com/notifications/latest/userguide/supported-regions.html">commercial partition Regions</a> and only return notifications stored in the same Region in which they're called.</p>
213
- * <p>The User Notifications console can only be used in US East (Virginia). Your data however, is stored in each Region chosen as a
214
- * <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">notification hub</a> in addition to US East (Virginia).</p>
211
+ * <p>The <i>User Notifications API Reference</i> provides descriptions, API request parameters, and the JSON response for each of the User Notifications API actions.</p> <p>User Notification control plane APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p> <p> <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_GetNotificationEvent.html">GetNotificationEvent</a> and <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_ListNotificationEvents.html">ListNotificationEvents</a> APIs are currently available in <a href="https://docs.aws.amazon.com/notifications/latest/userguide/supported-regions.html">commercial partition Regions</a> and only return notifications stored in the same Region in which they're called.</p> <p>The User Notifications console can only be used in US East (Virginia). Your data however, is stored in each Region chosen as a <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">notification hub</a> in addition to US East (Virginia).</p> <note> <p>For information about descriptions, API request parameters, and the JSON response for email contact related API actions, see the <a href="https://docs.aws.amazon.com/notificationscontacts/latest/APIReference/Welcome.html">User Notifications Contacts API Reference Guide</a>.</p> </note>
215
212
  * @public
216
213
  */
217
214
  export declare class NotificationsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, NotificationsClientResolvedConfig> {
@@ -27,8 +27,7 @@ declare const AssociateChannelCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Associates a delivery <a href="https://docs.aws.amazon.com/notifications/latest/userguide/managing-delivery-channels.html">Channel</a> with a particular <code>NotificationConfiguration</code>. Supported Channels include Chatbot,
31
- * the Console Mobile Application, and emails (notifications-contacts).</p>
30
+ * <p>Associates a delivery <a href="https://docs.aws.amazon.com/notifications/latest/userguide/managing-delivery-channels.html">Channel</a> with a particular <code>NotificationConfiguration</code>. Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript