@aws-sdk/client-codestar-notifications 3.405.0 → 3.409.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 +0 -4
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/CodestarNotifications.d.ts +1 -7
- package/dist-types/CodestarNotificationsClient.d.ts +1 -7
- package/dist-types/index.d.ts +1 -7
- package/dist-types/models/models_0.d.ts +2 -2
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -9,7 +9,6 @@ AWS SDK for JavaScript CodestarNotifications Client for Node.js, Browser and Rea
|
|
|
9
9
|
<p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
|
|
10
10
|
operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API
|
|
11
11
|
to work with the following objects:</p>
|
|
12
|
-
|
|
13
12
|
<p>Notification rules, by calling the following: </p>
|
|
14
13
|
<ul>
|
|
15
14
|
<li>
|
|
@@ -44,7 +43,6 @@ notification rule. </p>
|
|
|
44
43
|
<a>Unsubscribe</a>, which removes a target from a notification rule. </p>
|
|
45
44
|
</li>
|
|
46
45
|
</ul>
|
|
47
|
-
|
|
48
46
|
<p>Targets, by calling the following: </p>
|
|
49
47
|
<ul>
|
|
50
48
|
<li>
|
|
@@ -58,7 +56,6 @@ notification rule. </p>
|
|
|
58
56
|
notification rule. </p>
|
|
59
57
|
</li>
|
|
60
58
|
</ul>
|
|
61
|
-
|
|
62
59
|
<p>Events, by calling the following: </p>
|
|
63
60
|
<ul>
|
|
64
61
|
<li>
|
|
@@ -85,7 +82,6 @@ notification rule in your account. </p>
|
|
|
85
82
|
your account. </p>
|
|
86
83
|
</li>
|
|
87
84
|
</ul>
|
|
88
|
-
|
|
89
85
|
<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>.
|
|
90
86
|
</p>
|
|
91
87
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://codestar-notifications-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codestar-notifications-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://codestar-notifications.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codestar-notifications.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://codestar-notifications-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codestar-notifications-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://codestar-notifications.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codestar-notifications.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -98,7 +98,6 @@ export interface CodestarNotifications {
|
|
|
98
98
|
* <p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
|
|
99
99
|
* operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API
|
|
100
100
|
* to work with the following objects:</p>
|
|
101
|
-
*
|
|
102
101
|
* <p>Notification rules, by calling the following: </p>
|
|
103
102
|
* <ul>
|
|
104
103
|
* <li>
|
|
@@ -133,7 +132,6 @@ export interface CodestarNotifications {
|
|
|
133
132
|
* <a>Unsubscribe</a>, which removes a target from a notification rule. </p>
|
|
134
133
|
* </li>
|
|
135
134
|
* </ul>
|
|
136
|
-
*
|
|
137
135
|
* <p>Targets, by calling the following: </p>
|
|
138
136
|
* <ul>
|
|
139
137
|
* <li>
|
|
@@ -147,7 +145,6 @@ export interface CodestarNotifications {
|
|
|
147
145
|
* notification rule. </p>
|
|
148
146
|
* </li>
|
|
149
147
|
* </ul>
|
|
150
|
-
*
|
|
151
148
|
* <p>Events, by calling the following: </p>
|
|
152
149
|
* <ul>
|
|
153
150
|
* <li>
|
|
@@ -174,10 +171,7 @@ export interface CodestarNotifications {
|
|
|
174
171
|
* your account. </p>
|
|
175
172
|
* </li>
|
|
176
173
|
* </ul>
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
* <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>.
|
|
174
|
+
* <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>.
|
|
181
175
|
* </p>
|
|
182
176
|
*/
|
|
183
177
|
export declare class CodestarNotifications extends CodestarNotificationsClient implements CodestarNotifications {
|
|
@@ -166,7 +166,6 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif
|
|
|
166
166
|
* <p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
|
|
167
167
|
* operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API
|
|
168
168
|
* to work with the following objects:</p>
|
|
169
|
-
*
|
|
170
169
|
* <p>Notification rules, by calling the following: </p>
|
|
171
170
|
* <ul>
|
|
172
171
|
* <li>
|
|
@@ -201,7 +200,6 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif
|
|
|
201
200
|
* <a>Unsubscribe</a>, which removes a target from a notification rule. </p>
|
|
202
201
|
* </li>
|
|
203
202
|
* </ul>
|
|
204
|
-
*
|
|
205
203
|
* <p>Targets, by calling the following: </p>
|
|
206
204
|
* <ul>
|
|
207
205
|
* <li>
|
|
@@ -215,7 +213,6 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif
|
|
|
215
213
|
* notification rule. </p>
|
|
216
214
|
* </li>
|
|
217
215
|
* </ul>
|
|
218
|
-
*
|
|
219
216
|
* <p>Events, by calling the following: </p>
|
|
220
217
|
* <ul>
|
|
221
218
|
* <li>
|
|
@@ -242,10 +239,7 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif
|
|
|
242
239
|
* your account. </p>
|
|
243
240
|
* </li>
|
|
244
241
|
* </ul>
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
* <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>.
|
|
242
|
+
* <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>.
|
|
249
243
|
* </p>
|
|
250
244
|
*/
|
|
251
245
|
export declare class CodestarNotificationsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodestarNotificationsClientResolvedConfig> {
|
package/dist-types/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* <p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
|
|
3
3
|
* operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API
|
|
4
4
|
* to work with the following objects:</p>
|
|
5
|
-
*
|
|
6
5
|
* <p>Notification rules, by calling the following: </p>
|
|
7
6
|
* <ul>
|
|
8
7
|
* <li>
|
|
@@ -37,7 +36,6 @@
|
|
|
37
36
|
* <a>Unsubscribe</a>, which removes a target from a notification rule. </p>
|
|
38
37
|
* </li>
|
|
39
38
|
* </ul>
|
|
40
|
-
*
|
|
41
39
|
* <p>Targets, by calling the following: </p>
|
|
42
40
|
* <ul>
|
|
43
41
|
* <li>
|
|
@@ -51,7 +49,6 @@
|
|
|
51
49
|
* notification rule. </p>
|
|
52
50
|
* </li>
|
|
53
51
|
* </ul>
|
|
54
|
-
*
|
|
55
52
|
* <p>Events, by calling the following: </p>
|
|
56
53
|
* <ul>
|
|
57
54
|
* <li>
|
|
@@ -78,10 +75,7 @@
|
|
|
78
75
|
* your account. </p>
|
|
79
76
|
* </li>
|
|
80
77
|
* </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>.
|
|
78
|
+
* <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
79
|
* </p>
|
|
86
80
|
*
|
|
87
81
|
* @packageDocumentation
|
|
@@ -129,10 +129,10 @@ export interface CreateNotificationRuleRequest {
|
|
|
129
129
|
* the request cannot be repeated with a changed parameter. If a request with the same
|
|
130
130
|
* parameters is received and a token is included, the request returns information about
|
|
131
131
|
* the initial request that used that token.</p>
|
|
132
|
-
*
|
|
132
|
+
* <note>
|
|
133
133
|
* <p>The Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an
|
|
134
134
|
* idempotency token is created for you.</p>
|
|
135
|
-
*
|
|
135
|
+
* </note>
|
|
136
136
|
*/
|
|
137
137
|
ClientRequestToken?: string;
|
|
138
138
|
/**
|
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.409.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,17 +21,17 @@
|
|
|
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/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.409.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.409.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.408.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.408.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.408.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.408.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.408.0",
|
|
31
|
+
"@aws-sdk/types": "3.408.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.408.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.408.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.408.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
37
|
"@smithy/hash-node": "^2.0.5",
|