@aws-sdk/client-codestar-notifications 3.315.0 → 3.319.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/CodestarNotifications.js +17 -182
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1
- package/dist-es/CodestarNotifications.js +17 -182
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/CodestarNotifications.d.ts +81 -104
- package/dist-types/ts3.4/CodestarNotifications.d.ts +4 -1
- package/package.json +8 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CodestarNotifications = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CodestarNotificationsClient_1 = require("./CodestarNotificationsClient");
|
|
5
6
|
const CreateNotificationRuleCommand_1 = require("./commands/CreateNotificationRuleCommand");
|
|
6
7
|
const DeleteNotificationRuleCommand_1 = require("./commands/DeleteNotificationRuleCommand");
|
|
@@ -15,188 +16,22 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
15
16
|
const UnsubscribeCommand_1 = require("./commands/UnsubscribeCommand");
|
|
16
17
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
17
18
|
const UpdateNotificationRuleCommand_1 = require("./commands/UpdateNotificationRuleCommand");
|
|
19
|
+
const commands = {
|
|
20
|
+
CreateNotificationRuleCommand: CreateNotificationRuleCommand_1.CreateNotificationRuleCommand,
|
|
21
|
+
DeleteNotificationRuleCommand: DeleteNotificationRuleCommand_1.DeleteNotificationRuleCommand,
|
|
22
|
+
DeleteTargetCommand: DeleteTargetCommand_1.DeleteTargetCommand,
|
|
23
|
+
DescribeNotificationRuleCommand: DescribeNotificationRuleCommand_1.DescribeNotificationRuleCommand,
|
|
24
|
+
ListEventTypesCommand: ListEventTypesCommand_1.ListEventTypesCommand,
|
|
25
|
+
ListNotificationRulesCommand: ListNotificationRulesCommand_1.ListNotificationRulesCommand,
|
|
26
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
27
|
+
ListTargetsCommand: ListTargetsCommand_1.ListTargetsCommand,
|
|
28
|
+
SubscribeCommand: SubscribeCommand_1.SubscribeCommand,
|
|
29
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
30
|
+
UnsubscribeCommand: UnsubscribeCommand_1.UnsubscribeCommand,
|
|
31
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
32
|
+
UpdateNotificationRuleCommand: UpdateNotificationRuleCommand_1.UpdateNotificationRuleCommand,
|
|
33
|
+
};
|
|
18
34
|
class CodestarNotifications extends CodestarNotificationsClient_1.CodestarNotificationsClient {
|
|
19
|
-
createNotificationRule(args, optionsOrCb, cb) {
|
|
20
|
-
const command = new CreateNotificationRuleCommand_1.CreateNotificationRuleCommand(args);
|
|
21
|
-
if (typeof optionsOrCb === "function") {
|
|
22
|
-
this.send(command, optionsOrCb);
|
|
23
|
-
}
|
|
24
|
-
else if (typeof cb === "function") {
|
|
25
|
-
if (typeof optionsOrCb !== "object")
|
|
26
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
27
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
return this.send(command, optionsOrCb);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
deleteNotificationRule(args, optionsOrCb, cb) {
|
|
34
|
-
const command = new DeleteNotificationRuleCommand_1.DeleteNotificationRuleCommand(args);
|
|
35
|
-
if (typeof optionsOrCb === "function") {
|
|
36
|
-
this.send(command, optionsOrCb);
|
|
37
|
-
}
|
|
38
|
-
else if (typeof cb === "function") {
|
|
39
|
-
if (typeof optionsOrCb !== "object")
|
|
40
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
41
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
return this.send(command, optionsOrCb);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
deleteTarget(args, optionsOrCb, cb) {
|
|
48
|
-
const command = new DeleteTargetCommand_1.DeleteTargetCommand(args);
|
|
49
|
-
if (typeof optionsOrCb === "function") {
|
|
50
|
-
this.send(command, optionsOrCb);
|
|
51
|
-
}
|
|
52
|
-
else if (typeof cb === "function") {
|
|
53
|
-
if (typeof optionsOrCb !== "object")
|
|
54
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
55
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
return this.send(command, optionsOrCb);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
describeNotificationRule(args, optionsOrCb, cb) {
|
|
62
|
-
const command = new DescribeNotificationRuleCommand_1.DescribeNotificationRuleCommand(args);
|
|
63
|
-
if (typeof optionsOrCb === "function") {
|
|
64
|
-
this.send(command, optionsOrCb);
|
|
65
|
-
}
|
|
66
|
-
else if (typeof cb === "function") {
|
|
67
|
-
if (typeof optionsOrCb !== "object")
|
|
68
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
69
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
return this.send(command, optionsOrCb);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
listEventTypes(args, optionsOrCb, cb) {
|
|
76
|
-
const command = new ListEventTypesCommand_1.ListEventTypesCommand(args);
|
|
77
|
-
if (typeof optionsOrCb === "function") {
|
|
78
|
-
this.send(command, optionsOrCb);
|
|
79
|
-
}
|
|
80
|
-
else if (typeof cb === "function") {
|
|
81
|
-
if (typeof optionsOrCb !== "object")
|
|
82
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
83
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
return this.send(command, optionsOrCb);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
listNotificationRules(args, optionsOrCb, cb) {
|
|
90
|
-
const command = new ListNotificationRulesCommand_1.ListNotificationRulesCommand(args);
|
|
91
|
-
if (typeof optionsOrCb === "function") {
|
|
92
|
-
this.send(command, optionsOrCb);
|
|
93
|
-
}
|
|
94
|
-
else if (typeof cb === "function") {
|
|
95
|
-
if (typeof optionsOrCb !== "object")
|
|
96
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
97
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
return this.send(command, optionsOrCb);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
104
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
105
|
-
if (typeof optionsOrCb === "function") {
|
|
106
|
-
this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
else if (typeof cb === "function") {
|
|
109
|
-
if (typeof optionsOrCb !== "object")
|
|
110
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
111
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
return this.send(command, optionsOrCb);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
listTargets(args, optionsOrCb, cb) {
|
|
118
|
-
const command = new ListTargetsCommand_1.ListTargetsCommand(args);
|
|
119
|
-
if (typeof optionsOrCb === "function") {
|
|
120
|
-
this.send(command, optionsOrCb);
|
|
121
|
-
}
|
|
122
|
-
else if (typeof cb === "function") {
|
|
123
|
-
if (typeof optionsOrCb !== "object")
|
|
124
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
125
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
return this.send(command, optionsOrCb);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
subscribe(args, optionsOrCb, cb) {
|
|
132
|
-
const command = new SubscribeCommand_1.SubscribeCommand(args);
|
|
133
|
-
if (typeof optionsOrCb === "function") {
|
|
134
|
-
this.send(command, optionsOrCb);
|
|
135
|
-
}
|
|
136
|
-
else if (typeof cb === "function") {
|
|
137
|
-
if (typeof optionsOrCb !== "object")
|
|
138
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
139
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
140
|
-
}
|
|
141
|
-
else {
|
|
142
|
-
return this.send(command, optionsOrCb);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
tagResource(args, optionsOrCb, cb) {
|
|
146
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
147
|
-
if (typeof optionsOrCb === "function") {
|
|
148
|
-
this.send(command, optionsOrCb);
|
|
149
|
-
}
|
|
150
|
-
else if (typeof cb === "function") {
|
|
151
|
-
if (typeof optionsOrCb !== "object")
|
|
152
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
153
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
154
|
-
}
|
|
155
|
-
else {
|
|
156
|
-
return this.send(command, optionsOrCb);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
unsubscribe(args, optionsOrCb, cb) {
|
|
160
|
-
const command = new UnsubscribeCommand_1.UnsubscribeCommand(args);
|
|
161
|
-
if (typeof optionsOrCb === "function") {
|
|
162
|
-
this.send(command, optionsOrCb);
|
|
163
|
-
}
|
|
164
|
-
else if (typeof cb === "function") {
|
|
165
|
-
if (typeof optionsOrCb !== "object")
|
|
166
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
167
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
168
|
-
}
|
|
169
|
-
else {
|
|
170
|
-
return this.send(command, optionsOrCb);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
untagResource(args, optionsOrCb, cb) {
|
|
174
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
175
|
-
if (typeof optionsOrCb === "function") {
|
|
176
|
-
this.send(command, optionsOrCb);
|
|
177
|
-
}
|
|
178
|
-
else if (typeof cb === "function") {
|
|
179
|
-
if (typeof optionsOrCb !== "object")
|
|
180
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
181
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
182
|
-
}
|
|
183
|
-
else {
|
|
184
|
-
return this.send(command, optionsOrCb);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
updateNotificationRule(args, optionsOrCb, cb) {
|
|
188
|
-
const command = new UpdateNotificationRuleCommand_1.UpdateNotificationRuleCommand(args);
|
|
189
|
-
if (typeof optionsOrCb === "function") {
|
|
190
|
-
this.send(command, optionsOrCb);
|
|
191
|
-
}
|
|
192
|
-
else if (typeof cb === "function") {
|
|
193
|
-
if (typeof optionsOrCb !== "object")
|
|
194
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
195
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
196
|
-
}
|
|
197
|
-
else {
|
|
198
|
-
return this.send(command, optionsOrCb);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
35
|
}
|
|
202
36
|
exports.CodestarNotifications = CodestarNotifications;
|
|
37
|
+
(0, smithy_client_1.createAggregatedClient)(commands, CodestarNotifications);
|
|
@@ -14,7 +14,7 @@ const se_CreateNotificationRuleCommand = async (input, context) => {
|
|
|
14
14
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/createNotificationRule";
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
17
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
18
18
|
DetailType: [],
|
|
19
19
|
EventTypeIds: (_) => (0, smithy_client_1._json)(_),
|
|
20
20
|
Name: [],
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CodestarNotificationsClient } from "./CodestarNotificationsClient";
|
|
2
3
|
import { CreateNotificationRuleCommand, } from "./commands/CreateNotificationRuleCommand";
|
|
3
4
|
import { DeleteNotificationRuleCommand, } from "./commands/DeleteNotificationRuleCommand";
|
|
@@ -12,187 +13,21 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
12
13
|
import { UnsubscribeCommand } from "./commands/UnsubscribeCommand";
|
|
13
14
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
14
15
|
import { UpdateNotificationRuleCommand, } from "./commands/UpdateNotificationRuleCommand";
|
|
16
|
+
const commands = {
|
|
17
|
+
CreateNotificationRuleCommand,
|
|
18
|
+
DeleteNotificationRuleCommand,
|
|
19
|
+
DeleteTargetCommand,
|
|
20
|
+
DescribeNotificationRuleCommand,
|
|
21
|
+
ListEventTypesCommand,
|
|
22
|
+
ListNotificationRulesCommand,
|
|
23
|
+
ListTagsForResourceCommand,
|
|
24
|
+
ListTargetsCommand,
|
|
25
|
+
SubscribeCommand,
|
|
26
|
+
TagResourceCommand,
|
|
27
|
+
UnsubscribeCommand,
|
|
28
|
+
UntagResourceCommand,
|
|
29
|
+
UpdateNotificationRuleCommand,
|
|
30
|
+
};
|
|
15
31
|
export class CodestarNotifications extends CodestarNotificationsClient {
|
|
16
|
-
createNotificationRule(args, optionsOrCb, cb) {
|
|
17
|
-
const command = new CreateNotificationRuleCommand(args);
|
|
18
|
-
if (typeof optionsOrCb === "function") {
|
|
19
|
-
this.send(command, optionsOrCb);
|
|
20
|
-
}
|
|
21
|
-
else if (typeof cb === "function") {
|
|
22
|
-
if (typeof optionsOrCb !== "object")
|
|
23
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
24
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
return this.send(command, optionsOrCb);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
deleteNotificationRule(args, optionsOrCb, cb) {
|
|
31
|
-
const command = new DeleteNotificationRuleCommand(args);
|
|
32
|
-
if (typeof optionsOrCb === "function") {
|
|
33
|
-
this.send(command, optionsOrCb);
|
|
34
|
-
}
|
|
35
|
-
else if (typeof cb === "function") {
|
|
36
|
-
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
38
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
return this.send(command, optionsOrCb);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
deleteTarget(args, optionsOrCb, cb) {
|
|
45
|
-
const command = new DeleteTargetCommand(args);
|
|
46
|
-
if (typeof optionsOrCb === "function") {
|
|
47
|
-
this.send(command, optionsOrCb);
|
|
48
|
-
}
|
|
49
|
-
else if (typeof cb === "function") {
|
|
50
|
-
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
52
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
return this.send(command, optionsOrCb);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
describeNotificationRule(args, optionsOrCb, cb) {
|
|
59
|
-
const command = new DescribeNotificationRuleCommand(args);
|
|
60
|
-
if (typeof optionsOrCb === "function") {
|
|
61
|
-
this.send(command, optionsOrCb);
|
|
62
|
-
}
|
|
63
|
-
else if (typeof cb === "function") {
|
|
64
|
-
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
66
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
return this.send(command, optionsOrCb);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
listEventTypes(args, optionsOrCb, cb) {
|
|
73
|
-
const command = new ListEventTypesCommand(args);
|
|
74
|
-
if (typeof optionsOrCb === "function") {
|
|
75
|
-
this.send(command, optionsOrCb);
|
|
76
|
-
}
|
|
77
|
-
else if (typeof cb === "function") {
|
|
78
|
-
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
80
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
return this.send(command, optionsOrCb);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
listNotificationRules(args, optionsOrCb, cb) {
|
|
87
|
-
const command = new ListNotificationRulesCommand(args);
|
|
88
|
-
if (typeof optionsOrCb === "function") {
|
|
89
|
-
this.send(command, optionsOrCb);
|
|
90
|
-
}
|
|
91
|
-
else if (typeof cb === "function") {
|
|
92
|
-
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
return this.send(command, optionsOrCb);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
101
|
-
const command = new ListTagsForResourceCommand(args);
|
|
102
|
-
if (typeof optionsOrCb === "function") {
|
|
103
|
-
this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
else if (typeof cb === "function") {
|
|
106
|
-
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
listTargets(args, optionsOrCb, cb) {
|
|
115
|
-
const command = new ListTargetsCommand(args);
|
|
116
|
-
if (typeof optionsOrCb === "function") {
|
|
117
|
-
this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
else if (typeof cb === "function") {
|
|
120
|
-
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
122
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
return this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
subscribe(args, optionsOrCb, cb) {
|
|
129
|
-
const command = new SubscribeCommand(args);
|
|
130
|
-
if (typeof optionsOrCb === "function") {
|
|
131
|
-
this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
else if (typeof cb === "function") {
|
|
134
|
-
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
return this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
tagResource(args, optionsOrCb, cb) {
|
|
143
|
-
const command = new TagResourceCommand(args);
|
|
144
|
-
if (typeof optionsOrCb === "function") {
|
|
145
|
-
this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
else if (typeof cb === "function") {
|
|
148
|
-
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
150
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
return this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
unsubscribe(args, optionsOrCb, cb) {
|
|
157
|
-
const command = new UnsubscribeCommand(args);
|
|
158
|
-
if (typeof optionsOrCb === "function") {
|
|
159
|
-
this.send(command, optionsOrCb);
|
|
160
|
-
}
|
|
161
|
-
else if (typeof cb === "function") {
|
|
162
|
-
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
164
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
165
|
-
}
|
|
166
|
-
else {
|
|
167
|
-
return this.send(command, optionsOrCb);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
untagResource(args, optionsOrCb, cb) {
|
|
171
|
-
const command = new UntagResourceCommand(args);
|
|
172
|
-
if (typeof optionsOrCb === "function") {
|
|
173
|
-
this.send(command, optionsOrCb);
|
|
174
|
-
}
|
|
175
|
-
else if (typeof cb === "function") {
|
|
176
|
-
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
178
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
179
|
-
}
|
|
180
|
-
else {
|
|
181
|
-
return this.send(command, optionsOrCb);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
updateNotificationRule(args, optionsOrCb, cb) {
|
|
185
|
-
const command = new UpdateNotificationRuleCommand(args);
|
|
186
|
-
if (typeof optionsOrCb === "function") {
|
|
187
|
-
this.send(command, optionsOrCb);
|
|
188
|
-
}
|
|
189
|
-
else if (typeof cb === "function") {
|
|
190
|
-
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
192
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
return this.send(command, optionsOrCb);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
32
|
}
|
|
33
|
+
createAggregatedClient(commands, CodestarNotifications);
|
|
@@ -11,7 +11,7 @@ export const se_CreateNotificationRuleCommand = async (input, context) => {
|
|
|
11
11
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/createNotificationRule";
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
14
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
15
15
|
DetailType: [],
|
|
16
16
|
EventTypeIds: (_) => _json(_),
|
|
17
17
|
Name: [],
|
|
@@ -13,6 +13,86 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
13
13
|
import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
|
|
14
14
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
15
15
|
import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
|
|
16
|
+
export interface CodestarNotifications {
|
|
17
|
+
/**
|
|
18
|
+
* @see {@link CreateNotificationRuleCommand}
|
|
19
|
+
*/
|
|
20
|
+
createNotificationRule(args: CreateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotificationRuleCommandOutput>;
|
|
21
|
+
createNotificationRule(args: CreateNotificationRuleCommandInput, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
|
|
22
|
+
createNotificationRule(args: CreateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
|
|
23
|
+
/**
|
|
24
|
+
* @see {@link DeleteNotificationRuleCommand}
|
|
25
|
+
*/
|
|
26
|
+
deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationRuleCommandOutput>;
|
|
27
|
+
deleteNotificationRule(args: DeleteNotificationRuleCommandInput, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
|
|
28
|
+
deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
|
|
29
|
+
/**
|
|
30
|
+
* @see {@link DeleteTargetCommand}
|
|
31
|
+
*/
|
|
32
|
+
deleteTarget(args: DeleteTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTargetCommandOutput>;
|
|
33
|
+
deleteTarget(args: DeleteTargetCommandInput, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
|
|
34
|
+
deleteTarget(args: DeleteTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link DescribeNotificationRuleCommand}
|
|
37
|
+
*/
|
|
38
|
+
describeNotificationRule(args: DescribeNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationRuleCommandOutput>;
|
|
39
|
+
describeNotificationRule(args: DescribeNotificationRuleCommandInput, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
|
|
40
|
+
describeNotificationRule(args: DescribeNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link ListEventTypesCommand}
|
|
43
|
+
*/
|
|
44
|
+
listEventTypes(args: ListEventTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventTypesCommandOutput>;
|
|
45
|
+
listEventTypes(args: ListEventTypesCommandInput, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
|
|
46
|
+
listEventTypes(args: ListEventTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link ListNotificationRulesCommand}
|
|
49
|
+
*/
|
|
50
|
+
listNotificationRules(args: ListNotificationRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationRulesCommandOutput>;
|
|
51
|
+
listNotificationRules(args: ListNotificationRulesCommandInput, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
|
|
52
|
+
listNotificationRules(args: ListNotificationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
|
|
53
|
+
/**
|
|
54
|
+
* @see {@link ListTagsForResourceCommand}
|
|
55
|
+
*/
|
|
56
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
57
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
58
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link ListTargetsCommand}
|
|
61
|
+
*/
|
|
62
|
+
listTargets(args: ListTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsCommandOutput>;
|
|
63
|
+
listTargets(args: ListTargetsCommandInput, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
|
|
64
|
+
listTargets(args: ListTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link SubscribeCommand}
|
|
67
|
+
*/
|
|
68
|
+
subscribe(args: SubscribeCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeCommandOutput>;
|
|
69
|
+
subscribe(args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
|
|
70
|
+
subscribe(args: SubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link TagResourceCommand}
|
|
73
|
+
*/
|
|
74
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
75
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
76
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link UnsubscribeCommand}
|
|
79
|
+
*/
|
|
80
|
+
unsubscribe(args: UnsubscribeCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeCommandOutput>;
|
|
81
|
+
unsubscribe(args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
|
|
82
|
+
unsubscribe(args: UnsubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link UntagResourceCommand}
|
|
85
|
+
*/
|
|
86
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
87
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
88
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* @see {@link UpdateNotificationRuleCommand}
|
|
91
|
+
*/
|
|
92
|
+
updateNotificationRule(args: UpdateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotificationRuleCommandOutput>;
|
|
93
|
+
updateNotificationRule(args: UpdateNotificationRuleCommandInput, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
|
|
94
|
+
updateNotificationRule(args: UpdateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
|
|
95
|
+
}
|
|
16
96
|
/**
|
|
17
97
|
* @public
|
|
18
98
|
* <p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
|
|
@@ -100,108 +180,5 @@ import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput
|
|
|
100
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>.
|
|
101
181
|
* </p>
|
|
102
182
|
*/
|
|
103
|
-
export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
104
|
-
/**
|
|
105
|
-
* @public
|
|
106
|
-
* <p>Creates a notification rule for a resource. The rule specifies the events you want
|
|
107
|
-
* notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive
|
|
108
|
-
* them.</p>
|
|
109
|
-
*/
|
|
110
|
-
createNotificationRule(args: CreateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotificationRuleCommandOutput>;
|
|
111
|
-
createNotificationRule(args: CreateNotificationRuleCommandInput, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
|
|
112
|
-
createNotificationRule(args: CreateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
|
|
113
|
-
/**
|
|
114
|
-
* @public
|
|
115
|
-
* <p>Deletes a notification rule for a resource.</p>
|
|
116
|
-
*/
|
|
117
|
-
deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationRuleCommandOutput>;
|
|
118
|
-
deleteNotificationRule(args: DeleteNotificationRuleCommandInput, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
|
|
119
|
-
deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
* <p>Deletes a specified target for notifications.</p>
|
|
123
|
-
*/
|
|
124
|
-
deleteTarget(args: DeleteTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTargetCommandOutput>;
|
|
125
|
-
deleteTarget(args: DeleteTargetCommandInput, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
|
|
126
|
-
deleteTarget(args: DeleteTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
|
|
127
|
-
/**
|
|
128
|
-
* @public
|
|
129
|
-
* <p>Returns information about a specified notification rule.</p>
|
|
130
|
-
*/
|
|
131
|
-
describeNotificationRule(args: DescribeNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationRuleCommandOutput>;
|
|
132
|
-
describeNotificationRule(args: DescribeNotificationRuleCommandInput, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
|
|
133
|
-
describeNotificationRule(args: DescribeNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
|
|
134
|
-
/**
|
|
135
|
-
* @public
|
|
136
|
-
* <p>Returns information about the event types available for configuring notifications.</p>
|
|
137
|
-
*/
|
|
138
|
-
listEventTypes(args: ListEventTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventTypesCommandOutput>;
|
|
139
|
-
listEventTypes(args: ListEventTypesCommandInput, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
|
|
140
|
-
listEventTypes(args: ListEventTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
|
|
141
|
-
/**
|
|
142
|
-
* @public
|
|
143
|
-
* <p>Returns a list of the notification rules for an Amazon Web Services account.</p>
|
|
144
|
-
*/
|
|
145
|
-
listNotificationRules(args: ListNotificationRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationRulesCommandOutput>;
|
|
146
|
-
listNotificationRules(args: ListNotificationRulesCommandInput, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
|
|
147
|
-
listNotificationRules(args: ListNotificationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
|
|
148
|
-
/**
|
|
149
|
-
* @public
|
|
150
|
-
* <p>Returns a list of the tags associated with a notification rule.</p>
|
|
151
|
-
*/
|
|
152
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
153
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
154
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
155
|
-
/**
|
|
156
|
-
* @public
|
|
157
|
-
* <p>Returns a list of the notification rule targets for an Amazon Web Services account.</p>
|
|
158
|
-
*/
|
|
159
|
-
listTargets(args: ListTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsCommandOutput>;
|
|
160
|
-
listTargets(args: ListTargetsCommandInput, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
|
|
161
|
-
listTargets(args: ListTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
|
|
162
|
-
/**
|
|
163
|
-
* @public
|
|
164
|
-
* <p>Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the
|
|
165
|
-
* associated target can receive notifications when the events described in the rule are
|
|
166
|
-
* triggered.</p>
|
|
167
|
-
*/
|
|
168
|
-
subscribe(args: SubscribeCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeCommandOutput>;
|
|
169
|
-
subscribe(args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
|
|
170
|
-
subscribe(args: SubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
|
|
171
|
-
/**
|
|
172
|
-
* @public
|
|
173
|
-
* <p>Associates a set of provided tags with a notification rule.</p>
|
|
174
|
-
*/
|
|
175
|
-
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
176
|
-
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
177
|
-
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
178
|
-
/**
|
|
179
|
-
* @public
|
|
180
|
-
* <p>Removes an association between a notification rule and an Chatbot topic so that
|
|
181
|
-
* subscribers to that topic stop receiving notifications when the events described in the
|
|
182
|
-
* rule are triggered.</p>
|
|
183
|
-
*/
|
|
184
|
-
unsubscribe(args: UnsubscribeCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeCommandOutput>;
|
|
185
|
-
unsubscribe(args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
|
|
186
|
-
unsubscribe(args: UnsubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
|
|
187
|
-
/**
|
|
188
|
-
* @public
|
|
189
|
-
* <p>Removes the association between one or more provided tags and a notification
|
|
190
|
-
* rule.</p>
|
|
191
|
-
*/
|
|
192
|
-
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
193
|
-
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
194
|
-
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
195
|
-
/**
|
|
196
|
-
* @public
|
|
197
|
-
* <p>Updates a notification rule for a resource. You can change the events that trigger the
|
|
198
|
-
* notification rule, the status of the rule, and the targets that receive the
|
|
199
|
-
* notifications.</p>
|
|
200
|
-
* <note>
|
|
201
|
-
* <p>To add or remove tags for a notification rule, you must use <a>TagResource</a> and <a>UntagResource</a>.</p>
|
|
202
|
-
* </note>
|
|
203
|
-
*/
|
|
204
|
-
updateNotificationRule(args: UpdateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotificationRuleCommandOutput>;
|
|
205
|
-
updateNotificationRule(args: UpdateNotificationRuleCommandInput, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
|
|
206
|
-
updateNotificationRule(args: UpdateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
|
|
183
|
+
export declare class CodestarNotifications extends CodestarNotificationsClient implements CodestarNotifications {
|
|
207
184
|
}
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
UpdateNotificationRuleCommandInput,
|
|
53
53
|
UpdateNotificationRuleCommandOutput,
|
|
54
54
|
} from "./commands/UpdateNotificationRuleCommand";
|
|
55
|
-
export
|
|
55
|
+
export interface CodestarNotifications {
|
|
56
56
|
createNotificationRule(
|
|
57
57
|
args: CreateNotificationRuleCommandInput,
|
|
58
58
|
options?: __HttpHandlerOptions
|
|
@@ -223,3 +223,6 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
|
|
|
223
223
|
cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void
|
|
224
224
|
): void;
|
|
225
225
|
}
|
|
226
|
+
export declare class CodestarNotifications
|
|
227
|
+
extends CodestarNotificationsClient
|
|
228
|
+
implements CodestarNotifications {}
|
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.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|