@aws-sdk/client-notifications 3.698.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +380 -0
- package/dist-cjs/Notifications.js +53 -0
- package/dist-cjs/NotificationsClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssociateChannelCommand.js +26 -0
- package/dist-cjs/commands/CreateEventRuleCommand.js +26 -0
- package/dist-cjs/commands/CreateNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/DeleteEventRuleCommand.js +26 -0
- package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/DeregisterNotificationHubCommand.js +26 -0
- package/dist-cjs/commands/DisassociateChannelCommand.js +26 -0
- package/dist-cjs/commands/GetEventRuleCommand.js +26 -0
- package/dist-cjs/commands/GetNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetNotificationEventCommand.js +26 -0
- package/dist-cjs/commands/ListChannelsCommand.js +26 -0
- package/dist-cjs/commands/ListEventRulesCommand.js +26 -0
- package/dist-cjs/commands/ListNotificationConfigurationsCommand.js +26 -0
- package/dist-cjs/commands/ListNotificationEventsCommand.js +26 -0
- package/dist-cjs/commands/ListNotificationHubsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/RegisterNotificationHubCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateEventRuleCommand.js +26 -0
- package/dist-cjs/commands/UpdateNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/NotificationsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +181 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListChannelsPaginator.js +7 -0
- package/dist-cjs/pagination/ListEventRulesPaginator.js +7 -0
- package/dist-cjs/pagination/ListNotificationConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListNotificationEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListNotificationHubsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +885 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Notifications.js +49 -0
- package/dist-es/NotificationsClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateChannelCommand.js +22 -0
- package/dist-es/commands/CreateEventRuleCommand.js +22 -0
- package/dist-es/commands/CreateNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteEventRuleCommand.js +22 -0
- package/dist-es/commands/DeleteNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/DeregisterNotificationHubCommand.js +22 -0
- package/dist-es/commands/DisassociateChannelCommand.js +22 -0
- package/dist-es/commands/GetEventRuleCommand.js +22 -0
- package/dist-es/commands/GetNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/GetNotificationEventCommand.js +22 -0
- package/dist-es/commands/ListChannelsCommand.js +22 -0
- package/dist-es/commands/ListEventRulesCommand.js +22 -0
- package/dist-es/commands/ListNotificationConfigurationsCommand.js +22 -0
- package/dist-es/commands/ListNotificationEventsCommand.js +22 -0
- package/dist-es/commands/ListNotificationHubsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/RegisterNotificationHubCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateEventRuleCommand.js +22 -0
- package/dist-es/commands/UpdateNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/NotificationsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +171 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListChannelsPaginator.js +4 -0
- package/dist-es/pagination/ListEventRulesPaginator.js +4 -0
- package/dist-es/pagination/ListNotificationConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListNotificationEventsPaginator.js +4 -0
- package/dist-es/pagination/ListNotificationHubsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +840 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Notifications.d.ts +167 -0
- package/dist-types/NotificationsClient.d.ts +197 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AssociateChannelCommand.d.ts +92 -0
- package/dist-types/commands/CreateEventRuleCommand.d.ts +105 -0
- package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/DeleteEventRuleCommand.d.ts +87 -0
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +96 -0
- package/dist-types/commands/DisassociateChannelCommand.d.ts +85 -0
- package/dist-types/commands/GetEventRuleCommand.d.ts +103 -0
- package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/GetNotificationEventCommand.d.ts +154 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +91 -0
- package/dist-types/commands/ListEventRulesCommand.d.ts +110 -0
- package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +97 -0
- package/dist-types/commands/ListNotificationEventsCommand.d.ts +118 -0
- package/dist-types/commands/ListNotificationHubsCommand.d.ts +95 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +92 -0
- package/dist-types/commands/RegisterNotificationHubCommand.d.ts +96 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateEventRuleCommand.d.ts +100 -0
- package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +21 -0
- package/dist-types/models/NotificationsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2354 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNotificationConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNotificationEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNotificationHubsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +191 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Notifications.d.ts +367 -0
- package/dist-types/ts3.4/NotificationsClient.d.ts +245 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AssociateChannelCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateEventRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEventRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeregisterNotificationHubCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEventRuleCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetNotificationEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListEventRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListNotificationConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNotificationEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNotificationHubsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterNotificationHubCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateEventRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/NotificationsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +447 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNotificationConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNotificationEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNotificationHubsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +257 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListNotificationEventsRequest, ListNotificationEventsResponse } 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 ListNotificationEventsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNotificationEventsCommandInput extends ListNotificationEventsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNotificationEventsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNotificationEventsCommandOutput extends ListNotificationEventsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNotificationEventsCommand_base: {
|
|
25
|
+
new (input: ListNotificationEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNotificationEventsCommandInput, ListNotificationEventsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListNotificationEventsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListNotificationEventsCommandInput, ListNotificationEventsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of NotificationEvents according to specified filters, in reverse chronological order (newest first).</p>
|
|
31
|
+
* <important>
|
|
32
|
+
* <p>User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. ListNotificationEvents only returns notifications stored in the same Region in which the action is called.
|
|
33
|
+
* User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub.
|
|
34
|
+
* For more information, see <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">Notification hubs</a> in the <i>AWS User Notifications User Guide</i>.</p>
|
|
35
|
+
* </important>
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { NotificationsClient, ListNotificationEventsCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
40
|
+
* // const { NotificationsClient, ListNotificationEventsCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
41
|
+
* const client = new NotificationsClient(config);
|
|
42
|
+
* const input = { // ListNotificationEventsRequest
|
|
43
|
+
* startTime: new Date("TIMESTAMP"),
|
|
44
|
+
* endTime: new Date("TIMESTAMP"),
|
|
45
|
+
* locale: "STRING_VALUE",
|
|
46
|
+
* source: "STRING_VALUE",
|
|
47
|
+
* includeChildEvents: true || false,
|
|
48
|
+
* aggregateNotificationEventArn: "STRING_VALUE",
|
|
49
|
+
* maxResults: Number("int"),
|
|
50
|
+
* nextToken: "STRING_VALUE",
|
|
51
|
+
* };
|
|
52
|
+
* const command = new ListNotificationEventsCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // ListNotificationEventsResponse
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // notificationEvents: [ // NotificationEvents // required
|
|
57
|
+
* // { // NotificationEventOverview
|
|
58
|
+
* // arn: "STRING_VALUE", // required
|
|
59
|
+
* // notificationConfigurationArn: "STRING_VALUE", // required
|
|
60
|
+
* // relatedAccount: "STRING_VALUE", // required
|
|
61
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // notificationEvent: { // NotificationEventSummary
|
|
63
|
+
* // schemaVersion: "STRING_VALUE", // required
|
|
64
|
+
* // sourceEventMetadata: { // SourceEventMetadataSummary
|
|
65
|
+
* // eventOriginRegion: "STRING_VALUE",
|
|
66
|
+
* // source: "STRING_VALUE", // required
|
|
67
|
+
* // eventType: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // messageComponents: { // MessageComponentsSummary
|
|
70
|
+
* // headline: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // eventStatus: "STRING_VALUE", // required
|
|
73
|
+
* // notificationType: "STRING_VALUE", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // aggregationEventType: "STRING_VALUE",
|
|
76
|
+
* // aggregateNotificationEventArn: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @param ListNotificationEventsCommandInput - {@link ListNotificationEventsCommandInput}
|
|
84
|
+
* @returns {@link ListNotificationEventsCommandOutput}
|
|
85
|
+
* @see {@link ListNotificationEventsCommandInput} for command's `input` shape.
|
|
86
|
+
* @see {@link ListNotificationEventsCommandOutput} for command's `response` shape.
|
|
87
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
90
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InternalServerException} (server fault)
|
|
93
|
+
* <p>Unexpected error during processing of request.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <p>Request was denied due to request throttling. </p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link NotificationsServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from Notifications service.</p>
|
|
103
|
+
*
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class ListNotificationEventsCommand extends ListNotificationEventsCommand_base {
|
|
107
|
+
/** @internal type navigation helper, not in runtime. */
|
|
108
|
+
protected static __types: {
|
|
109
|
+
api: {
|
|
110
|
+
input: ListNotificationEventsRequest;
|
|
111
|
+
output: ListNotificationEventsResponse;
|
|
112
|
+
};
|
|
113
|
+
sdk: {
|
|
114
|
+
input: ListNotificationEventsCommandInput;
|
|
115
|
+
output: ListNotificationEventsCommandOutput;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListNotificationHubsRequest, ListNotificationHubsResponse } 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 ListNotificationHubsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNotificationHubsCommandInput extends ListNotificationHubsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNotificationHubsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNotificationHubsCommandOutput extends ListNotificationHubsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNotificationHubsCommand_base: {
|
|
25
|
+
new (input: ListNotificationHubsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNotificationHubsCommandInput, ListNotificationHubsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListNotificationHubsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListNotificationHubsCommandInput, ListNotificationHubsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of NotificationHubs.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NotificationsClient, ListNotificationHubsCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
35
|
+
* // const { NotificationsClient, ListNotificationHubsCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
36
|
+
* const client = new NotificationsClient(config);
|
|
37
|
+
* const input = { // ListNotificationHubsRequest
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListNotificationHubsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListNotificationHubsResponse
|
|
44
|
+
* // notificationHubs: [ // NotificationHubs // required
|
|
45
|
+
* // { // NotificationHubOverview
|
|
46
|
+
* // notificationHubRegion: "STRING_VALUE", // required
|
|
47
|
+
* // statusSummary: { // NotificationHubStatusSummary
|
|
48
|
+
* // status: "STRING_VALUE", // required
|
|
49
|
+
* // reason: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // lastActivationTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListNotificationHubsCommandInput - {@link ListNotificationHubsCommandInput}
|
|
61
|
+
* @returns {@link ListNotificationHubsCommandOutput}
|
|
62
|
+
* @see {@link ListNotificationHubsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListNotificationHubsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>Unexpected error during processing of request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>Request was denied due to request throttling. </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link NotificationsServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Notifications service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListNotificationHubsCommand extends ListNotificationHubsCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: ListNotificationHubsRequest;
|
|
88
|
+
output: ListNotificationHubsResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: ListNotificationHubsCommandInput;
|
|
92
|
+
output: ListNotificationHubsCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } 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 ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of tags for a specified Amazon Resource Name (ARN).</p>
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your AWS resources</a> in the <i>Tagging AWS Resources User Guide</i>.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>This is only supported for NotificationConfigurations.</p>
|
|
34
|
+
* </note>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { NotificationsClient, ListTagsForResourceCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
39
|
+
* // const { NotificationsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
40
|
+
* const client = new NotificationsClient(config);
|
|
41
|
+
* const input = { // ListTagsForResourceRequest
|
|
42
|
+
* arn: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListTagsForResourceResponse
|
|
47
|
+
* // tags: { // TagMap
|
|
48
|
+
* // "<keys>": "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
55
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
56
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>Unexpected error during processing of request.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>Request references a resource which does not exist. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>Request was denied due to request throttling. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link NotificationsServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Notifications service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: ListTagsForResourceRequest;
|
|
85
|
+
output: ListTagsForResourceResponse;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: ListTagsForResourceCommandInput;
|
|
89
|
+
output: ListTagsForResourceCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { RegisterNotificationHubRequest, RegisterNotificationHubResponse } 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 RegisterNotificationHubCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RegisterNotificationHubCommandInput extends RegisterNotificationHubRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RegisterNotificationHubCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RegisterNotificationHubCommandOutput extends RegisterNotificationHubResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RegisterNotificationHubCommand_base: {
|
|
25
|
+
new (input: RegisterNotificationHubCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterNotificationHubCommandInput, RegisterNotificationHubCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RegisterNotificationHubCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterNotificationHubCommandInput, RegisterNotificationHubCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Registers a NotificationHub in the specified Region.</p>
|
|
31
|
+
* <p>There is a maximum of one NotificationHub per Region. You can have a maximum of 3 NotificationHubs at a time.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NotificationsClient, RegisterNotificationHubCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
36
|
+
* // const { NotificationsClient, RegisterNotificationHubCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
37
|
+
* const client = new NotificationsClient(config);
|
|
38
|
+
* const input = { // RegisterNotificationHubRequest
|
|
39
|
+
* notificationHubRegion: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new RegisterNotificationHubCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // RegisterNotificationHubResponse
|
|
44
|
+
* // notificationHubRegion: "STRING_VALUE", // required
|
|
45
|
+
* // statusSummary: { // NotificationHubStatusSummary
|
|
46
|
+
* // status: "STRING_VALUE", // required
|
|
47
|
+
* // reason: "STRING_VALUE", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // lastActivationTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param RegisterNotificationHubCommandInput - {@link RegisterNotificationHubCommandInput}
|
|
56
|
+
* @returns {@link RegisterNotificationHubCommandOutput}
|
|
57
|
+
* @see {@link RegisterNotificationHubCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link RegisterNotificationHubCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>Unexpected error during processing of request.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
71
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>Request was denied due to request throttling. </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link NotificationsServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Notifications service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class RegisterNotificationHubCommand extends RegisterNotificationHubCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: RegisterNotificationHubRequest;
|
|
89
|
+
output: RegisterNotificationHubResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: RegisterNotificationHubCommandInput;
|
|
93
|
+
output: RegisterNotificationHubCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { TagResourceRequest, TagResourceResponse } 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 TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Tags the resource with a tag key and value.</p>
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your AWS resources</a> in the <i>Tagging AWS Resources User Guide</i>.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>This is only supported for NotificationConfigurations.</p>
|
|
34
|
+
* </note>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { NotificationsClient, TagResourceCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
39
|
+
* // const { NotificationsClient, TagResourceCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
40
|
+
* const client = new NotificationsClient(config);
|
|
41
|
+
* const input = { // TagResourceRequest
|
|
42
|
+
* arn: "STRING_VALUE", // required
|
|
43
|
+
* tags: { // TagMap // required
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new TagResourceCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
54
|
+
* @returns {@link TagResourceCommandOutput}
|
|
55
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>Unexpected error during processing of request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>Request references a resource which does not exist. </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>Request was denied due to request throttling. </p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>This exception is thrown when the notification event fails validation.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link NotificationsServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Notifications service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: TagResourceRequest;
|
|
84
|
+
output: {};
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: TagResourceCommandInput;
|
|
88
|
+
output: TagResourceCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UntagResourceRequest, UntagResourceResponse } 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 UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Untags a resource with a specified Amazon Resource Name (ARN).</p>
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your AWS resources</a> in the <i>Tagging AWS Resources User Guide</i>.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NotificationsClient, UntagResourceCommand } from "@aws-sdk/client-notifications"; // ES Modules import
|
|
36
|
+
* // const { NotificationsClient, UntagResourceCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
|
|
37
|
+
* const client = new NotificationsClient(config);
|
|
38
|
+
* const input = { // UntagResourceRequest
|
|
39
|
+
* arn: "STRING_VALUE", // required
|
|
40
|
+
* tagKeys: [ // TagKeys // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UntagResourceCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
51
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
52
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>User does not have sufficient access to perform this action.</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 UntagResourceCommand extends UntagResourceCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: UntagResourceRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: UntagResourceCommandInput;
|
|
85
|
+
output: UntagResourceCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|