@aws-sdk/client-codestar-notifications 3.414.0 → 3.421.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/README.md +7 -10
- package/dist-cjs/commands/CreateNotificationRuleCommand.js +5 -0
- package/dist-cjs/commands/DeleteNotificationRuleCommand.js +5 -0
- package/dist-cjs/commands/DeleteTargetCommand.js +5 -0
- package/dist-cjs/commands/DescribeNotificationRuleCommand.js +5 -0
- package/dist-cjs/commands/ListEventTypesCommand.js +5 -0
- package/dist-cjs/commands/ListNotificationRulesCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/ListTargetsCommand.js +5 -0
- package/dist-cjs/commands/SubscribeCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/UnsubscribeCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/commands/UpdateNotificationRuleCommand.js +5 -0
- package/dist-es/commands/CreateNotificationRuleCommand.js +5 -0
- package/dist-es/commands/DeleteNotificationRuleCommand.js +5 -0
- package/dist-es/commands/DeleteTargetCommand.js +5 -0
- package/dist-es/commands/DescribeNotificationRuleCommand.js +5 -0
- package/dist-es/commands/ListEventTypesCommand.js +5 -0
- package/dist-es/commands/ListNotificationRulesCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/ListTargetsCommand.js +5 -0
- package/dist-es/commands/SubscribeCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/UnsubscribeCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/commands/UpdateNotificationRuleCommand.js +5 -0
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -100,19 +100,16 @@ using your favorite package manager:
|
|
|
100
100
|
|
|
101
101
|
The AWS SDK is modulized by clients and commands.
|
|
102
102
|
To send a request, you only need to import the `CodestarNotificationsClient` and
|
|
103
|
-
the commands you need, for example `
|
|
103
|
+
the commands you need, for example `ListTargetsCommand`:
|
|
104
104
|
|
|
105
105
|
```js
|
|
106
106
|
// ES5 example
|
|
107
|
-
const {
|
|
108
|
-
CodestarNotificationsClient,
|
|
109
|
-
CreateNotificationRuleCommand,
|
|
110
|
-
} = require("@aws-sdk/client-codestar-notifications");
|
|
107
|
+
const { CodestarNotificationsClient, ListTargetsCommand } = require("@aws-sdk/client-codestar-notifications");
|
|
111
108
|
```
|
|
112
109
|
|
|
113
110
|
```ts
|
|
114
111
|
// ES6+ example
|
|
115
|
-
import { CodestarNotificationsClient,
|
|
112
|
+
import { CodestarNotificationsClient, ListTargetsCommand } from "@aws-sdk/client-codestar-notifications";
|
|
116
113
|
```
|
|
117
114
|
|
|
118
115
|
### Usage
|
|
@@ -131,7 +128,7 @@ const client = new CodestarNotificationsClient({ region: "REGION" });
|
|
|
131
128
|
const params = {
|
|
132
129
|
/** input parameters */
|
|
133
130
|
};
|
|
134
|
-
const command = new
|
|
131
|
+
const command = new ListTargetsCommand(params);
|
|
135
132
|
```
|
|
136
133
|
|
|
137
134
|
#### Async/await
|
|
@@ -210,7 +207,7 @@ const client = new AWS.CodestarNotifications({ region: "REGION" });
|
|
|
210
207
|
|
|
211
208
|
// async/await.
|
|
212
209
|
try {
|
|
213
|
-
const data = await client.
|
|
210
|
+
const data = await client.listTargets(params);
|
|
214
211
|
// process data.
|
|
215
212
|
} catch (error) {
|
|
216
213
|
// error handling.
|
|
@@ -218,7 +215,7 @@ try {
|
|
|
218
215
|
|
|
219
216
|
// Promises.
|
|
220
217
|
client
|
|
221
|
-
.
|
|
218
|
+
.listTargets(params)
|
|
222
219
|
.then((data) => {
|
|
223
220
|
// process data.
|
|
224
221
|
})
|
|
@@ -227,7 +224,7 @@ client
|
|
|
227
224
|
});
|
|
228
225
|
|
|
229
226
|
// callbacks.
|
|
230
|
-
client.
|
|
227
|
+
client.listTargets(params, (err, data) => {
|
|
231
228
|
// process err and data.
|
|
232
229
|
});
|
|
233
230
|
```
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class CreateNotificationRuleCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class CreateNotificationRuleCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.CreateNotificationRuleRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CodeStarNotifications_20191015",
|
|
39
|
+
operation: "CreateNotificationRule",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class DeleteNotificationRuleCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeleteNotificationRuleCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CodeStarNotifications_20191015",
|
|
38
|
+
operation: "DeleteNotificationRule",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class DeleteTargetCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class DeleteTargetCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.DeleteTargetRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CodeStarNotifications_20191015",
|
|
39
|
+
operation: "DeleteTarget",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class DescribeNotificationRuleCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class DescribeNotificationRuleCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.DescribeNotificationRuleResultFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CodeStarNotifications_20191015",
|
|
39
|
+
operation: "DescribeNotificationRule",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class ListEventTypesCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class ListEventTypesCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CodeStarNotifications_20191015",
|
|
38
|
+
operation: "ListEventTypes",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class ListNotificationRulesCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class ListNotificationRulesCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CodeStarNotifications_20191015",
|
|
38
|
+
operation: "ListNotificationRules",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CodeStarNotifications_20191015",
|
|
38
|
+
operation: "ListTagsForResource",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class ListTargetsCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class ListTargetsCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.ListTargetsResultFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CodeStarNotifications_20191015",
|
|
39
|
+
operation: "ListTargets",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class SubscribeCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class SubscribeCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.SubscribeRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CodeStarNotifications_20191015",
|
|
39
|
+
operation: "Subscribe",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CodeStarNotifications_20191015",
|
|
38
|
+
operation: "TagResource",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class UnsubscribeCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class UnsubscribeCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.UnsubscribeRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CodeStarNotifications_20191015",
|
|
39
|
+
operation: "Unsubscribe",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CodeStarNotifications_20191015",
|
|
38
|
+
operation: "UntagResource",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class UpdateNotificationRuleCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class UpdateNotificationRuleCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.UpdateNotificationRuleRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CodeStarNotifications_20191015",
|
|
39
|
+
operation: "UpdateNotificationRule",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { CreateNotificationRuleRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateNotificationRuleCommand, se_CreateNotificationRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class CreateNotificationRuleCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: CreateNotificationRuleRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "CodeStarNotifications_20191015",
|
|
36
|
+
operation: "CreateNotificationRule",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_DeleteNotificationRuleCommand, se_DeleteNotificationRuleCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class DeleteNotificationRuleCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class DeleteNotificationRuleCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "CodeStarNotifications_20191015",
|
|
35
|
+
operation: "DeleteNotificationRule",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { DeleteTargetRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { de_DeleteTargetCommand, se_DeleteTargetCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class DeleteTargetCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: DeleteTargetRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "CodeStarNotifications_20191015",
|
|
36
|
+
operation: "DeleteTarget",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { DescribeNotificationRuleResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_DescribeNotificationRuleCommand, se_DescribeNotificationRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class DescribeNotificationRuleCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: (_) => _,
|
|
32
33
|
outputFilterSensitiveLog: DescribeNotificationRuleResultFilterSensitiveLog,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "CodeStarNotifications_20191015",
|
|
36
|
+
operation: "DescribeNotificationRule",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListEventTypesCommand, se_ListEventTypesCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListEventTypesCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListEventTypesCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "CodeStarNotifications_20191015",
|
|
35
|
+
operation: "ListEventTypes",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListNotificationRulesCommand, se_ListNotificationRulesCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListNotificationRulesCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListNotificationRulesCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "CodeStarNotifications_20191015",
|
|
35
|
+
operation: "ListNotificationRules",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListTagsForResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "CodeStarNotifications_20191015",
|
|
35
|
+
operation: "ListTagsForResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { ListTargetsResultFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { de_ListTargetsCommand, se_ListTargetsCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class ListTargetsCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: (_) => _,
|
|
32
33
|
outputFilterSensitiveLog: ListTargetsResultFilterSensitiveLog,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "CodeStarNotifications_20191015",
|
|
36
|
+
operation: "ListTargets",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { SubscribeRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { de_SubscribeCommand, se_SubscribeCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class SubscribeCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: SubscribeRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "CodeStarNotifications_20191015",
|
|
36
|
+
operation: "Subscribe",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "CodeStarNotifications_20191015",
|
|
35
|
+
operation: "TagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { UnsubscribeRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { de_UnsubscribeCommand, se_UnsubscribeCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class UnsubscribeCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: UnsubscribeRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "CodeStarNotifications_20191015",
|
|
36
|
+
operation: "Unsubscribe",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UntagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "CodeStarNotifications_20191015",
|
|
35
|
+
operation: "UntagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { UpdateNotificationRuleRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_UpdateNotificationRuleCommand, se_UpdateNotificationRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class UpdateNotificationRuleCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: UpdateNotificationRuleRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "CodeStarNotifications_20191015",
|
|
36
|
+
operation: "UpdateNotificationRule",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
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.421.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,39 +21,39 @@
|
|
|
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/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.1.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.0.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.421.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.421.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.418.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
|
32
|
+
"@aws-sdk/types": "3.418.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.10",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
|
38
|
+
"@smithy/hash-node": "^2.0.9",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.12",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.9",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.12",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.5",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.6",
|
|
49
|
+
"@smithy/types": "^2.3.3",
|
|
50
|
+
"@smithy/url-parser": "^2.0.9",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
|
56
|
+
"@smithy/util-retry": "^2.0.2",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
59
|
"uuid": "^8.3.2"
|