@aws-sdk/client-codestar-notifications 3.34.0 → 3.37.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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/CodestarNotifications.js +0 -87
- package/dist-cjs/CodestarNotificationsClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CreateNotificationRuleCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DeleteNotificationRuleCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteTargetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeNotificationRuleCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListEventTypesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListNotificationRulesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTargetsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/SubscribeCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UnsubscribeCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateNotificationRuleCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -124
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListEventTypesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListNotificationRulesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListTargetsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +13 -19
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/CodestarNotifications.js +0 -1
- package/{dist/es → dist-es}/CodestarNotificationsClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteTargetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListEventTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListNotificationRulesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTargetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SubscribeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UnsubscribeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListEventTypesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListNotificationRulesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListTargetsPaginator.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/CodestarNotifications.d.ts +1 -1
- package/{dist/types → dist-types}/CodestarNotificationsClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEventTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListNotificationRulesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SubscribeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UnsubscribeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListEventTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListNotificationRulesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTargetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CodestarNotifications.d.ts +15 -138
- package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +80 -0
- package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListNotificationRulesCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +480 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListEventTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListNotificationRulesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTargetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/CodestarNotifications.ts +0 -540
- package/CodestarNotificationsClient.ts +0 -375
- package/commands/CreateNotificationRuleCommand.ts +0 -100
- package/commands/DeleteNotificationRuleCommand.ts +0 -98
- package/commands/DeleteTargetCommand.ts +0 -98
- package/commands/DescribeNotificationRuleCommand.ts +0 -98
- package/commands/ListEventTypesCommand.ts +0 -98
- package/commands/ListNotificationRulesCommand.ts +0 -98
- package/commands/ListTagsForResourceCommand.ts +0 -98
- package/commands/ListTargetsCommand.ts +0 -98
- package/commands/SubscribeCommand.ts +0 -100
- package/commands/TagResourceCommand.ts +0 -98
- package/commands/UnsubscribeCommand.ts +0 -100
- package/commands/UntagResourceCommand.ts +0 -99
- package/commands/UpdateNotificationRuleCommand.ts +0 -103
- package/dist/cjs/CodestarNotifications.js.map +0 -1
- package/dist/cjs/CodestarNotificationsClient.js +0 -127
- package/dist/cjs/CodestarNotificationsClient.js.map +0 -1
- package/dist/cjs/commands/CreateNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTargetCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/commands/ListEventTypesCommand.js.map +0 -1
- package/dist/cjs/commands/ListNotificationRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/SubscribeCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UnsubscribeCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListEventTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListNotificationRulesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTargetsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CodestarNotifications.js.map +0 -1
- package/dist/es/CodestarNotificationsClient.js.map +0 -1
- package/dist/es/commands/CreateNotificationRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteNotificationRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteTargetCommand.js.map +0 -1
- package/dist/es/commands/DescribeNotificationRuleCommand.js.map +0 -1
- package/dist/es/commands/ListEventTypesCommand.js.map +0 -1
- package/dist/es/commands/ListNotificationRulesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListTargetsCommand.js.map +0 -1
- package/dist/es/commands/SubscribeCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UnsubscribeCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateNotificationRuleCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -21
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListEventTypesPaginator.js.map +0 -1
- package/dist/es/pagination/ListNotificationRulesPaginator.js.map +0 -1
- package/dist/es/pagination/ListTargetsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/CodestarNotificationsClient.d.ts +0 -228
- package/dist/types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteTargetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListEventTypesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTargetsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/SubscribeCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UnsubscribeCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +0 -40
- package/dist/types/ts3.4/models/models_0.d.ts +0 -804
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1021
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListEventTypesPaginator.ts +0 -58
- package/pagination/ListNotificationRulesPaginator.ts +0 -58
- package/pagination/ListTargetsPaginator.ts +0 -54
- package/protocols/Aws_restJson1.ts +0 -1703
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TagResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodestarNotificationsClient, TagResourceCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
14
|
-
* // const { CodestarNotificationsClient, TagResourceCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
15
|
-
* const client = new CodestarNotificationsClient(config);
|
|
16
|
-
* const command = new TagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodestarNotificationsClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
25
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UnsubscribeCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* subscribers to that topic stop receiving notifications when the events described in the
|
|
11
|
-
* rule are triggered.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CodestarNotificationsClient, UnsubscribeCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
16
|
-
* // const { CodestarNotificationsClient, UnsubscribeCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
17
|
-
* const client = new CodestarNotificationsClient(config);
|
|
18
|
-
* const command = new UnsubscribeCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UnsubscribeCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UnsubscribeCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CodestarNotificationsClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
27
8
|
class UnsubscribeCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class UnsubscribeCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.UnsubscribeCommand = UnsubscribeCommand;
|
|
63
|
-
//# sourceMappingURL=UnsubscribeCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UntagResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* rule.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CodestarNotificationsClient, UntagResourceCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
15
|
-
* // const { CodestarNotificationsClient, UntagResourceCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
16
|
-
* const client = new CodestarNotificationsClient(config);
|
|
17
|
-
* const command = new UntagResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CodestarNotificationsClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
62
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -1,44 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateNotificationRuleCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* notification rule, the status of the rule, and the targets that receive the
|
|
11
|
-
* notifications.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>To add or remove tags for a notification rule, you must use <a>TagResource</a> and <a>UntagResource</a>.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { CodestarNotificationsClient, UpdateNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
19
|
-
* // const { CodestarNotificationsClient, UpdateNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
20
|
-
* const client = new CodestarNotificationsClient(config);
|
|
21
|
-
* const command = new UpdateNotificationRuleCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link UpdateNotificationRuleCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link UpdateNotificationRuleCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CodestarNotificationsClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
30
8
|
class UpdateNotificationRuleCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +34,3 @@ class UpdateNotificationRuleCommand extends smithy_client_1.Command {
|
|
|
63
34
|
}
|
|
64
35
|
}
|
|
65
36
|
exports.UpdateNotificationRuleCommand = UpdateNotificationRuleCommand;
|
|
66
|
-
//# sourceMappingURL=UpdateNotificationRuleCommand.js.map
|
|
@@ -35,7 +35,7 @@ const partitionHash = {
|
|
|
35
35
|
hostname: "codestar-notifications.{region}.amazonaws.com.cn",
|
|
36
36
|
},
|
|
37
37
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
39
|
hostname: "codestar-notifications.{region}.c2s.ic.gov",
|
|
40
40
|
},
|
|
41
41
|
"aws-iso-b": {
|
|
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
54
54
|
partitionHash,
|
|
55
55
|
});
|
|
56
56
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
57
|
-
//# sourceMappingURL=endpoints.js.map
|
|
@@ -21,4 +21,3 @@ tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
|
21
21
|
tslib_1.__exportStar(require("./commands/UpdateNotificationRuleCommand"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./models/index"), exports);
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -4,27 +4,18 @@ exports.UpdateNotificationRuleResult = exports.UpdateNotificationRuleRequest = e
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
var AccessDeniedException;
|
|
6
6
|
(function (AccessDeniedException) {
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
7
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
11
8
|
...obj,
|
|
12
9
|
});
|
|
13
10
|
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
14
11
|
var ConcurrentModificationException;
|
|
15
12
|
(function (ConcurrentModificationException) {
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
13
|
ConcurrentModificationException.filterSensitiveLog = (obj) => ({
|
|
20
14
|
...obj,
|
|
21
15
|
});
|
|
22
16
|
})(ConcurrentModificationException = exports.ConcurrentModificationException || (exports.ConcurrentModificationException = {}));
|
|
23
17
|
var ConfigurationException;
|
|
24
18
|
(function (ConfigurationException) {
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
19
|
ConfigurationException.filterSensitiveLog = (obj) => ({
|
|
29
20
|
...obj,
|
|
30
21
|
});
|
|
@@ -41,9 +32,6 @@ var NotificationRuleStatus;
|
|
|
41
32
|
})(NotificationRuleStatus = exports.NotificationRuleStatus || (exports.NotificationRuleStatus = {}));
|
|
42
33
|
var Target;
|
|
43
34
|
(function (Target) {
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
35
|
Target.filterSensitiveLog = (obj) => ({
|
|
48
36
|
...obj,
|
|
49
37
|
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -51,9 +39,6 @@ var Target;
|
|
|
51
39
|
})(Target = exports.Target || (exports.Target = {}));
|
|
52
40
|
var CreateNotificationRuleRequest;
|
|
53
41
|
(function (CreateNotificationRuleRequest) {
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
42
|
CreateNotificationRuleRequest.filterSensitiveLog = (obj) => ({
|
|
58
43
|
...obj,
|
|
59
44
|
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -62,63 +47,42 @@ var CreateNotificationRuleRequest;
|
|
|
62
47
|
})(CreateNotificationRuleRequest = exports.CreateNotificationRuleRequest || (exports.CreateNotificationRuleRequest = {}));
|
|
63
48
|
var CreateNotificationRuleResult;
|
|
64
49
|
(function (CreateNotificationRuleResult) {
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
50
|
CreateNotificationRuleResult.filterSensitiveLog = (obj) => ({
|
|
69
51
|
...obj,
|
|
70
52
|
});
|
|
71
53
|
})(CreateNotificationRuleResult = exports.CreateNotificationRuleResult || (exports.CreateNotificationRuleResult = {}));
|
|
72
54
|
var LimitExceededException;
|
|
73
55
|
(function (LimitExceededException) {
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
56
|
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
78
57
|
...obj,
|
|
79
58
|
});
|
|
80
59
|
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
81
60
|
var ResourceAlreadyExistsException;
|
|
82
61
|
(function (ResourceAlreadyExistsException) {
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
62
|
ResourceAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
87
63
|
...obj,
|
|
88
64
|
});
|
|
89
65
|
})(ResourceAlreadyExistsException = exports.ResourceAlreadyExistsException || (exports.ResourceAlreadyExistsException = {}));
|
|
90
66
|
var ValidationException;
|
|
91
67
|
(function (ValidationException) {
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
68
|
ValidationException.filterSensitiveLog = (obj) => ({
|
|
96
69
|
...obj,
|
|
97
70
|
});
|
|
98
71
|
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
99
72
|
var DeleteNotificationRuleRequest;
|
|
100
73
|
(function (DeleteNotificationRuleRequest) {
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
74
|
DeleteNotificationRuleRequest.filterSensitiveLog = (obj) => ({
|
|
105
75
|
...obj,
|
|
106
76
|
});
|
|
107
77
|
})(DeleteNotificationRuleRequest = exports.DeleteNotificationRuleRequest || (exports.DeleteNotificationRuleRequest = {}));
|
|
108
78
|
var DeleteNotificationRuleResult;
|
|
109
79
|
(function (DeleteNotificationRuleResult) {
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
80
|
DeleteNotificationRuleResult.filterSensitiveLog = (obj) => ({
|
|
114
81
|
...obj,
|
|
115
82
|
});
|
|
116
83
|
})(DeleteNotificationRuleResult = exports.DeleteNotificationRuleResult || (exports.DeleteNotificationRuleResult = {}));
|
|
117
84
|
var DeleteTargetRequest;
|
|
118
85
|
(function (DeleteTargetRequest) {
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
86
|
DeleteTargetRequest.filterSensitiveLog = (obj) => ({
|
|
123
87
|
...obj,
|
|
124
88
|
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -126,27 +90,18 @@ var DeleteTargetRequest;
|
|
|
126
90
|
})(DeleteTargetRequest = exports.DeleteTargetRequest || (exports.DeleteTargetRequest = {}));
|
|
127
91
|
var DeleteTargetResult;
|
|
128
92
|
(function (DeleteTargetResult) {
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
93
|
DeleteTargetResult.filterSensitiveLog = (obj) => ({
|
|
133
94
|
...obj,
|
|
134
95
|
});
|
|
135
96
|
})(DeleteTargetResult = exports.DeleteTargetResult || (exports.DeleteTargetResult = {}));
|
|
136
97
|
var DescribeNotificationRuleRequest;
|
|
137
98
|
(function (DescribeNotificationRuleRequest) {
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
99
|
DescribeNotificationRuleRequest.filterSensitiveLog = (obj) => ({
|
|
142
100
|
...obj,
|
|
143
101
|
});
|
|
144
102
|
})(DescribeNotificationRuleRequest = exports.DescribeNotificationRuleRequest || (exports.DescribeNotificationRuleRequest = {}));
|
|
145
103
|
var EventTypeSummary;
|
|
146
104
|
(function (EventTypeSummary) {
|
|
147
|
-
/**
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
105
|
EventTypeSummary.filterSensitiveLog = (obj) => ({
|
|
151
106
|
...obj,
|
|
152
107
|
});
|
|
@@ -161,9 +116,6 @@ var TargetStatus;
|
|
|
161
116
|
})(TargetStatus = exports.TargetStatus || (exports.TargetStatus = {}));
|
|
162
117
|
var TargetSummary;
|
|
163
118
|
(function (TargetSummary) {
|
|
164
|
-
/**
|
|
165
|
-
* @internal
|
|
166
|
-
*/
|
|
167
119
|
TargetSummary.filterSensitiveLog = (obj) => ({
|
|
168
120
|
...obj,
|
|
169
121
|
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -171,9 +123,6 @@ var TargetSummary;
|
|
|
171
123
|
})(TargetSummary = exports.TargetSummary || (exports.TargetSummary = {}));
|
|
172
124
|
var DescribeNotificationRuleResult;
|
|
173
125
|
(function (DescribeNotificationRuleResult) {
|
|
174
|
-
/**
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
177
126
|
DescribeNotificationRuleResult.filterSensitiveLog = (obj) => ({
|
|
178
127
|
...obj,
|
|
179
128
|
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -182,18 +131,12 @@ var DescribeNotificationRuleResult;
|
|
|
182
131
|
})(DescribeNotificationRuleResult = exports.DescribeNotificationRuleResult || (exports.DescribeNotificationRuleResult = {}));
|
|
183
132
|
var ResourceNotFoundException;
|
|
184
133
|
(function (ResourceNotFoundException) {
|
|
185
|
-
/**
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
134
|
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
189
135
|
...obj,
|
|
190
136
|
});
|
|
191
137
|
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
192
138
|
var InvalidNextTokenException;
|
|
193
139
|
(function (InvalidNextTokenException) {
|
|
194
|
-
/**
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
140
|
InvalidNextTokenException.filterSensitiveLog = (obj) => ({
|
|
198
141
|
...obj,
|
|
199
142
|
});
|
|
@@ -205,27 +148,18 @@ var ListEventTypesFilterName;
|
|
|
205
148
|
})(ListEventTypesFilterName = exports.ListEventTypesFilterName || (exports.ListEventTypesFilterName = {}));
|
|
206
149
|
var ListEventTypesFilter;
|
|
207
150
|
(function (ListEventTypesFilter) {
|
|
208
|
-
/**
|
|
209
|
-
* @internal
|
|
210
|
-
*/
|
|
211
151
|
ListEventTypesFilter.filterSensitiveLog = (obj) => ({
|
|
212
152
|
...obj,
|
|
213
153
|
});
|
|
214
154
|
})(ListEventTypesFilter = exports.ListEventTypesFilter || (exports.ListEventTypesFilter = {}));
|
|
215
155
|
var ListEventTypesRequest;
|
|
216
156
|
(function (ListEventTypesRequest) {
|
|
217
|
-
/**
|
|
218
|
-
* @internal
|
|
219
|
-
*/
|
|
220
157
|
ListEventTypesRequest.filterSensitiveLog = (obj) => ({
|
|
221
158
|
...obj,
|
|
222
159
|
});
|
|
223
160
|
})(ListEventTypesRequest = exports.ListEventTypesRequest || (exports.ListEventTypesRequest = {}));
|
|
224
161
|
var ListEventTypesResult;
|
|
225
162
|
(function (ListEventTypesResult) {
|
|
226
|
-
/**
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
229
163
|
ListEventTypesResult.filterSensitiveLog = (obj) => ({
|
|
230
164
|
...obj,
|
|
231
165
|
});
|
|
@@ -239,54 +173,36 @@ var ListNotificationRulesFilterName;
|
|
|
239
173
|
})(ListNotificationRulesFilterName = exports.ListNotificationRulesFilterName || (exports.ListNotificationRulesFilterName = {}));
|
|
240
174
|
var ListNotificationRulesFilter;
|
|
241
175
|
(function (ListNotificationRulesFilter) {
|
|
242
|
-
/**
|
|
243
|
-
* @internal
|
|
244
|
-
*/
|
|
245
176
|
ListNotificationRulesFilter.filterSensitiveLog = (obj) => ({
|
|
246
177
|
...obj,
|
|
247
178
|
});
|
|
248
179
|
})(ListNotificationRulesFilter = exports.ListNotificationRulesFilter || (exports.ListNotificationRulesFilter = {}));
|
|
249
180
|
var ListNotificationRulesRequest;
|
|
250
181
|
(function (ListNotificationRulesRequest) {
|
|
251
|
-
/**
|
|
252
|
-
* @internal
|
|
253
|
-
*/
|
|
254
182
|
ListNotificationRulesRequest.filterSensitiveLog = (obj) => ({
|
|
255
183
|
...obj,
|
|
256
184
|
});
|
|
257
185
|
})(ListNotificationRulesRequest = exports.ListNotificationRulesRequest || (exports.ListNotificationRulesRequest = {}));
|
|
258
186
|
var NotificationRuleSummary;
|
|
259
187
|
(function (NotificationRuleSummary) {
|
|
260
|
-
/**
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
263
188
|
NotificationRuleSummary.filterSensitiveLog = (obj) => ({
|
|
264
189
|
...obj,
|
|
265
190
|
});
|
|
266
191
|
})(NotificationRuleSummary = exports.NotificationRuleSummary || (exports.NotificationRuleSummary = {}));
|
|
267
192
|
var ListNotificationRulesResult;
|
|
268
193
|
(function (ListNotificationRulesResult) {
|
|
269
|
-
/**
|
|
270
|
-
* @internal
|
|
271
|
-
*/
|
|
272
194
|
ListNotificationRulesResult.filterSensitiveLog = (obj) => ({
|
|
273
195
|
...obj,
|
|
274
196
|
});
|
|
275
197
|
})(ListNotificationRulesResult = exports.ListNotificationRulesResult || (exports.ListNotificationRulesResult = {}));
|
|
276
198
|
var ListTagsForResourceRequest;
|
|
277
199
|
(function (ListTagsForResourceRequest) {
|
|
278
|
-
/**
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
200
|
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
282
201
|
...obj,
|
|
283
202
|
});
|
|
284
203
|
})(ListTagsForResourceRequest = exports.ListTagsForResourceRequest || (exports.ListTagsForResourceRequest = {}));
|
|
285
204
|
var ListTagsForResourceResult;
|
|
286
205
|
(function (ListTagsForResourceResult) {
|
|
287
|
-
/**
|
|
288
|
-
* @internal
|
|
289
|
-
*/
|
|
290
206
|
ListTagsForResourceResult.filterSensitiveLog = (obj) => ({
|
|
291
207
|
...obj,
|
|
292
208
|
});
|
|
@@ -299,27 +215,18 @@ var ListTargetsFilterName;
|
|
|
299
215
|
})(ListTargetsFilterName = exports.ListTargetsFilterName || (exports.ListTargetsFilterName = {}));
|
|
300
216
|
var ListTargetsFilter;
|
|
301
217
|
(function (ListTargetsFilter) {
|
|
302
|
-
/**
|
|
303
|
-
* @internal
|
|
304
|
-
*/
|
|
305
218
|
ListTargetsFilter.filterSensitiveLog = (obj) => ({
|
|
306
219
|
...obj,
|
|
307
220
|
});
|
|
308
221
|
})(ListTargetsFilter = exports.ListTargetsFilter || (exports.ListTargetsFilter = {}));
|
|
309
222
|
var ListTargetsRequest;
|
|
310
223
|
(function (ListTargetsRequest) {
|
|
311
|
-
/**
|
|
312
|
-
* @internal
|
|
313
|
-
*/
|
|
314
224
|
ListTargetsRequest.filterSensitiveLog = (obj) => ({
|
|
315
225
|
...obj,
|
|
316
226
|
});
|
|
317
227
|
})(ListTargetsRequest = exports.ListTargetsRequest || (exports.ListTargetsRequest = {}));
|
|
318
228
|
var ListTargetsResult;
|
|
319
229
|
(function (ListTargetsResult) {
|
|
320
|
-
/**
|
|
321
|
-
* @internal
|
|
322
|
-
*/
|
|
323
230
|
ListTargetsResult.filterSensitiveLog = (obj) => ({
|
|
324
231
|
...obj,
|
|
325
232
|
...(obj.Targets && { Targets: obj.Targets.map((item) => TargetSummary.filterSensitiveLog(item)) }),
|
|
@@ -327,9 +234,6 @@ var ListTargetsResult;
|
|
|
327
234
|
})(ListTargetsResult = exports.ListTargetsResult || (exports.ListTargetsResult = {}));
|
|
328
235
|
var SubscribeRequest;
|
|
329
236
|
(function (SubscribeRequest) {
|
|
330
|
-
/**
|
|
331
|
-
* @internal
|
|
332
|
-
*/
|
|
333
237
|
SubscribeRequest.filterSensitiveLog = (obj) => ({
|
|
334
238
|
...obj,
|
|
335
239
|
...(obj.Target && { Target: Target.filterSensitiveLog(obj.Target) }),
|
|
@@ -337,36 +241,24 @@ var SubscribeRequest;
|
|
|
337
241
|
})(SubscribeRequest = exports.SubscribeRequest || (exports.SubscribeRequest = {}));
|
|
338
242
|
var SubscribeResult;
|
|
339
243
|
(function (SubscribeResult) {
|
|
340
|
-
/**
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
343
244
|
SubscribeResult.filterSensitiveLog = (obj) => ({
|
|
344
245
|
...obj,
|
|
345
246
|
});
|
|
346
247
|
})(SubscribeResult = exports.SubscribeResult || (exports.SubscribeResult = {}));
|
|
347
248
|
var TagResourceRequest;
|
|
348
249
|
(function (TagResourceRequest) {
|
|
349
|
-
/**
|
|
350
|
-
* @internal
|
|
351
|
-
*/
|
|
352
250
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
353
251
|
...obj,
|
|
354
252
|
});
|
|
355
253
|
})(TagResourceRequest = exports.TagResourceRequest || (exports.TagResourceRequest = {}));
|
|
356
254
|
var TagResourceResult;
|
|
357
255
|
(function (TagResourceResult) {
|
|
358
|
-
/**
|
|
359
|
-
* @internal
|
|
360
|
-
*/
|
|
361
256
|
TagResourceResult.filterSensitiveLog = (obj) => ({
|
|
362
257
|
...obj,
|
|
363
258
|
});
|
|
364
259
|
})(TagResourceResult = exports.TagResourceResult || (exports.TagResourceResult = {}));
|
|
365
260
|
var UnsubscribeRequest;
|
|
366
261
|
(function (UnsubscribeRequest) {
|
|
367
|
-
/**
|
|
368
|
-
* @internal
|
|
369
|
-
*/
|
|
370
262
|
UnsubscribeRequest.filterSensitiveLog = (obj) => ({
|
|
371
263
|
...obj,
|
|
372
264
|
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -374,36 +266,24 @@ var UnsubscribeRequest;
|
|
|
374
266
|
})(UnsubscribeRequest = exports.UnsubscribeRequest || (exports.UnsubscribeRequest = {}));
|
|
375
267
|
var UnsubscribeResult;
|
|
376
268
|
(function (UnsubscribeResult) {
|
|
377
|
-
/**
|
|
378
|
-
* @internal
|
|
379
|
-
*/
|
|
380
269
|
UnsubscribeResult.filterSensitiveLog = (obj) => ({
|
|
381
270
|
...obj,
|
|
382
271
|
});
|
|
383
272
|
})(UnsubscribeResult = exports.UnsubscribeResult || (exports.UnsubscribeResult = {}));
|
|
384
273
|
var UntagResourceRequest;
|
|
385
274
|
(function (UntagResourceRequest) {
|
|
386
|
-
/**
|
|
387
|
-
* @internal
|
|
388
|
-
*/
|
|
389
275
|
UntagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
390
276
|
...obj,
|
|
391
277
|
});
|
|
392
278
|
})(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
|
|
393
279
|
var UntagResourceResult;
|
|
394
280
|
(function (UntagResourceResult) {
|
|
395
|
-
/**
|
|
396
|
-
* @internal
|
|
397
|
-
*/
|
|
398
281
|
UntagResourceResult.filterSensitiveLog = (obj) => ({
|
|
399
282
|
...obj,
|
|
400
283
|
});
|
|
401
284
|
})(UntagResourceResult = exports.UntagResourceResult || (exports.UntagResourceResult = {}));
|
|
402
285
|
var UpdateNotificationRuleRequest;
|
|
403
286
|
(function (UpdateNotificationRuleRequest) {
|
|
404
|
-
/**
|
|
405
|
-
* @internal
|
|
406
|
-
*/
|
|
407
287
|
UpdateNotificationRuleRequest.filterSensitiveLog = (obj) => ({
|
|
408
288
|
...obj,
|
|
409
289
|
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -412,11 +292,7 @@ var UpdateNotificationRuleRequest;
|
|
|
412
292
|
})(UpdateNotificationRuleRequest = exports.UpdateNotificationRuleRequest || (exports.UpdateNotificationRuleRequest = {}));
|
|
413
293
|
var UpdateNotificationRuleResult;
|
|
414
294
|
(function (UpdateNotificationRuleResult) {
|
|
415
|
-
/**
|
|
416
|
-
* @internal
|
|
417
|
-
*/
|
|
418
295
|
UpdateNotificationRuleResult.filterSensitiveLog = (obj) => ({
|
|
419
296
|
...obj,
|
|
420
297
|
});
|
|
421
298
|
})(UpdateNotificationRuleResult = exports.UpdateNotificationRuleResult || (exports.UpdateNotificationRuleResult = {}));
|
|
422
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListEventTypes = void 0;
|
|
|
4
4
|
const CodestarNotifications_1 = require("../CodestarNotifications");
|
|
5
5
|
const CodestarNotificationsClient_1 = require("../CodestarNotificationsClient");
|
|
6
6
|
const ListEventTypesCommand_1 = require("../commands/ListEventTypesCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListEventTypesCommand_1.ListEventTypesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listEventTypes(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListEventTypes(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListEventTypes(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListEventTypes = paginateListEventTypes;
|
|
46
|
-
//# sourceMappingURL=ListEventTypesPaginator.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListNotificationRules = void 0;
|
|
|
4
4
|
const CodestarNotifications_1 = require("../CodestarNotifications");
|
|
5
5
|
const CodestarNotificationsClient_1 = require("../CodestarNotificationsClient");
|
|
6
6
|
const ListNotificationRulesCommand_1 = require("../commands/ListNotificationRulesCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListNotificationRulesCommand_1.ListNotificationRulesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listNotificationRules(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListNotificationRules(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListNotificationRules(config, input, ...additionalArgume
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListNotificationRules = paginateListNotificationRules;
|
|
46
|
-
//# sourceMappingURL=ListNotificationRulesPaginator.js.map
|