@aws-sdk/client-codestar-notifications 3.337.0 → 3.341.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/CodestarNotificationsClient.js +2 -1
- package/dist-cjs/commands/CreateNotificationRuleCommand.js +2 -1
- package/dist-cjs/commands/DeleteNotificationRuleCommand.js +2 -1
- package/dist-cjs/commands/DeleteTargetCommand.js +2 -1
- package/dist-cjs/commands/DescribeNotificationRuleCommand.js +2 -1
- package/dist-cjs/commands/ListEventTypesCommand.js +2 -1
- package/dist-cjs/commands/ListNotificationRulesCommand.js +2 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
- package/dist-cjs/commands/ListTargetsCommand.js +2 -1
- package/dist-cjs/commands/SubscribeCommand.js +2 -1
- package/dist-cjs/commands/TagResourceCommand.js +2 -1
- package/dist-cjs/commands/UnsubscribeCommand.js +2 -1
- package/dist-cjs/commands/UntagResourceCommand.js +2 -1
- package/dist-cjs/commands/UpdateNotificationRuleCommand.js +2 -1
- package/dist-cjs/index.js +2 -2
- package/dist-cjs/models/CodestarNotificationsServiceException.js +2 -1
- package/dist-es/CodestarNotificationsClient.js +1 -0
- package/dist-es/commands/CreateNotificationRuleCommand.js +1 -0
- package/dist-es/commands/DeleteNotificationRuleCommand.js +1 -0
- package/dist-es/commands/DeleteTargetCommand.js +1 -0
- package/dist-es/commands/DescribeNotificationRuleCommand.js +1 -0
- package/dist-es/commands/ListEventTypesCommand.js +1 -0
- package/dist-es/commands/ListNotificationRulesCommand.js +1 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
- package/dist-es/commands/ListTargetsCommand.js +1 -0
- package/dist-es/commands/SubscribeCommand.js +1 -0
- package/dist-es/commands/TagResourceCommand.js +1 -0
- package/dist-es/commands/UnsubscribeCommand.js +1 -0
- package/dist-es/commands/UntagResourceCommand.js +1 -0
- package/dist-es/commands/UpdateNotificationRuleCommand.js +1 -0
- package/dist-es/index.js +2 -2
- package/dist-es/models/CodestarNotificationsServiceException.js +1 -0
- package/dist-types/CodestarNotificationsClient.d.ts +3 -3
- package/dist-types/commands/CreateNotificationRuleCommand.d.ts +4 -0
- package/dist-types/commands/DeleteNotificationRuleCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTargetCommand.d.ts +4 -0
- package/dist-types/commands/DescribeNotificationRuleCommand.d.ts +4 -0
- package/dist-types/commands/ListEventTypesCommand.d.ts +4 -0
- package/dist-types/commands/ListNotificationRulesCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
- package/dist-types/commands/ListTargetsCommand.d.ts +4 -0
- package/dist-types/commands/SubscribeCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UnsubscribeCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateNotificationRuleCommand.d.ts +4 -0
- package/dist-types/index.d.ts +90 -2
- package/dist-types/models/CodestarNotificationsServiceException.d.ts +1 -0
- package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +2 -2
- package/dist-types/ts3.4/models/CodestarNotificationsServiceException.d.ts +1 -0
- package/package.json +28 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CodestarNotificationsClient = void 0;
|
|
3
|
+
exports.CodestarNotificationsClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
12
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
14
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
15
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
17
|
class CodestarNotificationsClient extends smithy_client_1.Client {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateNotificationRuleCommand = void 0;
|
|
3
|
+
exports.CreateNotificationRuleCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class CreateNotificationRuleCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteNotificationRuleCommand = void 0;
|
|
3
|
+
exports.DeleteNotificationRuleCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class DeleteNotificationRuleCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteTargetCommand = void 0;
|
|
3
|
+
exports.DeleteTargetCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class DeleteTargetCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DescribeNotificationRuleCommand = void 0;
|
|
3
|
+
exports.DescribeNotificationRuleCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class DescribeNotificationRuleCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListEventTypesCommand = void 0;
|
|
3
|
+
exports.ListEventTypesCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ListEventTypesCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListNotificationRulesCommand = void 0;
|
|
3
|
+
exports.ListNotificationRulesCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ListNotificationRulesCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListTagsForResourceCommand = void 0;
|
|
3
|
+
exports.ListTagsForResourceCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListTargetsCommand = void 0;
|
|
3
|
+
exports.ListTargetsCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class ListTargetsCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SubscribeCommand = void 0;
|
|
3
|
+
exports.SubscribeCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class SubscribeCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TagResourceCommand = void 0;
|
|
3
|
+
exports.TagResourceCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnsubscribeCommand = void 0;
|
|
3
|
+
exports.UnsubscribeCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class UnsubscribeCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UntagResourceCommand = void 0;
|
|
3
|
+
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateNotificationRuleCommand = void 0;
|
|
3
|
+
exports.UpdateNotificationRuleCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class UpdateNotificationRuleCommand extends smithy_client_1.Command {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CodestarNotificationsServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./CodestarNotifications"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./CodestarNotificationsClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CodestarNotifications"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./models"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
10
|
var CodestarNotificationsServiceException_1 = require("./models/CodestarNotificationsServiceException");
|
|
11
11
|
Object.defineProperty(exports, "CodestarNotificationsServiceException", { enumerable: true, get: function () { return CodestarNotificationsServiceException_1.CodestarNotificationsServiceException; } });
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CodestarNotificationsServiceException = void 0;
|
|
3
|
+
exports.CodestarNotificationsServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class CodestarNotificationsServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
|
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
13
14
|
export class CodestarNotificationsClient extends __Client {
|
|
14
15
|
constructor(configuration) {
|
|
15
16
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { CreateNotificationRuleRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_CreateNotificationRuleCommand, se_CreateNotificationRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class CreateNotificationRuleCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_DeleteNotificationRuleCommand, se_DeleteNotificationRuleCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class DeleteNotificationRuleCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { DeleteTargetRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { de_DeleteTargetCommand, se_DeleteTargetCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class DeleteTargetCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { DescribeNotificationRuleResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_DescribeNotificationRuleCommand, se_DescribeNotificationRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class DescribeNotificationRuleCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ListEventTypesCommand, se_ListEventTypesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ListEventTypesCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ListNotificationRulesCommand, se_ListNotificationRulesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ListNotificationRulesCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ListTagsForResourceCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { ListTargetsResultFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { de_ListTargetsCommand, se_ListTargetsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class ListTargetsCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { SubscribeRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { de_SubscribeCommand, se_SubscribeCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class SubscribeCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class TagResourceCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { UnsubscribeRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { de_UnsubscribeCommand, se_UnsubscribeCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class UnsubscribeCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class UntagResourceCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { UpdateNotificationRuleRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_UpdateNotificationRuleCommand, se_UpdateNotificationRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class UpdateNotificationRuleCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./CodestarNotifications";
|
|
2
1
|
export * from "./CodestarNotificationsClient";
|
|
2
|
+
export * from "./CodestarNotifications";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
6
|
export { CodestarNotificationsServiceException } from "./models/CodestarNotificationsServiceException";
|
|
@@ -22,6 +22,7 @@ import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/Un
|
|
|
22
22
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
23
23
|
import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
|
|
24
24
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
25
|
+
export { __Client };
|
|
25
26
|
/**
|
|
26
27
|
* @public
|
|
27
28
|
*/
|
|
@@ -136,7 +137,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
136
137
|
/**
|
|
137
138
|
* @public
|
|
138
139
|
*/
|
|
139
|
-
type CodestarNotificationsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
140
|
+
export type CodestarNotificationsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
140
141
|
/**
|
|
141
142
|
* @public
|
|
142
143
|
*
|
|
@@ -147,7 +148,7 @@ export interface CodestarNotificationsClientConfig extends CodestarNotifications
|
|
|
147
148
|
/**
|
|
148
149
|
* @public
|
|
149
150
|
*/
|
|
150
|
-
type CodestarNotificationsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
151
|
+
export type CodestarNotificationsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
151
152
|
/**
|
|
152
153
|
* @public
|
|
153
154
|
*
|
|
@@ -255,4 +256,3 @@ export declare class CodestarNotificationsClient extends __Client<__HttpHandlerO
|
|
|
255
256
|
*/
|
|
256
257
|
destroy(): void;
|
|
257
258
|
}
|
|
258
|
-
export {};
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { ListEventTypesRequest, ListEventTypesResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { ListNotificationRulesRequest, ListNotificationRulesResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { ListTargetsRequest, ListTargetsResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { SubscribeRequest, SubscribeResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { TagResourceRequest, TagResourceResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { UnsubscribeRequest, UnsubscribeResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
5
5
|
import { UpdateNotificationRuleRequest, UpdateNotificationRuleResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,94 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
|
|
3
|
+
* operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API
|
|
4
|
+
* to work with the following objects:</p>
|
|
5
|
+
*
|
|
6
|
+
* <p>Notification rules, by calling the following: </p>
|
|
7
|
+
* <ul>
|
|
8
|
+
* <li>
|
|
9
|
+
* <p>
|
|
10
|
+
* <a>CreateNotificationRule</a>, which creates a notification rule for a
|
|
11
|
+
* resource in your account. </p>
|
|
12
|
+
* </li>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>
|
|
15
|
+
* <a>DeleteNotificationRule</a>, which deletes a notification rule. </p>
|
|
16
|
+
* </li>
|
|
17
|
+
* <li>
|
|
18
|
+
* <p>
|
|
19
|
+
* <a>DescribeNotificationRule</a>, which provides information about a notification rule. </p>
|
|
20
|
+
* </li>
|
|
21
|
+
* <li>
|
|
22
|
+
* <p>
|
|
23
|
+
* <a>ListNotificationRules</a>, which lists the notification rules associated with
|
|
24
|
+
* your account. </p>
|
|
25
|
+
* </li>
|
|
26
|
+
* <li>
|
|
27
|
+
* <p>
|
|
28
|
+
* <a>UpdateNotificationRule</a>, which changes the name, events, or targets associated with a
|
|
29
|
+
* notification rule. </p>
|
|
30
|
+
* </li>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>
|
|
33
|
+
* <a>Subscribe</a>, which subscribes a target to a notification rule. </p>
|
|
34
|
+
* </li>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>
|
|
37
|
+
* <a>Unsubscribe</a>, which removes a target from a notification rule. </p>
|
|
38
|
+
* </li>
|
|
39
|
+
* </ul>
|
|
40
|
+
*
|
|
41
|
+
* <p>Targets, by calling the following: </p>
|
|
42
|
+
* <ul>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>
|
|
45
|
+
* <a>DeleteTarget</a>, which removes a notification rule target from a
|
|
46
|
+
* notification rule. </p>
|
|
47
|
+
* </li>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>
|
|
50
|
+
* <a>ListTargets</a>, which lists the targets associated with a
|
|
51
|
+
* notification rule. </p>
|
|
52
|
+
* </li>
|
|
53
|
+
* </ul>
|
|
54
|
+
*
|
|
55
|
+
* <p>Events, by calling the following: </p>
|
|
56
|
+
* <ul>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>
|
|
59
|
+
* <a>ListEventTypes</a>, which lists the event types you can include in
|
|
60
|
+
* a notification rule. </p>
|
|
61
|
+
* </li>
|
|
62
|
+
* </ul>
|
|
63
|
+
* <p>Tags, by calling the following: </p>
|
|
64
|
+
* <ul>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>
|
|
67
|
+
* <a>ListTagsForResource</a>, which lists the tags already associated
|
|
68
|
+
* with a notification rule in your account. </p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <a>TagResource</a>, which associates a tag you provide with a
|
|
73
|
+
* notification rule in your account. </p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>
|
|
77
|
+
* <a>UntagResource</a>, which removes a tag from a notification rule in
|
|
78
|
+
* your account. </p>
|
|
79
|
+
* </li>
|
|
80
|
+
* </ul>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* <p> For information about how to use AWS CodeStar Notifications, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/what-is-dtconsole.html">Amazon Web Services Developer Tools Console User Guide</a>.
|
|
85
|
+
* </p>
|
|
86
|
+
*
|
|
87
|
+
* @packageDocumentation
|
|
88
|
+
*/
|
|
2
89
|
export * from "./CodestarNotificationsClient";
|
|
90
|
+
export * from "./CodestarNotifications";
|
|
3
91
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
92
|
export * from "./pagination";
|
|
93
|
+
export * from "./models";
|
|
6
94
|
export { CodestarNotificationsServiceException } from "./models/CodestarNotificationsServiceException";
|
|
@@ -103,6 +103,7 @@ import {
|
|
|
103
103
|
ClientResolvedEndpointParameters,
|
|
104
104
|
EndpointParameters,
|
|
105
105
|
} from "./endpoint/EndpointParameters";
|
|
106
|
+
export { __Client };
|
|
106
107
|
export type ServiceInputTypes =
|
|
107
108
|
| CreateNotificationRuleCommandInput
|
|
108
109
|
| DeleteNotificationRuleCommandInput
|
|
@@ -155,7 +156,7 @@ export interface ClientDefaults
|
|
|
155
156
|
logger?: __Logger;
|
|
156
157
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
157
158
|
}
|
|
158
|
-
type CodestarNotificationsClientConfigType = Partial<
|
|
159
|
+
export type CodestarNotificationsClientConfigType = Partial<
|
|
159
160
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
160
161
|
> &
|
|
161
162
|
ClientDefaults &
|
|
@@ -168,7 +169,7 @@ type CodestarNotificationsClientConfigType = Partial<
|
|
|
168
169
|
ClientInputEndpointParameters;
|
|
169
170
|
export interface CodestarNotificationsClientConfig
|
|
170
171
|
extends CodestarNotificationsClientConfigType {}
|
|
171
|
-
type CodestarNotificationsClientResolvedConfigType =
|
|
172
|
+
export type CodestarNotificationsClientResolvedConfigType =
|
|
172
173
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
173
174
|
Required<ClientDefaults> &
|
|
174
175
|
RegionResolvedConfig &
|
|
@@ -190,4 +191,3 @@ export declare class CodestarNotificationsClient extends __Client<
|
|
|
190
191
|
constructor(configuration: CodestarNotificationsClientConfig);
|
|
191
192
|
destroy(): void;
|
|
192
193
|
}
|
|
193
|
-
export {};
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
CreateNotificationRuleRequest,
|
|
16
16
|
CreateNotificationRuleResult,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface CreateNotificationRuleCommandInput
|
|
19
20
|
extends CreateNotificationRuleRequest {}
|
|
20
21
|
export interface CreateNotificationRuleCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DeleteNotificationRuleRequest,
|
|
16
16
|
DeleteNotificationRuleResult,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DeleteNotificationRuleCommandInput
|
|
19
20
|
extends DeleteNotificationRuleRequest {}
|
|
20
21
|
export interface DeleteNotificationRuleCommandOutput
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../CodestarNotificationsClient";
|
|
14
14
|
import { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface DeleteTargetCommandInput extends DeleteTargetRequest {}
|
|
16
17
|
export interface DeleteTargetCommandOutput
|
|
17
18
|
extends DeleteTargetResult,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DescribeNotificationRuleRequest,
|
|
16
16
|
DescribeNotificationRuleResult,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DescribeNotificationRuleCommandInput
|
|
19
20
|
extends DescribeNotificationRuleRequest {}
|
|
20
21
|
export interface DescribeNotificationRuleCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ListEventTypesRequest,
|
|
16
16
|
ListEventTypesResult,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ListEventTypesCommandInput extends ListEventTypesRequest {}
|
|
19
20
|
export interface ListEventTypesCommandOutput
|
|
20
21
|
extends ListEventTypesResult,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ListNotificationRulesRequest,
|
|
16
16
|
ListNotificationRulesResult,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ListNotificationRulesCommandInput
|
|
19
20
|
extends ListNotificationRulesRequest {}
|
|
20
21
|
export interface ListNotificationRulesCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ListTagsForResourceRequest,
|
|
16
16
|
ListTagsForResourceResult,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ListTagsForResourceCommandInput
|
|
19
20
|
extends ListTagsForResourceRequest {}
|
|
20
21
|
export interface ListTagsForResourceCommandOutput
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../CodestarNotificationsClient";
|
|
14
14
|
import { ListTargetsRequest, ListTargetsResult } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface ListTargetsCommandInput extends ListTargetsRequest {}
|
|
16
17
|
export interface ListTargetsCommandOutput
|
|
17
18
|
extends ListTargetsResult,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../CodestarNotificationsClient";
|
|
14
14
|
import { SubscribeRequest, SubscribeResult } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface SubscribeCommandInput extends SubscribeRequest {}
|
|
16
17
|
export interface SubscribeCommandOutput
|
|
17
18
|
extends SubscribeResult,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../CodestarNotificationsClient";
|
|
14
14
|
import { TagResourceRequest, TagResourceResult } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
16
17
|
export interface TagResourceCommandOutput
|
|
17
18
|
extends TagResourceResult,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../CodestarNotificationsClient";
|
|
14
14
|
import { UnsubscribeRequest, UnsubscribeResult } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface UnsubscribeCommandInput extends UnsubscribeRequest {}
|
|
16
17
|
export interface UnsubscribeCommandOutput
|
|
17
18
|
extends UnsubscribeResult,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../CodestarNotificationsClient";
|
|
14
14
|
import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
16
17
|
export interface UntagResourceCommandOutput
|
|
17
18
|
extends UntagResourceResult,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
UpdateNotificationRuleRequest,
|
|
16
16
|
UpdateNotificationRuleResult,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface UpdateNotificationRuleCommandInput
|
|
19
20
|
extends UpdateNotificationRuleRequest {}
|
|
20
21
|
export interface UpdateNotificationRuleCommandOutput
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./CodestarNotifications";
|
|
2
1
|
export * from "./CodestarNotificationsClient";
|
|
2
|
+
export * from "./CodestarNotifications";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
6
|
export { CodestarNotificationsServiceException } from "./models/CodestarNotificationsServiceException";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class CodestarNotificationsServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codestar-notifications",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codestar Notifications Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.341.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
43
|
+
"@aws-sdk/types": "3.341.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|