@aws-sdk/client-codestar-notifications 3.299.0 → 3.300.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-types/commands/CreateNotificationRuleCommand.d.ts +19 -0
- package/dist-types/commands/DeleteNotificationRuleCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTargetCommand.d.ts +4 -0
- package/dist-types/commands/DescribeNotificationRuleCommand.d.ts +3 -0
- package/dist-types/commands/ListEventTypesCommand.d.ts +10 -0
- package/dist-types/commands/ListNotificationRulesCommand.d.ts +10 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTargetsCommand.d.ts +10 -0
- package/dist-types/commands/SubscribeCommand.d.ts +8 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UnsubscribeCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateNotificationRuleCommand.d.ts +15 -0
- package/package.json +8 -8
|
@@ -28,6 +28,25 @@ export interface CreateNotificationRuleCommandOutput extends CreateNotificationR
|
|
|
28
28
|
* import { CodestarNotificationsClient, CreateNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
29
29
|
* // const { CodestarNotificationsClient, CreateNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
30
30
|
* const client = new CodestarNotificationsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* EventTypeIds: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* Resource: "STRING_VALUE", // required
|
|
37
|
+
* Targets: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* TargetType: "STRING_VALUE",
|
|
40
|
+
* TargetAddress: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* DetailType: "BASIC" || "FULL", // required
|
|
44
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
45
|
+
* Tags: {
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* Status: "ENABLED" || "DISABLED",
|
|
49
|
+
* };
|
|
31
50
|
* const command = new CreateNotificationRuleCommand(input);
|
|
32
51
|
* const response = await client.send(command);
|
|
33
52
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationR
|
|
|
26
26
|
* import { CodestarNotificationsClient, DeleteNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, DeleteNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteNotificationRuleCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteTargetCommandOutput extends DeleteTargetResult, __Metadat
|
|
|
26
26
|
* import { CodestarNotificationsClient, DeleteTargetCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, DeleteTargetCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TargetAddress: "STRING_VALUE", // required
|
|
31
|
+
* ForceUnsubscribeAll: true || false,
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteTargetCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeNotificationRuleCommandOutput extends DescribeNotificat
|
|
|
26
26
|
* import { CodestarNotificationsClient, DescribeNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, DescribeNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeNotificationRuleCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface ListEventTypesCommandOutput extends ListEventTypesResult, __Met
|
|
|
26
26
|
* import { CodestarNotificationsClient, ListEventTypesCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, ListEventTypesCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Filters: [
|
|
31
|
+
* {
|
|
32
|
+
* Name: "RESOURCE_TYPE" || "SERVICE_NAME", // required
|
|
33
|
+
* Value: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
29
39
|
* const command = new ListEventTypesCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface ListNotificationRulesCommandOutput extends ListNotificationRule
|
|
|
26
26
|
* import { CodestarNotificationsClient, ListNotificationRulesCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, ListNotificationRulesCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Filters: [
|
|
31
|
+
* {
|
|
32
|
+
* Name: "EVENT_TYPE_ID" || "CREATED_BY" || "RESOURCE" || "TARGET_ADDRESS", // required
|
|
33
|
+
* Value: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
29
39
|
* const command = new ListNotificationRulesCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { CodestarNotificationsClient, ListTagsForResourceCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataB
|
|
|
26
26
|
* import { CodestarNotificationsClient, ListTargetsCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, ListTargetsCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Filters: [
|
|
31
|
+
* {
|
|
32
|
+
* Name: "TARGET_TYPE" || "TARGET_ADDRESS" || "TARGET_STATUS", // required
|
|
33
|
+
* Value: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
29
39
|
* const command = new ListTargetsCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBeare
|
|
|
28
28
|
* import { CodestarNotificationsClient, SubscribeCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
29
29
|
* // const { CodestarNotificationsClient, SubscribeCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
30
30
|
* const client = new CodestarNotificationsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Arn: "STRING_VALUE", // required
|
|
33
|
+
* Target: {
|
|
34
|
+
* TargetType: "STRING_VALUE",
|
|
35
|
+
* TargetAddress: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
31
39
|
* const command = new SubscribeCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
|
|
|
26
26
|
* import { CodestarNotificationsClient, TagResourceCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, TagResourceCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Arn: "STRING_VALUE", // required
|
|
31
|
+
* Tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataB
|
|
|
28
28
|
* import { CodestarNotificationsClient, UnsubscribeCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
29
29
|
* // const { CodestarNotificationsClient, UnsubscribeCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
30
30
|
* const client = new CodestarNotificationsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Arn: "STRING_VALUE", // required
|
|
33
|
+
* TargetAddress: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new UnsubscribeCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
|
|
|
27
27
|
* import { CodestarNotificationsClient, UntagResourceCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
28
28
|
* // const { CodestarNotificationsClient, UntagResourceCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
29
29
|
* const client = new CodestarNotificationsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Arn: "STRING_VALUE", // required
|
|
32
|
+
* TagKeys: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UntagResourceCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -31,6 +31,21 @@ export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationR
|
|
|
31
31
|
* import { CodestarNotificationsClient, UpdateNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
32
32
|
* // const { CodestarNotificationsClient, UpdateNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
33
33
|
* const client = new CodestarNotificationsClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* Arn: "STRING_VALUE", // required
|
|
36
|
+
* Name: "STRING_VALUE",
|
|
37
|
+
* Status: "ENABLED" || "DISABLED",
|
|
38
|
+
* EventTypeIds: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* Targets: [
|
|
42
|
+
* {
|
|
43
|
+
* TargetType: "STRING_VALUE",
|
|
44
|
+
* TargetAddress: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* DetailType: "BASIC" || "FULL",
|
|
48
|
+
* };
|
|
34
49
|
* const command = new UpdateNotificationRuleCommand(input);
|
|
35
50
|
* const response = await client.send(command);
|
|
36
51
|
* ```
|
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.300.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|