@aws-sdk/client-codestar-notifications 3.34.0 → 3.37.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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/CodestarNotifications.js +0 -87
- package/dist-cjs/CodestarNotificationsClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CreateNotificationRuleCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DeleteNotificationRuleCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteTargetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeNotificationRuleCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListEventTypesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListNotificationRulesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTargetsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/SubscribeCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UnsubscribeCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateNotificationRuleCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -124
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListEventTypesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListNotificationRulesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListTargetsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +13 -19
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/CodestarNotifications.js +0 -1
- package/{dist/es → dist-es}/CodestarNotificationsClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteTargetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListEventTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListNotificationRulesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTargetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SubscribeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UnsubscribeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListEventTypesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListNotificationRulesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListTargetsPaginator.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/CodestarNotifications.d.ts +1 -1
- package/{dist/types → dist-types}/CodestarNotificationsClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEventTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListNotificationRulesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SubscribeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UnsubscribeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListEventTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListNotificationRulesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTargetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CodestarNotifications.d.ts +15 -138
- package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +80 -0
- package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListNotificationRulesCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +480 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListEventTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListNotificationRulesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTargetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/CodestarNotifications.ts +0 -540
- package/CodestarNotificationsClient.ts +0 -375
- package/commands/CreateNotificationRuleCommand.ts +0 -100
- package/commands/DeleteNotificationRuleCommand.ts +0 -98
- package/commands/DeleteTargetCommand.ts +0 -98
- package/commands/DescribeNotificationRuleCommand.ts +0 -98
- package/commands/ListEventTypesCommand.ts +0 -98
- package/commands/ListNotificationRulesCommand.ts +0 -98
- package/commands/ListTagsForResourceCommand.ts +0 -98
- package/commands/ListTargetsCommand.ts +0 -98
- package/commands/SubscribeCommand.ts +0 -100
- package/commands/TagResourceCommand.ts +0 -98
- package/commands/UnsubscribeCommand.ts +0 -100
- package/commands/UntagResourceCommand.ts +0 -99
- package/commands/UpdateNotificationRuleCommand.ts +0 -103
- package/dist/cjs/CodestarNotifications.js.map +0 -1
- package/dist/cjs/CodestarNotificationsClient.js +0 -127
- package/dist/cjs/CodestarNotificationsClient.js.map +0 -1
- package/dist/cjs/commands/CreateNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTargetCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/commands/ListEventTypesCommand.js.map +0 -1
- package/dist/cjs/commands/ListNotificationRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/SubscribeCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UnsubscribeCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListEventTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListNotificationRulesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTargetsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CodestarNotifications.js.map +0 -1
- package/dist/es/CodestarNotificationsClient.js.map +0 -1
- package/dist/es/commands/CreateNotificationRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteNotificationRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteTargetCommand.js.map +0 -1
- package/dist/es/commands/DescribeNotificationRuleCommand.js.map +0 -1
- package/dist/es/commands/ListEventTypesCommand.js.map +0 -1
- package/dist/es/commands/ListNotificationRulesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListTargetsCommand.js.map +0 -1
- package/dist/es/commands/SubscribeCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UnsubscribeCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateNotificationRuleCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -21
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListEventTypesPaginator.js.map +0 -1
- package/dist/es/pagination/ListNotificationRulesPaginator.js.map +0 -1
- package/dist/es/pagination/ListTargetsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/CodestarNotificationsClient.d.ts +0 -228
- package/dist/types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteTargetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListEventTypesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTargetsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/SubscribeCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UnsubscribeCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +0 -40
- package/dist/types/ts3.4/models/models_0.d.ts +0 -804
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1021
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListEventTypesPaginator.ts +0 -58
- package/pagination/ListNotificationRulesPaginator.ts +0 -58
- package/pagination/ListTargetsPaginator.ts +0 -54
- package/protocols/Aws_restJson1.ts +0 -1703
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -4,22 +4,13 @@ exports.paginateListTargets = void 0;
|
|
|
4
4
|
const CodestarNotifications_1 = require("../CodestarNotifications");
|
|
5
5
|
const CodestarNotificationsClient_1 = require("../CodestarNotificationsClient");
|
|
6
6
|
const ListTargetsCommand_1 = require("../commands/ListTargetsCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListTargetsCommand_1.ListTargetsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listTargets(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListTargets(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListTargets(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListTargets = paginateListTargets;
|
|
46
|
-
//# sourceMappingURL=ListTargetsPaginator.js.map
|
|
@@ -10,7 +10,7 @@ const serializeAws_restJson1CreateNotificationRuleCommand = async (input, contex
|
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/json",
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/createNotificationRule";
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify({
|
|
16
16
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
@@ -40,7 +40,7 @@ const serializeAws_restJson1DeleteNotificationRuleCommand = async (input, contex
|
|
|
40
40
|
const headers = {
|
|
41
41
|
"content-type": "application/json",
|
|
42
42
|
};
|
|
43
|
-
|
|
43
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/deleteNotificationRule";
|
|
44
44
|
let body;
|
|
45
45
|
body = JSON.stringify({
|
|
46
46
|
...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
|
|
@@ -61,7 +61,7 @@ const serializeAws_restJson1DeleteTargetCommand = async (input, context) => {
|
|
|
61
61
|
const headers = {
|
|
62
62
|
"content-type": "application/json",
|
|
63
63
|
};
|
|
64
|
-
|
|
64
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/deleteTarget";
|
|
65
65
|
let body;
|
|
66
66
|
body = JSON.stringify({
|
|
67
67
|
...(input.ForceUnsubscribeAll !== undefined &&
|
|
@@ -84,7 +84,7 @@ const serializeAws_restJson1DescribeNotificationRuleCommand = async (input, cont
|
|
|
84
84
|
const headers = {
|
|
85
85
|
"content-type": "application/json",
|
|
86
86
|
};
|
|
87
|
-
|
|
87
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/describeNotificationRule";
|
|
88
88
|
let body;
|
|
89
89
|
body = JSON.stringify({
|
|
90
90
|
...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
|
|
@@ -105,7 +105,7 @@ const serializeAws_restJson1ListEventTypesCommand = async (input, context) => {
|
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/json",
|
|
107
107
|
};
|
|
108
|
-
|
|
108
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listEventTypes";
|
|
109
109
|
let body;
|
|
110
110
|
body = JSON.stringify({
|
|
111
111
|
...(input.Filters !== undefined &&
|
|
@@ -129,7 +129,7 @@ const serializeAws_restJson1ListNotificationRulesCommand = async (input, context
|
|
|
129
129
|
const headers = {
|
|
130
130
|
"content-type": "application/json",
|
|
131
131
|
};
|
|
132
|
-
|
|
132
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listNotificationRules";
|
|
133
133
|
let body;
|
|
134
134
|
body = JSON.stringify({
|
|
135
135
|
...(input.Filters !== undefined &&
|
|
@@ -155,7 +155,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
155
155
|
const headers = {
|
|
156
156
|
"content-type": "application/json",
|
|
157
157
|
};
|
|
158
|
-
|
|
158
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listTagsForResource";
|
|
159
159
|
let body;
|
|
160
160
|
body = JSON.stringify({
|
|
161
161
|
...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
|
|
@@ -176,7 +176,7 @@ const serializeAws_restJson1ListTargetsCommand = async (input, context) => {
|
|
|
176
176
|
const headers = {
|
|
177
177
|
"content-type": "application/json",
|
|
178
178
|
};
|
|
179
|
-
|
|
179
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listTargets";
|
|
180
180
|
let body;
|
|
181
181
|
body = JSON.stringify({
|
|
182
182
|
...(input.Filters !== undefined &&
|
|
@@ -200,7 +200,7 @@ const serializeAws_restJson1SubscribeCommand = async (input, context) => {
|
|
|
200
200
|
const headers = {
|
|
201
201
|
"content-type": "application/json",
|
|
202
202
|
};
|
|
203
|
-
|
|
203
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/subscribe";
|
|
204
204
|
let body;
|
|
205
205
|
body = JSON.stringify({
|
|
206
206
|
...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
|
|
@@ -225,7 +225,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
225
225
|
const headers = {
|
|
226
226
|
"content-type": "application/json",
|
|
227
227
|
};
|
|
228
|
-
|
|
228
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/tagResource";
|
|
229
229
|
let body;
|
|
230
230
|
body = JSON.stringify({
|
|
231
231
|
...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
|
|
@@ -247,7 +247,7 @@ const serializeAws_restJson1UnsubscribeCommand = async (input, context) => {
|
|
|
247
247
|
const headers = {
|
|
248
248
|
"content-type": "application/json",
|
|
249
249
|
};
|
|
250
|
-
|
|
250
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/unsubscribe";
|
|
251
251
|
let body;
|
|
252
252
|
body = JSON.stringify({
|
|
253
253
|
...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
|
|
@@ -269,7 +269,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
269
269
|
const headers = {
|
|
270
270
|
"content-type": "application/json",
|
|
271
271
|
};
|
|
272
|
-
|
|
272
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/untagResource";
|
|
273
273
|
let body;
|
|
274
274
|
body = JSON.stringify({
|
|
275
275
|
...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
|
|
@@ -292,7 +292,7 @@ const serializeAws_restJson1UpdateNotificationRuleCommand = async (input, contex
|
|
|
292
292
|
const headers = {
|
|
293
293
|
"content-type": "application/json",
|
|
294
294
|
};
|
|
295
|
-
|
|
295
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/updateNotificationRule";
|
|
296
296
|
let body;
|
|
297
297
|
body = JSON.stringify({
|
|
298
298
|
...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }),
|
|
@@ -1393,14 +1393,12 @@ const deserializeMetadata = (output) => {
|
|
|
1393
1393
|
cfId: output.headers["x-amz-cf-id"],
|
|
1394
1394
|
});
|
|
1395
1395
|
};
|
|
1396
|
-
// Collect low-level response body stream to Uint8Array.
|
|
1397
1396
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
1398
1397
|
if (streamBody instanceof Uint8Array) {
|
|
1399
1398
|
return Promise.resolve(streamBody);
|
|
1400
1399
|
}
|
|
1401
1400
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
1402
1401
|
};
|
|
1403
|
-
// Encode Uint8Array data into string with utf-8.
|
|
1404
1402
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1405
1403
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
1406
1404
|
value !== null &&
|
|
@@ -1413,9 +1411,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
1413
1411
|
}
|
|
1414
1412
|
return {};
|
|
1415
1413
|
});
|
|
1416
|
-
/**
|
|
1417
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
1418
|
-
*/
|
|
1419
1414
|
const loadRestJsonErrorCode = (output, data) => {
|
|
1420
1415
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1421
1416
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -1440,4 +1435,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1440
1435
|
}
|
|
1441
1436
|
return "";
|
|
1442
1437
|
};
|
|
1443
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
15
|
const getRuntimeConfig = (config) => {
|
|
19
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
35
|
};
|
|
39
36
|
};
|
|
40
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
19
|
const getRuntimeConfig = (config) => {
|
|
23
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
40
|
};
|
|
44
41
|
};
|
|
45
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,6 +7,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
11
|
var CodestarNotificationsClient = (function (_super) {
|
|
12
12
|
__extends(CodestarNotificationsClient, _super);
|
|
13
13
|
function CodestarNotificationsClient(configuration) {
|
|
@@ -35,4 +35,3 @@ var CodestarNotificationsClient = (function (_super) {
|
|
|
35
35
|
return CodestarNotificationsClient;
|
|
36
36
|
}(__Client));
|
|
37
37
|
export { CodestarNotificationsClient };
|
|
38
|
-
//# sourceMappingURL=CodestarNotificationsClient.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateNotificationRuleCommand, serializeAws_restJson1CreateNotificationRuleCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateNotificationRuleCommand, serializeAws_restJson1CreateNotificationRuleCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateNotificationRuleCommand = (function (_super) {
|
|
7
7
|
__extends(CreateNotificationRuleCommand, _super);
|
|
8
8
|
function CreateNotificationRuleCommand(input) {
|
|
@@ -37,4 +37,3 @@ var CreateNotificationRuleCommand = (function (_super) {
|
|
|
37
37
|
return CreateNotificationRuleCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { CreateNotificationRuleCommand };
|
|
40
|
-
//# sourceMappingURL=CreateNotificationRuleCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DeleteNotificationRuleCommand, serializeAws_restJson1DeleteNotificationRuleCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteNotificationRuleCommand, serializeAws_restJson1DeleteNotificationRuleCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteNotificationRuleCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteNotificationRuleCommand, _super);
|
|
8
8
|
function DeleteNotificationRuleCommand(input) {
|
|
@@ -37,4 +37,3 @@ var DeleteNotificationRuleCommand = (function (_super) {
|
|
|
37
37
|
return DeleteNotificationRuleCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { DeleteNotificationRuleCommand };
|
|
40
|
-
//# sourceMappingURL=DeleteNotificationRuleCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DeleteTargetCommand, serializeAws_restJson1DeleteTargetCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteTargetCommand, serializeAws_restJson1DeleteTargetCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteTargetCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteTargetCommand, _super);
|
|
8
8
|
function DeleteTargetCommand(input) {
|
|
@@ -37,4 +37,3 @@ var DeleteTargetCommand = (function (_super) {
|
|
|
37
37
|
return DeleteTargetCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { DeleteTargetCommand };
|
|
40
|
-
//# sourceMappingURL=DeleteTargetCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DescribeNotificationRuleCommand, serializeAws_restJson1DescribeNotificationRuleCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeNotificationRuleCommand, serializeAws_restJson1DescribeNotificationRuleCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DescribeNotificationRuleCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeNotificationRuleCommand, _super);
|
|
8
8
|
function DescribeNotificationRuleCommand(input) {
|
|
@@ -37,4 +37,3 @@ var DescribeNotificationRuleCommand = (function (_super) {
|
|
|
37
37
|
return DescribeNotificationRuleCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { DescribeNotificationRuleCommand };
|
|
40
|
-
//# sourceMappingURL=DescribeNotificationRuleCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListEventTypesRequest, ListEventTypesResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1ListEventTypesCommand, serializeAws_restJson1ListEventTypesCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListEventTypesRequest, ListEventTypesResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListEventTypesCommand, serializeAws_restJson1ListEventTypesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var ListEventTypesCommand = (function (_super) {
|
|
7
7
|
__extends(ListEventTypesCommand, _super);
|
|
8
8
|
function ListEventTypesCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ListEventTypesCommand = (function (_super) {
|
|
|
37
37
|
return ListEventTypesCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ListEventTypesCommand };
|
|
40
|
-
//# sourceMappingURL=ListEventTypesCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListNotificationRulesRequest, ListNotificationRulesResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1ListNotificationRulesCommand, serializeAws_restJson1ListNotificationRulesCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListNotificationRulesRequest, ListNotificationRulesResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListNotificationRulesCommand, serializeAws_restJson1ListNotificationRulesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var ListNotificationRulesCommand = (function (_super) {
|
|
7
7
|
__extends(ListNotificationRulesCommand, _super);
|
|
8
8
|
function ListNotificationRulesCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ListNotificationRulesCommand = (function (_super) {
|
|
|
37
37
|
return ListNotificationRulesCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ListNotificationRulesCommand };
|
|
40
|
-
//# sourceMappingURL=ListNotificationRulesCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var ListTagsForResourceCommand = (function (_super) {
|
|
7
7
|
__extends(ListTagsForResourceCommand, _super);
|
|
8
8
|
function ListTagsForResourceCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ListTagsForResourceCommand = (function (_super) {
|
|
|
37
37
|
return ListTagsForResourceCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ListTagsForResourceCommand };
|
|
40
|
-
//# sourceMappingURL=ListTagsForResourceCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListTargetsRequest, ListTargetsResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1ListTargetsCommand, serializeAws_restJson1ListTargetsCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListTargetsRequest, ListTargetsResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListTargetsCommand, serializeAws_restJson1ListTargetsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var ListTargetsCommand = (function (_super) {
|
|
7
7
|
__extends(ListTargetsCommand, _super);
|
|
8
8
|
function ListTargetsCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ListTargetsCommand = (function (_super) {
|
|
|
37
37
|
return ListTargetsCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ListTargetsCommand };
|
|
40
|
-
//# sourceMappingURL=ListTargetsCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { SubscribeRequest, SubscribeResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1SubscribeCommand, serializeAws_restJson1SubscribeCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { SubscribeRequest, SubscribeResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1SubscribeCommand, serializeAws_restJson1SubscribeCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var SubscribeCommand = (function (_super) {
|
|
7
7
|
__extends(SubscribeCommand, _super);
|
|
8
8
|
function SubscribeCommand(input) {
|
|
@@ -37,4 +37,3 @@ var SubscribeCommand = (function (_super) {
|
|
|
37
37
|
return SubscribeCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { SubscribeCommand };
|
|
40
|
-
//# sourceMappingURL=SubscribeCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { TagResourceRequest, TagResourceResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { TagResourceRequest, TagResourceResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var TagResourceCommand = (function (_super) {
|
|
7
7
|
__extends(TagResourceCommand, _super);
|
|
8
8
|
function TagResourceCommand(input) {
|
|
@@ -37,4 +37,3 @@ var TagResourceCommand = (function (_super) {
|
|
|
37
37
|
return TagResourceCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { TagResourceCommand };
|
|
40
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UnsubscribeRequest, UnsubscribeResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1UnsubscribeCommand, serializeAws_restJson1UnsubscribeCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UnsubscribeRequest, UnsubscribeResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UnsubscribeCommand, serializeAws_restJson1UnsubscribeCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UnsubscribeCommand = (function (_super) {
|
|
7
7
|
__extends(UnsubscribeCommand, _super);
|
|
8
8
|
function UnsubscribeCommand(input) {
|
|
@@ -37,4 +37,3 @@ var UnsubscribeCommand = (function (_super) {
|
|
|
37
37
|
return UnsubscribeCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { UnsubscribeCommand };
|
|
40
|
-
//# sourceMappingURL=UnsubscribeCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UntagResourceCommand = (function (_super) {
|
|
7
7
|
__extends(UntagResourceCommand, _super);
|
|
8
8
|
function UntagResourceCommand(input) {
|
|
@@ -37,4 +37,3 @@ var UntagResourceCommand = (function (_super) {
|
|
|
37
37
|
return UntagResourceCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { UntagResourceCommand };
|
|
40
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UpdateNotificationRuleRequest, UpdateNotificationRuleResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1UpdateNotificationRuleCommand, serializeAws_restJson1UpdateNotificationRuleCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateNotificationRuleRequest, UpdateNotificationRuleResult } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateNotificationRuleCommand, serializeAws_restJson1UpdateNotificationRuleCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateNotificationRuleCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateNotificationRuleCommand, _super);
|
|
8
8
|
function UpdateNotificationRuleCommand(input) {
|
|
@@ -37,4 +37,3 @@ var UpdateNotificationRuleCommand = (function (_super) {
|
|
|
37
37
|
return UpdateNotificationRuleCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { UpdateNotificationRuleCommand };
|
|
40
|
-
//# sourceMappingURL=UpdateNotificationRuleCommand.js.map
|
|
@@ -33,7 +33,7 @@ var partitionHash = {
|
|
|
33
33
|
hostname: "codestar-notifications.{region}.amazonaws.com.cn",
|
|
34
34
|
},
|
|
35
35
|
"aws-iso": {
|
|
36
|
-
regions: ["us-iso-east-1"],
|
|
36
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
37
37
|
hostname: "codestar-notifications.{region}.c2s.ic.gov",
|
|
38
38
|
},
|
|
39
39
|
"aws-iso-b": {
|
|
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
|
|
|
50
50
|
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "codestar-notifications", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
51
51
|
});
|
|
52
52
|
}); };
|
|
53
|
-
//# sourceMappingURL=endpoints.js.map
|
|
File without changes
|
|
File without changes
|
|
@@ -200,4 +200,3 @@ export var UpdateNotificationRuleResult;
|
|
|
200
200
|
(function (UpdateNotificationRuleResult) {
|
|
201
201
|
UpdateNotificationRuleResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
202
202
|
})(UpdateNotificationRuleResult || (UpdateNotificationRuleResult = {}));
|
|
203
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -14,4 +14,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
14
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
15
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -19,4 +19,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
20
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
6
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
3
|
export var getRuntimeConfig = function (config) {
|
|
4
4
|
var _a, _b, _c, _d, _e;
|
|
5
5
|
return ({
|
|
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
11
11
|
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
1
2
|
import { CodestarNotificationsClient } from "./CodestarNotificationsClient";
|
|
2
3
|
import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "./commands/CreateNotificationRuleCommand";
|
|
3
4
|
import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "./commands/DeleteNotificationRuleCommand";
|
|
@@ -12,7 +13,6 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
12
13
|
import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
|
|
13
14
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
14
15
|
import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
|
|
15
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
16
16
|
/**
|
|
17
17
|
* <p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
|
|
18
18
|
* operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API
|