@aws-sdk/client-codeguruprofiler 3.315.0 → 3.316.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CodeGuruProfiler = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CodeGuruProfilerClient_1 = require("./CodeGuruProfilerClient");
|
|
5
6
|
const AddNotificationChannelsCommand_1 = require("./commands/AddNotificationChannelsCommand");
|
|
6
7
|
const BatchGetFrameMetricDataCommand_1 = require("./commands/BatchGetFrameMetricDataCommand");
|
|
@@ -25,328 +26,32 @@ const SubmitFeedbackCommand_1 = require("./commands/SubmitFeedbackCommand");
|
|
|
25
26
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
26
27
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
27
28
|
const UpdateProfilingGroupCommand_1 = require("./commands/UpdateProfilingGroupCommand");
|
|
29
|
+
const commands = {
|
|
30
|
+
AddNotificationChannelsCommand: AddNotificationChannelsCommand_1.AddNotificationChannelsCommand,
|
|
31
|
+
BatchGetFrameMetricDataCommand: BatchGetFrameMetricDataCommand_1.BatchGetFrameMetricDataCommand,
|
|
32
|
+
ConfigureAgentCommand: ConfigureAgentCommand_1.ConfigureAgentCommand,
|
|
33
|
+
CreateProfilingGroupCommand: CreateProfilingGroupCommand_1.CreateProfilingGroupCommand,
|
|
34
|
+
DeleteProfilingGroupCommand: DeleteProfilingGroupCommand_1.DeleteProfilingGroupCommand,
|
|
35
|
+
DescribeProfilingGroupCommand: DescribeProfilingGroupCommand_1.DescribeProfilingGroupCommand,
|
|
36
|
+
GetFindingsReportAccountSummaryCommand: GetFindingsReportAccountSummaryCommand_1.GetFindingsReportAccountSummaryCommand,
|
|
37
|
+
GetNotificationConfigurationCommand: GetNotificationConfigurationCommand_1.GetNotificationConfigurationCommand,
|
|
38
|
+
GetPolicyCommand: GetPolicyCommand_1.GetPolicyCommand,
|
|
39
|
+
GetProfileCommand: GetProfileCommand_1.GetProfileCommand,
|
|
40
|
+
GetRecommendationsCommand: GetRecommendationsCommand_1.GetRecommendationsCommand,
|
|
41
|
+
ListFindingsReportsCommand: ListFindingsReportsCommand_1.ListFindingsReportsCommand,
|
|
42
|
+
ListProfileTimesCommand: ListProfileTimesCommand_1.ListProfileTimesCommand,
|
|
43
|
+
ListProfilingGroupsCommand: ListProfilingGroupsCommand_1.ListProfilingGroupsCommand,
|
|
44
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
45
|
+
PostAgentProfileCommand: PostAgentProfileCommand_1.PostAgentProfileCommand,
|
|
46
|
+
PutPermissionCommand: PutPermissionCommand_1.PutPermissionCommand,
|
|
47
|
+
RemoveNotificationChannelCommand: RemoveNotificationChannelCommand_1.RemoveNotificationChannelCommand,
|
|
48
|
+
RemovePermissionCommand: RemovePermissionCommand_1.RemovePermissionCommand,
|
|
49
|
+
SubmitFeedbackCommand: SubmitFeedbackCommand_1.SubmitFeedbackCommand,
|
|
50
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
51
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
52
|
+
UpdateProfilingGroupCommand: UpdateProfilingGroupCommand_1.UpdateProfilingGroupCommand,
|
|
53
|
+
};
|
|
28
54
|
class CodeGuruProfiler extends CodeGuruProfilerClient_1.CodeGuruProfilerClient {
|
|
29
|
-
addNotificationChannels(args, optionsOrCb, cb) {
|
|
30
|
-
const command = new AddNotificationChannelsCommand_1.AddNotificationChannelsCommand(args);
|
|
31
|
-
if (typeof optionsOrCb === "function") {
|
|
32
|
-
this.send(command, optionsOrCb);
|
|
33
|
-
}
|
|
34
|
-
else if (typeof cb === "function") {
|
|
35
|
-
if (typeof optionsOrCb !== "object")
|
|
36
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
37
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
return this.send(command, optionsOrCb);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
batchGetFrameMetricData(args, optionsOrCb, cb) {
|
|
44
|
-
const command = new BatchGetFrameMetricDataCommand_1.BatchGetFrameMetricDataCommand(args);
|
|
45
|
-
if (typeof optionsOrCb === "function") {
|
|
46
|
-
this.send(command, optionsOrCb);
|
|
47
|
-
}
|
|
48
|
-
else if (typeof cb === "function") {
|
|
49
|
-
if (typeof optionsOrCb !== "object")
|
|
50
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
51
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
return this.send(command, optionsOrCb);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
configureAgent(args, optionsOrCb, cb) {
|
|
58
|
-
const command = new ConfigureAgentCommand_1.ConfigureAgentCommand(args);
|
|
59
|
-
if (typeof optionsOrCb === "function") {
|
|
60
|
-
this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
else if (typeof cb === "function") {
|
|
63
|
-
if (typeof optionsOrCb !== "object")
|
|
64
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
65
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
return this.send(command, optionsOrCb);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
createProfilingGroup(args, optionsOrCb, cb) {
|
|
72
|
-
const command = new CreateProfilingGroupCommand_1.CreateProfilingGroupCommand(args);
|
|
73
|
-
if (typeof optionsOrCb === "function") {
|
|
74
|
-
this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
else if (typeof cb === "function") {
|
|
77
|
-
if (typeof optionsOrCb !== "object")
|
|
78
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
79
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
return this.send(command, optionsOrCb);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
deleteProfilingGroup(args, optionsOrCb, cb) {
|
|
86
|
-
const command = new DeleteProfilingGroupCommand_1.DeleteProfilingGroupCommand(args);
|
|
87
|
-
if (typeof optionsOrCb === "function") {
|
|
88
|
-
this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
else if (typeof cb === "function") {
|
|
91
|
-
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
93
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
return this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
describeProfilingGroup(args, optionsOrCb, cb) {
|
|
100
|
-
const command = new DescribeProfilingGroupCommand_1.DescribeProfilingGroupCommand(args);
|
|
101
|
-
if (typeof optionsOrCb === "function") {
|
|
102
|
-
this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
else if (typeof cb === "function") {
|
|
105
|
-
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
107
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
return this.send(command, optionsOrCb);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
getFindingsReportAccountSummary(args, optionsOrCb, cb) {
|
|
114
|
-
const command = new GetFindingsReportAccountSummaryCommand_1.GetFindingsReportAccountSummaryCommand(args);
|
|
115
|
-
if (typeof optionsOrCb === "function") {
|
|
116
|
-
this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
else if (typeof cb === "function") {
|
|
119
|
-
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
121
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
return this.send(command, optionsOrCb);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
getNotificationConfiguration(args, optionsOrCb, cb) {
|
|
128
|
-
const command = new GetNotificationConfigurationCommand_1.GetNotificationConfigurationCommand(args);
|
|
129
|
-
if (typeof optionsOrCb === "function") {
|
|
130
|
-
this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
else if (typeof cb === "function") {
|
|
133
|
-
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
135
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
return this.send(command, optionsOrCb);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
getPolicy(args, optionsOrCb, cb) {
|
|
142
|
-
const command = new GetPolicyCommand_1.GetPolicyCommand(args);
|
|
143
|
-
if (typeof optionsOrCb === "function") {
|
|
144
|
-
this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
else if (typeof cb === "function") {
|
|
147
|
-
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
149
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
return this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
getProfile(args, optionsOrCb, cb) {
|
|
156
|
-
const command = new GetProfileCommand_1.GetProfileCommand(args);
|
|
157
|
-
if (typeof optionsOrCb === "function") {
|
|
158
|
-
this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
else if (typeof cb === "function") {
|
|
161
|
-
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
return this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
getRecommendations(args, optionsOrCb, cb) {
|
|
170
|
-
const command = new GetRecommendationsCommand_1.GetRecommendationsCommand(args);
|
|
171
|
-
if (typeof optionsOrCb === "function") {
|
|
172
|
-
this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
else if (typeof cb === "function") {
|
|
175
|
-
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
return this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
listFindingsReports(args, optionsOrCb, cb) {
|
|
184
|
-
const command = new ListFindingsReportsCommand_1.ListFindingsReportsCommand(args);
|
|
185
|
-
if (typeof optionsOrCb === "function") {
|
|
186
|
-
this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
else if (typeof cb === "function") {
|
|
189
|
-
if (typeof optionsOrCb !== "object")
|
|
190
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
191
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
return this.send(command, optionsOrCb);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
listProfileTimes(args, optionsOrCb, cb) {
|
|
198
|
-
const command = new ListProfileTimesCommand_1.ListProfileTimesCommand(args);
|
|
199
|
-
if (typeof optionsOrCb === "function") {
|
|
200
|
-
this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
else if (typeof cb === "function") {
|
|
203
|
-
if (typeof optionsOrCb !== "object")
|
|
204
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
205
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
return this.send(command, optionsOrCb);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
listProfilingGroups(args, optionsOrCb, cb) {
|
|
212
|
-
const command = new ListProfilingGroupsCommand_1.ListProfilingGroupsCommand(args);
|
|
213
|
-
if (typeof optionsOrCb === "function") {
|
|
214
|
-
this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
else if (typeof cb === "function") {
|
|
217
|
-
if (typeof optionsOrCb !== "object")
|
|
218
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
219
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
-
}
|
|
221
|
-
else {
|
|
222
|
-
return this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
226
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
227
|
-
if (typeof optionsOrCb === "function") {
|
|
228
|
-
this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
else if (typeof cb === "function") {
|
|
231
|
-
if (typeof optionsOrCb !== "object")
|
|
232
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
233
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
-
}
|
|
235
|
-
else {
|
|
236
|
-
return this.send(command, optionsOrCb);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
postAgentProfile(args, optionsOrCb, cb) {
|
|
240
|
-
const command = new PostAgentProfileCommand_1.PostAgentProfileCommand(args);
|
|
241
|
-
if (typeof optionsOrCb === "function") {
|
|
242
|
-
this.send(command, optionsOrCb);
|
|
243
|
-
}
|
|
244
|
-
else if (typeof cb === "function") {
|
|
245
|
-
if (typeof optionsOrCb !== "object")
|
|
246
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
247
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
return this.send(command, optionsOrCb);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
putPermission(args, optionsOrCb, cb) {
|
|
254
|
-
const command = new PutPermissionCommand_1.PutPermissionCommand(args);
|
|
255
|
-
if (typeof optionsOrCb === "function") {
|
|
256
|
-
this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
else if (typeof cb === "function") {
|
|
259
|
-
if (typeof optionsOrCb !== "object")
|
|
260
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
261
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
return this.send(command, optionsOrCb);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
removeNotificationChannel(args, optionsOrCb, cb) {
|
|
268
|
-
const command = new RemoveNotificationChannelCommand_1.RemoveNotificationChannelCommand(args);
|
|
269
|
-
if (typeof optionsOrCb === "function") {
|
|
270
|
-
this.send(command, optionsOrCb);
|
|
271
|
-
}
|
|
272
|
-
else if (typeof cb === "function") {
|
|
273
|
-
if (typeof optionsOrCb !== "object")
|
|
274
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
275
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
276
|
-
}
|
|
277
|
-
else {
|
|
278
|
-
return this.send(command, optionsOrCb);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
removePermission(args, optionsOrCb, cb) {
|
|
282
|
-
const command = new RemovePermissionCommand_1.RemovePermissionCommand(args);
|
|
283
|
-
if (typeof optionsOrCb === "function") {
|
|
284
|
-
this.send(command, optionsOrCb);
|
|
285
|
-
}
|
|
286
|
-
else if (typeof cb === "function") {
|
|
287
|
-
if (typeof optionsOrCb !== "object")
|
|
288
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
289
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
290
|
-
}
|
|
291
|
-
else {
|
|
292
|
-
return this.send(command, optionsOrCb);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
submitFeedback(args, optionsOrCb, cb) {
|
|
296
|
-
const command = new SubmitFeedbackCommand_1.SubmitFeedbackCommand(args);
|
|
297
|
-
if (typeof optionsOrCb === "function") {
|
|
298
|
-
this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
else if (typeof cb === "function") {
|
|
301
|
-
if (typeof optionsOrCb !== "object")
|
|
302
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
303
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
304
|
-
}
|
|
305
|
-
else {
|
|
306
|
-
return this.send(command, optionsOrCb);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
tagResource(args, optionsOrCb, cb) {
|
|
310
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
311
|
-
if (typeof optionsOrCb === "function") {
|
|
312
|
-
this.send(command, optionsOrCb);
|
|
313
|
-
}
|
|
314
|
-
else if (typeof cb === "function") {
|
|
315
|
-
if (typeof optionsOrCb !== "object")
|
|
316
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
317
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
318
|
-
}
|
|
319
|
-
else {
|
|
320
|
-
return this.send(command, optionsOrCb);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
untagResource(args, optionsOrCb, cb) {
|
|
324
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
325
|
-
if (typeof optionsOrCb === "function") {
|
|
326
|
-
this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
else if (typeof cb === "function") {
|
|
329
|
-
if (typeof optionsOrCb !== "object")
|
|
330
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
-
}
|
|
333
|
-
else {
|
|
334
|
-
return this.send(command, optionsOrCb);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
updateProfilingGroup(args, optionsOrCb, cb) {
|
|
338
|
-
const command = new UpdateProfilingGroupCommand_1.UpdateProfilingGroupCommand(args);
|
|
339
|
-
if (typeof optionsOrCb === "function") {
|
|
340
|
-
this.send(command, optionsOrCb);
|
|
341
|
-
}
|
|
342
|
-
else if (typeof cb === "function") {
|
|
343
|
-
if (typeof optionsOrCb !== "object")
|
|
344
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
345
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
346
|
-
}
|
|
347
|
-
else {
|
|
348
|
-
return this.send(command, optionsOrCb);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
55
|
}
|
|
352
56
|
exports.CodeGuruProfiler = CodeGuruProfiler;
|
|
57
|
+
(0, smithy_client_1.createAggregatedClient)(commands, CodeGuruProfiler);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CodeGuruProfilerClient } from "./CodeGuruProfilerClient";
|
|
2
3
|
import { AddNotificationChannelsCommand, } from "./commands/AddNotificationChannelsCommand";
|
|
3
4
|
import { BatchGetFrameMetricDataCommand, } from "./commands/BatchGetFrameMetricDataCommand";
|
|
@@ -22,327 +23,31 @@ import { SubmitFeedbackCommand, } from "./commands/SubmitFeedbackCommand";
|
|
|
22
23
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
23
24
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
24
25
|
import { UpdateProfilingGroupCommand, } from "./commands/UpdateProfilingGroupCommand";
|
|
26
|
+
const commands = {
|
|
27
|
+
AddNotificationChannelsCommand,
|
|
28
|
+
BatchGetFrameMetricDataCommand,
|
|
29
|
+
ConfigureAgentCommand,
|
|
30
|
+
CreateProfilingGroupCommand,
|
|
31
|
+
DeleteProfilingGroupCommand,
|
|
32
|
+
DescribeProfilingGroupCommand,
|
|
33
|
+
GetFindingsReportAccountSummaryCommand,
|
|
34
|
+
GetNotificationConfigurationCommand,
|
|
35
|
+
GetPolicyCommand,
|
|
36
|
+
GetProfileCommand,
|
|
37
|
+
GetRecommendationsCommand,
|
|
38
|
+
ListFindingsReportsCommand,
|
|
39
|
+
ListProfileTimesCommand,
|
|
40
|
+
ListProfilingGroupsCommand,
|
|
41
|
+
ListTagsForResourceCommand,
|
|
42
|
+
PostAgentProfileCommand,
|
|
43
|
+
PutPermissionCommand,
|
|
44
|
+
RemoveNotificationChannelCommand,
|
|
45
|
+
RemovePermissionCommand,
|
|
46
|
+
SubmitFeedbackCommand,
|
|
47
|
+
TagResourceCommand,
|
|
48
|
+
UntagResourceCommand,
|
|
49
|
+
UpdateProfilingGroupCommand,
|
|
50
|
+
};
|
|
25
51
|
export class CodeGuruProfiler extends CodeGuruProfilerClient {
|
|
26
|
-
addNotificationChannels(args, optionsOrCb, cb) {
|
|
27
|
-
const command = new AddNotificationChannelsCommand(args);
|
|
28
|
-
if (typeof optionsOrCb === "function") {
|
|
29
|
-
this.send(command, optionsOrCb);
|
|
30
|
-
}
|
|
31
|
-
else if (typeof cb === "function") {
|
|
32
|
-
if (typeof optionsOrCb !== "object")
|
|
33
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
34
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
return this.send(command, optionsOrCb);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
batchGetFrameMetricData(args, optionsOrCb, cb) {
|
|
41
|
-
const command = new BatchGetFrameMetricDataCommand(args);
|
|
42
|
-
if (typeof optionsOrCb === "function") {
|
|
43
|
-
this.send(command, optionsOrCb);
|
|
44
|
-
}
|
|
45
|
-
else if (typeof cb === "function") {
|
|
46
|
-
if (typeof optionsOrCb !== "object")
|
|
47
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
48
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
return this.send(command, optionsOrCb);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
configureAgent(args, optionsOrCb, cb) {
|
|
55
|
-
const command = new ConfigureAgentCommand(args);
|
|
56
|
-
if (typeof optionsOrCb === "function") {
|
|
57
|
-
this.send(command, optionsOrCb);
|
|
58
|
-
}
|
|
59
|
-
else if (typeof cb === "function") {
|
|
60
|
-
if (typeof optionsOrCb !== "object")
|
|
61
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
62
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
return this.send(command, optionsOrCb);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
createProfilingGroup(args, optionsOrCb, cb) {
|
|
69
|
-
const command = new CreateProfilingGroupCommand(args);
|
|
70
|
-
if (typeof optionsOrCb === "function") {
|
|
71
|
-
this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
else if (typeof cb === "function") {
|
|
74
|
-
if (typeof optionsOrCb !== "object")
|
|
75
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
76
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
return this.send(command, optionsOrCb);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
deleteProfilingGroup(args, optionsOrCb, cb) {
|
|
83
|
-
const command = new DeleteProfilingGroupCommand(args);
|
|
84
|
-
if (typeof optionsOrCb === "function") {
|
|
85
|
-
this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
87
|
-
else if (typeof cb === "function") {
|
|
88
|
-
if (typeof optionsOrCb !== "object")
|
|
89
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
90
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
return this.send(command, optionsOrCb);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
describeProfilingGroup(args, optionsOrCb, cb) {
|
|
97
|
-
const command = new DescribeProfilingGroupCommand(args);
|
|
98
|
-
if (typeof optionsOrCb === "function") {
|
|
99
|
-
this.send(command, optionsOrCb);
|
|
100
|
-
}
|
|
101
|
-
else if (typeof cb === "function") {
|
|
102
|
-
if (typeof optionsOrCb !== "object")
|
|
103
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
104
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
return this.send(command, optionsOrCb);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
getFindingsReportAccountSummary(args, optionsOrCb, cb) {
|
|
111
|
-
const command = new GetFindingsReportAccountSummaryCommand(args);
|
|
112
|
-
if (typeof optionsOrCb === "function") {
|
|
113
|
-
this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
else if (typeof cb === "function") {
|
|
116
|
-
if (typeof optionsOrCb !== "object")
|
|
117
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
118
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
return this.send(command, optionsOrCb);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
getNotificationConfiguration(args, optionsOrCb, cb) {
|
|
125
|
-
const command = new GetNotificationConfigurationCommand(args);
|
|
126
|
-
if (typeof optionsOrCb === "function") {
|
|
127
|
-
this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
else if (typeof cb === "function") {
|
|
130
|
-
if (typeof optionsOrCb !== "object")
|
|
131
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
132
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
return this.send(command, optionsOrCb);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
getPolicy(args, optionsOrCb, cb) {
|
|
139
|
-
const command = new GetPolicyCommand(args);
|
|
140
|
-
if (typeof optionsOrCb === "function") {
|
|
141
|
-
this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
else if (typeof cb === "function") {
|
|
144
|
-
if (typeof optionsOrCb !== "object")
|
|
145
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
146
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
return this.send(command, optionsOrCb);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
getProfile(args, optionsOrCb, cb) {
|
|
153
|
-
const command = new GetProfileCommand(args);
|
|
154
|
-
if (typeof optionsOrCb === "function") {
|
|
155
|
-
this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
else if (typeof cb === "function") {
|
|
158
|
-
if (typeof optionsOrCb !== "object")
|
|
159
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
160
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
return this.send(command, optionsOrCb);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
getRecommendations(args, optionsOrCb, cb) {
|
|
167
|
-
const command = new GetRecommendationsCommand(args);
|
|
168
|
-
if (typeof optionsOrCb === "function") {
|
|
169
|
-
this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
171
|
-
else if (typeof cb === "function") {
|
|
172
|
-
if (typeof optionsOrCb !== "object")
|
|
173
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
174
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
return this.send(command, optionsOrCb);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
listFindingsReports(args, optionsOrCb, cb) {
|
|
181
|
-
const command = new ListFindingsReportsCommand(args);
|
|
182
|
-
if (typeof optionsOrCb === "function") {
|
|
183
|
-
this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
else if (typeof cb === "function") {
|
|
186
|
-
if (typeof optionsOrCb !== "object")
|
|
187
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
188
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
189
|
-
}
|
|
190
|
-
else {
|
|
191
|
-
return this.send(command, optionsOrCb);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
listProfileTimes(args, optionsOrCb, cb) {
|
|
195
|
-
const command = new ListProfileTimesCommand(args);
|
|
196
|
-
if (typeof optionsOrCb === "function") {
|
|
197
|
-
this.send(command, optionsOrCb);
|
|
198
|
-
}
|
|
199
|
-
else if (typeof cb === "function") {
|
|
200
|
-
if (typeof optionsOrCb !== "object")
|
|
201
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
202
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
return this.send(command, optionsOrCb);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
listProfilingGroups(args, optionsOrCb, cb) {
|
|
209
|
-
const command = new ListProfilingGroupsCommand(args);
|
|
210
|
-
if (typeof optionsOrCb === "function") {
|
|
211
|
-
this.send(command, optionsOrCb);
|
|
212
|
-
}
|
|
213
|
-
else if (typeof cb === "function") {
|
|
214
|
-
if (typeof optionsOrCb !== "object")
|
|
215
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
216
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
return this.send(command, optionsOrCb);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
223
|
-
const command = new ListTagsForResourceCommand(args);
|
|
224
|
-
if (typeof optionsOrCb === "function") {
|
|
225
|
-
this.send(command, optionsOrCb);
|
|
226
|
-
}
|
|
227
|
-
else if (typeof cb === "function") {
|
|
228
|
-
if (typeof optionsOrCb !== "object")
|
|
229
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
230
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
return this.send(command, optionsOrCb);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
postAgentProfile(args, optionsOrCb, cb) {
|
|
237
|
-
const command = new PostAgentProfileCommand(args);
|
|
238
|
-
if (typeof optionsOrCb === "function") {
|
|
239
|
-
this.send(command, optionsOrCb);
|
|
240
|
-
}
|
|
241
|
-
else if (typeof cb === "function") {
|
|
242
|
-
if (typeof optionsOrCb !== "object")
|
|
243
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
244
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
245
|
-
}
|
|
246
|
-
else {
|
|
247
|
-
return this.send(command, optionsOrCb);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
putPermission(args, optionsOrCb, cb) {
|
|
251
|
-
const command = new PutPermissionCommand(args);
|
|
252
|
-
if (typeof optionsOrCb === "function") {
|
|
253
|
-
this.send(command, optionsOrCb);
|
|
254
|
-
}
|
|
255
|
-
else if (typeof cb === "function") {
|
|
256
|
-
if (typeof optionsOrCb !== "object")
|
|
257
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
258
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
259
|
-
}
|
|
260
|
-
else {
|
|
261
|
-
return this.send(command, optionsOrCb);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
removeNotificationChannel(args, optionsOrCb, cb) {
|
|
265
|
-
const command = new RemoveNotificationChannelCommand(args);
|
|
266
|
-
if (typeof optionsOrCb === "function") {
|
|
267
|
-
this.send(command, optionsOrCb);
|
|
268
|
-
}
|
|
269
|
-
else if (typeof cb === "function") {
|
|
270
|
-
if (typeof optionsOrCb !== "object")
|
|
271
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
272
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
273
|
-
}
|
|
274
|
-
else {
|
|
275
|
-
return this.send(command, optionsOrCb);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
removePermission(args, optionsOrCb, cb) {
|
|
279
|
-
const command = new RemovePermissionCommand(args);
|
|
280
|
-
if (typeof optionsOrCb === "function") {
|
|
281
|
-
this.send(command, optionsOrCb);
|
|
282
|
-
}
|
|
283
|
-
else if (typeof cb === "function") {
|
|
284
|
-
if (typeof optionsOrCb !== "object")
|
|
285
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
286
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
287
|
-
}
|
|
288
|
-
else {
|
|
289
|
-
return this.send(command, optionsOrCb);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
submitFeedback(args, optionsOrCb, cb) {
|
|
293
|
-
const command = new SubmitFeedbackCommand(args);
|
|
294
|
-
if (typeof optionsOrCb === "function") {
|
|
295
|
-
this.send(command, optionsOrCb);
|
|
296
|
-
}
|
|
297
|
-
else if (typeof cb === "function") {
|
|
298
|
-
if (typeof optionsOrCb !== "object")
|
|
299
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
300
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
301
|
-
}
|
|
302
|
-
else {
|
|
303
|
-
return this.send(command, optionsOrCb);
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
tagResource(args, optionsOrCb, cb) {
|
|
307
|
-
const command = new TagResourceCommand(args);
|
|
308
|
-
if (typeof optionsOrCb === "function") {
|
|
309
|
-
this.send(command, optionsOrCb);
|
|
310
|
-
}
|
|
311
|
-
else if (typeof cb === "function") {
|
|
312
|
-
if (typeof optionsOrCb !== "object")
|
|
313
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
314
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
315
|
-
}
|
|
316
|
-
else {
|
|
317
|
-
return this.send(command, optionsOrCb);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
untagResource(args, optionsOrCb, cb) {
|
|
321
|
-
const command = new UntagResourceCommand(args);
|
|
322
|
-
if (typeof optionsOrCb === "function") {
|
|
323
|
-
this.send(command, optionsOrCb);
|
|
324
|
-
}
|
|
325
|
-
else if (typeof cb === "function") {
|
|
326
|
-
if (typeof optionsOrCb !== "object")
|
|
327
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
328
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
329
|
-
}
|
|
330
|
-
else {
|
|
331
|
-
return this.send(command, optionsOrCb);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
updateProfilingGroup(args, optionsOrCb, cb) {
|
|
335
|
-
const command = new UpdateProfilingGroupCommand(args);
|
|
336
|
-
if (typeof optionsOrCb === "function") {
|
|
337
|
-
this.send(command, optionsOrCb);
|
|
338
|
-
}
|
|
339
|
-
else if (typeof cb === "function") {
|
|
340
|
-
if (typeof optionsOrCb !== "object")
|
|
341
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
342
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
343
|
-
}
|
|
344
|
-
else {
|
|
345
|
-
return this.send(command, optionsOrCb);
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
52
|
}
|
|
53
|
+
createAggregatedClient(commands, CodeGuruProfiler);
|
|
@@ -23,346 +23,171 @@ import { SubmitFeedbackCommandInput, SubmitFeedbackCommandOutput } from "./comma
|
|
|
23
23
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
24
24
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
25
|
import { UpdateProfilingGroupCommandInput, UpdateProfilingGroupCommandOutput } from "./commands/UpdateProfilingGroupCommand";
|
|
26
|
-
|
|
27
|
-
* @public
|
|
28
|
-
* <p>
|
|
29
|
-
* This section provides documentation for the Amazon CodeGuru Profiler API operations.
|
|
30
|
-
* </p>
|
|
31
|
-
* <p>
|
|
32
|
-
* Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides
|
|
33
|
-
* recommendations that can help you fine-tune your application performance. Using machine learning
|
|
34
|
-
* algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can
|
|
35
|
-
* improve efficiency and remove CPU bottlenecks.
|
|
36
|
-
* </p>
|
|
37
|
-
* <p>
|
|
38
|
-
* Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is
|
|
39
|
-
* running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization.
|
|
40
|
-
* </p>
|
|
41
|
-
* <note>
|
|
42
|
-
* <p>Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM)
|
|
43
|
-
* languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications
|
|
44
|
-
* written in Java, it can also generate visualizations and a subset of recommendations for
|
|
45
|
-
* applications written in other JVM languages and Python.</p>
|
|
46
|
-
* </note>
|
|
47
|
-
* <p>
|
|
48
|
-
* For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/what-is-codeguru-profiler.html">What is Amazon CodeGuru Profiler</a> in
|
|
49
|
-
* the <i>Amazon CodeGuru Profiler User Guide</i>.
|
|
50
|
-
* </p>
|
|
51
|
-
*/
|
|
52
|
-
export declare class CodeGuruProfiler extends CodeGuruProfilerClient {
|
|
26
|
+
export interface CodeGuruProfiler {
|
|
53
27
|
/**
|
|
54
|
-
* @
|
|
55
|
-
* <p>Add up to 2 anomaly notifications channels for a profiling group.</p>
|
|
28
|
+
* @see {@link AddNotificationChannelsCommand}
|
|
56
29
|
*/
|
|
57
30
|
addNotificationChannels(args: AddNotificationChannelsCommandInput, options?: __HttpHandlerOptions): Promise<AddNotificationChannelsCommandOutput>;
|
|
58
31
|
addNotificationChannels(args: AddNotificationChannelsCommandInput, cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void): void;
|
|
59
32
|
addNotificationChannels(args: AddNotificationChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void): void;
|
|
60
33
|
/**
|
|
61
|
-
* @
|
|
62
|
-
* <p>
|
|
63
|
-
* Returns the time series of values for a requested list
|
|
64
|
-
* of frame metrics from a time period.</p>
|
|
34
|
+
* @see {@link BatchGetFrameMetricDataCommand}
|
|
65
35
|
*/
|
|
66
36
|
batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetFrameMetricDataCommandOutput>;
|
|
67
37
|
batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void): void;
|
|
68
38
|
batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void): void;
|
|
69
39
|
/**
|
|
70
|
-
* @
|
|
71
|
-
* <p>
|
|
72
|
-
* Used by profiler agents to report their current state and to receive remote
|
|
73
|
-
* configuration updates. For example, <code>ConfigureAgent</code> can be used
|
|
74
|
-
* to tell an agent whether to profile or not and for how long to return profiling data.
|
|
75
|
-
* </p>
|
|
40
|
+
* @see {@link ConfigureAgentCommand}
|
|
76
41
|
*/
|
|
77
42
|
configureAgent(args: ConfigureAgentCommandInput, options?: __HttpHandlerOptions): Promise<ConfigureAgentCommandOutput>;
|
|
78
43
|
configureAgent(args: ConfigureAgentCommandInput, cb: (err: any, data?: ConfigureAgentCommandOutput) => void): void;
|
|
79
44
|
configureAgent(args: ConfigureAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureAgentCommandOutput) => void): void;
|
|
80
45
|
/**
|
|
81
|
-
* @
|
|
82
|
-
* <p>Creates a profiling group.</p>
|
|
46
|
+
* @see {@link CreateProfilingGroupCommand}
|
|
83
47
|
*/
|
|
84
48
|
createProfilingGroup(args: CreateProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateProfilingGroupCommandOutput>;
|
|
85
49
|
createProfilingGroup(args: CreateProfilingGroupCommandInput, cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void): void;
|
|
86
50
|
createProfilingGroup(args: CreateProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void): void;
|
|
87
51
|
/**
|
|
88
|
-
* @
|
|
89
|
-
* <p>Deletes a profiling group.</p>
|
|
52
|
+
* @see {@link DeleteProfilingGroupCommand}
|
|
90
53
|
*/
|
|
91
54
|
deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfilingGroupCommandOutput>;
|
|
92
55
|
deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void): void;
|
|
93
56
|
deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void): void;
|
|
94
57
|
/**
|
|
95
|
-
* @
|
|
96
|
-
* <p>
|
|
97
|
-
* Returns a <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
|
|
98
|
-
* <code>ProfilingGroupDescription</code>
|
|
99
|
-
* </a>
|
|
100
|
-
* object that contains information about the requested profiling group.
|
|
101
|
-
* </p>
|
|
58
|
+
* @see {@link DescribeProfilingGroupCommand}
|
|
102
59
|
*/
|
|
103
60
|
describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProfilingGroupCommandOutput>;
|
|
104
61
|
describeProfilingGroup(args: DescribeProfilingGroupCommandInput, cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void): void;
|
|
105
62
|
describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void): void;
|
|
106
63
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* <p>
|
|
109
|
-
* Returns a list of
|
|
110
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html">
|
|
111
|
-
* <code>FindingsReportSummary</code>
|
|
112
|
-
* </a>
|
|
113
|
-
* objects that contain analysis results for all profiling groups in your AWS account.
|
|
114
|
-
* </p>
|
|
64
|
+
* @see {@link GetFindingsReportAccountSummaryCommand}
|
|
115
65
|
*/
|
|
116
66
|
getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingsReportAccountSummaryCommandOutput>;
|
|
117
67
|
getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void): void;
|
|
118
68
|
getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void): void;
|
|
119
69
|
/**
|
|
120
|
-
* @
|
|
121
|
-
* <p>Get the current configuration for anomaly notifications for a profiling group.</p>
|
|
70
|
+
* @see {@link GetNotificationConfigurationCommand}
|
|
122
71
|
*/
|
|
123
72
|
getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetNotificationConfigurationCommandOutput>;
|
|
124
73
|
getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void): void;
|
|
125
74
|
getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void): void;
|
|
126
75
|
/**
|
|
127
|
-
* @
|
|
128
|
-
* <p>
|
|
129
|
-
* Returns the JSON-formatted resource-based policy on a profiling group.
|
|
130
|
-
* </p>
|
|
76
|
+
* @see {@link GetPolicyCommand}
|
|
131
77
|
*/
|
|
132
78
|
getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
|
|
133
79
|
getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
|
|
134
80
|
getPolicy(args: GetPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
|
|
135
81
|
/**
|
|
136
|
-
* @
|
|
137
|
-
* <p>
|
|
138
|
-
* Gets the aggregated profile of a profiling group for a specified time range.
|
|
139
|
-
* Amazon CodeGuru Profiler collects posted agent profiles for a profiling group
|
|
140
|
-
* into aggregated profiles.
|
|
141
|
-
* </p>
|
|
142
|
-
*
|
|
143
|
-
* <note>
|
|
144
|
-
* <p>
|
|
145
|
-
* Because aggregated profiles expire over time <code>GetProfile</code> is not idempotent.
|
|
146
|
-
* </p>
|
|
147
|
-
* </note>
|
|
148
|
-
*
|
|
149
|
-
* <p>
|
|
150
|
-
* Specify the time range for the requested aggregated profile using 1 or 2 of the following parameters: <code>startTime</code>,
|
|
151
|
-
* <code>endTime</code>, <code>period</code>. The maximum time range allowed is 7 days. If you specify all 3 parameters,
|
|
152
|
-
* an exception is thrown. If you specify only <code>period</code>, the latest aggregated profile is returned.
|
|
153
|
-
* </p>
|
|
154
|
-
*
|
|
155
|
-
* <p>
|
|
156
|
-
* Aggregated profiles are available with aggregation periods of 5 minutes, 1 hour, and 1 day, aligned to
|
|
157
|
-
* UTC. The aggregation period of an aggregated profile determines how long it is retained. For more
|
|
158
|
-
* information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html">
|
|
159
|
-
* <code>AggregatedProfileTime</code>
|
|
160
|
-
* </a>. The aggregated profile's aggregation period determines how long
|
|
161
|
-
* it is retained by CodeGuru Profiler.
|
|
162
|
-
* </p>
|
|
163
|
-
*
|
|
164
|
-
* <ul>
|
|
165
|
-
* <li>
|
|
166
|
-
* <p>
|
|
167
|
-
* If the aggregation period is 5 minutes, the aggregated profile is retained for 15 days.
|
|
168
|
-
* </p>
|
|
169
|
-
* </li>
|
|
170
|
-
* <li>
|
|
171
|
-
* <p>
|
|
172
|
-
* If the aggregation period is 1 hour, the aggregated profile is retained for 60 days.
|
|
173
|
-
* </p>
|
|
174
|
-
* </li>
|
|
175
|
-
* <li>
|
|
176
|
-
* <p>
|
|
177
|
-
* If the aggregation period is 1 day, the aggregated profile is retained for 3 years.
|
|
178
|
-
* </p>
|
|
179
|
-
* </li>
|
|
180
|
-
* </ul>
|
|
181
|
-
*
|
|
182
|
-
* <p>There are two use cases for calling <code>GetProfile</code>.</p>
|
|
183
|
-
* <ol>
|
|
184
|
-
* <li>
|
|
185
|
-
* <p>
|
|
186
|
-
* If you want to return an aggregated profile that already exists, use
|
|
187
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ListProfileTimes.html">
|
|
188
|
-
* <code>ListProfileTimes</code>
|
|
189
|
-
* </a> to
|
|
190
|
-
* view the time ranges of existing aggregated profiles. Use them in a <code>GetProfile</code> request to return a specific,
|
|
191
|
-
* existing aggregated profile.
|
|
192
|
-
* </p>
|
|
193
|
-
* </li>
|
|
194
|
-
* <li>
|
|
195
|
-
* <p>
|
|
196
|
-
* If you want to return an aggregated profile for a time range that doesn't align with an existing aggregated profile,
|
|
197
|
-
* then CodeGuru Profiler makes a best effort to combine existing aggregated profiles from the requested time
|
|
198
|
-
* range and return them as one aggregated profile.
|
|
199
|
-
* </p>
|
|
200
|
-
*
|
|
201
|
-
* <p> If aggregated profiles do not exist for the full time range requested, then
|
|
202
|
-
* aggregated profiles for a smaller time range are returned. For example, if the
|
|
203
|
-
* requested time range is from 00:00 to 00:20, and the existing aggregated profiles are
|
|
204
|
-
* from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 are returned. </p>
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
* </li>
|
|
208
|
-
* </ol>
|
|
82
|
+
* @see {@link GetProfileCommand}
|
|
209
83
|
*/
|
|
210
84
|
getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileCommandOutput>;
|
|
211
85
|
getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
212
86
|
getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
213
87
|
/**
|
|
214
|
-
* @
|
|
215
|
-
* <p>
|
|
216
|
-
* Returns a list of
|
|
217
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Recommendation.html">
|
|
218
|
-
* <code>Recommendation</code>
|
|
219
|
-
* </a>
|
|
220
|
-
* objects that contain recommendations for a profiling group for a given time period. A list of
|
|
221
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Anomaly.html">
|
|
222
|
-
* <code>Anomaly</code>
|
|
223
|
-
* </a>
|
|
224
|
-
* objects that contains details about anomalies detected in the profiling group for the same time period is also
|
|
225
|
-
* returned.
|
|
226
|
-
* </p>
|
|
88
|
+
* @see {@link GetRecommendationsCommand}
|
|
227
89
|
*/
|
|
228
90
|
getRecommendations(args: GetRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationsCommandOutput>;
|
|
229
91
|
getRecommendations(args: GetRecommendationsCommandInput, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
230
92
|
getRecommendations(args: GetRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
231
93
|
/**
|
|
232
|
-
* @
|
|
233
|
-
* <p>List the available reports for a given profiling group and time range.</p>
|
|
94
|
+
* @see {@link ListFindingsReportsCommand}
|
|
234
95
|
*/
|
|
235
96
|
listFindingsReports(args: ListFindingsReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsReportsCommandOutput>;
|
|
236
97
|
listFindingsReports(args: ListFindingsReportsCommandInput, cb: (err: any, data?: ListFindingsReportsCommandOutput) => void): void;
|
|
237
98
|
listFindingsReports(args: ListFindingsReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsReportsCommandOutput) => void): void;
|
|
238
99
|
/**
|
|
239
|
-
* @
|
|
240
|
-
* <p>Lists the start times of the available aggregated profiles of a profiling group
|
|
241
|
-
* for an aggregation period within the specified time range.</p>
|
|
100
|
+
* @see {@link ListProfileTimesCommand}
|
|
242
101
|
*/
|
|
243
102
|
listProfileTimes(args: ListProfileTimesCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileTimesCommandOutput>;
|
|
244
103
|
listProfileTimes(args: ListProfileTimesCommandInput, cb: (err: any, data?: ListProfileTimesCommandOutput) => void): void;
|
|
245
104
|
listProfileTimes(args: ListProfileTimesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileTimesCommandOutput) => void): void;
|
|
246
105
|
/**
|
|
247
|
-
* @
|
|
248
|
-
* <p>
|
|
249
|
-
* Returns a list of profiling groups. The profiling groups are returned as
|
|
250
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
|
|
251
|
-
* <code>ProfilingGroupDescription</code>
|
|
252
|
-
* </a>
|
|
253
|
-
* objects.
|
|
254
|
-
* </p>
|
|
106
|
+
* @see {@link ListProfilingGroupsCommand}
|
|
255
107
|
*/
|
|
256
108
|
listProfilingGroups(args: ListProfilingGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListProfilingGroupsCommandOutput>;
|
|
257
109
|
listProfilingGroups(args: ListProfilingGroupsCommandInput, cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void): void;
|
|
258
110
|
listProfilingGroups(args: ListProfilingGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void): void;
|
|
259
111
|
/**
|
|
260
|
-
* @
|
|
261
|
-
* <p>
|
|
262
|
-
* Returns a list of the tags that are assigned to a specified resource.
|
|
263
|
-
* </p>
|
|
112
|
+
* @see {@link ListTagsForResourceCommand}
|
|
264
113
|
*/
|
|
265
114
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
266
115
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
267
116
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
268
117
|
/**
|
|
269
|
-
* @
|
|
270
|
-
* <p>
|
|
271
|
-
* Submits profiling data to an aggregated profile of a profiling group. To get an
|
|
272
|
-
* aggregated profile that is created with this profiling data, use
|
|
273
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_GetProfile.html">
|
|
274
|
-
* <code>GetProfile</code>
|
|
275
|
-
* </a>.
|
|
276
|
-
* </p>
|
|
118
|
+
* @see {@link PostAgentProfileCommand}
|
|
277
119
|
*/
|
|
278
120
|
postAgentProfile(args: PostAgentProfileCommandInput, options?: __HttpHandlerOptions): Promise<PostAgentProfileCommandOutput>;
|
|
279
121
|
postAgentProfile(args: PostAgentProfileCommandInput, cb: (err: any, data?: PostAgentProfileCommandOutput) => void): void;
|
|
280
122
|
postAgentProfile(args: PostAgentProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostAgentProfileCommandOutput) => void): void;
|
|
281
123
|
/**
|
|
282
|
-
* @
|
|
283
|
-
* <p>
|
|
284
|
-
* Adds permissions to a profiling group's resource-based policy
|
|
285
|
-
* that are provided using an action group. If a profiling group doesn't have
|
|
286
|
-
* a resource-based policy, one is created for it using the permissions in the action group and
|
|
287
|
-
* the roles and users in the <code>principals</code> parameter.
|
|
288
|
-
* </p>
|
|
289
|
-
*
|
|
290
|
-
* <p> The one supported action group that can be added is <code>agentPermission</code>
|
|
291
|
-
* which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For
|
|
292
|
-
* more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based
|
|
293
|
-
* policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User
|
|
294
|
-
* Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
|
|
295
|
-
* <code>ConfigureAgent</code>
|
|
296
|
-
* </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html">
|
|
297
|
-
* <code>PostAgentProfile</code>
|
|
298
|
-
* </a>. </p>
|
|
299
|
-
*
|
|
300
|
-
* <p>
|
|
301
|
-
* The first time you call <code>PutPermission</code> on a profiling group, do not specify a <code>revisionId</code> because
|
|
302
|
-
* it doesn't have a resource-based policy. Subsequent calls must provide a <code>revisionId</code> to specify
|
|
303
|
-
* which revision of the resource-based policy to add the permissions to.
|
|
304
|
-
* </p>
|
|
305
|
-
*
|
|
306
|
-
* <p>
|
|
307
|
-
* The response contains the profiling group's JSON-formatted resource policy.
|
|
308
|
-
* </p>
|
|
124
|
+
* @see {@link PutPermissionCommand}
|
|
309
125
|
*/
|
|
310
126
|
putPermission(args: PutPermissionCommandInput, options?: __HttpHandlerOptions): Promise<PutPermissionCommandOutput>;
|
|
311
127
|
putPermission(args: PutPermissionCommandInput, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
|
|
312
128
|
putPermission(args: PutPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
|
|
313
129
|
/**
|
|
314
|
-
* @
|
|
315
|
-
* <p>Remove one anomaly notifications channel for a profiling group.</p>
|
|
130
|
+
* @see {@link RemoveNotificationChannelCommand}
|
|
316
131
|
*/
|
|
317
132
|
removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options?: __HttpHandlerOptions): Promise<RemoveNotificationChannelCommandOutput>;
|
|
318
133
|
removeNotificationChannel(args: RemoveNotificationChannelCommandInput, cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void): void;
|
|
319
134
|
removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void): void;
|
|
320
135
|
/**
|
|
321
|
-
* @
|
|
322
|
-
* <p> Removes permissions from a profiling group's resource-based policy that are provided
|
|
323
|
-
* using an action group. The one supported action group that can be removed is
|
|
324
|
-
* <code>agentPermission</code> which grants <code>ConfigureAgent</code> and
|
|
325
|
-
* <code>PostAgent</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based policies in CodeGuru Profiler</a> in the <i>Amazon
|
|
326
|
-
* CodeGuru Profiler User Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
|
|
327
|
-
* <code>ConfigureAgent</code>
|
|
328
|
-
* </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html">
|
|
329
|
-
* <code>PostAgentProfile</code>
|
|
330
|
-
* </a>. </p>
|
|
136
|
+
* @see {@link RemovePermissionCommand}
|
|
331
137
|
*/
|
|
332
138
|
removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
|
|
333
139
|
removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
334
140
|
removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
335
141
|
/**
|
|
336
|
-
* @
|
|
337
|
-
* <p>Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is
|
|
338
|
-
* useful or not.</p>
|
|
142
|
+
* @see {@link SubmitFeedbackCommand}
|
|
339
143
|
*/
|
|
340
144
|
submitFeedback(args: SubmitFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<SubmitFeedbackCommandOutput>;
|
|
341
145
|
submitFeedback(args: SubmitFeedbackCommandInput, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
|
|
342
146
|
submitFeedback(args: SubmitFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
|
|
343
147
|
/**
|
|
344
|
-
* @
|
|
345
|
-
* <p>
|
|
346
|
-
* Use to assign one or more tags to a resource.
|
|
347
|
-
* </p>
|
|
148
|
+
* @see {@link TagResourceCommand}
|
|
348
149
|
*/
|
|
349
150
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
350
151
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
351
152
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
352
153
|
/**
|
|
353
|
-
* @
|
|
354
|
-
* <p>
|
|
355
|
-
* Use to remove one or more tags from a resource.
|
|
356
|
-
* </p>
|
|
154
|
+
* @see {@link UntagResourceCommand}
|
|
357
155
|
*/
|
|
358
156
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
359
157
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
360
158
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
361
159
|
/**
|
|
362
|
-
* @
|
|
363
|
-
* <p>Updates a profiling group.</p>
|
|
160
|
+
* @see {@link UpdateProfilingGroupCommand}
|
|
364
161
|
*/
|
|
365
162
|
updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProfilingGroupCommandOutput>;
|
|
366
163
|
updateProfilingGroup(args: UpdateProfilingGroupCommandInput, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void;
|
|
367
164
|
updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void;
|
|
368
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
* <p>
|
|
169
|
+
* This section provides documentation for the Amazon CodeGuru Profiler API operations.
|
|
170
|
+
* </p>
|
|
171
|
+
* <p>
|
|
172
|
+
* Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides
|
|
173
|
+
* recommendations that can help you fine-tune your application performance. Using machine learning
|
|
174
|
+
* algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can
|
|
175
|
+
* improve efficiency and remove CPU bottlenecks.
|
|
176
|
+
* </p>
|
|
177
|
+
* <p>
|
|
178
|
+
* Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is
|
|
179
|
+
* running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization.
|
|
180
|
+
* </p>
|
|
181
|
+
* <note>
|
|
182
|
+
* <p>Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM)
|
|
183
|
+
* languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications
|
|
184
|
+
* written in Java, it can also generate visualizations and a subset of recommendations for
|
|
185
|
+
* applications written in other JVM languages and Python.</p>
|
|
186
|
+
* </note>
|
|
187
|
+
* <p>
|
|
188
|
+
* For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/what-is-codeguru-profiler.html">What is Amazon CodeGuru Profiler</a> in
|
|
189
|
+
* the <i>Amazon CodeGuru Profiler User Guide</i>.
|
|
190
|
+
* </p>
|
|
191
|
+
*/
|
|
192
|
+
export declare class CodeGuruProfiler extends CodeGuruProfilerClient implements CodeGuruProfiler {
|
|
193
|
+
}
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
UpdateProfilingGroupCommandInput,
|
|
93
93
|
UpdateProfilingGroupCommandOutput,
|
|
94
94
|
} from "./commands/UpdateProfilingGroupCommand";
|
|
95
|
-
export
|
|
95
|
+
export interface CodeGuruProfiler {
|
|
96
96
|
addNotificationChannels(
|
|
97
97
|
args: AddNotificationChannelsCommandInput,
|
|
98
98
|
options?: __HttpHandlerOptions
|
|
@@ -393,3 +393,6 @@ export declare class CodeGuruProfiler extends CodeGuruProfilerClient {
|
|
|
393
393
|
cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void
|
|
394
394
|
): void;
|
|
395
395
|
}
|
|
396
|
+
export declare class CodeGuruProfiler
|
|
397
|
+
extends CodeGuruProfilerClient
|
|
398
|
+
implements CodeGuruProfiler {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeguruprofiler",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeguruprofiler Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.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.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.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",
|
|
@@ -40,14 +40,14 @@
|
|
|
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.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|