@aws-sdk/client-notifications 3.730.0 → 3.731.1

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 (118) hide show
  1. package/README.md +115 -3
  2. package/dist-cjs/Notifications.js +28 -0
  3. package/dist-cjs/commands/AssociateManagedNotificationAccountContactCommand.js +26 -0
  4. package/dist-cjs/commands/AssociateManagedNotificationAdditionalChannelCommand.js +26 -0
  5. package/dist-cjs/commands/DisableNotificationsAccessForOrganizationCommand.js +26 -0
  6. package/dist-cjs/commands/DisassociateManagedNotificationAccountContactCommand.js +26 -0
  7. package/dist-cjs/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +26 -0
  8. package/dist-cjs/commands/EnableNotificationsAccessForOrganizationCommand.js +26 -0
  9. package/dist-cjs/commands/GetManagedNotificationChildEventCommand.js +26 -0
  10. package/dist-cjs/commands/GetManagedNotificationConfigurationCommand.js +26 -0
  11. package/dist-cjs/commands/GetManagedNotificationEventCommand.js +26 -0
  12. package/dist-cjs/commands/GetNotificationsAccessForOrganizationCommand.js +26 -0
  13. package/dist-cjs/commands/ListManagedNotificationChannelAssociationsCommand.js +26 -0
  14. package/dist-cjs/commands/ListManagedNotificationChildEventsCommand.js +26 -0
  15. package/dist-cjs/commands/ListManagedNotificationConfigurationsCommand.js +26 -0
  16. package/dist-cjs/commands/ListManagedNotificationEventsCommand.js +26 -0
  17. package/dist-cjs/commands/index.js +14 -0
  18. package/dist-cjs/models/models_0.js +25 -4
  19. package/dist-cjs/pagination/ListManagedNotificationChannelAssociationsPaginator.js +7 -0
  20. package/dist-cjs/pagination/ListManagedNotificationChildEventsPaginator.js +7 -0
  21. package/dist-cjs/pagination/ListManagedNotificationConfigurationsPaginator.js +7 -0
  22. package/dist-cjs/pagination/ListManagedNotificationEventsPaginator.js +7 -0
  23. package/dist-cjs/pagination/index.js +4 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +475 -5
  25. package/dist-es/Notifications.js +28 -0
  26. package/dist-es/commands/AssociateManagedNotificationAccountContactCommand.js +22 -0
  27. package/dist-es/commands/AssociateManagedNotificationAdditionalChannelCommand.js +22 -0
  28. package/dist-es/commands/DisableNotificationsAccessForOrganizationCommand.js +22 -0
  29. package/dist-es/commands/DisassociateManagedNotificationAccountContactCommand.js +22 -0
  30. package/dist-es/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +22 -0
  31. package/dist-es/commands/EnableNotificationsAccessForOrganizationCommand.js +22 -0
  32. package/dist-es/commands/GetManagedNotificationChildEventCommand.js +22 -0
  33. package/dist-es/commands/GetManagedNotificationConfigurationCommand.js +22 -0
  34. package/dist-es/commands/GetManagedNotificationEventCommand.js +22 -0
  35. package/dist-es/commands/GetNotificationsAccessForOrganizationCommand.js +22 -0
  36. package/dist-es/commands/ListManagedNotificationChannelAssociationsCommand.js +22 -0
  37. package/dist-es/commands/ListManagedNotificationChildEventsCommand.js +22 -0
  38. package/dist-es/commands/ListManagedNotificationConfigurationsCommand.js +22 -0
  39. package/dist-es/commands/ListManagedNotificationEventsCommand.js +22 -0
  40. package/dist-es/commands/index.js +14 -0
  41. package/dist-es/models/models_0.js +24 -3
  42. package/dist-es/pagination/ListManagedNotificationChannelAssociationsPaginator.js +4 -0
  43. package/dist-es/pagination/ListManagedNotificationChildEventsPaginator.js +4 -0
  44. package/dist-es/pagination/ListManagedNotificationConfigurationsPaginator.js +4 -0
  45. package/dist-es/pagination/ListManagedNotificationEventsPaginator.js +4 -0
  46. package/dist-es/pagination/index.js +4 -0
  47. package/dist-es/protocols/Aws_restJson1.js +445 -4
  48. package/dist-types/Notifications.d.ts +106 -3
  49. package/dist-types/NotificationsClient.d.ts +19 -5
  50. package/dist-types/commands/AssociateChannelCommand.d.ts +2 -2
  51. package/dist-types/commands/AssociateManagedNotificationAccountContactCommand.d.ts +91 -0
  52. package/dist-types/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +92 -0
  53. package/dist-types/commands/CreateEventRuleCommand.d.ts +4 -1
  54. package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +1 -1
  55. package/dist-types/commands/DeleteEventRuleCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
  57. package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +5 -2
  58. package/dist-types/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +88 -0
  59. package/dist-types/commands/DisassociateChannelCommand.d.ts +1 -1
  60. package/dist-types/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +88 -0
  61. package/dist-types/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +86 -0
  62. package/dist-types/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +88 -0
  63. package/dist-types/commands/GetEventRuleCommand.d.ts +1 -1
  64. package/dist-types/commands/GetManagedNotificationChildEventCommand.d.ts +130 -0
  65. package/dist-types/commands/GetManagedNotificationConfigurationCommand.d.ts +90 -0
  66. package/dist-types/commands/GetManagedNotificationEventCommand.d.ts +161 -0
  67. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +1 -1
  68. package/dist-types/commands/GetNotificationEventCommand.d.ts +42 -3
  69. package/dist-types/commands/GetNotificationsAccessForOrganizationCommand.d.ts +83 -0
  70. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  71. package/dist-types/commands/ListEventRulesCommand.d.ts +1 -1
  72. package/dist-types/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +95 -0
  73. package/dist-types/commands/ListManagedNotificationChildEventsCommand.d.ts +121 -0
  74. package/dist-types/commands/ListManagedNotificationConfigurationsCommand.d.ts +92 -0
  75. package/dist-types/commands/ListManagedNotificationEventsCommand.d.ts +155 -0
  76. package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +2 -1
  77. package/dist-types/commands/ListNotificationEventsCommand.d.ts +41 -2
  78. package/dist-types/commands/ListNotificationHubsCommand.d.ts +1 -1
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  80. package/dist-types/commands/RegisterNotificationHubCommand.d.ts +3 -2
  81. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  82. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdateEventRuleCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +1 -1
  85. package/dist-types/commands/index.d.ts +14 -0
  86. package/dist-types/index.d.ts +3 -3
  87. package/dist-types/models/models_0.d.ts +1830 -578
  88. package/dist-types/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListManagedNotificationChildEventsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/ListManagedNotificationEventsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/index.d.ts +4 -0
  93. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  94. package/dist-types/ts3.4/Notifications.d.ts +309 -0
  95. package/dist-types/ts3.4/NotificationsClient.d.ts +84 -0
  96. package/dist-types/ts3.4/commands/AssociateManagedNotificationAccountContactCommand.d.ts +51 -0
  97. package/dist-types/ts3.4/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/GetManagedNotificationChildEventCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/GetManagedNotificationConfigurationCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/GetManagedNotificationEventCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/GetNotificationsAccessForOrganizationCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/ListManagedNotificationChildEventsCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ListManagedNotificationConfigurationsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/ListManagedNotificationEventsCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  111. package/dist-types/ts3.4/models/models_0.d.ts +288 -38
  112. package/dist-types/ts3.4/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/ListManagedNotificationChildEventsPaginator.d.ts +11 -0
  114. package/dist-types/ts3.4/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +11 -0
  115. package/dist-types/ts3.4/pagination/ListManagedNotificationEventsPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  117. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  118. package/package.json +12 -12
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DisassociateManagedNotificationAccountContactRequest, DisassociateManagedNotificationAccountContactResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateManagedNotificationAccountContactCommand}.
14
+ */
15
+ export interface DisassociateManagedNotificationAccountContactCommandInput extends DisassociateManagedNotificationAccountContactRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateManagedNotificationAccountContactCommand}.
21
+ */
22
+ export interface DisassociateManagedNotificationAccountContactCommandOutput extends DisassociateManagedNotificationAccountContactResponse, __MetadataBearer {
23
+ }
24
+ declare const DisassociateManagedNotificationAccountContactCommand_base: {
25
+ new (input: DisassociateManagedNotificationAccountContactCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateManagedNotificationAccountContactCommandInput, DisassociateManagedNotificationAccountContactCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DisassociateManagedNotificationAccountContactCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateManagedNotificationAccountContactCommandInput, DisassociateManagedNotificationAccountContactCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Disassociates an Account Contact with a particular <code>ManagedNotificationConfiguration</code>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, DisassociateManagedNotificationAccountContactCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, DisassociateManagedNotificationAccountContactCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // DisassociateManagedNotificationAccountContactRequest
38
+ * contactIdentifier: "STRING_VALUE", // required
39
+ * managedNotificationConfigurationArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DisassociateManagedNotificationAccountContactCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DisassociateManagedNotificationAccountContactCommandInput - {@link DisassociateManagedNotificationAccountContactCommandInput}
48
+ * @returns {@link DisassociateManagedNotificationAccountContactCommandOutput}
49
+ * @see {@link DisassociateManagedNotificationAccountContactCommandInput} for command's `input` shape.
50
+ * @see {@link DisassociateManagedNotificationAccountContactCommandOutput} for command's `response` shape.
51
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>User does not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>Unexpected error during processing of request.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>Request references a resource which does not exist. </p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>Request was denied due to request throttling. </p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>This exception is thrown when the notification event fails validation.</p>
70
+ *
71
+ * @throws {@link NotificationsServiceException}
72
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class DisassociateManagedNotificationAccountContactCommand extends DisassociateManagedNotificationAccountContactCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: DisassociateManagedNotificationAccountContactRequest;
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: DisassociateManagedNotificationAccountContactCommandInput;
85
+ output: DisassociateManagedNotificationAccountContactCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,86 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DisassociateManagedNotificationAdditionalChannelRequest, DisassociateManagedNotificationAdditionalChannelResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateManagedNotificationAdditionalChannelCommand}.
14
+ */
15
+ export interface DisassociateManagedNotificationAdditionalChannelCommandInput extends DisassociateManagedNotificationAdditionalChannelRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateManagedNotificationAdditionalChannelCommand}.
21
+ */
22
+ export interface DisassociateManagedNotificationAdditionalChannelCommandOutput extends DisassociateManagedNotificationAdditionalChannelResponse, __MetadataBearer {
23
+ }
24
+ declare const DisassociateManagedNotificationAdditionalChannelCommand_base: {
25
+ new (input: DisassociateManagedNotificationAdditionalChannelCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateManagedNotificationAdditionalChannelCommandInput, DisassociateManagedNotificationAdditionalChannelCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DisassociateManagedNotificationAdditionalChannelCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateManagedNotificationAdditionalChannelCommandInput, DisassociateManagedNotificationAdditionalChannelCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Disassociates an additional Channel from a particular <code>ManagedNotificationConfiguration</code>.</p>
31
+ * <p>Supported Channels include Chatbot, the Console Mobile Application, and emails (notifications-contacts).</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { NotificationsClient, DisassociateManagedNotificationAdditionalChannelCommand } from "@aws-sdk/client-notifications"; // ES Modules import
36
+ * // const { NotificationsClient, DisassociateManagedNotificationAdditionalChannelCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
37
+ * const client = new NotificationsClient(config);
38
+ * const input = { // DisassociateManagedNotificationAdditionalChannelRequest
39
+ * channelArn: "STRING_VALUE", // required
40
+ * managedNotificationConfigurationArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DisassociateManagedNotificationAdditionalChannelCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DisassociateManagedNotificationAdditionalChannelCommandInput - {@link DisassociateManagedNotificationAdditionalChannelCommandInput}
49
+ * @returns {@link DisassociateManagedNotificationAdditionalChannelCommandOutput}
50
+ * @see {@link DisassociateManagedNotificationAdditionalChannelCommandInput} for command's `input` shape.
51
+ * @see {@link DisassociateManagedNotificationAdditionalChannelCommandOutput} for command's `response` shape.
52
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>User does not have sufficient access to perform this action.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>Unexpected error during processing of request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>Request references a resource which does not exist. </p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>Request was denied due to request throttling. </p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>This exception is thrown when the notification event fails validation.</p>
68
+ *
69
+ * @throws {@link NotificationsServiceException}
70
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
71
+ *
72
+ * @public
73
+ */
74
+ export declare class DisassociateManagedNotificationAdditionalChannelCommand extends DisassociateManagedNotificationAdditionalChannelCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: DisassociateManagedNotificationAdditionalChannelRequest;
79
+ output: {};
80
+ };
81
+ sdk: {
82
+ input: DisassociateManagedNotificationAdditionalChannelCommandInput;
83
+ output: DisassociateManagedNotificationAdditionalChannelCommandOutput;
84
+ };
85
+ };
86
+ }
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EnableNotificationsAccessForOrganizationRequest, EnableNotificationsAccessForOrganizationResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link EnableNotificationsAccessForOrganizationCommand}.
14
+ */
15
+ export interface EnableNotificationsAccessForOrganizationCommandInput extends EnableNotificationsAccessForOrganizationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link EnableNotificationsAccessForOrganizationCommand}.
21
+ */
22
+ export interface EnableNotificationsAccessForOrganizationCommandOutput extends EnableNotificationsAccessForOrganizationResponse, __MetadataBearer {
23
+ }
24
+ declare const EnableNotificationsAccessForOrganizationCommand_base: {
25
+ new (input: EnableNotificationsAccessForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<EnableNotificationsAccessForOrganizationCommandInput, EnableNotificationsAccessForOrganizationCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [EnableNotificationsAccessForOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<EnableNotificationsAccessForOrganizationCommandInput, EnableNotificationsAccessForOrganizationCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Enables service trust between User Notifications and Amazon Web Services Organizations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, EnableNotificationsAccessForOrganizationCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, EnableNotificationsAccessForOrganizationCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = {};
38
+ * const command = new EnableNotificationsAccessForOrganizationCommand(input);
39
+ * const response = await client.send(command);
40
+ * // {};
41
+ *
42
+ * ```
43
+ *
44
+ * @param EnableNotificationsAccessForOrganizationCommandInput - {@link EnableNotificationsAccessForOrganizationCommandInput}
45
+ * @returns {@link EnableNotificationsAccessForOrganizationCommandOutput}
46
+ * @see {@link EnableNotificationsAccessForOrganizationCommandInput} for command's `input` shape.
47
+ * @see {@link EnableNotificationsAccessForOrganizationCommandOutput} for command's `response` shape.
48
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
49
+ *
50
+ * @throws {@link AccessDeniedException} (client fault)
51
+ * <p>User does not have sufficient access to perform this action.</p>
52
+ *
53
+ * @throws {@link ConflictException} (client fault)
54
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
55
+ *
56
+ * @throws {@link InternalServerException} (server fault)
57
+ * <p>Unexpected error during processing of request.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>Request references a resource which does not exist. </p>
61
+ *
62
+ * @throws {@link ServiceQuotaExceededException} (client fault)
63
+ * <p>Request would cause a service quota to be exceeded.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>Request was denied due to request throttling. </p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>This exception is thrown when the notification event fails validation.</p>
70
+ *
71
+ * @throws {@link NotificationsServiceException}
72
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class EnableNotificationsAccessForOrganizationCommand extends EnableNotificationsAccessForOrganizationCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: {};
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: EnableNotificationsAccessForOrganizationCommandInput;
85
+ output: EnableNotificationsAccessForOrganizationCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -27,7 +27,7 @@ declare const GetEventRuleCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a specified EventRule.</p>
30
+ * <p>Returns a specified <code>EventRule</code>.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -0,0 +1,130 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetManagedNotificationChildEventRequest, GetManagedNotificationChildEventResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetManagedNotificationChildEventCommand}.
14
+ */
15
+ export interface GetManagedNotificationChildEventCommandInput extends GetManagedNotificationChildEventRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetManagedNotificationChildEventCommand}.
21
+ */
22
+ export interface GetManagedNotificationChildEventCommandOutput extends GetManagedNotificationChildEventResponse, __MetadataBearer {
23
+ }
24
+ declare const GetManagedNotificationChildEventCommand_base: {
25
+ new (input: GetManagedNotificationChildEventCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedNotificationChildEventCommandInput, GetManagedNotificationChildEventCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetManagedNotificationChildEventCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedNotificationChildEventCommandInput, GetManagedNotificationChildEventCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the child event of a specific given <code>ManagedNotificationEvent</code>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, GetManagedNotificationChildEventCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, GetManagedNotificationChildEventCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // GetManagedNotificationChildEventRequest
38
+ * arn: "STRING_VALUE", // required
39
+ * locale: "STRING_VALUE",
40
+ * };
41
+ * const command = new GetManagedNotificationChildEventCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetManagedNotificationChildEventResponse
44
+ * // arn: "STRING_VALUE", // required
45
+ * // managedNotificationConfigurationArn: "STRING_VALUE", // required
46
+ * // creationTime: new Date("TIMESTAMP"), // required
47
+ * // content: { // ManagedNotificationChildEvent
48
+ * // schemaVersion: "STRING_VALUE", // required
49
+ * // id: "STRING_VALUE", // required
50
+ * // messageComponents: { // MessageComponents
51
+ * // headline: "STRING_VALUE",
52
+ * // paragraphSummary: "STRING_VALUE",
53
+ * // completeDescription: "STRING_VALUE",
54
+ * // dimensions: [ // Dimensions
55
+ * // { // Dimension
56
+ * // name: "STRING_VALUE", // required
57
+ * // value: "STRING_VALUE", // required
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // sourceEventDetailUrl: "STRING_VALUE",
62
+ * // sourceEventDetailUrlDisplayText: "STRING_VALUE",
63
+ * // notificationType: "STRING_VALUE", // required
64
+ * // eventStatus: "STRING_VALUE",
65
+ * // aggregateManagedNotificationEventArn: "STRING_VALUE", // required
66
+ * // startTime: new Date("TIMESTAMP"),
67
+ * // endTime: new Date("TIMESTAMP"),
68
+ * // textParts: { // TextParts // required
69
+ * // "<keys>": { // TextPartValue
70
+ * // type: "STRING_VALUE", // required
71
+ * // displayText: "STRING_VALUE",
72
+ * // textByLocale: { // TextByLocale
73
+ * // "<keys>": "STRING_VALUE",
74
+ * // },
75
+ * // url: "STRING_VALUE",
76
+ * // },
77
+ * // },
78
+ * // organizationalUnitId: "STRING_VALUE",
79
+ * // aggregationDetail: { // AggregationDetail
80
+ * // summarizationDimensions: [ // SummarizationDimensionDetails
81
+ * // { // SummarizationDimensionDetail
82
+ * // name: "STRING_VALUE", // required
83
+ * // value: "STRING_VALUE", // required
84
+ * // },
85
+ * // ],
86
+ * // },
87
+ * // },
88
+ * // };
89
+ *
90
+ * ```
91
+ *
92
+ * @param GetManagedNotificationChildEventCommandInput - {@link GetManagedNotificationChildEventCommandInput}
93
+ * @returns {@link GetManagedNotificationChildEventCommandOutput}
94
+ * @see {@link GetManagedNotificationChildEventCommandInput} for command's `input` shape.
95
+ * @see {@link GetManagedNotificationChildEventCommandOutput} for command's `response` shape.
96
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
97
+ *
98
+ * @throws {@link AccessDeniedException} (client fault)
99
+ * <p>User does not have sufficient access to perform this action.</p>
100
+ *
101
+ * @throws {@link InternalServerException} (server fault)
102
+ * <p>Unexpected error during processing of request.</p>
103
+ *
104
+ * @throws {@link ResourceNotFoundException} (client fault)
105
+ * <p>Request references a resource which does not exist. </p>
106
+ *
107
+ * @throws {@link ThrottlingException} (client fault)
108
+ * <p>Request was denied due to request throttling. </p>
109
+ *
110
+ * @throws {@link ValidationException} (client fault)
111
+ * <p>This exception is thrown when the notification event fails validation.</p>
112
+ *
113
+ * @throws {@link NotificationsServiceException}
114
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
115
+ *
116
+ * @public
117
+ */
118
+ export declare class GetManagedNotificationChildEventCommand extends GetManagedNotificationChildEventCommand_base {
119
+ /** @internal type navigation helper, not in runtime. */
120
+ protected static __types: {
121
+ api: {
122
+ input: GetManagedNotificationChildEventRequest;
123
+ output: GetManagedNotificationChildEventResponse;
124
+ };
125
+ sdk: {
126
+ input: GetManagedNotificationChildEventCommandInput;
127
+ output: GetManagedNotificationChildEventCommandOutput;
128
+ };
129
+ };
130
+ }
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetManagedNotificationConfigurationRequest, GetManagedNotificationConfigurationResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetManagedNotificationConfigurationCommand}.
14
+ */
15
+ export interface GetManagedNotificationConfigurationCommandInput extends GetManagedNotificationConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetManagedNotificationConfigurationCommand}.
21
+ */
22
+ export interface GetManagedNotificationConfigurationCommandOutput extends GetManagedNotificationConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetManagedNotificationConfigurationCommand_base: {
25
+ new (input: GetManagedNotificationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedNotificationConfigurationCommandInput, GetManagedNotificationConfigurationCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetManagedNotificationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedNotificationConfigurationCommandInput, GetManagedNotificationConfigurationCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a specified <code>ManagedNotificationConfiguration</code>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, GetManagedNotificationConfigurationCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, GetManagedNotificationConfigurationCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // GetManagedNotificationConfigurationRequest
38
+ * arn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetManagedNotificationConfigurationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetManagedNotificationConfigurationResponse
43
+ * // arn: "STRING_VALUE", // required
44
+ * // name: "STRING_VALUE", // required
45
+ * // description: "STRING_VALUE", // required
46
+ * // category: "STRING_VALUE", // required
47
+ * // subCategory: "STRING_VALUE", // required
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param GetManagedNotificationConfigurationCommandInput - {@link GetManagedNotificationConfigurationCommandInput}
53
+ * @returns {@link GetManagedNotificationConfigurationCommandOutput}
54
+ * @see {@link GetManagedNotificationConfigurationCommandInput} for command's `input` shape.
55
+ * @see {@link GetManagedNotificationConfigurationCommandOutput} for command's `response` shape.
56
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>User does not have sufficient access to perform this action.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>Unexpected error during processing of request.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>Request references a resource which does not exist. </p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>Request was denied due to request throttling. </p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>This exception is thrown when the notification event fails validation.</p>
72
+ *
73
+ * @throws {@link NotificationsServiceException}
74
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
75
+ *
76
+ * @public
77
+ */
78
+ export declare class GetManagedNotificationConfigurationCommand extends GetManagedNotificationConfigurationCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: GetManagedNotificationConfigurationRequest;
83
+ output: GetManagedNotificationConfigurationResponse;
84
+ };
85
+ sdk: {
86
+ input: GetManagedNotificationConfigurationCommandInput;
87
+ output: GetManagedNotificationConfigurationCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,161 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetManagedNotificationEventRequest, GetManagedNotificationEventResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetManagedNotificationEventCommand}.
14
+ */
15
+ export interface GetManagedNotificationEventCommandInput extends GetManagedNotificationEventRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetManagedNotificationEventCommand}.
21
+ */
22
+ export interface GetManagedNotificationEventCommandOutput extends GetManagedNotificationEventResponse, __MetadataBearer {
23
+ }
24
+ declare const GetManagedNotificationEventCommand_base: {
25
+ new (input: GetManagedNotificationEventCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedNotificationEventCommandInput, GetManagedNotificationEventCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetManagedNotificationEventCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedNotificationEventCommandInput, GetManagedNotificationEventCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a specified <code>ManagedNotificationEvent</code>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, GetManagedNotificationEventCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, GetManagedNotificationEventCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // GetManagedNotificationEventRequest
38
+ * arn: "STRING_VALUE", // required
39
+ * locale: "STRING_VALUE",
40
+ * };
41
+ * const command = new GetManagedNotificationEventCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetManagedNotificationEventResponse
44
+ * // arn: "STRING_VALUE", // required
45
+ * // managedNotificationConfigurationArn: "STRING_VALUE", // required
46
+ * // creationTime: new Date("TIMESTAMP"), // required
47
+ * // content: { // ManagedNotificationEvent
48
+ * // schemaVersion: "STRING_VALUE", // required
49
+ * // id: "STRING_VALUE", // required
50
+ * // messageComponents: { // MessageComponents
51
+ * // headline: "STRING_VALUE",
52
+ * // paragraphSummary: "STRING_VALUE",
53
+ * // completeDescription: "STRING_VALUE",
54
+ * // dimensions: [ // Dimensions
55
+ * // { // Dimension
56
+ * // name: "STRING_VALUE", // required
57
+ * // value: "STRING_VALUE", // required
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // sourceEventDetailUrl: "STRING_VALUE",
62
+ * // sourceEventDetailUrlDisplayText: "STRING_VALUE",
63
+ * // notificationType: "STRING_VALUE", // required
64
+ * // eventStatus: "STRING_VALUE",
65
+ * // aggregationEventType: "STRING_VALUE",
66
+ * // aggregationSummary: { // AggregationSummary
67
+ * // eventCount: Number("int"), // required
68
+ * // aggregatedBy: [ // AggregationKeys // required
69
+ * // { // AggregationKey
70
+ * // name: "STRING_VALUE", // required
71
+ * // value: "STRING_VALUE", // required
72
+ * // },
73
+ * // ],
74
+ * // aggregatedAccounts: { // SummarizationDimensionOverview
75
+ * // name: "STRING_VALUE", // required
76
+ * // count: Number("int"), // required
77
+ * // sampleValues: [ // SampleAggregationDimensionValues
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // },
81
+ * // aggregatedRegions: {
82
+ * // name: "STRING_VALUE", // required
83
+ * // count: Number("int"), // required
84
+ * // sampleValues: [
85
+ * // "STRING_VALUE",
86
+ * // ],
87
+ * // },
88
+ * // aggregatedOrganizationalUnits: {
89
+ * // name: "STRING_VALUE", // required
90
+ * // count: Number("int"), // required
91
+ * // sampleValues: [
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // },
95
+ * // additionalSummarizationDimensions: [ // SummarizationDimensionOverviews
96
+ * // {
97
+ * // name: "STRING_VALUE", // required
98
+ * // count: Number("int"), // required
99
+ * // sampleValues: [
100
+ * // "STRING_VALUE",
101
+ * // ],
102
+ * // },
103
+ * // ],
104
+ * // },
105
+ * // startTime: new Date("TIMESTAMP"),
106
+ * // endTime: new Date("TIMESTAMP"),
107
+ * // textParts: { // TextParts // required
108
+ * // "<keys>": { // TextPartValue
109
+ * // type: "STRING_VALUE", // required
110
+ * // displayText: "STRING_VALUE",
111
+ * // textByLocale: { // TextByLocale
112
+ * // "<keys>": "STRING_VALUE",
113
+ * // },
114
+ * // url: "STRING_VALUE",
115
+ * // },
116
+ * // },
117
+ * // organizationalUnitId: "STRING_VALUE",
118
+ * // },
119
+ * // };
120
+ *
121
+ * ```
122
+ *
123
+ * @param GetManagedNotificationEventCommandInput - {@link GetManagedNotificationEventCommandInput}
124
+ * @returns {@link GetManagedNotificationEventCommandOutput}
125
+ * @see {@link GetManagedNotificationEventCommandInput} for command's `input` shape.
126
+ * @see {@link GetManagedNotificationEventCommandOutput} for command's `response` shape.
127
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
128
+ *
129
+ * @throws {@link AccessDeniedException} (client fault)
130
+ * <p>User does not have sufficient access to perform this action.</p>
131
+ *
132
+ * @throws {@link InternalServerException} (server fault)
133
+ * <p>Unexpected error during processing of request.</p>
134
+ *
135
+ * @throws {@link ResourceNotFoundException} (client fault)
136
+ * <p>Request references a resource which does not exist. </p>
137
+ *
138
+ * @throws {@link ThrottlingException} (client fault)
139
+ * <p>Request was denied due to request throttling. </p>
140
+ *
141
+ * @throws {@link ValidationException} (client fault)
142
+ * <p>This exception is thrown when the notification event fails validation.</p>
143
+ *
144
+ * @throws {@link NotificationsServiceException}
145
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
146
+ *
147
+ * @public
148
+ */
149
+ export declare class GetManagedNotificationEventCommand extends GetManagedNotificationEventCommand_base {
150
+ /** @internal type navigation helper, not in runtime. */
151
+ protected static __types: {
152
+ api: {
153
+ input: GetManagedNotificationEventRequest;
154
+ output: GetManagedNotificationEventResponse;
155
+ };
156
+ sdk: {
157
+ input: GetManagedNotificationEventCommandInput;
158
+ output: GetManagedNotificationEventCommandOutput;
159
+ };
160
+ };
161
+ }