@aws-sdk/client-codeguruprofiler 3.180.0 → 3.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +29 -23
- package/dist-es/CodeGuruProfiler.js +94 -101
- package/dist-es/CodeGuruProfilerClient.js +22 -28
- package/dist-es/commands/AddNotificationChannelsCommand.js +21 -28
- package/dist-es/commands/BatchGetFrameMetricDataCommand.js +21 -28
- package/dist-es/commands/ConfigureAgentCommand.js +21 -28
- package/dist-es/commands/CreateProfilingGroupCommand.js +21 -28
- package/dist-es/commands/DeleteProfilingGroupCommand.js +21 -28
- package/dist-es/commands/DescribeProfilingGroupCommand.js +21 -28
- package/dist-es/commands/GetFindingsReportAccountSummaryCommand.js +21 -28
- package/dist-es/commands/GetNotificationConfigurationCommand.js +21 -28
- package/dist-es/commands/GetPolicyCommand.js +21 -28
- package/dist-es/commands/GetProfileCommand.js +21 -28
- package/dist-es/commands/GetRecommendationsCommand.js +21 -28
- package/dist-es/commands/ListFindingsReportsCommand.js +21 -28
- package/dist-es/commands/ListProfileTimesCommand.js +21 -28
- package/dist-es/commands/ListProfilingGroupsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PostAgentProfileCommand.js +21 -28
- package/dist-es/commands/PutPermissionCommand.js +21 -28
- package/dist-es/commands/RemoveNotificationChannelCommand.js +21 -28
- package/dist-es/commands/RemovePermissionCommand.js +21 -28
- package/dist-es/commands/SubmitFeedbackCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateProfilingGroupCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CodeGuruProfilerServiceException.js +5 -10
- package/dist-es/models/models_0.js +264 -135
- package/dist-es/pagination/GetFindingsReportAccountSummaryPaginator.js +25 -68
- package/dist-es/pagination/ListFindingsReportsPaginator.js +25 -68
- package/dist-es/pagination/ListProfileTimesPaginator.js +25 -68
- package/dist-es/pagination/ListProfilingGroupsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +1718 -2407
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateProfilingGroupRequestFilterSensitiveLog, UpdateProfilingGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateProfilingGroupCommand, serializeAws_restJson1UpdateProfilingGroupCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateProfilingGroupCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "CodeGuruProfilerClient";
|
|
15
|
+
const commandName = "UpdateProfilingGroupCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateProfilingGroupRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateProfilingGroupResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateProfilingGroupCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateProfilingGroupCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateProfilingGroupCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateProfilingGroupCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
const regionHash = {};
|
|
3
|
+
const partitionHash = {
|
|
5
4
|
aws: {
|
|
6
5
|
regions: [
|
|
7
6
|
"af-south-1",
|
|
@@ -121,8 +120,9 @@ var partitionHash = {
|
|
|
121
120
|
],
|
|
122
121
|
},
|
|
123
122
|
};
|
|
124
|
-
export
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
124
|
+
...options,
|
|
125
|
+
signingService: "codeguru-profiler",
|
|
126
|
+
regionHash,
|
|
127
|
+
partitionHash,
|
|
128
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, CodeGuruProfilerServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class CodeGuruProfilerServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, CodeGuruProfilerServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { CodeGuruProfilerServiceException };
|
|
7
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { CodeGuruProfilerServiceException as __BaseException } from "./CodeGuruProfilerServiceException";
|
|
3
2
|
export var ActionGroup;
|
|
4
3
|
(function (ActionGroup) {
|
|
@@ -8,81 +7,81 @@ export var EventPublisher;
|
|
|
8
7
|
(function (EventPublisher) {
|
|
9
8
|
EventPublisher["ANOMALY_DETECTION"] = "AnomalyDetection";
|
|
10
9
|
})(EventPublisher || (EventPublisher = {}));
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
export class ConflictException extends __BaseException {
|
|
11
|
+
constructor(opts) {
|
|
12
|
+
super({
|
|
13
|
+
name: "ConflictException",
|
|
14
|
+
$fault: "client",
|
|
15
|
+
...opts,
|
|
16
|
+
});
|
|
17
|
+
this.name = "ConflictException";
|
|
18
|
+
this.$fault = "client";
|
|
19
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
}
|
|
22
|
+
export class InternalServerException extends __BaseException {
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "InternalServerException",
|
|
26
|
+
$fault: "server",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
this.name = "InternalServerException";
|
|
30
|
+
this.$fault = "server";
|
|
31
|
+
this.$retryable = {};
|
|
32
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
32
33
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
}
|
|
35
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "ResourceNotFoundException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
this.name = "ResourceNotFoundException";
|
|
43
|
+
this.$fault = "client";
|
|
44
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
44
45
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
46
|
+
}
|
|
47
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ServiceQuotaExceededException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
this.name = "ServiceQuotaExceededException";
|
|
55
|
+
this.$fault = "client";
|
|
56
|
+
this.$retryable = {};
|
|
57
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
57
58
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
59
|
+
}
|
|
60
|
+
export class ThrottlingException extends __BaseException {
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
super({
|
|
63
|
+
name: "ThrottlingException",
|
|
64
|
+
$fault: "client",
|
|
65
|
+
...opts,
|
|
66
|
+
});
|
|
67
|
+
this.name = "ThrottlingException";
|
|
68
|
+
this.$fault = "client";
|
|
69
|
+
this.$retryable = {};
|
|
70
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
70
71
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
72
|
+
}
|
|
73
|
+
export class ValidationException extends __BaseException {
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "ValidationException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
this.name = "ValidationException";
|
|
81
|
+
this.$fault = "client";
|
|
82
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
82
83
|
}
|
|
83
|
-
|
|
84
|
-
}(__BaseException));
|
|
85
|
-
export { ValidationException };
|
|
84
|
+
}
|
|
86
85
|
export var AgentParameterField;
|
|
87
86
|
(function (AgentParameterField) {
|
|
88
87
|
AgentParameterField["MAX_STACK_DEPTH"] = "MaxStackDepth";
|
|
@@ -128,68 +127,198 @@ export var OrderBy;
|
|
|
128
127
|
OrderBy["TIMESTAMP_ASCENDING"] = "TimestampAscending";
|
|
129
128
|
OrderBy["TIMESTAMP_DESCENDING"] = "TimestampDescending";
|
|
130
129
|
})(OrderBy || (OrderBy = {}));
|
|
131
|
-
export
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
export
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
export
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
export
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
export
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
export
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
export
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
export
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
export
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
export
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
export
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
export
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
export
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
export
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
export
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
export
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
export
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
export
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
export
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
export
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
export
|
|
195
|
-
|
|
130
|
+
export const ChannelFilterSensitiveLog = (obj) => ({
|
|
131
|
+
...obj,
|
|
132
|
+
});
|
|
133
|
+
export const AddNotificationChannelsRequestFilterSensitiveLog = (obj) => ({
|
|
134
|
+
...obj,
|
|
135
|
+
});
|
|
136
|
+
export const NotificationConfigurationFilterSensitiveLog = (obj) => ({
|
|
137
|
+
...obj,
|
|
138
|
+
});
|
|
139
|
+
export const AddNotificationChannelsResponseFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
});
|
|
142
|
+
export const AgentConfigurationFilterSensitiveLog = (obj) => ({
|
|
143
|
+
...obj,
|
|
144
|
+
});
|
|
145
|
+
export const AgentOrchestrationConfigFilterSensitiveLog = (obj) => ({
|
|
146
|
+
...obj,
|
|
147
|
+
});
|
|
148
|
+
export const AggregatedProfileTimeFilterSensitiveLog = (obj) => ({
|
|
149
|
+
...obj,
|
|
150
|
+
});
|
|
151
|
+
export const UserFeedbackFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
});
|
|
154
|
+
export const AnomalyInstanceFilterSensitiveLog = (obj) => ({
|
|
155
|
+
...obj,
|
|
156
|
+
});
|
|
157
|
+
export const MetricFilterSensitiveLog = (obj) => ({
|
|
158
|
+
...obj,
|
|
159
|
+
});
|
|
160
|
+
export const AnomalyFilterSensitiveLog = (obj) => ({
|
|
161
|
+
...obj,
|
|
162
|
+
});
|
|
163
|
+
export const FrameMetricFilterSensitiveLog = (obj) => ({
|
|
164
|
+
...obj,
|
|
165
|
+
});
|
|
166
|
+
export const BatchGetFrameMetricDataRequestFilterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
});
|
|
169
|
+
export const TimestampStructureFilterSensitiveLog = (obj) => ({
|
|
170
|
+
...obj,
|
|
171
|
+
});
|
|
172
|
+
export const FrameMetricDatumFilterSensitiveLog = (obj) => ({
|
|
173
|
+
...obj,
|
|
174
|
+
});
|
|
175
|
+
export const BatchGetFrameMetricDataResponseFilterSensitiveLog = (obj) => ({
|
|
176
|
+
...obj,
|
|
177
|
+
});
|
|
178
|
+
export const GetFindingsReportAccountSummaryRequestFilterSensitiveLog = (obj) => ({
|
|
179
|
+
...obj,
|
|
180
|
+
});
|
|
181
|
+
export const FindingsReportSummaryFilterSensitiveLog = (obj) => ({
|
|
182
|
+
...obj,
|
|
183
|
+
});
|
|
184
|
+
export const GetFindingsReportAccountSummaryResponseFilterSensitiveLog = (obj) => ({
|
|
185
|
+
...obj,
|
|
186
|
+
});
|
|
187
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
});
|
|
193
|
+
export const ConfigureAgentRequestFilterSensitiveLog = (obj) => ({
|
|
194
|
+
...obj,
|
|
195
|
+
});
|
|
196
|
+
export const ConfigureAgentResponseFilterSensitiveLog = (obj) => ({
|
|
197
|
+
...obj,
|
|
198
|
+
});
|
|
199
|
+
export const CreateProfilingGroupRequestFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
});
|
|
202
|
+
export const ProfilingStatusFilterSensitiveLog = (obj) => ({
|
|
203
|
+
...obj,
|
|
204
|
+
});
|
|
205
|
+
export const ProfilingGroupDescriptionFilterSensitiveLog = (obj) => ({
|
|
206
|
+
...obj,
|
|
207
|
+
});
|
|
208
|
+
export const CreateProfilingGroupResponseFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
});
|
|
211
|
+
export const DeleteProfilingGroupRequestFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
export const DeleteProfilingGroupResponseFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
});
|
|
217
|
+
export const DescribeProfilingGroupRequestFilterSensitiveLog = (obj) => ({
|
|
218
|
+
...obj,
|
|
219
|
+
});
|
|
220
|
+
export const DescribeProfilingGroupResponseFilterSensitiveLog = (obj) => ({
|
|
221
|
+
...obj,
|
|
222
|
+
});
|
|
223
|
+
export const GetNotificationConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
224
|
+
...obj,
|
|
225
|
+
});
|
|
226
|
+
export const GetNotificationConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
227
|
+
...obj,
|
|
228
|
+
});
|
|
229
|
+
export const GetPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
230
|
+
...obj,
|
|
231
|
+
});
|
|
232
|
+
export const GetPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
233
|
+
...obj,
|
|
234
|
+
});
|
|
235
|
+
export const GetProfileRequestFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
});
|
|
238
|
+
export const GetProfileResponseFilterSensitiveLog = (obj) => ({
|
|
239
|
+
...obj,
|
|
240
|
+
});
|
|
241
|
+
export const GetRecommendationsRequestFilterSensitiveLog = (obj) => ({
|
|
242
|
+
...obj,
|
|
243
|
+
});
|
|
244
|
+
export const PatternFilterSensitiveLog = (obj) => ({
|
|
245
|
+
...obj,
|
|
246
|
+
});
|
|
247
|
+
export const MatchFilterSensitiveLog = (obj) => ({
|
|
248
|
+
...obj,
|
|
249
|
+
});
|
|
250
|
+
export const RecommendationFilterSensitiveLog = (obj) => ({
|
|
251
|
+
...obj,
|
|
252
|
+
});
|
|
253
|
+
export const GetRecommendationsResponseFilterSensitiveLog = (obj) => ({
|
|
254
|
+
...obj,
|
|
255
|
+
});
|
|
256
|
+
export const ListFindingsReportsRequestFilterSensitiveLog = (obj) => ({
|
|
257
|
+
...obj,
|
|
258
|
+
});
|
|
259
|
+
export const ListFindingsReportsResponseFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
export const ListProfileTimesRequestFilterSensitiveLog = (obj) => ({
|
|
263
|
+
...obj,
|
|
264
|
+
});
|
|
265
|
+
export const ProfileTimeFilterSensitiveLog = (obj) => ({
|
|
266
|
+
...obj,
|
|
267
|
+
});
|
|
268
|
+
export const ListProfileTimesResponseFilterSensitiveLog = (obj) => ({
|
|
269
|
+
...obj,
|
|
270
|
+
});
|
|
271
|
+
export const ListProfilingGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
});
|
|
274
|
+
export const ListProfilingGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
275
|
+
...obj,
|
|
276
|
+
});
|
|
277
|
+
export const PostAgentProfileRequestFilterSensitiveLog = (obj) => ({
|
|
278
|
+
...obj,
|
|
279
|
+
});
|
|
280
|
+
export const PostAgentProfileResponseFilterSensitiveLog = (obj) => ({
|
|
281
|
+
...obj,
|
|
282
|
+
});
|
|
283
|
+
export const PutPermissionRequestFilterSensitiveLog = (obj) => ({
|
|
284
|
+
...obj,
|
|
285
|
+
});
|
|
286
|
+
export const PutPermissionResponseFilterSensitiveLog = (obj) => ({
|
|
287
|
+
...obj,
|
|
288
|
+
});
|
|
289
|
+
export const RemoveNotificationChannelRequestFilterSensitiveLog = (obj) => ({
|
|
290
|
+
...obj,
|
|
291
|
+
});
|
|
292
|
+
export const RemoveNotificationChannelResponseFilterSensitiveLog = (obj) => ({
|
|
293
|
+
...obj,
|
|
294
|
+
});
|
|
295
|
+
export const RemovePermissionRequestFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
});
|
|
298
|
+
export const RemovePermissionResponseFilterSensitiveLog = (obj) => ({
|
|
299
|
+
...obj,
|
|
300
|
+
});
|
|
301
|
+
export const SubmitFeedbackRequestFilterSensitiveLog = (obj) => ({
|
|
302
|
+
...obj,
|
|
303
|
+
});
|
|
304
|
+
export const SubmitFeedbackResponseFilterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
});
|
|
307
|
+
export const UpdateProfilingGroupRequestFilterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
});
|
|
310
|
+
export const UpdateProfilingGroupResponseFilterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
});
|
|
313
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
314
|
+
...obj,
|
|
315
|
+
});
|
|
316
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
});
|
|
319
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
320
|
+
...obj,
|
|
321
|
+
});
|
|
322
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
323
|
+
...obj,
|
|
324
|
+
});
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { CodeGuruProfiler } from "../CodeGuruProfiler";
|
|
3
2
|
import { CodeGuruProfilerClient } from "../CodeGuruProfilerClient";
|
|
4
3
|
import { GetFindingsReportAccountSummaryCommand, } from "../commands/GetFindingsReportAccountSummaryCommand";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
-
args[_i - 2] = arguments[_i];
|
|
9
|
-
}
|
|
10
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
-
return __generator(this, function (_a) {
|
|
12
|
-
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetFindingsReportAccountSummaryCommand(input)], __read(args), false))];
|
|
14
|
-
case 1: return [2, _a.sent()];
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new GetFindingsReportAccountSummaryCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
-
args[_i - 2] = arguments[_i];
|
|
23
|
-
}
|
|
24
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
-
return __generator(this, function (_a) {
|
|
26
|
-
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getFindingsReportAccountSummary.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
-
case 1: return [2, _a.sent()];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.getFindingsReportAccountSummary(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateGetFindingsReportAccountSummary(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateGetFindingsReportAccountSummary(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
input["maxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof CodeGuruProfiler) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof CodeGuruProfilerClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.nextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
39
|
-
var token, hasNext, page, prevToken;
|
|
40
|
-
return __generator(this, function (_a) {
|
|
41
|
-
switch (_a.label) {
|
|
42
|
-
case 0:
|
|
43
|
-
token = config.startingToken || undefined;
|
|
44
|
-
hasNext = true;
|
|
45
|
-
_a.label = 1;
|
|
46
|
-
case 1:
|
|
47
|
-
if (!hasNext) return [3, 9];
|
|
48
|
-
input.nextToken = token;
|
|
49
|
-
input["maxResults"] = config.pageSize;
|
|
50
|
-
if (!(config.client instanceof CodeGuruProfiler)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
-
case 2:
|
|
53
|
-
page = _a.sent();
|
|
54
|
-
return [3, 6];
|
|
55
|
-
case 3:
|
|
56
|
-
if (!(config.client instanceof CodeGuruProfilerClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
-
case 4:
|
|
59
|
-
page = _a.sent();
|
|
60
|
-
return [3, 6];
|
|
61
|
-
case 5: throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
|
|
62
|
-
case 6: return [4, __await(page)];
|
|
63
|
-
case 7: return [4, _a.sent()];
|
|
64
|
-
case 8:
|
|
65
|
-
_a.sent();
|
|
66
|
-
prevToken = token;
|
|
67
|
-
token = page.nextToken;
|
|
68
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
-
return [3, 1];
|
|
70
|
-
case 9: return [4, __await(undefined)];
|
|
71
|
-
case 10: return [2, _a.sent()];
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|