@aws-sdk/client-codestar-notifications 3.952.0 → 3.953.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/index.js +192 -137
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CreateNotificationRuleCommand.js +2 -2
- package/dist-es/commands/DeleteNotificationRuleCommand.js +2 -2
- package/dist-es/commands/DeleteTargetCommand.js +2 -2
- package/dist-es/commands/DescribeNotificationRuleCommand.js +2 -2
- package/dist-es/commands/ListEventTypesCommand.js +2 -2
- package/dist-es/commands/ListNotificationRulesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTargetsCommand.js +2 -2
- package/dist-es/commands/SubscribeCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UnsubscribeCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateNotificationRuleCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +104 -104
- package/dist-types/CodestarNotificationsClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +56 -68
- package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -69
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteNotificationRule } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteNotificationRule$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteNotificationRuleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteNotificationRuleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "DeleteNotificationRule", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "DeleteNotificationRuleCommand")
|
|
14
|
-
.sc(DeleteNotificationRule)
|
|
14
|
+
.sc(DeleteNotificationRule$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteTarget } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteTarget$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteTargetCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteTargetCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "DeleteTarget", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "DeleteTargetCommand")
|
|
14
|
-
.sc(DeleteTarget)
|
|
14
|
+
.sc(DeleteTarget$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeNotificationRule } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeNotificationRule$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeNotificationRuleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeNotificationRuleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "DescribeNotificationRule", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "DescribeNotificationRuleCommand")
|
|
14
|
-
.sc(DescribeNotificationRule)
|
|
14
|
+
.sc(DescribeNotificationRule$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListEventTypes } from "../schemas/schemas_0";
|
|
4
|
+
import { ListEventTypes$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListEventTypesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListEventTypesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "ListEventTypes", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "ListEventTypesCommand")
|
|
14
|
-
.sc(ListEventTypes)
|
|
14
|
+
.sc(ListEventTypes$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListNotificationRules } from "../schemas/schemas_0";
|
|
4
|
+
import { ListNotificationRules$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListNotificationRulesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListNotificationRulesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "ListNotificationRules", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "ListNotificationRulesCommand")
|
|
14
|
-
.sc(ListNotificationRules)
|
|
14
|
+
.sc(ListNotificationRules$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "ListTagsForResource", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTargets } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTargets$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTargetsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTargetsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "ListTargets", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "ListTargetsCommand")
|
|
14
|
-
.sc(ListTargets)
|
|
14
|
+
.sc(ListTargets$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { Subscribe } from "../schemas/schemas_0";
|
|
4
|
+
import { Subscribe$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SubscribeCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SubscribeCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "Subscribe", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "SubscribeCommand")
|
|
14
|
-
.sc(Subscribe)
|
|
14
|
+
.sc(Subscribe$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "TagResource", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { Unsubscribe } from "../schemas/schemas_0";
|
|
4
|
+
import { Unsubscribe$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UnsubscribeCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UnsubscribeCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "Unsubscribe", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "UnsubscribeCommand")
|
|
14
|
-
.sc(Unsubscribe)
|
|
14
|
+
.sc(Unsubscribe$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "UntagResource", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateNotificationRule } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateNotificationRule$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateNotificationRuleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateNotificationRuleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeStarNotifications_20191015", "UpdateNotificationRule", {})
|
|
13
13
|
.n("CodestarNotificationsClient", "UpdateNotificationRuleCommand")
|
|
14
|
-
.sc(UpdateNotificationRule)
|
|
14
|
+
.sc(UpdateNotificationRule$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.codestarnotifications",
|
|
29
|
+
version: "2019-10-15",
|
|
30
|
+
serviceTarget: "CodeStarNotifications_20191015",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "codestar notifications",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -97,17 +97,17 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.codestarnotifications";
|
|
|
97
97
|
const _tK = "tagKeys";
|
|
98
98
|
const n0 = "com.amazonaws.codestarnotifications";
|
|
99
99
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
100
|
-
import { CodestarNotificationsServiceException
|
|
101
|
-
import { AccessDeniedException
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
|
|
105
|
-
TypeRegistry.for(n0).registerError(AccessDeniedException
|
|
106
|
-
export var ConcurrentModificationException = [-3, n0, _CME, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
107
|
-
TypeRegistry.for(n0).registerError(ConcurrentModificationException
|
|
108
|
-
export var ConfigurationException = [-3, n0, _CE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
109
|
-
TypeRegistry.for(n0).registerError(ConfigurationException
|
|
110
|
-
export var CreateNotificationRuleRequest = [
|
|
100
|
+
import { CodestarNotificationsServiceException } from "../models/CodestarNotificationsServiceException";
|
|
101
|
+
import { AccessDeniedException, ConcurrentModificationException, ConfigurationException, InvalidNextTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException, } from "../models/errors";
|
|
102
|
+
var NotificationRuleName = [0, n0, _NRN, 8, 0];
|
|
103
|
+
var TargetAddress = [0, n0, _TA, 8, 0];
|
|
104
|
+
export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
|
|
105
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
106
|
+
export var ConcurrentModificationException$ = [-3, n0, _CME, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
107
|
+
TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
|
|
108
|
+
export var ConfigurationException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
109
|
+
TypeRegistry.for(n0).registerError(ConfigurationException$, ConfigurationException);
|
|
110
|
+
export var CreateNotificationRuleRequest$ = [
|
|
111
111
|
3,
|
|
112
112
|
n0,
|
|
113
113
|
_CNRR,
|
|
@@ -115,13 +115,13 @@ export var CreateNotificationRuleRequest = [
|
|
|
115
115
|
[_N, _ETI, _R, _T, _DT, _CRT, _Ta, _S],
|
|
116
116
|
[[() => NotificationRuleName, 0], 64 | 0, 0, [() => Targets, 0], 0, [0, 4], 128 | 0, 0],
|
|
117
117
|
];
|
|
118
|
-
export var CreateNotificationRuleResult = [3, n0, _CNRRr, 0, [_A], [0]];
|
|
119
|
-
export var DeleteNotificationRuleRequest = [3, n0, _DNRR, 0, [_A], [0]];
|
|
120
|
-
export var DeleteNotificationRuleResult = [3, n0, _DNRRe, 0, [_A], [0]];
|
|
121
|
-
export var DeleteTargetRequest = [3, n0, _DTR, 0, [_TA, _FUA], [[() => TargetAddress, 0], 2]];
|
|
122
|
-
export var DeleteTargetResult = [3, n0, _DTRe, 0, [], []];
|
|
123
|
-
export var DescribeNotificationRuleRequest = [3, n0, _DNRRes, 0, [_A], [0]];
|
|
124
|
-
export var DescribeNotificationRuleResult = [
|
|
118
|
+
export var CreateNotificationRuleResult$ = [3, n0, _CNRRr, 0, [_A], [0]];
|
|
119
|
+
export var DeleteNotificationRuleRequest$ = [3, n0, _DNRR, 0, [_A], [0]];
|
|
120
|
+
export var DeleteNotificationRuleResult$ = [3, n0, _DNRRe, 0, [_A], [0]];
|
|
121
|
+
export var DeleteTargetRequest$ = [3, n0, _DTR, 0, [_TA, _FUA], [[() => TargetAddress, 0], 2]];
|
|
122
|
+
export var DeleteTargetResult$ = [3, n0, _DTRe, 0, [], []];
|
|
123
|
+
export var DescribeNotificationRuleRequest$ = [3, n0, _DNRRes, 0, [_A], [0]];
|
|
124
|
+
export var DescribeNotificationRuleResult$ = [
|
|
125
125
|
3,
|
|
126
126
|
n0,
|
|
127
127
|
_DNRResc,
|
|
@@ -129,13 +129,13 @@ export var DescribeNotificationRuleResult = [
|
|
|
129
129
|
[_A, _N, _ET, _R, _T, _DT, _CB, _S, _CT, _LMT, _Ta],
|
|
130
130
|
[0, [() => NotificationRuleName, 0], () => EventTypeBatch, 0, [() => TargetsBatch, 0], 0, 0, 0, 4, 4, 128 | 0],
|
|
131
131
|
];
|
|
132
|
-
export var EventTypeSummary = [3, n0, _ETS, 0, [_ETIv, _SN, _ETN, _RT], [0, 0, 0, 0]];
|
|
133
|
-
export var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
134
|
-
TypeRegistry.for(n0).registerError(InvalidNextTokenException
|
|
135
|
-
export var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
136
|
-
TypeRegistry.for(n0).registerError(LimitExceededException
|
|
137
|
-
export var ListEventTypesFilter = [3, n0, _LETF, 0, [_N, _V], [0, 0]];
|
|
138
|
-
export var ListEventTypesRequest = [
|
|
132
|
+
export var EventTypeSummary$ = [3, n0, _ETS, 0, [_ETIv, _SN, _ETN, _RT], [0, 0, 0, 0]];
|
|
133
|
+
export var InvalidNextTokenException$ = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
134
|
+
TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
135
|
+
export var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
136
|
+
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
137
|
+
export var ListEventTypesFilter$ = [3, n0, _LETF, 0, [_N, _V], [0, 0]];
|
|
138
|
+
export var ListEventTypesRequest$ = [
|
|
139
139
|
3,
|
|
140
140
|
n0,
|
|
141
141
|
_LETR,
|
|
@@ -143,9 +143,9 @@ export var ListEventTypesRequest = [
|
|
|
143
143
|
[_F, _NT, _MR],
|
|
144
144
|
[() => ListEventTypesFilters, 0, 1],
|
|
145
145
|
];
|
|
146
|
-
export var ListEventTypesResult = [3, n0, _LETRi, 0, [_ET, _NT], [() => EventTypeBatch, 0]];
|
|
147
|
-
export var ListNotificationRulesFilter = [3, n0, _LNRF, 0, [_N, _V], [0, 0]];
|
|
148
|
-
export var ListNotificationRulesRequest = [
|
|
146
|
+
export var ListEventTypesResult$ = [3, n0, _LETRi, 0, [_ET, _NT], [() => EventTypeBatch, 0]];
|
|
147
|
+
export var ListNotificationRulesFilter$ = [3, n0, _LNRF, 0, [_N, _V], [0, 0]];
|
|
148
|
+
export var ListNotificationRulesRequest$ = [
|
|
149
149
|
3,
|
|
150
150
|
n0,
|
|
151
151
|
_LNRR,
|
|
@@ -153,7 +153,7 @@ export var ListNotificationRulesRequest = [
|
|
|
153
153
|
[_F, _NT, _MR],
|
|
154
154
|
[() => ListNotificationRulesFilters, 0, 1],
|
|
155
155
|
];
|
|
156
|
-
export var ListNotificationRulesResult = [
|
|
156
|
+
export var ListNotificationRulesResult$ = [
|
|
157
157
|
3,
|
|
158
158
|
n0,
|
|
159
159
|
_LNRRi,
|
|
@@ -161,10 +161,10 @@ export var ListNotificationRulesResult = [
|
|
|
161
161
|
[_NT, _NR],
|
|
162
162
|
[0, () => NotificationRuleBatch],
|
|
163
163
|
];
|
|
164
|
-
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_A], [0]];
|
|
165
|
-
export var ListTagsForResourceResult = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
|
|
166
|
-
export var ListTargetsFilter = [3, n0, _LTF, 0, [_N, _V], [0, 0]];
|
|
167
|
-
export var ListTargetsRequest = [
|
|
164
|
+
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_A], [0]];
|
|
165
|
+
export var ListTagsForResourceResult$ = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
|
|
166
|
+
export var ListTargetsFilter$ = [3, n0, _LTF, 0, [_N, _V], [0, 0]];
|
|
167
|
+
export var ListTargetsRequest$ = [
|
|
168
168
|
3,
|
|
169
169
|
n0,
|
|
170
170
|
_LTR,
|
|
@@ -172,21 +172,21 @@ export var ListTargetsRequest = [
|
|
|
172
172
|
[_F, _NT, _MR],
|
|
173
173
|
[() => ListTargetsFilters, 0, 1],
|
|
174
174
|
];
|
|
175
|
-
export var ListTargetsResult = [3, n0, _LTRi, 0, [_T, _NT], [[() => TargetsBatch, 0], 0]];
|
|
176
|
-
export var NotificationRuleSummary = [3, n0, _NRS, 0, [_I, _A], [0, 0]];
|
|
177
|
-
export var ResourceAlreadyExistsException = [-3, n0, _RAEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
178
|
-
TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException
|
|
179
|
-
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
180
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
181
|
-
export var SubscribeRequest = [3, n0, _SR, 0, [_A, _Tar, _CRT], [0, [() => Target
|
|
182
|
-
export var SubscribeResult = [3, n0, _SRu, 0, [_A], [0]];
|
|
183
|
-
export var TagResourceRequest = [3, n0, _TRR, 0, [_A, _Ta], [0, 128 | 0]];
|
|
184
|
-
export var TagResourceResult = [3, n0, _TRRa, 0, [_Ta], [128 | 0]];
|
|
185
|
-
export var Target = [3, n0, _Tar, 0, [_TT, _TA], [0, [() => TargetAddress, 0]]];
|
|
186
|
-
export var TargetSummary = [3, n0, _TS, 0, [_TA, _TT, _TSa], [[() => TargetAddress, 0], 0, 0]];
|
|
187
|
-
export var UnsubscribeRequest = [3, n0, _UR, 0, [_A, _TA], [0, [() => TargetAddress, 0]]];
|
|
188
|
-
export var UnsubscribeResult = [3, n0, _URn, 0, [_A], [0]];
|
|
189
|
-
export var UntagResourceRequest = [
|
|
175
|
+
export var ListTargetsResult$ = [3, n0, _LTRi, 0, [_T, _NT], [[() => TargetsBatch, 0], 0]];
|
|
176
|
+
export var NotificationRuleSummary$ = [3, n0, _NRS, 0, [_I, _A], [0, 0]];
|
|
177
|
+
export var ResourceAlreadyExistsException$ = [-3, n0, _RAEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
178
|
+
TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
|
|
179
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
180
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
181
|
+
export var SubscribeRequest$ = [3, n0, _SR, 0, [_A, _Tar, _CRT], [0, [() => Target$, 0], 0]];
|
|
182
|
+
export var SubscribeResult$ = [3, n0, _SRu, 0, [_A], [0]];
|
|
183
|
+
export var TagResourceRequest$ = [3, n0, _TRR, 0, [_A, _Ta], [0, 128 | 0]];
|
|
184
|
+
export var TagResourceResult$ = [3, n0, _TRRa, 0, [_Ta], [128 | 0]];
|
|
185
|
+
export var Target$ = [3, n0, _Tar, 0, [_TT, _TA], [0, [() => TargetAddress, 0]]];
|
|
186
|
+
export var TargetSummary$ = [3, n0, _TS, 0, [_TA, _TT, _TSa], [[() => TargetAddress, 0], 0, 0]];
|
|
187
|
+
export var UnsubscribeRequest$ = [3, n0, _UR, 0, [_A, _TA], [0, [() => TargetAddress, 0]]];
|
|
188
|
+
export var UnsubscribeResult$ = [3, n0, _URn, 0, [_A], [0]];
|
|
189
|
+
export var UntagResourceRequest$ = [
|
|
190
190
|
3,
|
|
191
191
|
n0,
|
|
192
192
|
_URR,
|
|
@@ -197,8 +197,8 @@ export var UntagResourceRequest = [
|
|
|
197
197
|
[64 | 0, { [_hQ]: _tK }],
|
|
198
198
|
],
|
|
199
199
|
];
|
|
200
|
-
export var UntagResourceResult = [3, n0, _URRn, 0, [], []];
|
|
201
|
-
export var UpdateNotificationRuleRequest = [
|
|
200
|
+
export var UntagResourceResult$ = [3, n0, _URRn, 0, [], []];
|
|
201
|
+
export var UpdateNotificationRuleRequest$ = [
|
|
202
202
|
3,
|
|
203
203
|
n0,
|
|
204
204
|
_UNRR,
|
|
@@ -206,10 +206,10 @@ export var UpdateNotificationRuleRequest = [
|
|
|
206
206
|
[_A, _N, _S, _ETI, _T, _DT],
|
|
207
207
|
[0, [() => NotificationRuleName, 0], 0, 64 | 0, [() => Targets, 0], 0],
|
|
208
208
|
];
|
|
209
|
-
export var UpdateNotificationRuleResult = [3, n0, _UNRRp, 0, [], []];
|
|
210
|
-
export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
211
|
-
TypeRegistry.for(n0).registerError(ValidationException
|
|
212
|
-
export var CodestarNotificationsServiceException = [
|
|
209
|
+
export var UpdateNotificationRuleResult$ = [3, n0, _UNRRp, 0, [], []];
|
|
210
|
+
export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
211
|
+
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
212
|
+
export var CodestarNotificationsServiceException$ = [
|
|
213
213
|
-3,
|
|
214
214
|
_s,
|
|
215
215
|
"CodestarNotificationsServiceException",
|
|
@@ -217,118 +217,118 @@ export var CodestarNotificationsServiceException = [
|
|
|
217
217
|
[],
|
|
218
218
|
[],
|
|
219
219
|
];
|
|
220
|
-
TypeRegistry.for(_s).registerError(CodestarNotificationsServiceException
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
export var CreateNotificationRule = [
|
|
220
|
+
TypeRegistry.for(_s).registerError(CodestarNotificationsServiceException$, CodestarNotificationsServiceException);
|
|
221
|
+
var EventTypeBatch = [1, n0, _ETB, 0, () => EventTypeSummary$];
|
|
222
|
+
var EventTypeIds = 64 | 0;
|
|
223
|
+
var ListEventTypesFilters = [1, n0, _LETFi, 0, () => ListEventTypesFilter$];
|
|
224
|
+
var ListNotificationRulesFilters = [1, n0, _LNRFi, 0, () => ListNotificationRulesFilter$];
|
|
225
|
+
var ListTargetsFilters = [1, n0, _LTFi, 0, () => ListTargetsFilter$];
|
|
226
|
+
var NotificationRuleBatch = [1, n0, _NRB, 0, () => NotificationRuleSummary$];
|
|
227
|
+
var TagKeys = 64 | 0;
|
|
228
|
+
var Targets = [1, n0, _T, 0, [() => Target$, 0]];
|
|
229
|
+
var TargetsBatch = [1, n0, _TB, 0, [() => TargetSummary$, 0]];
|
|
230
|
+
var Tags = 128 | 0;
|
|
231
|
+
export var CreateNotificationRule$ = [
|
|
232
232
|
9,
|
|
233
233
|
n0,
|
|
234
234
|
_CNR,
|
|
235
235
|
{ [_h]: ["POST", "/createNotificationRule", 200] },
|
|
236
|
-
() => CreateNotificationRuleRequest
|
|
237
|
-
() => CreateNotificationRuleResult
|
|
236
|
+
() => CreateNotificationRuleRequest$,
|
|
237
|
+
() => CreateNotificationRuleResult$,
|
|
238
238
|
];
|
|
239
|
-
export var DeleteNotificationRule = [
|
|
239
|
+
export var DeleteNotificationRule$ = [
|
|
240
240
|
9,
|
|
241
241
|
n0,
|
|
242
242
|
_DNR,
|
|
243
243
|
{ [_h]: ["POST", "/deleteNotificationRule", 200] },
|
|
244
|
-
() => DeleteNotificationRuleRequest
|
|
245
|
-
() => DeleteNotificationRuleResult
|
|
244
|
+
() => DeleteNotificationRuleRequest$,
|
|
245
|
+
() => DeleteNotificationRuleResult$,
|
|
246
246
|
];
|
|
247
|
-
export var DeleteTarget = [
|
|
247
|
+
export var DeleteTarget$ = [
|
|
248
248
|
9,
|
|
249
249
|
n0,
|
|
250
250
|
_DTe,
|
|
251
251
|
{ [_h]: ["POST", "/deleteTarget", 200] },
|
|
252
|
-
() => DeleteTargetRequest
|
|
253
|
-
() => DeleteTargetResult
|
|
252
|
+
() => DeleteTargetRequest$,
|
|
253
|
+
() => DeleteTargetResult$,
|
|
254
254
|
];
|
|
255
|
-
export var DescribeNotificationRule = [
|
|
255
|
+
export var DescribeNotificationRule$ = [
|
|
256
256
|
9,
|
|
257
257
|
n0,
|
|
258
258
|
_DNRe,
|
|
259
259
|
{ [_h]: ["POST", "/describeNotificationRule", 200] },
|
|
260
|
-
() => DescribeNotificationRuleRequest
|
|
261
|
-
() => DescribeNotificationRuleResult
|
|
260
|
+
() => DescribeNotificationRuleRequest$,
|
|
261
|
+
() => DescribeNotificationRuleResult$,
|
|
262
262
|
];
|
|
263
|
-
export var ListEventTypes = [
|
|
263
|
+
export var ListEventTypes$ = [
|
|
264
264
|
9,
|
|
265
265
|
n0,
|
|
266
266
|
_LET,
|
|
267
267
|
{ [_h]: ["POST", "/listEventTypes", 200] },
|
|
268
|
-
() => ListEventTypesRequest
|
|
269
|
-
() => ListEventTypesResult
|
|
268
|
+
() => ListEventTypesRequest$,
|
|
269
|
+
() => ListEventTypesResult$,
|
|
270
270
|
];
|
|
271
|
-
export var ListNotificationRules = [
|
|
271
|
+
export var ListNotificationRules$ = [
|
|
272
272
|
9,
|
|
273
273
|
n0,
|
|
274
274
|
_LNR,
|
|
275
275
|
{ [_h]: ["POST", "/listNotificationRules", 200] },
|
|
276
|
-
() => ListNotificationRulesRequest
|
|
277
|
-
() => ListNotificationRulesResult
|
|
276
|
+
() => ListNotificationRulesRequest$,
|
|
277
|
+
() => ListNotificationRulesResult$,
|
|
278
278
|
];
|
|
279
|
-
export var ListTagsForResource = [
|
|
279
|
+
export var ListTagsForResource$ = [
|
|
280
280
|
9,
|
|
281
281
|
n0,
|
|
282
282
|
_LTFR,
|
|
283
283
|
{ [_h]: ["POST", "/listTagsForResource", 200] },
|
|
284
|
-
() => ListTagsForResourceRequest
|
|
285
|
-
() => ListTagsForResourceResult
|
|
284
|
+
() => ListTagsForResourceRequest$,
|
|
285
|
+
() => ListTagsForResourceResult$,
|
|
286
286
|
];
|
|
287
|
-
export var ListTargets = [
|
|
287
|
+
export var ListTargets$ = [
|
|
288
288
|
9,
|
|
289
289
|
n0,
|
|
290
290
|
_LT,
|
|
291
291
|
{ [_h]: ["POST", "/listTargets", 200] },
|
|
292
|
-
() => ListTargetsRequest
|
|
293
|
-
() => ListTargetsResult
|
|
292
|
+
() => ListTargetsRequest$,
|
|
293
|
+
() => ListTargetsResult$,
|
|
294
294
|
];
|
|
295
|
-
export var Subscribe = [
|
|
295
|
+
export var Subscribe$ = [
|
|
296
296
|
9,
|
|
297
297
|
n0,
|
|
298
298
|
_Su,
|
|
299
299
|
{ [_h]: ["POST", "/subscribe", 200] },
|
|
300
|
-
() => SubscribeRequest
|
|
301
|
-
() => SubscribeResult
|
|
300
|
+
() => SubscribeRequest$,
|
|
301
|
+
() => SubscribeResult$,
|
|
302
302
|
];
|
|
303
|
-
export var TagResource = [
|
|
303
|
+
export var TagResource$ = [
|
|
304
304
|
9,
|
|
305
305
|
n0,
|
|
306
306
|
_TR,
|
|
307
307
|
{ [_h]: ["POST", "/tagResource", 200] },
|
|
308
|
-
() => TagResourceRequest
|
|
309
|
-
() => TagResourceResult
|
|
308
|
+
() => TagResourceRequest$,
|
|
309
|
+
() => TagResourceResult$,
|
|
310
310
|
];
|
|
311
|
-
export var Unsubscribe = [
|
|
311
|
+
export var Unsubscribe$ = [
|
|
312
312
|
9,
|
|
313
313
|
n0,
|
|
314
314
|
_U,
|
|
315
315
|
{ [_h]: ["POST", "/unsubscribe", 200] },
|
|
316
|
-
() => UnsubscribeRequest
|
|
317
|
-
() => UnsubscribeResult
|
|
316
|
+
() => UnsubscribeRequest$,
|
|
317
|
+
() => UnsubscribeResult$,
|
|
318
318
|
];
|
|
319
|
-
export var UntagResource = [
|
|
319
|
+
export var UntagResource$ = [
|
|
320
320
|
9,
|
|
321
321
|
n0,
|
|
322
322
|
_URnt,
|
|
323
323
|
{ [_h]: ["POST", "/untagResource/{Arn}", 200] },
|
|
324
|
-
() => UntagResourceRequest
|
|
325
|
-
() => UntagResourceResult
|
|
324
|
+
() => UntagResourceRequest$,
|
|
325
|
+
() => UntagResourceResult$,
|
|
326
326
|
];
|
|
327
|
-
export var UpdateNotificationRule = [
|
|
327
|
+
export var UpdateNotificationRule$ = [
|
|
328
328
|
9,
|
|
329
329
|
n0,
|
|
330
330
|
_UNR,
|
|
331
331
|
{ [_h]: ["POST", "/updateNotificationRule", 200] },
|
|
332
|
-
() => UpdateNotificationRuleRequest
|
|
333
|
-
() => UpdateNotificationRuleResult
|
|
332
|
+
() => UpdateNotificationRuleRequest$,
|
|
333
|
+
() => UpdateNotificationRuleResult$,
|
|
334
334
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "./commands/CreateNotificationRuleCommand";
|
|
11
11
|
import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "./commands/DeleteNotificationRuleCommand";
|
|
@@ -154,15 +154,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
154
154
|
* Optional extensions
|
|
155
155
|
*/
|
|
156
156
|
extensions?: RuntimeExtension[];
|
|
157
|
-
/**
|
|
158
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
159
|
-
* may be overridden. A default will always be set by the client.
|
|
160
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
161
|
-
* the client.
|
|
162
|
-
* @alpha
|
|
163
|
-
*
|
|
164
|
-
*/
|
|
165
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
166
157
|
/**
|
|
167
158
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
168
159
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -86,6 +86,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
86
86
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
87
87
|
export type { CodestarNotificationsExtensionConfiguration } from "./extensionConfiguration";
|
|
88
88
|
export * from "./commands";
|
|
89
|
+
export * from "./schemas/schemas_0";
|
|
89
90
|
export * from "./pagination";
|
|
90
91
|
export * from "./models/enums";
|
|
91
92
|
export * from "./models/errors";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfi
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfi
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|