@aws-sdk/client-codeguruprofiler 3.899.0 → 3.906.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1623 -1818
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -1,1859 +1,1664 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
ConfigureAgentCommand: () => ConfigureAgentCommand,
|
|
34
|
-
ConflictException: () => ConflictException,
|
|
35
|
-
CreateProfilingGroupCommand: () => CreateProfilingGroupCommand,
|
|
36
|
-
DeleteProfilingGroupCommand: () => DeleteProfilingGroupCommand,
|
|
37
|
-
DescribeProfilingGroupCommand: () => DescribeProfilingGroupCommand,
|
|
38
|
-
EventPublisher: () => EventPublisher,
|
|
39
|
-
FeedbackType: () => FeedbackType,
|
|
40
|
-
GetFindingsReportAccountSummaryCommand: () => GetFindingsReportAccountSummaryCommand,
|
|
41
|
-
GetNotificationConfigurationCommand: () => GetNotificationConfigurationCommand,
|
|
42
|
-
GetPolicyCommand: () => GetPolicyCommand,
|
|
43
|
-
GetProfileCommand: () => GetProfileCommand,
|
|
44
|
-
GetRecommendationsCommand: () => GetRecommendationsCommand,
|
|
45
|
-
InternalServerException: () => InternalServerException,
|
|
46
|
-
ListFindingsReportsCommand: () => ListFindingsReportsCommand,
|
|
47
|
-
ListProfileTimesCommand: () => ListProfileTimesCommand,
|
|
48
|
-
ListProfilingGroupsCommand: () => ListProfilingGroupsCommand,
|
|
49
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
50
|
-
MetadataField: () => MetadataField,
|
|
51
|
-
MetricType: () => MetricType,
|
|
52
|
-
OrderBy: () => OrderBy,
|
|
53
|
-
PostAgentProfileCommand: () => PostAgentProfileCommand,
|
|
54
|
-
PutPermissionCommand: () => PutPermissionCommand,
|
|
55
|
-
RemoveNotificationChannelCommand: () => RemoveNotificationChannelCommand,
|
|
56
|
-
RemovePermissionCommand: () => RemovePermissionCommand,
|
|
57
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
58
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
59
|
-
SubmitFeedbackCommand: () => SubmitFeedbackCommand,
|
|
60
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
61
|
-
ThrottlingException: () => ThrottlingException,
|
|
62
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
63
|
-
UpdateProfilingGroupCommand: () => UpdateProfilingGroupCommand,
|
|
64
|
-
ValidationException: () => ValidationException,
|
|
65
|
-
__Client: () => import_smithy_client.Client,
|
|
66
|
-
paginateGetFindingsReportAccountSummary: () => paginateGetFindingsReportAccountSummary,
|
|
67
|
-
paginateListFindingsReports: () => paginateListFindingsReports,
|
|
68
|
-
paginateListProfileTimes: () => paginateListProfileTimes,
|
|
69
|
-
paginateListProfilingGroups: () => paginateListProfilingGroups
|
|
70
|
-
});
|
|
71
|
-
module.exports = __toCommonJS(index_exports);
|
|
72
|
-
|
|
73
|
-
// src/CodeGuruProfilerClient.ts
|
|
74
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
75
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
76
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
77
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
78
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
79
|
-
var import_core = require("@smithy/core");
|
|
80
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
81
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
82
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
83
|
-
|
|
84
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
85
|
-
|
|
86
|
-
// src/endpoint/EndpointParameters.ts
|
|
87
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
88
|
-
return Object.assign(options, {
|
|
89
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
90
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
91
|
-
defaultSigningName: "codeguru-profiler"
|
|
92
|
-
});
|
|
93
|
-
}, "resolveClientEndpointParameters");
|
|
94
|
-
var commonParams = {
|
|
95
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
96
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
97
|
-
Region: { type: "builtInParams", name: "region" },
|
|
98
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
24
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
25
|
+
defaultSigningName: "codeguru-profiler",
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
const commonParams = {
|
|
29
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
30
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
31
|
+
Region: { type: "builtInParams", name: "region" },
|
|
32
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
99
33
|
};
|
|
100
34
|
|
|
101
|
-
|
|
102
|
-
|
|
35
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
36
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
37
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
38
|
+
let _credentials = runtimeConfig.credentials;
|
|
39
|
+
return {
|
|
40
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
41
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
42
|
+
if (index === -1) {
|
|
43
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
httpAuthSchemes() {
|
|
50
|
+
return _httpAuthSchemes;
|
|
51
|
+
},
|
|
52
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
53
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
httpAuthSchemeProvider() {
|
|
56
|
+
return _httpAuthSchemeProvider;
|
|
57
|
+
},
|
|
58
|
+
setCredentials(credentials) {
|
|
59
|
+
_credentials = credentials;
|
|
60
|
+
},
|
|
61
|
+
credentials() {
|
|
62
|
+
return _credentials;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
67
|
+
return {
|
|
68
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
69
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
70
|
+
credentials: config.credentials(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
103
73
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
74
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
|
+
};
|
|
108
79
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
80
|
+
class CodeGuruProfilerClient extends smithyClient.Client {
|
|
81
|
+
config;
|
|
82
|
+
constructor(...[configuration]) {
|
|
83
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
84
|
+
super(_config_0);
|
|
85
|
+
this.initConfig = _config_0;
|
|
86
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
|
+
this.config = _config_8;
|
|
95
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultCodeGuruProfilerHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
104
|
+
"aws.auth#sigv4": config.credentials,
|
|
105
|
+
}),
|
|
106
|
+
}));
|
|
107
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
137
108
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
143
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
144
|
-
credentials: config.credentials()
|
|
145
|
-
};
|
|
146
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
109
|
+
destroy() {
|
|
110
|
+
super.destroy();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
147
113
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
155
|
-
);
|
|
156
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
157
|
-
return Object.assign(
|
|
158
|
-
runtimeConfig,
|
|
159
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
160
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
161
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
162
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
163
|
-
);
|
|
164
|
-
}, "resolveRuntimeExtensions");
|
|
114
|
+
class CodeGuruProfilerServiceException extends smithyClient.ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, CodeGuruProfilerServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
165
120
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
static {
|
|
169
|
-
__name(this, "CodeGuruProfilerClient");
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* The resolved configuration of CodeGuruProfilerClient class. This is resolved and normalized from the {@link CodeGuruProfilerClientConfig | constructor configuration interface}.
|
|
173
|
-
*/
|
|
174
|
-
config;
|
|
175
|
-
constructor(...[configuration]) {
|
|
176
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
177
|
-
super(_config_0);
|
|
178
|
-
this.initConfig = _config_0;
|
|
179
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
180
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
181
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
182
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
183
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
184
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
185
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
186
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
187
|
-
this.config = _config_8;
|
|
188
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
189
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
190
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
191
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
192
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
193
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
194
|
-
this.middlewareStack.use(
|
|
195
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
196
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCodeGuruProfilerHttpAuthSchemeParametersProvider,
|
|
197
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
198
|
-
"aws.auth#sigv4": config.credentials
|
|
199
|
-
}), "identityProviderConfigProvider")
|
|
200
|
-
})
|
|
201
|
-
);
|
|
202
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
206
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
207
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
208
|
-
*/
|
|
209
|
-
destroy() {
|
|
210
|
-
super.destroy();
|
|
211
|
-
}
|
|
121
|
+
const ActionGroup = {
|
|
122
|
+
AGENT_PERMISSIONS: "agentPermissions",
|
|
212
123
|
};
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
// src/commands/AddNotificationChannelsCommand.ts
|
|
218
|
-
|
|
219
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
// src/protocols/Aws_restJson1.ts
|
|
223
|
-
var import_core2 = require("@aws-sdk/core");
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
var import_uuid = require("@smithy/uuid");
|
|
227
|
-
|
|
228
|
-
// src/models/CodeGuruProfilerServiceException.ts
|
|
229
|
-
|
|
230
|
-
var CodeGuruProfilerServiceException = class _CodeGuruProfilerServiceException extends import_smithy_client.ServiceException {
|
|
231
|
-
static {
|
|
232
|
-
__name(this, "CodeGuruProfilerServiceException");
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* @internal
|
|
236
|
-
*/
|
|
237
|
-
constructor(options) {
|
|
238
|
-
super(options);
|
|
239
|
-
Object.setPrototypeOf(this, _CodeGuruProfilerServiceException.prototype);
|
|
240
|
-
}
|
|
124
|
+
const EventPublisher = {
|
|
125
|
+
ANOMALY_DETECTION: "AnomalyDetection",
|
|
241
126
|
};
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
$fault = "client";
|
|
355
|
-
/**
|
|
356
|
-
* @internal
|
|
357
|
-
*/
|
|
358
|
-
constructor(opts) {
|
|
359
|
-
super({
|
|
360
|
-
name: "ValidationException",
|
|
361
|
-
$fault: "client",
|
|
362
|
-
...opts
|
|
363
|
-
});
|
|
364
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
365
|
-
}
|
|
366
|
-
};
|
|
367
|
-
var AgentParameterField = {
|
|
368
|
-
/**
|
|
369
|
-
* Maximum stack depth to be captured by the CodeGuru Profiler.
|
|
370
|
-
*/
|
|
371
|
-
MAX_STACK_DEPTH: "MaxStackDepth",
|
|
372
|
-
/**
|
|
373
|
-
* Percentage of memory to be used by CodeGuru profiler. Minimum of 30MB is required for the agent.
|
|
374
|
-
*/
|
|
375
|
-
MEMORY_USAGE_LIMIT_PERCENT: "MemoryUsageLimitPercent",
|
|
376
|
-
/**
|
|
377
|
-
* Minimum time in milliseconds between sending reports.
|
|
378
|
-
*/
|
|
379
|
-
MINIMUM_TIME_FOR_REPORTING_IN_MILLISECONDS: "MinimumTimeForReportingInMilliseconds",
|
|
380
|
-
/**
|
|
381
|
-
* Reporting interval in milliseconds used to report profiles.
|
|
382
|
-
*/
|
|
383
|
-
REPORTING_INTERVAL_IN_MILLISECONDS: "ReportingIntervalInMilliseconds",
|
|
384
|
-
/**
|
|
385
|
-
* Sampling interval in milliseconds used to sample profiles.
|
|
386
|
-
*/
|
|
387
|
-
SAMPLING_INTERVAL_IN_MILLISECONDS: "SamplingIntervalInMilliseconds"
|
|
388
|
-
};
|
|
389
|
-
var AggregationPeriod = {
|
|
390
|
-
/**
|
|
391
|
-
* Period of one day.
|
|
392
|
-
*/
|
|
393
|
-
P1D: "P1D",
|
|
394
|
-
/**
|
|
395
|
-
* Period of one hour.
|
|
396
|
-
*/
|
|
397
|
-
PT1H: "PT1H",
|
|
398
|
-
/**
|
|
399
|
-
* Period of five minutes.
|
|
400
|
-
*/
|
|
401
|
-
PT5M: "PT5M"
|
|
402
|
-
};
|
|
403
|
-
var FeedbackType = {
|
|
404
|
-
/**
|
|
405
|
-
* Profiler recommendation flagged as not useful.
|
|
406
|
-
*/
|
|
407
|
-
Negative: "Negative",
|
|
408
|
-
/**
|
|
409
|
-
* Profiler recommendation flagged as useful.
|
|
410
|
-
*/
|
|
411
|
-
Positive: "Positive"
|
|
412
|
-
};
|
|
413
|
-
var MetricType = {
|
|
414
|
-
/**
|
|
415
|
-
* Metric value aggregated for all instances of a frame name in a profile relative to the root frame.
|
|
416
|
-
*/
|
|
417
|
-
AggregatedRelativeTotalTime: "AggregatedRelativeTotalTime"
|
|
418
|
-
};
|
|
419
|
-
var MetadataField = {
|
|
420
|
-
/**
|
|
421
|
-
* Unique identifier for the agent instance.
|
|
422
|
-
*/
|
|
423
|
-
AGENT_ID: "AgentId",
|
|
424
|
-
/**
|
|
425
|
-
* AWS requestId of the Lambda invocation.
|
|
426
|
-
*/
|
|
427
|
-
AWS_REQUEST_ID: "AwsRequestId",
|
|
428
|
-
/**
|
|
429
|
-
* Compute platform on which agent is running.
|
|
430
|
-
*/
|
|
431
|
-
COMPUTE_PLATFORM: "ComputePlatform",
|
|
432
|
-
/**
|
|
433
|
-
* Execution environment on which Lambda function is running.
|
|
434
|
-
*/
|
|
435
|
-
EXECUTION_ENVIRONMENT: "ExecutionEnvironment",
|
|
436
|
-
/**
|
|
437
|
-
* Function ARN that's used to invoke the Lambda function.
|
|
438
|
-
*/
|
|
439
|
-
LAMBDA_FUNCTION_ARN: "LambdaFunctionArn",
|
|
440
|
-
/**
|
|
441
|
-
* Memory allocated for the Lambda function.
|
|
442
|
-
*/
|
|
443
|
-
LAMBDA_MEMORY_LIMIT_IN_MB: "LambdaMemoryLimitInMB",
|
|
444
|
-
/**
|
|
445
|
-
* Time in milliseconds for the previous Lambda invocation.
|
|
446
|
-
*/
|
|
447
|
-
LAMBDA_PREVIOUS_EXECUTION_TIME_IN_MILLISECONDS: "LambdaPreviousExecutionTimeInMilliseconds",
|
|
448
|
-
/**
|
|
449
|
-
* Time in milliseconds left before the execution times out.
|
|
450
|
-
*/
|
|
451
|
-
LAMBDA_REMAINING_TIME_IN_MILLISECONDS: "LambdaRemainingTimeInMilliseconds",
|
|
452
|
-
/**
|
|
453
|
-
* Time in milliseconds between two invocations of the Lambda function.
|
|
454
|
-
*/
|
|
455
|
-
LAMBDA_TIME_GAP_BETWEEN_INVOKES_IN_MILLISECONDS: "LambdaTimeGapBetweenInvokesInMilliseconds"
|
|
456
|
-
};
|
|
457
|
-
var ComputePlatform = {
|
|
458
|
-
/**
|
|
459
|
-
* Compute platform meant to used for AWS Lambda.
|
|
460
|
-
*/
|
|
461
|
-
AWSLAMBDA: "AWSLambda",
|
|
462
|
-
/**
|
|
463
|
-
* Compute platform meant to used for all usecases (like EC2, Fargate, physical servers etc.) but AWS Lambda.
|
|
464
|
-
*/
|
|
465
|
-
DEFAULT: "Default"
|
|
466
|
-
};
|
|
467
|
-
var OrderBy = {
|
|
468
|
-
/**
|
|
469
|
-
* Order by timestamp in ascending order.
|
|
470
|
-
*/
|
|
471
|
-
TIMESTAMP_ASCENDING: "TimestampAscending",
|
|
472
|
-
/**
|
|
473
|
-
* Order by timestamp in descending order.
|
|
474
|
-
*/
|
|
475
|
-
TIMESTAMP_DESCENDING: "TimestampDescending"
|
|
127
|
+
class ConflictException extends CodeGuruProfilerServiceException {
|
|
128
|
+
name = "ConflictException";
|
|
129
|
+
$fault = "client";
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "ConflictException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
class InternalServerException extends CodeGuruProfilerServiceException {
|
|
140
|
+
name = "InternalServerException";
|
|
141
|
+
$fault = "server";
|
|
142
|
+
$retryable = {};
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "InternalServerException",
|
|
146
|
+
$fault: "server",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
class ResourceNotFoundException extends CodeGuruProfilerServiceException {
|
|
153
|
+
name = "ResourceNotFoundException";
|
|
154
|
+
$fault = "client";
|
|
155
|
+
constructor(opts) {
|
|
156
|
+
super({
|
|
157
|
+
name: "ResourceNotFoundException",
|
|
158
|
+
$fault: "client",
|
|
159
|
+
...opts,
|
|
160
|
+
});
|
|
161
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
class ServiceQuotaExceededException extends CodeGuruProfilerServiceException {
|
|
165
|
+
name = "ServiceQuotaExceededException";
|
|
166
|
+
$fault = "client";
|
|
167
|
+
$retryable = {};
|
|
168
|
+
constructor(opts) {
|
|
169
|
+
super({
|
|
170
|
+
name: "ServiceQuotaExceededException",
|
|
171
|
+
$fault: "client",
|
|
172
|
+
...opts,
|
|
173
|
+
});
|
|
174
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
class ThrottlingException extends CodeGuruProfilerServiceException {
|
|
178
|
+
name = "ThrottlingException";
|
|
179
|
+
$fault = "client";
|
|
180
|
+
$retryable = {};
|
|
181
|
+
constructor(opts) {
|
|
182
|
+
super({
|
|
183
|
+
name: "ThrottlingException",
|
|
184
|
+
$fault: "client",
|
|
185
|
+
...opts,
|
|
186
|
+
});
|
|
187
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
class ValidationException extends CodeGuruProfilerServiceException {
|
|
191
|
+
name = "ValidationException";
|
|
192
|
+
$fault = "client";
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "ValidationException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
const AgentParameterField = {
|
|
203
|
+
MAX_STACK_DEPTH: "MaxStackDepth",
|
|
204
|
+
MEMORY_USAGE_LIMIT_PERCENT: "MemoryUsageLimitPercent",
|
|
205
|
+
MINIMUM_TIME_FOR_REPORTING_IN_MILLISECONDS: "MinimumTimeForReportingInMilliseconds",
|
|
206
|
+
REPORTING_INTERVAL_IN_MILLISECONDS: "ReportingIntervalInMilliseconds",
|
|
207
|
+
SAMPLING_INTERVAL_IN_MILLISECONDS: "SamplingIntervalInMilliseconds",
|
|
208
|
+
};
|
|
209
|
+
const AggregationPeriod = {
|
|
210
|
+
P1D: "P1D",
|
|
211
|
+
PT1H: "PT1H",
|
|
212
|
+
PT5M: "PT5M",
|
|
213
|
+
};
|
|
214
|
+
const FeedbackType = {
|
|
215
|
+
Negative: "Negative",
|
|
216
|
+
Positive: "Positive",
|
|
217
|
+
};
|
|
218
|
+
const MetricType = {
|
|
219
|
+
AggregatedRelativeTotalTime: "AggregatedRelativeTotalTime",
|
|
220
|
+
};
|
|
221
|
+
const MetadataField = {
|
|
222
|
+
AGENT_ID: "AgentId",
|
|
223
|
+
AWS_REQUEST_ID: "AwsRequestId",
|
|
224
|
+
COMPUTE_PLATFORM: "ComputePlatform",
|
|
225
|
+
EXECUTION_ENVIRONMENT: "ExecutionEnvironment",
|
|
226
|
+
LAMBDA_FUNCTION_ARN: "LambdaFunctionArn",
|
|
227
|
+
LAMBDA_MEMORY_LIMIT_IN_MB: "LambdaMemoryLimitInMB",
|
|
228
|
+
LAMBDA_PREVIOUS_EXECUTION_TIME_IN_MILLISECONDS: "LambdaPreviousExecutionTimeInMilliseconds",
|
|
229
|
+
LAMBDA_REMAINING_TIME_IN_MILLISECONDS: "LambdaRemainingTimeInMilliseconds",
|
|
230
|
+
LAMBDA_TIME_GAP_BETWEEN_INVOKES_IN_MILLISECONDS: "LambdaTimeGapBetweenInvokesInMilliseconds",
|
|
231
|
+
};
|
|
232
|
+
const ComputePlatform = {
|
|
233
|
+
AWSLAMBDA: "AWSLambda",
|
|
234
|
+
DEFAULT: "Default",
|
|
235
|
+
};
|
|
236
|
+
const OrderBy = {
|
|
237
|
+
TIMESTAMP_ASCENDING: "TimestampAscending",
|
|
238
|
+
TIMESTAMP_DESCENDING: "TimestampDescending",
|
|
476
239
|
};
|
|
477
240
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
"
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
})
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
});
|
|
695
|
-
b.bp("/profilingGroups/{profilingGroupName}/agentProfile");
|
|
696
|
-
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
697
|
-
const query = (0, import_smithy_client.map)({
|
|
698
|
-
[_pT]: [, input[_pT] ?? (0, import_uuid.v4)()]
|
|
699
|
-
});
|
|
700
|
-
let body;
|
|
701
|
-
if (input.agentProfile !== void 0) {
|
|
702
|
-
body = input.agentProfile;
|
|
703
|
-
}
|
|
704
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
705
|
-
return b.build();
|
|
706
|
-
}, "se_PostAgentProfileCommand");
|
|
707
|
-
var se_PutPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
708
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
709
|
-
const headers = {
|
|
710
|
-
"content-type": "application/json"
|
|
711
|
-
};
|
|
712
|
-
b.bp("/profilingGroups/{profilingGroupName}/policy/{actionGroup}");
|
|
713
|
-
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
714
|
-
b.p("actionGroup", () => input.actionGroup, "{actionGroup}", false);
|
|
715
|
-
let body;
|
|
716
|
-
body = JSON.stringify(
|
|
717
|
-
(0, import_smithy_client.take)(input, {
|
|
718
|
-
principals: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "principals"),
|
|
719
|
-
revisionId: []
|
|
720
|
-
})
|
|
721
|
-
);
|
|
722
|
-
b.m("PUT").h(headers).b(body);
|
|
723
|
-
return b.build();
|
|
724
|
-
}, "se_PutPermissionCommand");
|
|
725
|
-
var se_RemoveNotificationChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
726
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
727
|
-
const headers = {};
|
|
728
|
-
b.bp("/profilingGroups/{profilingGroupName}/notificationConfiguration/{channelId}");
|
|
729
|
-
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
730
|
-
b.p("channelId", () => input.channelId, "{channelId}", false);
|
|
731
|
-
let body;
|
|
732
|
-
b.m("DELETE").h(headers).b(body);
|
|
733
|
-
return b.build();
|
|
734
|
-
}, "se_RemoveNotificationChannelCommand");
|
|
735
|
-
var se_RemovePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
736
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
737
|
-
const headers = {};
|
|
738
|
-
b.bp("/profilingGroups/{profilingGroupName}/policy/{actionGroup}");
|
|
739
|
-
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
740
|
-
b.p("actionGroup", () => input.actionGroup, "{actionGroup}", false);
|
|
741
|
-
const query = (0, import_smithy_client.map)({
|
|
742
|
-
[_rI]: [, (0, import_smithy_client.expectNonNull)(input[_rI], `revisionId`)]
|
|
743
|
-
});
|
|
744
|
-
let body;
|
|
745
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
746
|
-
return b.build();
|
|
747
|
-
}, "se_RemovePermissionCommand");
|
|
748
|
-
var se_SubmitFeedbackCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
749
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
750
|
-
const headers = {
|
|
751
|
-
"content-type": "application/json"
|
|
752
|
-
};
|
|
753
|
-
b.bp("/internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback");
|
|
754
|
-
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
755
|
-
b.p("anomalyInstanceId", () => input.anomalyInstanceId, "{anomalyInstanceId}", false);
|
|
756
|
-
let body;
|
|
757
|
-
body = JSON.stringify(
|
|
758
|
-
(0, import_smithy_client.take)(input, {
|
|
759
|
-
comment: [],
|
|
760
|
-
type: []
|
|
761
|
-
})
|
|
762
|
-
);
|
|
763
|
-
b.m("POST").h(headers).b(body);
|
|
764
|
-
return b.build();
|
|
765
|
-
}, "se_SubmitFeedbackCommand");
|
|
766
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
767
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
768
|
-
const headers = {
|
|
769
|
-
"content-type": "application/json"
|
|
770
|
-
};
|
|
771
|
-
b.bp("/tags/{resourceArn}");
|
|
772
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
773
|
-
let body;
|
|
774
|
-
body = JSON.stringify(
|
|
775
|
-
(0, import_smithy_client.take)(input, {
|
|
776
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
777
|
-
})
|
|
778
|
-
);
|
|
779
|
-
b.m("POST").h(headers).b(body);
|
|
780
|
-
return b.build();
|
|
781
|
-
}, "se_TagResourceCommand");
|
|
782
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
783
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
784
|
-
const headers = {};
|
|
785
|
-
b.bp("/tags/{resourceArn}");
|
|
786
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
787
|
-
const query = (0, import_smithy_client.map)({
|
|
788
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
789
|
-
});
|
|
790
|
-
let body;
|
|
791
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
792
|
-
return b.build();
|
|
793
|
-
}, "se_UntagResourceCommand");
|
|
794
|
-
var se_UpdateProfilingGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
795
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
796
|
-
const headers = {
|
|
797
|
-
"content-type": "application/json"
|
|
798
|
-
};
|
|
799
|
-
b.bp("/profilingGroups/{profilingGroupName}");
|
|
800
|
-
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
801
|
-
let body;
|
|
802
|
-
body = JSON.stringify(
|
|
803
|
-
(0, import_smithy_client.take)(input, {
|
|
804
|
-
agentOrchestrationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "agentOrchestrationConfig")
|
|
805
|
-
})
|
|
806
|
-
);
|
|
807
|
-
b.m("PUT").h(headers).b(body);
|
|
808
|
-
return b.build();
|
|
809
|
-
}, "se_UpdateProfilingGroupCommand");
|
|
810
|
-
var de_AddNotificationChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
811
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
812
|
-
return de_CommandError(output, context);
|
|
813
|
-
}
|
|
814
|
-
const contents = (0, import_smithy_client.map)({
|
|
815
|
-
$metadata: deserializeMetadata(output)
|
|
816
|
-
});
|
|
817
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
818
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
819
|
-
notificationConfiguration: import_smithy_client._json
|
|
820
|
-
});
|
|
821
|
-
Object.assign(contents, doc);
|
|
822
|
-
return contents;
|
|
823
|
-
}, "de_AddNotificationChannelsCommand");
|
|
824
|
-
var de_BatchGetFrameMetricDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
825
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
826
|
-
return de_CommandError(output, context);
|
|
827
|
-
}
|
|
828
|
-
const contents = (0, import_smithy_client.map)({
|
|
829
|
-
$metadata: deserializeMetadata(output)
|
|
830
|
-
});
|
|
831
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
832
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
833
|
-
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
834
|
-
endTimes: /* @__PURE__ */ __name((_) => de_ListOfTimestamps(_, context), "endTimes"),
|
|
835
|
-
frameMetricData: /* @__PURE__ */ __name((_) => de_FrameMetricData(_, context), "frameMetricData"),
|
|
836
|
-
resolution: import_smithy_client.expectString,
|
|
837
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
838
|
-
unprocessedEndTimes: /* @__PURE__ */ __name((_) => de_UnprocessedEndTimeMap(_, context), "unprocessedEndTimes")
|
|
839
|
-
});
|
|
840
|
-
Object.assign(contents, doc);
|
|
841
|
-
return contents;
|
|
842
|
-
}, "de_BatchGetFrameMetricDataCommand");
|
|
843
|
-
var de_ConfigureAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
844
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
845
|
-
return de_CommandError(output, context);
|
|
846
|
-
}
|
|
847
|
-
const contents = (0, import_smithy_client.map)({
|
|
848
|
-
$metadata: deserializeMetadata(output)
|
|
849
|
-
});
|
|
850
|
-
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));
|
|
851
|
-
contents.configuration = (0, import_smithy_client._json)(data);
|
|
852
|
-
return contents;
|
|
853
|
-
}, "de_ConfigureAgentCommand");
|
|
854
|
-
var de_CreateProfilingGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
855
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
856
|
-
return de_CommandError(output, context);
|
|
857
|
-
}
|
|
858
|
-
const contents = (0, import_smithy_client.map)({
|
|
859
|
-
$metadata: deserializeMetadata(output)
|
|
860
|
-
});
|
|
861
|
-
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));
|
|
862
|
-
contents.profilingGroup = de_ProfilingGroupDescription(data, context);
|
|
863
|
-
return contents;
|
|
864
|
-
}, "de_CreateProfilingGroupCommand");
|
|
865
|
-
var de_DeleteProfilingGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
866
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
867
|
-
return de_CommandError(output, context);
|
|
868
|
-
}
|
|
869
|
-
const contents = (0, import_smithy_client.map)({
|
|
870
|
-
$metadata: deserializeMetadata(output)
|
|
871
|
-
});
|
|
872
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
873
|
-
return contents;
|
|
874
|
-
}, "de_DeleteProfilingGroupCommand");
|
|
875
|
-
var de_DescribeProfilingGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
876
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
877
|
-
return de_CommandError(output, context);
|
|
878
|
-
}
|
|
879
|
-
const contents = (0, import_smithy_client.map)({
|
|
880
|
-
$metadata: deserializeMetadata(output)
|
|
881
|
-
});
|
|
882
|
-
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));
|
|
883
|
-
contents.profilingGroup = de_ProfilingGroupDescription(data, context);
|
|
884
|
-
return contents;
|
|
885
|
-
}, "de_DescribeProfilingGroupCommand");
|
|
886
|
-
var de_GetFindingsReportAccountSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
887
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
888
|
-
return de_CommandError(output, context);
|
|
889
|
-
}
|
|
890
|
-
const contents = (0, import_smithy_client.map)({
|
|
891
|
-
$metadata: deserializeMetadata(output)
|
|
892
|
-
});
|
|
893
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
894
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
895
|
-
nextToken: import_smithy_client.expectString,
|
|
896
|
-
reportSummaries: /* @__PURE__ */ __name((_) => de_FindingsReportSummaries(_, context), "reportSummaries")
|
|
897
|
-
});
|
|
898
|
-
Object.assign(contents, doc);
|
|
899
|
-
return contents;
|
|
900
|
-
}, "de_GetFindingsReportAccountSummaryCommand");
|
|
901
|
-
var de_GetNotificationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
902
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
903
|
-
return de_CommandError(output, context);
|
|
904
|
-
}
|
|
905
|
-
const contents = (0, import_smithy_client.map)({
|
|
906
|
-
$metadata: deserializeMetadata(output)
|
|
907
|
-
});
|
|
908
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
909
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
910
|
-
notificationConfiguration: import_smithy_client._json
|
|
911
|
-
});
|
|
912
|
-
Object.assign(contents, doc);
|
|
913
|
-
return contents;
|
|
914
|
-
}, "de_GetNotificationConfigurationCommand");
|
|
915
|
-
var de_GetPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
916
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
917
|
-
return de_CommandError(output, context);
|
|
918
|
-
}
|
|
919
|
-
const contents = (0, import_smithy_client.map)({
|
|
920
|
-
$metadata: deserializeMetadata(output)
|
|
921
|
-
});
|
|
922
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
923
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
924
|
-
policy: import_smithy_client.expectString,
|
|
925
|
-
revisionId: import_smithy_client.expectString
|
|
926
|
-
});
|
|
927
|
-
Object.assign(contents, doc);
|
|
928
|
-
return contents;
|
|
929
|
-
}, "de_GetPolicyCommand");
|
|
930
|
-
var de_GetProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
931
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
932
|
-
return de_CommandError(output, context);
|
|
933
|
-
}
|
|
934
|
-
const contents = (0, import_smithy_client.map)({
|
|
935
|
-
$metadata: deserializeMetadata(output),
|
|
936
|
-
[_cTo]: [, output.headers[_ct]],
|
|
937
|
-
[_cE]: [, output.headers[_ce]]
|
|
938
|
-
});
|
|
939
|
-
const data = await (0, import_smithy_client.collectBody)(output.body, context);
|
|
940
|
-
contents.profile = data;
|
|
941
|
-
return contents;
|
|
942
|
-
}, "de_GetProfileCommand");
|
|
943
|
-
var de_GetRecommendationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
944
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
945
|
-
return de_CommandError(output, context);
|
|
946
|
-
}
|
|
947
|
-
const contents = (0, import_smithy_client.map)({
|
|
948
|
-
$metadata: deserializeMetadata(output)
|
|
949
|
-
});
|
|
950
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
951
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
952
|
-
anomalies: /* @__PURE__ */ __name((_) => de_Anomalies(_, context), "anomalies"),
|
|
953
|
-
profileEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "profileEndTime"),
|
|
954
|
-
profileStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "profileStartTime"),
|
|
955
|
-
profilingGroupName: import_smithy_client.expectString,
|
|
956
|
-
recommendations: /* @__PURE__ */ __name((_) => de_Recommendations(_, context), "recommendations")
|
|
957
|
-
});
|
|
958
|
-
Object.assign(contents, doc);
|
|
959
|
-
return contents;
|
|
960
|
-
}, "de_GetRecommendationsCommand");
|
|
961
|
-
var de_ListFindingsReportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
962
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
963
|
-
return de_CommandError(output, context);
|
|
964
|
-
}
|
|
965
|
-
const contents = (0, import_smithy_client.map)({
|
|
966
|
-
$metadata: deserializeMetadata(output)
|
|
967
|
-
});
|
|
968
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
969
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
970
|
-
findingsReportSummaries: /* @__PURE__ */ __name((_) => de_FindingsReportSummaries(_, context), "findingsReportSummaries"),
|
|
971
|
-
nextToken: import_smithy_client.expectString
|
|
972
|
-
});
|
|
973
|
-
Object.assign(contents, doc);
|
|
974
|
-
return contents;
|
|
975
|
-
}, "de_ListFindingsReportsCommand");
|
|
976
|
-
var de_ListProfileTimesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
977
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
978
|
-
return de_CommandError(output, context);
|
|
979
|
-
}
|
|
980
|
-
const contents = (0, import_smithy_client.map)({
|
|
981
|
-
$metadata: deserializeMetadata(output)
|
|
982
|
-
});
|
|
983
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
984
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
985
|
-
nextToken: import_smithy_client.expectString,
|
|
986
|
-
profileTimes: /* @__PURE__ */ __name((_) => de_ProfileTimes(_, context), "profileTimes")
|
|
987
|
-
});
|
|
988
|
-
Object.assign(contents, doc);
|
|
989
|
-
return contents;
|
|
990
|
-
}, "de_ListProfileTimesCommand");
|
|
991
|
-
var de_ListProfilingGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
992
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
993
|
-
return de_CommandError(output, context);
|
|
994
|
-
}
|
|
995
|
-
const contents = (0, import_smithy_client.map)({
|
|
996
|
-
$metadata: deserializeMetadata(output)
|
|
997
|
-
});
|
|
998
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
999
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1000
|
-
nextToken: import_smithy_client.expectString,
|
|
1001
|
-
profilingGroupNames: import_smithy_client._json,
|
|
1002
|
-
profilingGroups: /* @__PURE__ */ __name((_) => de_ProfilingGroupDescriptions(_, context), "profilingGroups")
|
|
1003
|
-
});
|
|
1004
|
-
Object.assign(contents, doc);
|
|
1005
|
-
return contents;
|
|
1006
|
-
}, "de_ListProfilingGroupsCommand");
|
|
1007
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1008
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1009
|
-
return de_CommandError(output, context);
|
|
1010
|
-
}
|
|
1011
|
-
const contents = (0, import_smithy_client.map)({
|
|
1012
|
-
$metadata: deserializeMetadata(output)
|
|
1013
|
-
});
|
|
1014
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1015
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1016
|
-
tags: import_smithy_client._json
|
|
1017
|
-
});
|
|
1018
|
-
Object.assign(contents, doc);
|
|
1019
|
-
return contents;
|
|
1020
|
-
}, "de_ListTagsForResourceCommand");
|
|
1021
|
-
var de_PostAgentProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1022
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1023
|
-
return de_CommandError(output, context);
|
|
1024
|
-
}
|
|
1025
|
-
const contents = (0, import_smithy_client.map)({
|
|
1026
|
-
$metadata: deserializeMetadata(output)
|
|
1027
|
-
});
|
|
1028
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1029
|
-
return contents;
|
|
1030
|
-
}, "de_PostAgentProfileCommand");
|
|
1031
|
-
var de_PutPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1032
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1033
|
-
return de_CommandError(output, context);
|
|
1034
|
-
}
|
|
1035
|
-
const contents = (0, import_smithy_client.map)({
|
|
1036
|
-
$metadata: deserializeMetadata(output)
|
|
1037
|
-
});
|
|
1038
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1039
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1040
|
-
policy: import_smithy_client.expectString,
|
|
1041
|
-
revisionId: import_smithy_client.expectString
|
|
1042
|
-
});
|
|
1043
|
-
Object.assign(contents, doc);
|
|
1044
|
-
return contents;
|
|
1045
|
-
}, "de_PutPermissionCommand");
|
|
1046
|
-
var de_RemoveNotificationChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1047
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1048
|
-
return de_CommandError(output, context);
|
|
1049
|
-
}
|
|
1050
|
-
const contents = (0, import_smithy_client.map)({
|
|
1051
|
-
$metadata: deserializeMetadata(output)
|
|
1052
|
-
});
|
|
1053
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1054
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1055
|
-
notificationConfiguration: import_smithy_client._json
|
|
1056
|
-
});
|
|
1057
|
-
Object.assign(contents, doc);
|
|
1058
|
-
return contents;
|
|
1059
|
-
}, "de_RemoveNotificationChannelCommand");
|
|
1060
|
-
var de_RemovePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1061
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1062
|
-
return de_CommandError(output, context);
|
|
1063
|
-
}
|
|
1064
|
-
const contents = (0, import_smithy_client.map)({
|
|
1065
|
-
$metadata: deserializeMetadata(output)
|
|
1066
|
-
});
|
|
1067
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1068
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1069
|
-
policy: import_smithy_client.expectString,
|
|
1070
|
-
revisionId: import_smithy_client.expectString
|
|
1071
|
-
});
|
|
1072
|
-
Object.assign(contents, doc);
|
|
1073
|
-
return contents;
|
|
1074
|
-
}, "de_RemovePermissionCommand");
|
|
1075
|
-
var de_SubmitFeedbackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1076
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1077
|
-
return de_CommandError(output, context);
|
|
1078
|
-
}
|
|
1079
|
-
const contents = (0, import_smithy_client.map)({
|
|
1080
|
-
$metadata: deserializeMetadata(output)
|
|
1081
|
-
});
|
|
1082
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1083
|
-
return contents;
|
|
1084
|
-
}, "de_SubmitFeedbackCommand");
|
|
1085
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1086
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1087
|
-
return de_CommandError(output, context);
|
|
1088
|
-
}
|
|
1089
|
-
const contents = (0, import_smithy_client.map)({
|
|
1090
|
-
$metadata: deserializeMetadata(output)
|
|
1091
|
-
});
|
|
1092
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1093
|
-
return contents;
|
|
1094
|
-
}, "de_TagResourceCommand");
|
|
1095
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1096
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1097
|
-
return de_CommandError(output, context);
|
|
1098
|
-
}
|
|
1099
|
-
const contents = (0, import_smithy_client.map)({
|
|
1100
|
-
$metadata: deserializeMetadata(output)
|
|
1101
|
-
});
|
|
1102
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1103
|
-
return contents;
|
|
1104
|
-
}, "de_UntagResourceCommand");
|
|
1105
|
-
var de_UpdateProfilingGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1106
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1107
|
-
return de_CommandError(output, context);
|
|
1108
|
-
}
|
|
1109
|
-
const contents = (0, import_smithy_client.map)({
|
|
1110
|
-
$metadata: deserializeMetadata(output)
|
|
1111
|
-
});
|
|
1112
|
-
const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));
|
|
1113
|
-
contents.profilingGroup = de_ProfilingGroupDescription(data, context);
|
|
1114
|
-
return contents;
|
|
1115
|
-
}, "de_UpdateProfilingGroupCommand");
|
|
1116
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1117
|
-
const parsedOutput = {
|
|
1118
|
-
...output,
|
|
1119
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1120
|
-
};
|
|
1121
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1122
|
-
switch (errorCode) {
|
|
1123
|
-
case "ConflictException":
|
|
1124
|
-
case "com.amazonaws.codeguruprofiler#ConflictException":
|
|
1125
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1126
|
-
case "InternalServerException":
|
|
1127
|
-
case "com.amazonaws.codeguruprofiler#InternalServerException":
|
|
1128
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1129
|
-
case "ResourceNotFoundException":
|
|
1130
|
-
case "com.amazonaws.codeguruprofiler#ResourceNotFoundException":
|
|
1131
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1132
|
-
case "ServiceQuotaExceededException":
|
|
1133
|
-
case "com.amazonaws.codeguruprofiler#ServiceQuotaExceededException":
|
|
1134
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1135
|
-
case "ThrottlingException":
|
|
1136
|
-
case "com.amazonaws.codeguruprofiler#ThrottlingException":
|
|
1137
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1138
|
-
case "ValidationException":
|
|
1139
|
-
case "com.amazonaws.codeguruprofiler#ValidationException":
|
|
1140
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1141
|
-
default:
|
|
1142
|
-
const parsedBody = parsedOutput.body;
|
|
1143
|
-
return throwDefaultError({
|
|
1144
|
-
output,
|
|
1145
|
-
parsedBody,
|
|
1146
|
-
errorCode
|
|
1147
|
-
});
|
|
1148
|
-
}
|
|
1149
|
-
}, "de_CommandError");
|
|
1150
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(CodeGuruProfilerServiceException);
|
|
1151
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1152
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1153
|
-
const data = parsedOutput.body;
|
|
1154
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1155
|
-
message: import_smithy_client.expectString
|
|
1156
|
-
});
|
|
1157
|
-
Object.assign(contents, doc);
|
|
1158
|
-
const exception = new ConflictException({
|
|
1159
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1160
|
-
...contents
|
|
1161
|
-
});
|
|
1162
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1163
|
-
}, "de_ConflictExceptionRes");
|
|
1164
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1165
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1166
|
-
const data = parsedOutput.body;
|
|
1167
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1168
|
-
message: import_smithy_client.expectString
|
|
1169
|
-
});
|
|
1170
|
-
Object.assign(contents, doc);
|
|
1171
|
-
const exception = new InternalServerException({
|
|
1172
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1173
|
-
...contents
|
|
1174
|
-
});
|
|
1175
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1176
|
-
}, "de_InternalServerExceptionRes");
|
|
1177
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1178
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1179
|
-
const data = parsedOutput.body;
|
|
1180
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1181
|
-
message: import_smithy_client.expectString
|
|
1182
|
-
});
|
|
1183
|
-
Object.assign(contents, doc);
|
|
1184
|
-
const exception = new ResourceNotFoundException({
|
|
1185
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1186
|
-
...contents
|
|
1187
|
-
});
|
|
1188
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1189
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1190
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1191
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1192
|
-
const data = parsedOutput.body;
|
|
1193
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1194
|
-
message: import_smithy_client.expectString
|
|
1195
|
-
});
|
|
1196
|
-
Object.assign(contents, doc);
|
|
1197
|
-
const exception = new ServiceQuotaExceededException({
|
|
1198
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1199
|
-
...contents
|
|
1200
|
-
});
|
|
1201
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1202
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1203
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1204
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1205
|
-
const data = parsedOutput.body;
|
|
1206
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1207
|
-
message: import_smithy_client.expectString
|
|
1208
|
-
});
|
|
1209
|
-
Object.assign(contents, doc);
|
|
1210
|
-
const exception = new ThrottlingException({
|
|
1211
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1212
|
-
...contents
|
|
1213
|
-
});
|
|
1214
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1215
|
-
}, "de_ThrottlingExceptionRes");
|
|
1216
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1217
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1218
|
-
const data = parsedOutput.body;
|
|
1219
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1220
|
-
message: import_smithy_client.expectString
|
|
1221
|
-
});
|
|
1222
|
-
Object.assign(contents, doc);
|
|
1223
|
-
const exception = new ValidationException({
|
|
1224
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1225
|
-
...contents
|
|
1226
|
-
});
|
|
1227
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1228
|
-
}, "de_ValidationExceptionRes");
|
|
1229
|
-
var de_AggregatedProfileTime = /* @__PURE__ */ __name((output, context) => {
|
|
1230
|
-
return (0, import_smithy_client.take)(output, {
|
|
1231
|
-
period: import_smithy_client.expectString,
|
|
1232
|
-
start: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "start")
|
|
1233
|
-
});
|
|
1234
|
-
}, "de_AggregatedProfileTime");
|
|
1235
|
-
var de_Anomalies = /* @__PURE__ */ __name((output, context) => {
|
|
1236
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1237
|
-
return de_Anomaly(entry, context);
|
|
1238
|
-
});
|
|
1239
|
-
return retVal;
|
|
1240
|
-
}, "de_Anomalies");
|
|
1241
|
-
var de_Anomaly = /* @__PURE__ */ __name((output, context) => {
|
|
1242
|
-
return (0, import_smithy_client.take)(output, {
|
|
1243
|
-
instances: /* @__PURE__ */ __name((_) => de_AnomalyInstances(_, context), "instances"),
|
|
1244
|
-
metric: import_smithy_client._json,
|
|
1245
|
-
reason: import_smithy_client.expectString
|
|
1246
|
-
});
|
|
1247
|
-
}, "de_Anomaly");
|
|
1248
|
-
var de_AnomalyInstance = /* @__PURE__ */ __name((output, context) => {
|
|
1249
|
-
return (0, import_smithy_client.take)(output, {
|
|
1250
|
-
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
1251
|
-
id: import_smithy_client.expectString,
|
|
1252
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1253
|
-
userFeedback: import_smithy_client._json
|
|
1254
|
-
});
|
|
1255
|
-
}, "de_AnomalyInstance");
|
|
1256
|
-
var de_AnomalyInstances = /* @__PURE__ */ __name((output, context) => {
|
|
1257
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1258
|
-
return de_AnomalyInstance(entry, context);
|
|
1259
|
-
});
|
|
1260
|
-
return retVal;
|
|
1261
|
-
}, "de_AnomalyInstances");
|
|
1262
|
-
var de_FindingsReportSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
1263
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1264
|
-
return de_FindingsReportSummary(entry, context);
|
|
1265
|
-
});
|
|
1266
|
-
return retVal;
|
|
1267
|
-
}, "de_FindingsReportSummaries");
|
|
1268
|
-
var de_FindingsReportSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1269
|
-
return (0, import_smithy_client.take)(output, {
|
|
1270
|
-
id: import_smithy_client.expectString,
|
|
1271
|
-
profileEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "profileEndTime"),
|
|
1272
|
-
profileStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "profileStartTime"),
|
|
1273
|
-
profilingGroupName: import_smithy_client.expectString,
|
|
1274
|
-
totalNumberOfFindings: import_smithy_client.expectInt32
|
|
1275
|
-
});
|
|
1276
|
-
}, "de_FindingsReportSummary");
|
|
1277
|
-
var de_FrameMetricData = /* @__PURE__ */ __name((output, context) => {
|
|
1278
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1279
|
-
return de_FrameMetricDatum(entry, context);
|
|
1280
|
-
});
|
|
1281
|
-
return retVal;
|
|
1282
|
-
}, "de_FrameMetricData");
|
|
1283
|
-
var de_FrameMetricDatum = /* @__PURE__ */ __name((output, context) => {
|
|
1284
|
-
return (0, import_smithy_client.take)(output, {
|
|
1285
|
-
frameMetric: import_smithy_client._json,
|
|
1286
|
-
values: /* @__PURE__ */ __name((_) => de_FrameMetricValues(_, context), "values")
|
|
1287
|
-
});
|
|
1288
|
-
}, "de_FrameMetricDatum");
|
|
1289
|
-
var de_FrameMetricValues = /* @__PURE__ */ __name((output, context) => {
|
|
1290
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1291
|
-
return (0, import_smithy_client.limitedParseDouble)(entry);
|
|
1292
|
-
});
|
|
1293
|
-
return retVal;
|
|
1294
|
-
}, "de_FrameMetricValues");
|
|
1295
|
-
var de_ListOfTimestamps = /* @__PURE__ */ __name((output, context) => {
|
|
1296
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1297
|
-
return de_TimestampStructure(entry, context);
|
|
1298
|
-
});
|
|
1299
|
-
return retVal;
|
|
1300
|
-
}, "de_ListOfTimestamps");
|
|
1301
|
-
var de_Match = /* @__PURE__ */ __name((output, context) => {
|
|
1302
|
-
return (0, import_smithy_client.take)(output, {
|
|
1303
|
-
frameAddress: import_smithy_client.expectString,
|
|
1304
|
-
targetFramesIndex: import_smithy_client.expectInt32,
|
|
1305
|
-
thresholdBreachValue: import_smithy_client.limitedParseDouble
|
|
1306
|
-
});
|
|
1307
|
-
}, "de_Match");
|
|
1308
|
-
var de_Matches = /* @__PURE__ */ __name((output, context) => {
|
|
1309
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1310
|
-
return de_Match(entry, context);
|
|
1311
|
-
});
|
|
1312
|
-
return retVal;
|
|
1313
|
-
}, "de_Matches");
|
|
1314
|
-
var de_Pattern = /* @__PURE__ */ __name((output, context) => {
|
|
1315
|
-
return (0, import_smithy_client.take)(output, {
|
|
1316
|
-
countersToAggregate: import_smithy_client._json,
|
|
1317
|
-
description: import_smithy_client.expectString,
|
|
1318
|
-
id: import_smithy_client.expectString,
|
|
1319
|
-
name: import_smithy_client.expectString,
|
|
1320
|
-
resolutionSteps: import_smithy_client.expectString,
|
|
1321
|
-
targetFrames: import_smithy_client._json,
|
|
1322
|
-
thresholdPercent: import_smithy_client.limitedParseDouble
|
|
1323
|
-
});
|
|
1324
|
-
}, "de_Pattern");
|
|
1325
|
-
var de_ProfileTime = /* @__PURE__ */ __name((output, context) => {
|
|
1326
|
-
return (0, import_smithy_client.take)(output, {
|
|
1327
|
-
start: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "start")
|
|
1328
|
-
});
|
|
1329
|
-
}, "de_ProfileTime");
|
|
1330
|
-
var de_ProfileTimes = /* @__PURE__ */ __name((output, context) => {
|
|
1331
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1332
|
-
return de_ProfileTime(entry, context);
|
|
1333
|
-
});
|
|
1334
|
-
return retVal;
|
|
1335
|
-
}, "de_ProfileTimes");
|
|
1336
|
-
var de_ProfilingGroupDescription = /* @__PURE__ */ __name((output, context) => {
|
|
1337
|
-
return (0, import_smithy_client.take)(output, {
|
|
1338
|
-
agentOrchestrationConfig: import_smithy_client._json,
|
|
1339
|
-
arn: import_smithy_client.expectString,
|
|
1340
|
-
computePlatform: import_smithy_client.expectString,
|
|
1341
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1342
|
-
name: import_smithy_client.expectString,
|
|
1343
|
-
profilingStatus: /* @__PURE__ */ __name((_) => de_ProfilingStatus(_, context), "profilingStatus"),
|
|
1344
|
-
tags: import_smithy_client._json,
|
|
1345
|
-
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
1346
|
-
});
|
|
1347
|
-
}, "de_ProfilingGroupDescription");
|
|
1348
|
-
var de_ProfilingGroupDescriptions = /* @__PURE__ */ __name((output, context) => {
|
|
1349
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1350
|
-
return de_ProfilingGroupDescription(entry, context);
|
|
1351
|
-
});
|
|
1352
|
-
return retVal;
|
|
1353
|
-
}, "de_ProfilingGroupDescriptions");
|
|
1354
|
-
var de_ProfilingStatus = /* @__PURE__ */ __name((output, context) => {
|
|
1355
|
-
return (0, import_smithy_client.take)(output, {
|
|
1356
|
-
latestAgentOrchestratedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "latestAgentOrchestratedAt"),
|
|
1357
|
-
latestAgentProfileReportedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "latestAgentProfileReportedAt"),
|
|
1358
|
-
latestAggregatedProfile: /* @__PURE__ */ __name((_) => de_AggregatedProfileTime(_, context), "latestAggregatedProfile")
|
|
1359
|
-
});
|
|
1360
|
-
}, "de_ProfilingStatus");
|
|
1361
|
-
var de_Recommendation = /* @__PURE__ */ __name((output, context) => {
|
|
1362
|
-
return (0, import_smithy_client.take)(output, {
|
|
1363
|
-
allMatchesCount: import_smithy_client.expectInt32,
|
|
1364
|
-
allMatchesSum: import_smithy_client.limitedParseDouble,
|
|
1365
|
-
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
1366
|
-
pattern: /* @__PURE__ */ __name((_) => de_Pattern(_, context), "pattern"),
|
|
1367
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1368
|
-
topMatches: /* @__PURE__ */ __name((_) => de_Matches(_, context), "topMatches")
|
|
1369
|
-
});
|
|
1370
|
-
}, "de_Recommendation");
|
|
1371
|
-
var de_Recommendations = /* @__PURE__ */ __name((output, context) => {
|
|
1372
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1373
|
-
return de_Recommendation(entry, context);
|
|
1374
|
-
});
|
|
1375
|
-
return retVal;
|
|
1376
|
-
}, "de_Recommendations");
|
|
1377
|
-
var de_TimestampStructure = /* @__PURE__ */ __name((output, context) => {
|
|
1378
|
-
return (0, import_smithy_client.take)(output, {
|
|
1379
|
-
value: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "value")
|
|
1380
|
-
});
|
|
1381
|
-
}, "de_TimestampStructure");
|
|
1382
|
-
var de_UnprocessedEndTimeMap = /* @__PURE__ */ __name((output, context) => {
|
|
1383
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1384
|
-
if (value === null) {
|
|
1385
|
-
return acc;
|
|
241
|
+
const se_AddNotificationChannelsCommand = async (input, context) => {
|
|
242
|
+
const b = core.requestBuilder(input, context);
|
|
243
|
+
const headers = {
|
|
244
|
+
"content-type": "application/json",
|
|
245
|
+
};
|
|
246
|
+
b.bp("/profilingGroups/{profilingGroupName}/notificationConfiguration");
|
|
247
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
248
|
+
let body;
|
|
249
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
250
|
+
channels: (_) => smithyClient._json(_),
|
|
251
|
+
}));
|
|
252
|
+
b.m("POST").h(headers).b(body);
|
|
253
|
+
return b.build();
|
|
254
|
+
};
|
|
255
|
+
const se_BatchGetFrameMetricDataCommand = async (input, context) => {
|
|
256
|
+
const b = core.requestBuilder(input, context);
|
|
257
|
+
const headers = {
|
|
258
|
+
"content-type": "application/json",
|
|
259
|
+
};
|
|
260
|
+
b.bp("/profilingGroups/{profilingGroupName}/frames/-/metrics");
|
|
261
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
262
|
+
const query = smithyClient.map({
|
|
263
|
+
[_sT]: [() => input.startTime !== void 0, () => smithyClient.serializeDateTime(input[_sT]).toString()],
|
|
264
|
+
[_eT]: [() => input.endTime !== void 0, () => smithyClient.serializeDateTime(input[_eT]).toString()],
|
|
265
|
+
[_p]: [, input[_p]],
|
|
266
|
+
[_tR]: [, input[_tR]],
|
|
267
|
+
});
|
|
268
|
+
let body;
|
|
269
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
270
|
+
frameMetrics: (_) => smithyClient._json(_),
|
|
271
|
+
}));
|
|
272
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
273
|
+
return b.build();
|
|
274
|
+
};
|
|
275
|
+
const se_ConfigureAgentCommand = async (input, context) => {
|
|
276
|
+
const b = core.requestBuilder(input, context);
|
|
277
|
+
const headers = {
|
|
278
|
+
"content-type": "application/json",
|
|
279
|
+
};
|
|
280
|
+
b.bp("/profilingGroups/{profilingGroupName}/configureAgent");
|
|
281
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
282
|
+
let body;
|
|
283
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
284
|
+
fleetInstanceId: [],
|
|
285
|
+
metadata: (_) => smithyClient._json(_),
|
|
286
|
+
}));
|
|
287
|
+
b.m("POST").h(headers).b(body);
|
|
288
|
+
return b.build();
|
|
289
|
+
};
|
|
290
|
+
const se_CreateProfilingGroupCommand = async (input, context) => {
|
|
291
|
+
const b = core.requestBuilder(input, context);
|
|
292
|
+
const headers = {
|
|
293
|
+
"content-type": "application/json",
|
|
294
|
+
};
|
|
295
|
+
b.bp("/profilingGroups");
|
|
296
|
+
const query = smithyClient.map({
|
|
297
|
+
[_cT]: [, smithyClient.expectNonNull(input[_cT], `clientToken`)],
|
|
298
|
+
});
|
|
299
|
+
let body;
|
|
300
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
301
|
+
agentOrchestrationConfig: (_) => smithyClient._json(_),
|
|
302
|
+
computePlatform: [],
|
|
303
|
+
profilingGroupName: [],
|
|
304
|
+
tags: (_) => smithyClient._json(_),
|
|
305
|
+
}));
|
|
306
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
307
|
+
return b.build();
|
|
308
|
+
};
|
|
309
|
+
const se_DeleteProfilingGroupCommand = async (input, context) => {
|
|
310
|
+
const b = core.requestBuilder(input, context);
|
|
311
|
+
const headers = {};
|
|
312
|
+
b.bp("/profilingGroups/{profilingGroupName}");
|
|
313
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
314
|
+
let body;
|
|
315
|
+
b.m("DELETE").h(headers).b(body);
|
|
316
|
+
return b.build();
|
|
317
|
+
};
|
|
318
|
+
const se_DescribeProfilingGroupCommand = async (input, context) => {
|
|
319
|
+
const b = core.requestBuilder(input, context);
|
|
320
|
+
const headers = {};
|
|
321
|
+
b.bp("/profilingGroups/{profilingGroupName}");
|
|
322
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
323
|
+
let body;
|
|
324
|
+
b.m("GET").h(headers).b(body);
|
|
325
|
+
return b.build();
|
|
326
|
+
};
|
|
327
|
+
const se_GetFindingsReportAccountSummaryCommand = async (input, context) => {
|
|
328
|
+
const b = core.requestBuilder(input, context);
|
|
329
|
+
const headers = {};
|
|
330
|
+
b.bp("/internal/findingsReports");
|
|
331
|
+
const query = smithyClient.map({
|
|
332
|
+
[_nT]: [, input[_nT]],
|
|
333
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
334
|
+
[_dRO]: [() => input.dailyReportsOnly !== void 0, () => input[_dRO].toString()],
|
|
335
|
+
});
|
|
336
|
+
let body;
|
|
337
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
338
|
+
return b.build();
|
|
339
|
+
};
|
|
340
|
+
const se_GetNotificationConfigurationCommand = async (input, context) => {
|
|
341
|
+
const b = core.requestBuilder(input, context);
|
|
342
|
+
const headers = {};
|
|
343
|
+
b.bp("/profilingGroups/{profilingGroupName}/notificationConfiguration");
|
|
344
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
345
|
+
let body;
|
|
346
|
+
b.m("GET").h(headers).b(body);
|
|
347
|
+
return b.build();
|
|
348
|
+
};
|
|
349
|
+
const se_GetPolicyCommand = async (input, context) => {
|
|
350
|
+
const b = core.requestBuilder(input, context);
|
|
351
|
+
const headers = {};
|
|
352
|
+
b.bp("/profilingGroups/{profilingGroupName}/policy");
|
|
353
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
354
|
+
let body;
|
|
355
|
+
b.m("GET").h(headers).b(body);
|
|
356
|
+
return b.build();
|
|
357
|
+
};
|
|
358
|
+
const se_GetProfileCommand = async (input, context) => {
|
|
359
|
+
const b = core.requestBuilder(input, context);
|
|
360
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
361
|
+
[_a]: input[_a],
|
|
362
|
+
});
|
|
363
|
+
b.bp("/profilingGroups/{profilingGroupName}/profile");
|
|
364
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
365
|
+
const query = smithyClient.map({
|
|
366
|
+
[_sT]: [() => input.startTime !== void 0, () => smithyClient.serializeDateTime(input[_sT]).toString()],
|
|
367
|
+
[_p]: [, input[_p]],
|
|
368
|
+
[_eT]: [() => input.endTime !== void 0, () => smithyClient.serializeDateTime(input[_eT]).toString()],
|
|
369
|
+
[_mD]: [() => input.maxDepth !== void 0, () => input[_mD].toString()],
|
|
370
|
+
});
|
|
371
|
+
let body;
|
|
372
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
373
|
+
return b.build();
|
|
374
|
+
};
|
|
375
|
+
const se_GetRecommendationsCommand = async (input, context) => {
|
|
376
|
+
const b = core.requestBuilder(input, context);
|
|
377
|
+
const headers = {};
|
|
378
|
+
b.bp("/internal/profilingGroups/{profilingGroupName}/recommendations");
|
|
379
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
380
|
+
const query = smithyClient.map({
|
|
381
|
+
[_sT]: [smithyClient.expectNonNull(input.startTime, `startTime`) != null, () => smithyClient.serializeDateTime(input[_sT]).toString()],
|
|
382
|
+
[_eT]: [smithyClient.expectNonNull(input.endTime, `endTime`) != null, () => smithyClient.serializeDateTime(input[_eT]).toString()],
|
|
383
|
+
[_l]: [, input[_l]],
|
|
384
|
+
});
|
|
385
|
+
let body;
|
|
386
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
387
|
+
return b.build();
|
|
388
|
+
};
|
|
389
|
+
const se_ListFindingsReportsCommand = async (input, context) => {
|
|
390
|
+
const b = core.requestBuilder(input, context);
|
|
391
|
+
const headers = {};
|
|
392
|
+
b.bp("/internal/profilingGroups/{profilingGroupName}/findingsReports");
|
|
393
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
394
|
+
const query = smithyClient.map({
|
|
395
|
+
[_sT]: [smithyClient.expectNonNull(input.startTime, `startTime`) != null, () => smithyClient.serializeDateTime(input[_sT]).toString()],
|
|
396
|
+
[_eT]: [smithyClient.expectNonNull(input.endTime, `endTime`) != null, () => smithyClient.serializeDateTime(input[_eT]).toString()],
|
|
397
|
+
[_nT]: [, input[_nT]],
|
|
398
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
399
|
+
[_dRO]: [() => input.dailyReportsOnly !== void 0, () => input[_dRO].toString()],
|
|
400
|
+
});
|
|
401
|
+
let body;
|
|
402
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
403
|
+
return b.build();
|
|
404
|
+
};
|
|
405
|
+
const se_ListProfileTimesCommand = async (input, context) => {
|
|
406
|
+
const b = core.requestBuilder(input, context);
|
|
407
|
+
const headers = {};
|
|
408
|
+
b.bp("/profilingGroups/{profilingGroupName}/profileTimes");
|
|
409
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
410
|
+
const query = smithyClient.map({
|
|
411
|
+
[_sT]: [smithyClient.expectNonNull(input.startTime, `startTime`) != null, () => smithyClient.serializeDateTime(input[_sT]).toString()],
|
|
412
|
+
[_eT]: [smithyClient.expectNonNull(input.endTime, `endTime`) != null, () => smithyClient.serializeDateTime(input[_eT]).toString()],
|
|
413
|
+
[_p]: [, smithyClient.expectNonNull(input[_p], `period`)],
|
|
414
|
+
[_oB]: [, input[_oB]],
|
|
415
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
416
|
+
[_nT]: [, input[_nT]],
|
|
417
|
+
});
|
|
418
|
+
let body;
|
|
419
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
420
|
+
return b.build();
|
|
421
|
+
};
|
|
422
|
+
const se_ListProfilingGroupsCommand = async (input, context) => {
|
|
423
|
+
const b = core.requestBuilder(input, context);
|
|
424
|
+
const headers = {};
|
|
425
|
+
b.bp("/profilingGroups");
|
|
426
|
+
const query = smithyClient.map({
|
|
427
|
+
[_nT]: [, input[_nT]],
|
|
428
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
429
|
+
[_iD]: [() => input.includeDescription !== void 0, () => input[_iD].toString()],
|
|
430
|
+
});
|
|
431
|
+
let body;
|
|
432
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
433
|
+
return b.build();
|
|
434
|
+
};
|
|
435
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
436
|
+
const b = core.requestBuilder(input, context);
|
|
437
|
+
const headers = {};
|
|
438
|
+
b.bp("/tags/{resourceArn}");
|
|
439
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
440
|
+
let body;
|
|
441
|
+
b.m("GET").h(headers).b(body);
|
|
442
|
+
return b.build();
|
|
443
|
+
};
|
|
444
|
+
const se_PostAgentProfileCommand = async (input, context) => {
|
|
445
|
+
const b = core.requestBuilder(input, context);
|
|
446
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
447
|
+
[_ct]: input[_cTo] || "application/octet-stream",
|
|
448
|
+
});
|
|
449
|
+
b.bp("/profilingGroups/{profilingGroupName}/agentProfile");
|
|
450
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
451
|
+
const query = smithyClient.map({
|
|
452
|
+
[_pT]: [, input[_pT] ?? uuid.v4()],
|
|
453
|
+
});
|
|
454
|
+
let body;
|
|
455
|
+
if (input.agentProfile !== undefined) {
|
|
456
|
+
body = input.agentProfile;
|
|
1386
457
|
}
|
|
1387
|
-
|
|
1388
|
-
return
|
|
1389
|
-
}, {});
|
|
1390
|
-
}, "de_UnprocessedEndTimeMap");
|
|
1391
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1392
|
-
httpStatusCode: output.statusCode,
|
|
1393
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1394
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1395
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1396
|
-
}), "deserializeMetadata");
|
|
1397
|
-
var _a = "accept";
|
|
1398
|
-
var _cE = "contentEncoding";
|
|
1399
|
-
var _cT = "clientToken";
|
|
1400
|
-
var _cTo = "contentType";
|
|
1401
|
-
var _ce = "content-encoding";
|
|
1402
|
-
var _ct = "content-type";
|
|
1403
|
-
var _dRO = "dailyReportsOnly";
|
|
1404
|
-
var _eT = "endTime";
|
|
1405
|
-
var _iD = "includeDescription";
|
|
1406
|
-
var _l = "locale";
|
|
1407
|
-
var _mD = "maxDepth";
|
|
1408
|
-
var _mR = "maxResults";
|
|
1409
|
-
var _nT = "nextToken";
|
|
1410
|
-
var _oB = "orderBy";
|
|
1411
|
-
var _p = "period";
|
|
1412
|
-
var _pT = "profileToken";
|
|
1413
|
-
var _rI = "revisionId";
|
|
1414
|
-
var _sT = "startTime";
|
|
1415
|
-
var _tK = "tagKeys";
|
|
1416
|
-
var _tR = "targetResolution";
|
|
1417
|
-
|
|
1418
|
-
// src/commands/AddNotificationChannelsCommand.ts
|
|
1419
|
-
var AddNotificationChannelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1420
|
-
return [
|
|
1421
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1422
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1423
|
-
];
|
|
1424
|
-
}).s("CodeGuruProfiler", "AddNotificationChannels", {}).n("CodeGuruProfilerClient", "AddNotificationChannelsCommand").f(void 0, void 0).ser(se_AddNotificationChannelsCommand).de(de_AddNotificationChannelsCommand).build() {
|
|
1425
|
-
static {
|
|
1426
|
-
__name(this, "AddNotificationChannelsCommand");
|
|
1427
|
-
}
|
|
458
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
459
|
+
return b.build();
|
|
1428
460
|
};
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
(
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
461
|
+
const se_PutPermissionCommand = async (input, context) => {
|
|
462
|
+
const b = core.requestBuilder(input, context);
|
|
463
|
+
const headers = {
|
|
464
|
+
"content-type": "application/json",
|
|
465
|
+
};
|
|
466
|
+
b.bp("/profilingGroups/{profilingGroupName}/policy/{actionGroup}");
|
|
467
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
468
|
+
b.p("actionGroup", () => input.actionGroup, "{actionGroup}", false);
|
|
469
|
+
let body;
|
|
470
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
471
|
+
principals: (_) => smithyClient._json(_),
|
|
472
|
+
revisionId: [],
|
|
473
|
+
}));
|
|
474
|
+
b.m("PUT").h(headers).b(body);
|
|
475
|
+
return b.build();
|
|
1443
476
|
};
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
(
|
|
1452
|
-
|
|
1453
|
-
];
|
|
1454
|
-
}).s("CodeGuruProfiler", "ConfigureAgent", {}).n("CodeGuruProfilerClient", "ConfigureAgentCommand").f(void 0, void 0).ser(se_ConfigureAgentCommand).de(de_ConfigureAgentCommand).build() {
|
|
1455
|
-
static {
|
|
1456
|
-
__name(this, "ConfigureAgentCommand");
|
|
1457
|
-
}
|
|
477
|
+
const se_RemoveNotificationChannelCommand = async (input, context) => {
|
|
478
|
+
const b = core.requestBuilder(input, context);
|
|
479
|
+
const headers = {};
|
|
480
|
+
b.bp("/profilingGroups/{profilingGroupName}/notificationConfiguration/{channelId}");
|
|
481
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
482
|
+
b.p("channelId", () => input.channelId, "{channelId}", false);
|
|
483
|
+
let body;
|
|
484
|
+
b.m("DELETE").h(headers).b(body);
|
|
485
|
+
return b.build();
|
|
1458
486
|
};
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
__name(this, "CreateProfilingGroupCommand");
|
|
1472
|
-
}
|
|
487
|
+
const se_RemovePermissionCommand = async (input, context) => {
|
|
488
|
+
const b = core.requestBuilder(input, context);
|
|
489
|
+
const headers = {};
|
|
490
|
+
b.bp("/profilingGroups/{profilingGroupName}/policy/{actionGroup}");
|
|
491
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
492
|
+
b.p("actionGroup", () => input.actionGroup, "{actionGroup}", false);
|
|
493
|
+
const query = smithyClient.map({
|
|
494
|
+
[_rI]: [, smithyClient.expectNonNull(input[_rI], `revisionId`)],
|
|
495
|
+
});
|
|
496
|
+
let body;
|
|
497
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
498
|
+
return b.build();
|
|
1473
499
|
};
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
(
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
500
|
+
const se_SubmitFeedbackCommand = async (input, context) => {
|
|
501
|
+
const b = core.requestBuilder(input, context);
|
|
502
|
+
const headers = {
|
|
503
|
+
"content-type": "application/json",
|
|
504
|
+
};
|
|
505
|
+
b.bp("/internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback");
|
|
506
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
507
|
+
b.p("anomalyInstanceId", () => input.anomalyInstanceId, "{anomalyInstanceId}", false);
|
|
508
|
+
let body;
|
|
509
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
510
|
+
comment: [],
|
|
511
|
+
type: [],
|
|
512
|
+
}));
|
|
513
|
+
b.m("POST").h(headers).b(body);
|
|
514
|
+
return b.build();
|
|
1488
515
|
};
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
})
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
}
|
|
516
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
517
|
+
const b = core.requestBuilder(input, context);
|
|
518
|
+
const headers = {
|
|
519
|
+
"content-type": "application/json",
|
|
520
|
+
};
|
|
521
|
+
b.bp("/tags/{resourceArn}");
|
|
522
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
523
|
+
let body;
|
|
524
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
525
|
+
tags: (_) => smithyClient._json(_),
|
|
526
|
+
}));
|
|
527
|
+
b.m("POST").h(headers).b(body);
|
|
528
|
+
return b.build();
|
|
1503
529
|
};
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
static {
|
|
1516
|
-
__name(this, "GetFindingsReportAccountSummaryCommand");
|
|
1517
|
-
}
|
|
530
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
531
|
+
const b = core.requestBuilder(input, context);
|
|
532
|
+
const headers = {};
|
|
533
|
+
b.bp("/tags/{resourceArn}");
|
|
534
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
535
|
+
const query = smithyClient.map({
|
|
536
|
+
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
537
|
+
});
|
|
538
|
+
let body;
|
|
539
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
540
|
+
return b.build();
|
|
1518
541
|
};
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
})
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
}
|
|
542
|
+
const se_UpdateProfilingGroupCommand = async (input, context) => {
|
|
543
|
+
const b = core.requestBuilder(input, context);
|
|
544
|
+
const headers = {
|
|
545
|
+
"content-type": "application/json",
|
|
546
|
+
};
|
|
547
|
+
b.bp("/profilingGroups/{profilingGroupName}");
|
|
548
|
+
b.p("profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
549
|
+
let body;
|
|
550
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
551
|
+
agentOrchestrationConfig: (_) => smithyClient._json(_),
|
|
552
|
+
}));
|
|
553
|
+
b.m("PUT").h(headers).b(body);
|
|
554
|
+
return b.build();
|
|
1533
555
|
};
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
(
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
})
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
}
|
|
556
|
+
const de_AddNotificationChannelsCommand = async (output, context) => {
|
|
557
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
558
|
+
return de_CommandError(output, context);
|
|
559
|
+
}
|
|
560
|
+
const contents = smithyClient.map({
|
|
561
|
+
$metadata: deserializeMetadata(output),
|
|
562
|
+
});
|
|
563
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
564
|
+
const doc = smithyClient.take(data, {
|
|
565
|
+
notificationConfiguration: smithyClient._json,
|
|
566
|
+
});
|
|
567
|
+
Object.assign(contents, doc);
|
|
568
|
+
return contents;
|
|
1548
569
|
};
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
(
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
570
|
+
const de_BatchGetFrameMetricDataCommand = async (output, context) => {
|
|
571
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
572
|
+
return de_CommandError(output, context);
|
|
573
|
+
}
|
|
574
|
+
const contents = smithyClient.map({
|
|
575
|
+
$metadata: deserializeMetadata(output),
|
|
576
|
+
});
|
|
577
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
578
|
+
const doc = smithyClient.take(data, {
|
|
579
|
+
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
580
|
+
endTimes: (_) => de_ListOfTimestamps(_),
|
|
581
|
+
frameMetricData: (_) => de_FrameMetricData(_),
|
|
582
|
+
resolution: smithyClient.expectString,
|
|
583
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
584
|
+
unprocessedEndTimes: (_) => de_UnprocessedEndTimeMap(_),
|
|
585
|
+
});
|
|
586
|
+
Object.assign(contents, doc);
|
|
587
|
+
return contents;
|
|
1563
588
|
};
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
}).s("CodeGuruProfiler", "GetRecommendations", {}).n("CodeGuruProfilerClient", "GetRecommendationsCommand").f(void 0, void 0).ser(se_GetRecommendationsCommand).de(de_GetRecommendationsCommand).build() {
|
|
1575
|
-
static {
|
|
1576
|
-
__name(this, "GetRecommendationsCommand");
|
|
1577
|
-
}
|
|
589
|
+
const de_ConfigureAgentCommand = async (output, context) => {
|
|
590
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
591
|
+
return de_CommandError(output, context);
|
|
592
|
+
}
|
|
593
|
+
const contents = smithyClient.map({
|
|
594
|
+
$metadata: deserializeMetadata(output),
|
|
595
|
+
});
|
|
596
|
+
const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
|
|
597
|
+
contents.configuration = smithyClient._json(data);
|
|
598
|
+
return contents;
|
|
1578
599
|
};
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
}).s("CodeGuruProfiler", "ListFindingsReports", {}).n("CodeGuruProfilerClient", "ListFindingsReportsCommand").f(void 0, void 0).ser(se_ListFindingsReportsCommand).de(de_ListFindingsReportsCommand).build() {
|
|
1590
|
-
static {
|
|
1591
|
-
__name(this, "ListFindingsReportsCommand");
|
|
1592
|
-
}
|
|
600
|
+
const de_CreateProfilingGroupCommand = async (output, context) => {
|
|
601
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
602
|
+
return de_CommandError(output, context);
|
|
603
|
+
}
|
|
604
|
+
const contents = smithyClient.map({
|
|
605
|
+
$metadata: deserializeMetadata(output),
|
|
606
|
+
});
|
|
607
|
+
const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
|
|
608
|
+
contents.profilingGroup = de_ProfilingGroupDescription(data);
|
|
609
|
+
return contents;
|
|
1593
610
|
};
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
];
|
|
1604
|
-
}).s("CodeGuruProfiler", "ListProfileTimes", {}).n("CodeGuruProfilerClient", "ListProfileTimesCommand").f(void 0, void 0).ser(se_ListProfileTimesCommand).de(de_ListProfileTimesCommand).build() {
|
|
1605
|
-
static {
|
|
1606
|
-
__name(this, "ListProfileTimesCommand");
|
|
1607
|
-
}
|
|
611
|
+
const de_DeleteProfilingGroupCommand = async (output, context) => {
|
|
612
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
613
|
+
return de_CommandError(output, context);
|
|
614
|
+
}
|
|
615
|
+
const contents = smithyClient.map({
|
|
616
|
+
$metadata: deserializeMetadata(output),
|
|
617
|
+
});
|
|
618
|
+
await smithyClient.collectBody(output.body, context);
|
|
619
|
+
return contents;
|
|
1608
620
|
};
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
}).s("CodeGuruProfiler", "ListProfilingGroups", {}).n("CodeGuruProfilerClient", "ListProfilingGroupsCommand").f(void 0, void 0).ser(se_ListProfilingGroupsCommand).de(de_ListProfilingGroupsCommand).build() {
|
|
1620
|
-
static {
|
|
1621
|
-
__name(this, "ListProfilingGroupsCommand");
|
|
1622
|
-
}
|
|
621
|
+
const de_DescribeProfilingGroupCommand = async (output, context) => {
|
|
622
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
623
|
+
return de_CommandError(output, context);
|
|
624
|
+
}
|
|
625
|
+
const contents = smithyClient.map({
|
|
626
|
+
$metadata: deserializeMetadata(output),
|
|
627
|
+
});
|
|
628
|
+
const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
|
|
629
|
+
contents.profilingGroup = de_ProfilingGroupDescription(data);
|
|
630
|
+
return contents;
|
|
1623
631
|
};
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
(
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
632
|
+
const de_GetFindingsReportAccountSummaryCommand = async (output, context) => {
|
|
633
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
634
|
+
return de_CommandError(output, context);
|
|
635
|
+
}
|
|
636
|
+
const contents = smithyClient.map({
|
|
637
|
+
$metadata: deserializeMetadata(output),
|
|
638
|
+
});
|
|
639
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
640
|
+
const doc = smithyClient.take(data, {
|
|
641
|
+
nextToken: smithyClient.expectString,
|
|
642
|
+
reportSummaries: (_) => de_FindingsReportSummaries(_),
|
|
643
|
+
});
|
|
644
|
+
Object.assign(contents, doc);
|
|
645
|
+
return contents;
|
|
1638
646
|
};
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
(
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
})
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
}
|
|
647
|
+
const de_GetNotificationConfigurationCommand = async (output, context) => {
|
|
648
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
649
|
+
return de_CommandError(output, context);
|
|
650
|
+
}
|
|
651
|
+
const contents = smithyClient.map({
|
|
652
|
+
$metadata: deserializeMetadata(output),
|
|
653
|
+
});
|
|
654
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
655
|
+
const doc = smithyClient.take(data, {
|
|
656
|
+
notificationConfiguration: smithyClient._json,
|
|
657
|
+
});
|
|
658
|
+
Object.assign(contents, doc);
|
|
659
|
+
return contents;
|
|
1653
660
|
};
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
(
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
661
|
+
const de_GetPolicyCommand = async (output, context) => {
|
|
662
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
663
|
+
return de_CommandError(output, context);
|
|
664
|
+
}
|
|
665
|
+
const contents = smithyClient.map({
|
|
666
|
+
$metadata: deserializeMetadata(output),
|
|
667
|
+
});
|
|
668
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
669
|
+
const doc = smithyClient.take(data, {
|
|
670
|
+
policy: smithyClient.expectString,
|
|
671
|
+
revisionId: smithyClient.expectString,
|
|
672
|
+
});
|
|
673
|
+
Object.assign(contents, doc);
|
|
674
|
+
return contents;
|
|
1668
675
|
};
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
__name(this, "RemoveNotificationChannelCommand");
|
|
1682
|
-
}
|
|
676
|
+
const de_GetProfileCommand = async (output, context) => {
|
|
677
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
678
|
+
return de_CommandError(output, context);
|
|
679
|
+
}
|
|
680
|
+
const contents = smithyClient.map({
|
|
681
|
+
$metadata: deserializeMetadata(output),
|
|
682
|
+
[_cTo]: [, output.headers[_ct]],
|
|
683
|
+
[_cE]: [, output.headers[_ce]],
|
|
684
|
+
});
|
|
685
|
+
const data = await smithyClient.collectBody(output.body, context);
|
|
686
|
+
contents.profile = data;
|
|
687
|
+
return contents;
|
|
1683
688
|
};
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
(
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
689
|
+
const de_GetRecommendationsCommand = async (output, context) => {
|
|
690
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
691
|
+
return de_CommandError(output, context);
|
|
692
|
+
}
|
|
693
|
+
const contents = smithyClient.map({
|
|
694
|
+
$metadata: deserializeMetadata(output),
|
|
695
|
+
});
|
|
696
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
697
|
+
const doc = smithyClient.take(data, {
|
|
698
|
+
anomalies: (_) => de_Anomalies(_),
|
|
699
|
+
profileEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
700
|
+
profileStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
701
|
+
profilingGroupName: smithyClient.expectString,
|
|
702
|
+
recommendations: (_) => de_Recommendations(_),
|
|
703
|
+
});
|
|
704
|
+
Object.assign(contents, doc);
|
|
705
|
+
return contents;
|
|
1698
706
|
};
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
(
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
707
|
+
const de_ListFindingsReportsCommand = async (output, context) => {
|
|
708
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
709
|
+
return de_CommandError(output, context);
|
|
710
|
+
}
|
|
711
|
+
const contents = smithyClient.map({
|
|
712
|
+
$metadata: deserializeMetadata(output),
|
|
713
|
+
});
|
|
714
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
715
|
+
const doc = smithyClient.take(data, {
|
|
716
|
+
findingsReportSummaries: (_) => de_FindingsReportSummaries(_),
|
|
717
|
+
nextToken: smithyClient.expectString,
|
|
718
|
+
});
|
|
719
|
+
Object.assign(contents, doc);
|
|
720
|
+
return contents;
|
|
1713
721
|
};
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
(
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
722
|
+
const de_ListProfileTimesCommand = async (output, context) => {
|
|
723
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
724
|
+
return de_CommandError(output, context);
|
|
725
|
+
}
|
|
726
|
+
const contents = smithyClient.map({
|
|
727
|
+
$metadata: deserializeMetadata(output),
|
|
728
|
+
});
|
|
729
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
730
|
+
const doc = smithyClient.take(data, {
|
|
731
|
+
nextToken: smithyClient.expectString,
|
|
732
|
+
profileTimes: (_) => de_ProfileTimes(_),
|
|
733
|
+
});
|
|
734
|
+
Object.assign(contents, doc);
|
|
735
|
+
return contents;
|
|
1728
736
|
};
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
(
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
737
|
+
const de_ListProfilingGroupsCommand = async (output, context) => {
|
|
738
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
739
|
+
return de_CommandError(output, context);
|
|
740
|
+
}
|
|
741
|
+
const contents = smithyClient.map({
|
|
742
|
+
$metadata: deserializeMetadata(output),
|
|
743
|
+
});
|
|
744
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
745
|
+
const doc = smithyClient.take(data, {
|
|
746
|
+
nextToken: smithyClient.expectString,
|
|
747
|
+
profilingGroupNames: smithyClient._json,
|
|
748
|
+
profilingGroups: (_) => de_ProfilingGroupDescriptions(_),
|
|
749
|
+
});
|
|
750
|
+
Object.assign(contents, doc);
|
|
751
|
+
return contents;
|
|
1743
752
|
};
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
(
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
})
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
}
|
|
753
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
754
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
755
|
+
return de_CommandError(output, context);
|
|
756
|
+
}
|
|
757
|
+
const contents = smithyClient.map({
|
|
758
|
+
$metadata: deserializeMetadata(output),
|
|
759
|
+
});
|
|
760
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
761
|
+
const doc = smithyClient.take(data, {
|
|
762
|
+
tags: smithyClient._json,
|
|
763
|
+
});
|
|
764
|
+
Object.assign(contents, doc);
|
|
765
|
+
return contents;
|
|
1758
766
|
};
|
|
767
|
+
const de_PostAgentProfileCommand = async (output, context) => {
|
|
768
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
769
|
+
return de_CommandError(output, context);
|
|
770
|
+
}
|
|
771
|
+
const contents = smithyClient.map({
|
|
772
|
+
$metadata: deserializeMetadata(output),
|
|
773
|
+
});
|
|
774
|
+
await smithyClient.collectBody(output.body, context);
|
|
775
|
+
return contents;
|
|
776
|
+
};
|
|
777
|
+
const de_PutPermissionCommand = async (output, context) => {
|
|
778
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
779
|
+
return de_CommandError(output, context);
|
|
780
|
+
}
|
|
781
|
+
const contents = smithyClient.map({
|
|
782
|
+
$metadata: deserializeMetadata(output),
|
|
783
|
+
});
|
|
784
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
785
|
+
const doc = smithyClient.take(data, {
|
|
786
|
+
policy: smithyClient.expectString,
|
|
787
|
+
revisionId: smithyClient.expectString,
|
|
788
|
+
});
|
|
789
|
+
Object.assign(contents, doc);
|
|
790
|
+
return contents;
|
|
791
|
+
};
|
|
792
|
+
const de_RemoveNotificationChannelCommand = async (output, context) => {
|
|
793
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
794
|
+
return de_CommandError(output, context);
|
|
795
|
+
}
|
|
796
|
+
const contents = smithyClient.map({
|
|
797
|
+
$metadata: deserializeMetadata(output),
|
|
798
|
+
});
|
|
799
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
800
|
+
const doc = smithyClient.take(data, {
|
|
801
|
+
notificationConfiguration: smithyClient._json,
|
|
802
|
+
});
|
|
803
|
+
Object.assign(contents, doc);
|
|
804
|
+
return contents;
|
|
805
|
+
};
|
|
806
|
+
const de_RemovePermissionCommand = async (output, context) => {
|
|
807
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
808
|
+
return de_CommandError(output, context);
|
|
809
|
+
}
|
|
810
|
+
const contents = smithyClient.map({
|
|
811
|
+
$metadata: deserializeMetadata(output),
|
|
812
|
+
});
|
|
813
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
814
|
+
const doc = smithyClient.take(data, {
|
|
815
|
+
policy: smithyClient.expectString,
|
|
816
|
+
revisionId: smithyClient.expectString,
|
|
817
|
+
});
|
|
818
|
+
Object.assign(contents, doc);
|
|
819
|
+
return contents;
|
|
820
|
+
};
|
|
821
|
+
const de_SubmitFeedbackCommand = async (output, context) => {
|
|
822
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
823
|
+
return de_CommandError(output, context);
|
|
824
|
+
}
|
|
825
|
+
const contents = smithyClient.map({
|
|
826
|
+
$metadata: deserializeMetadata(output),
|
|
827
|
+
});
|
|
828
|
+
await smithyClient.collectBody(output.body, context);
|
|
829
|
+
return contents;
|
|
830
|
+
};
|
|
831
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
832
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
833
|
+
return de_CommandError(output, context);
|
|
834
|
+
}
|
|
835
|
+
const contents = smithyClient.map({
|
|
836
|
+
$metadata: deserializeMetadata(output),
|
|
837
|
+
});
|
|
838
|
+
await smithyClient.collectBody(output.body, context);
|
|
839
|
+
return contents;
|
|
840
|
+
};
|
|
841
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
842
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
843
|
+
return de_CommandError(output, context);
|
|
844
|
+
}
|
|
845
|
+
const contents = smithyClient.map({
|
|
846
|
+
$metadata: deserializeMetadata(output),
|
|
847
|
+
});
|
|
848
|
+
await smithyClient.collectBody(output.body, context);
|
|
849
|
+
return contents;
|
|
850
|
+
};
|
|
851
|
+
const de_UpdateProfilingGroupCommand = async (output, context) => {
|
|
852
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
853
|
+
return de_CommandError(output, context);
|
|
854
|
+
}
|
|
855
|
+
const contents = smithyClient.map({
|
|
856
|
+
$metadata: deserializeMetadata(output),
|
|
857
|
+
});
|
|
858
|
+
const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
|
|
859
|
+
contents.profilingGroup = de_ProfilingGroupDescription(data);
|
|
860
|
+
return contents;
|
|
861
|
+
};
|
|
862
|
+
const de_CommandError = async (output, context) => {
|
|
863
|
+
const parsedOutput = {
|
|
864
|
+
...output,
|
|
865
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
866
|
+
};
|
|
867
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
868
|
+
switch (errorCode) {
|
|
869
|
+
case "ConflictException":
|
|
870
|
+
case "com.amazonaws.codeguruprofiler#ConflictException":
|
|
871
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
872
|
+
case "InternalServerException":
|
|
873
|
+
case "com.amazonaws.codeguruprofiler#InternalServerException":
|
|
874
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
875
|
+
case "ResourceNotFoundException":
|
|
876
|
+
case "com.amazonaws.codeguruprofiler#ResourceNotFoundException":
|
|
877
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
878
|
+
case "ServiceQuotaExceededException":
|
|
879
|
+
case "com.amazonaws.codeguruprofiler#ServiceQuotaExceededException":
|
|
880
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
881
|
+
case "ThrottlingException":
|
|
882
|
+
case "com.amazonaws.codeguruprofiler#ThrottlingException":
|
|
883
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
884
|
+
case "ValidationException":
|
|
885
|
+
case "com.amazonaws.codeguruprofiler#ValidationException":
|
|
886
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
887
|
+
default:
|
|
888
|
+
const parsedBody = parsedOutput.body;
|
|
889
|
+
return throwDefaultError({
|
|
890
|
+
output,
|
|
891
|
+
parsedBody,
|
|
892
|
+
errorCode,
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
};
|
|
896
|
+
const throwDefaultError = smithyClient.withBaseException(CodeGuruProfilerServiceException);
|
|
897
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
898
|
+
const contents = smithyClient.map({});
|
|
899
|
+
const data = parsedOutput.body;
|
|
900
|
+
const doc = smithyClient.take(data, {
|
|
901
|
+
message: smithyClient.expectString,
|
|
902
|
+
});
|
|
903
|
+
Object.assign(contents, doc);
|
|
904
|
+
const exception = new ConflictException({
|
|
905
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
906
|
+
...contents,
|
|
907
|
+
});
|
|
908
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
909
|
+
};
|
|
910
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
911
|
+
const contents = smithyClient.map({});
|
|
912
|
+
const data = parsedOutput.body;
|
|
913
|
+
const doc = smithyClient.take(data, {
|
|
914
|
+
message: smithyClient.expectString,
|
|
915
|
+
});
|
|
916
|
+
Object.assign(contents, doc);
|
|
917
|
+
const exception = new InternalServerException({
|
|
918
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
919
|
+
...contents,
|
|
920
|
+
});
|
|
921
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
922
|
+
};
|
|
923
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
924
|
+
const contents = smithyClient.map({});
|
|
925
|
+
const data = parsedOutput.body;
|
|
926
|
+
const doc = smithyClient.take(data, {
|
|
927
|
+
message: smithyClient.expectString,
|
|
928
|
+
});
|
|
929
|
+
Object.assign(contents, doc);
|
|
930
|
+
const exception = new ResourceNotFoundException({
|
|
931
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
932
|
+
...contents,
|
|
933
|
+
});
|
|
934
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
935
|
+
};
|
|
936
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
937
|
+
const contents = smithyClient.map({});
|
|
938
|
+
const data = parsedOutput.body;
|
|
939
|
+
const doc = smithyClient.take(data, {
|
|
940
|
+
message: smithyClient.expectString,
|
|
941
|
+
});
|
|
942
|
+
Object.assign(contents, doc);
|
|
943
|
+
const exception = new ServiceQuotaExceededException({
|
|
944
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
945
|
+
...contents,
|
|
946
|
+
});
|
|
947
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
948
|
+
};
|
|
949
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
950
|
+
const contents = smithyClient.map({});
|
|
951
|
+
const data = parsedOutput.body;
|
|
952
|
+
const doc = smithyClient.take(data, {
|
|
953
|
+
message: smithyClient.expectString,
|
|
954
|
+
});
|
|
955
|
+
Object.assign(contents, doc);
|
|
956
|
+
const exception = new ThrottlingException({
|
|
957
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
958
|
+
...contents,
|
|
959
|
+
});
|
|
960
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
961
|
+
};
|
|
962
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
963
|
+
const contents = smithyClient.map({});
|
|
964
|
+
const data = parsedOutput.body;
|
|
965
|
+
const doc = smithyClient.take(data, {
|
|
966
|
+
message: smithyClient.expectString,
|
|
967
|
+
});
|
|
968
|
+
Object.assign(contents, doc);
|
|
969
|
+
const exception = new ValidationException({
|
|
970
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
971
|
+
...contents,
|
|
972
|
+
});
|
|
973
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
974
|
+
};
|
|
975
|
+
const de_AggregatedProfileTime = (output, context) => {
|
|
976
|
+
return smithyClient.take(output, {
|
|
977
|
+
period: smithyClient.expectString,
|
|
978
|
+
start: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
979
|
+
});
|
|
980
|
+
};
|
|
981
|
+
const de_Anomalies = (output, context) => {
|
|
982
|
+
const retVal = (output || [])
|
|
983
|
+
.filter((e) => e != null)
|
|
984
|
+
.map((entry) => {
|
|
985
|
+
return de_Anomaly(entry);
|
|
986
|
+
});
|
|
987
|
+
return retVal;
|
|
988
|
+
};
|
|
989
|
+
const de_Anomaly = (output, context) => {
|
|
990
|
+
return smithyClient.take(output, {
|
|
991
|
+
instances: (_) => de_AnomalyInstances(_),
|
|
992
|
+
metric: smithyClient._json,
|
|
993
|
+
reason: smithyClient.expectString,
|
|
994
|
+
});
|
|
995
|
+
};
|
|
996
|
+
const de_AnomalyInstance = (output, context) => {
|
|
997
|
+
return smithyClient.take(output, {
|
|
998
|
+
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
999
|
+
id: smithyClient.expectString,
|
|
1000
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1001
|
+
userFeedback: smithyClient._json,
|
|
1002
|
+
});
|
|
1003
|
+
};
|
|
1004
|
+
const de_AnomalyInstances = (output, context) => {
|
|
1005
|
+
const retVal = (output || [])
|
|
1006
|
+
.filter((e) => e != null)
|
|
1007
|
+
.map((entry) => {
|
|
1008
|
+
return de_AnomalyInstance(entry);
|
|
1009
|
+
});
|
|
1010
|
+
return retVal;
|
|
1011
|
+
};
|
|
1012
|
+
const de_FindingsReportSummaries = (output, context) => {
|
|
1013
|
+
const retVal = (output || [])
|
|
1014
|
+
.filter((e) => e != null)
|
|
1015
|
+
.map((entry) => {
|
|
1016
|
+
return de_FindingsReportSummary(entry);
|
|
1017
|
+
});
|
|
1018
|
+
return retVal;
|
|
1019
|
+
};
|
|
1020
|
+
const de_FindingsReportSummary = (output, context) => {
|
|
1021
|
+
return smithyClient.take(output, {
|
|
1022
|
+
id: smithyClient.expectString,
|
|
1023
|
+
profileEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1024
|
+
profileStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1025
|
+
profilingGroupName: smithyClient.expectString,
|
|
1026
|
+
totalNumberOfFindings: smithyClient.expectInt32,
|
|
1027
|
+
});
|
|
1028
|
+
};
|
|
1029
|
+
const de_FrameMetricData = (output, context) => {
|
|
1030
|
+
const retVal = (output || [])
|
|
1031
|
+
.filter((e) => e != null)
|
|
1032
|
+
.map((entry) => {
|
|
1033
|
+
return de_FrameMetricDatum(entry);
|
|
1034
|
+
});
|
|
1035
|
+
return retVal;
|
|
1036
|
+
};
|
|
1037
|
+
const de_FrameMetricDatum = (output, context) => {
|
|
1038
|
+
return smithyClient.take(output, {
|
|
1039
|
+
frameMetric: smithyClient._json,
|
|
1040
|
+
values: (_) => de_FrameMetricValues(_),
|
|
1041
|
+
});
|
|
1042
|
+
};
|
|
1043
|
+
const de_FrameMetricValues = (output, context) => {
|
|
1044
|
+
const retVal = (output || [])
|
|
1045
|
+
.filter((e) => e != null)
|
|
1046
|
+
.map((entry) => {
|
|
1047
|
+
return smithyClient.limitedParseDouble(entry);
|
|
1048
|
+
});
|
|
1049
|
+
return retVal;
|
|
1050
|
+
};
|
|
1051
|
+
const de_ListOfTimestamps = (output, context) => {
|
|
1052
|
+
const retVal = (output || [])
|
|
1053
|
+
.filter((e) => e != null)
|
|
1054
|
+
.map((entry) => {
|
|
1055
|
+
return de_TimestampStructure(entry);
|
|
1056
|
+
});
|
|
1057
|
+
return retVal;
|
|
1058
|
+
};
|
|
1059
|
+
const de_Match = (output, context) => {
|
|
1060
|
+
return smithyClient.take(output, {
|
|
1061
|
+
frameAddress: smithyClient.expectString,
|
|
1062
|
+
targetFramesIndex: smithyClient.expectInt32,
|
|
1063
|
+
thresholdBreachValue: smithyClient.limitedParseDouble,
|
|
1064
|
+
});
|
|
1065
|
+
};
|
|
1066
|
+
const de_Matches = (output, context) => {
|
|
1067
|
+
const retVal = (output || [])
|
|
1068
|
+
.filter((e) => e != null)
|
|
1069
|
+
.map((entry) => {
|
|
1070
|
+
return de_Match(entry);
|
|
1071
|
+
});
|
|
1072
|
+
return retVal;
|
|
1073
|
+
};
|
|
1074
|
+
const de_Pattern = (output, context) => {
|
|
1075
|
+
return smithyClient.take(output, {
|
|
1076
|
+
countersToAggregate: smithyClient._json,
|
|
1077
|
+
description: smithyClient.expectString,
|
|
1078
|
+
id: smithyClient.expectString,
|
|
1079
|
+
name: smithyClient.expectString,
|
|
1080
|
+
resolutionSteps: smithyClient.expectString,
|
|
1081
|
+
targetFrames: smithyClient._json,
|
|
1082
|
+
thresholdPercent: smithyClient.limitedParseDouble,
|
|
1083
|
+
});
|
|
1084
|
+
};
|
|
1085
|
+
const de_ProfileTime = (output, context) => {
|
|
1086
|
+
return smithyClient.take(output, {
|
|
1087
|
+
start: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1088
|
+
});
|
|
1089
|
+
};
|
|
1090
|
+
const de_ProfileTimes = (output, context) => {
|
|
1091
|
+
const retVal = (output || [])
|
|
1092
|
+
.filter((e) => e != null)
|
|
1093
|
+
.map((entry) => {
|
|
1094
|
+
return de_ProfileTime(entry);
|
|
1095
|
+
});
|
|
1096
|
+
return retVal;
|
|
1097
|
+
};
|
|
1098
|
+
const de_ProfilingGroupDescription = (output, context) => {
|
|
1099
|
+
return smithyClient.take(output, {
|
|
1100
|
+
agentOrchestrationConfig: smithyClient._json,
|
|
1101
|
+
arn: smithyClient.expectString,
|
|
1102
|
+
computePlatform: smithyClient.expectString,
|
|
1103
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1104
|
+
name: smithyClient.expectString,
|
|
1105
|
+
profilingStatus: (_) => de_ProfilingStatus(_),
|
|
1106
|
+
tags: smithyClient._json,
|
|
1107
|
+
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1108
|
+
});
|
|
1109
|
+
};
|
|
1110
|
+
const de_ProfilingGroupDescriptions = (output, context) => {
|
|
1111
|
+
const retVal = (output || [])
|
|
1112
|
+
.filter((e) => e != null)
|
|
1113
|
+
.map((entry) => {
|
|
1114
|
+
return de_ProfilingGroupDescription(entry);
|
|
1115
|
+
});
|
|
1116
|
+
return retVal;
|
|
1117
|
+
};
|
|
1118
|
+
const de_ProfilingStatus = (output, context) => {
|
|
1119
|
+
return smithyClient.take(output, {
|
|
1120
|
+
latestAgentOrchestratedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1121
|
+
latestAgentProfileReportedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1122
|
+
latestAggregatedProfile: (_) => de_AggregatedProfileTime(_),
|
|
1123
|
+
});
|
|
1124
|
+
};
|
|
1125
|
+
const de_Recommendation = (output, context) => {
|
|
1126
|
+
return smithyClient.take(output, {
|
|
1127
|
+
allMatchesCount: smithyClient.expectInt32,
|
|
1128
|
+
allMatchesSum: smithyClient.limitedParseDouble,
|
|
1129
|
+
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1130
|
+
pattern: (_) => de_Pattern(_),
|
|
1131
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1132
|
+
topMatches: (_) => de_Matches(_),
|
|
1133
|
+
});
|
|
1134
|
+
};
|
|
1135
|
+
const de_Recommendations = (output, context) => {
|
|
1136
|
+
const retVal = (output || [])
|
|
1137
|
+
.filter((e) => e != null)
|
|
1138
|
+
.map((entry) => {
|
|
1139
|
+
return de_Recommendation(entry);
|
|
1140
|
+
});
|
|
1141
|
+
return retVal;
|
|
1142
|
+
};
|
|
1143
|
+
const de_TimestampStructure = (output, context) => {
|
|
1144
|
+
return smithyClient.take(output, {
|
|
1145
|
+
value: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1146
|
+
});
|
|
1147
|
+
};
|
|
1148
|
+
const de_UnprocessedEndTimeMap = (output, context) => {
|
|
1149
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1150
|
+
if (value === null) {
|
|
1151
|
+
return acc;
|
|
1152
|
+
}
|
|
1153
|
+
acc[key] = de_ListOfTimestamps(value);
|
|
1154
|
+
return acc;
|
|
1155
|
+
}, {});
|
|
1156
|
+
};
|
|
1157
|
+
const deserializeMetadata = (output) => ({
|
|
1158
|
+
httpStatusCode: output.statusCode,
|
|
1159
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1160
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1161
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1162
|
+
});
|
|
1163
|
+
const _a = "accept";
|
|
1164
|
+
const _cE = "contentEncoding";
|
|
1165
|
+
const _cT = "clientToken";
|
|
1166
|
+
const _cTo = "contentType";
|
|
1167
|
+
const _ce = "content-encoding";
|
|
1168
|
+
const _ct = "content-type";
|
|
1169
|
+
const _dRO = "dailyReportsOnly";
|
|
1170
|
+
const _eT = "endTime";
|
|
1171
|
+
const _iD = "includeDescription";
|
|
1172
|
+
const _l = "locale";
|
|
1173
|
+
const _mD = "maxDepth";
|
|
1174
|
+
const _mR = "maxResults";
|
|
1175
|
+
const _nT = "nextToken";
|
|
1176
|
+
const _oB = "orderBy";
|
|
1177
|
+
const _p = "period";
|
|
1178
|
+
const _pT = "profileToken";
|
|
1179
|
+
const _rI = "revisionId";
|
|
1180
|
+
const _sT = "startTime";
|
|
1181
|
+
const _tK = "tagKeys";
|
|
1182
|
+
const _tR = "targetResolution";
|
|
1183
|
+
|
|
1184
|
+
class AddNotificationChannelsCommand extends smithyClient.Command
|
|
1185
|
+
.classBuilder()
|
|
1186
|
+
.ep(commonParams)
|
|
1187
|
+
.m(function (Command, cs, config, o) {
|
|
1188
|
+
return [
|
|
1189
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1190
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1191
|
+
];
|
|
1192
|
+
})
|
|
1193
|
+
.s("CodeGuruProfiler", "AddNotificationChannels", {})
|
|
1194
|
+
.n("CodeGuruProfilerClient", "AddNotificationChannelsCommand")
|
|
1195
|
+
.f(void 0, void 0)
|
|
1196
|
+
.ser(se_AddNotificationChannelsCommand)
|
|
1197
|
+
.de(de_AddNotificationChannelsCommand)
|
|
1198
|
+
.build() {
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
class BatchGetFrameMetricDataCommand extends smithyClient.Command
|
|
1202
|
+
.classBuilder()
|
|
1203
|
+
.ep(commonParams)
|
|
1204
|
+
.m(function (Command, cs, config, o) {
|
|
1205
|
+
return [
|
|
1206
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1207
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1208
|
+
];
|
|
1209
|
+
})
|
|
1210
|
+
.s("CodeGuruProfiler", "BatchGetFrameMetricData", {})
|
|
1211
|
+
.n("CodeGuruProfilerClient", "BatchGetFrameMetricDataCommand")
|
|
1212
|
+
.f(void 0, void 0)
|
|
1213
|
+
.ser(se_BatchGetFrameMetricDataCommand)
|
|
1214
|
+
.de(de_BatchGetFrameMetricDataCommand)
|
|
1215
|
+
.build() {
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
class ConfigureAgentCommand extends smithyClient.Command
|
|
1219
|
+
.classBuilder()
|
|
1220
|
+
.ep(commonParams)
|
|
1221
|
+
.m(function (Command, cs, config, o) {
|
|
1222
|
+
return [
|
|
1223
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1224
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1225
|
+
];
|
|
1226
|
+
})
|
|
1227
|
+
.s("CodeGuruProfiler", "ConfigureAgent", {})
|
|
1228
|
+
.n("CodeGuruProfilerClient", "ConfigureAgentCommand")
|
|
1229
|
+
.f(void 0, void 0)
|
|
1230
|
+
.ser(se_ConfigureAgentCommand)
|
|
1231
|
+
.de(de_ConfigureAgentCommand)
|
|
1232
|
+
.build() {
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
class CreateProfilingGroupCommand extends smithyClient.Command
|
|
1236
|
+
.classBuilder()
|
|
1237
|
+
.ep(commonParams)
|
|
1238
|
+
.m(function (Command, cs, config, o) {
|
|
1239
|
+
return [
|
|
1240
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1241
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1242
|
+
];
|
|
1243
|
+
})
|
|
1244
|
+
.s("CodeGuruProfiler", "CreateProfilingGroup", {})
|
|
1245
|
+
.n("CodeGuruProfilerClient", "CreateProfilingGroupCommand")
|
|
1246
|
+
.f(void 0, void 0)
|
|
1247
|
+
.ser(se_CreateProfilingGroupCommand)
|
|
1248
|
+
.de(de_CreateProfilingGroupCommand)
|
|
1249
|
+
.build() {
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
class DeleteProfilingGroupCommand extends smithyClient.Command
|
|
1253
|
+
.classBuilder()
|
|
1254
|
+
.ep(commonParams)
|
|
1255
|
+
.m(function (Command, cs, config, o) {
|
|
1256
|
+
return [
|
|
1257
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1258
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1259
|
+
];
|
|
1260
|
+
})
|
|
1261
|
+
.s("CodeGuruProfiler", "DeleteProfilingGroup", {})
|
|
1262
|
+
.n("CodeGuruProfilerClient", "DeleteProfilingGroupCommand")
|
|
1263
|
+
.f(void 0, void 0)
|
|
1264
|
+
.ser(se_DeleteProfilingGroupCommand)
|
|
1265
|
+
.de(de_DeleteProfilingGroupCommand)
|
|
1266
|
+
.build() {
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
class DescribeProfilingGroupCommand extends smithyClient.Command
|
|
1270
|
+
.classBuilder()
|
|
1271
|
+
.ep(commonParams)
|
|
1272
|
+
.m(function (Command, cs, config, o) {
|
|
1273
|
+
return [
|
|
1274
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1275
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1276
|
+
];
|
|
1277
|
+
})
|
|
1278
|
+
.s("CodeGuruProfiler", "DescribeProfilingGroup", {})
|
|
1279
|
+
.n("CodeGuruProfilerClient", "DescribeProfilingGroupCommand")
|
|
1280
|
+
.f(void 0, void 0)
|
|
1281
|
+
.ser(se_DescribeProfilingGroupCommand)
|
|
1282
|
+
.de(de_DescribeProfilingGroupCommand)
|
|
1283
|
+
.build() {
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
class GetFindingsReportAccountSummaryCommand extends smithyClient.Command
|
|
1287
|
+
.classBuilder()
|
|
1288
|
+
.ep(commonParams)
|
|
1289
|
+
.m(function (Command, cs, config, o) {
|
|
1290
|
+
return [
|
|
1291
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1292
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1293
|
+
];
|
|
1294
|
+
})
|
|
1295
|
+
.s("CodeGuruProfiler", "GetFindingsReportAccountSummary", {})
|
|
1296
|
+
.n("CodeGuruProfilerClient", "GetFindingsReportAccountSummaryCommand")
|
|
1297
|
+
.f(void 0, void 0)
|
|
1298
|
+
.ser(se_GetFindingsReportAccountSummaryCommand)
|
|
1299
|
+
.de(de_GetFindingsReportAccountSummaryCommand)
|
|
1300
|
+
.build() {
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
class GetNotificationConfigurationCommand extends smithyClient.Command
|
|
1304
|
+
.classBuilder()
|
|
1305
|
+
.ep(commonParams)
|
|
1306
|
+
.m(function (Command, cs, config, o) {
|
|
1307
|
+
return [
|
|
1308
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1309
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1310
|
+
];
|
|
1311
|
+
})
|
|
1312
|
+
.s("CodeGuruProfiler", "GetNotificationConfiguration", {})
|
|
1313
|
+
.n("CodeGuruProfilerClient", "GetNotificationConfigurationCommand")
|
|
1314
|
+
.f(void 0, void 0)
|
|
1315
|
+
.ser(se_GetNotificationConfigurationCommand)
|
|
1316
|
+
.de(de_GetNotificationConfigurationCommand)
|
|
1317
|
+
.build() {
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
class GetPolicyCommand extends smithyClient.Command
|
|
1321
|
+
.classBuilder()
|
|
1322
|
+
.ep(commonParams)
|
|
1323
|
+
.m(function (Command, cs, config, o) {
|
|
1324
|
+
return [
|
|
1325
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1326
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1327
|
+
];
|
|
1328
|
+
})
|
|
1329
|
+
.s("CodeGuruProfiler", "GetPolicy", {})
|
|
1330
|
+
.n("CodeGuruProfilerClient", "GetPolicyCommand")
|
|
1331
|
+
.f(void 0, void 0)
|
|
1332
|
+
.ser(se_GetPolicyCommand)
|
|
1333
|
+
.de(de_GetPolicyCommand)
|
|
1334
|
+
.build() {
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
class GetProfileCommand extends smithyClient.Command
|
|
1338
|
+
.classBuilder()
|
|
1339
|
+
.ep(commonParams)
|
|
1340
|
+
.m(function (Command, cs, config, o) {
|
|
1341
|
+
return [
|
|
1342
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1343
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1344
|
+
];
|
|
1345
|
+
})
|
|
1346
|
+
.s("CodeGuruProfiler", "GetProfile", {})
|
|
1347
|
+
.n("CodeGuruProfilerClient", "GetProfileCommand")
|
|
1348
|
+
.f(void 0, void 0)
|
|
1349
|
+
.ser(se_GetProfileCommand)
|
|
1350
|
+
.de(de_GetProfileCommand)
|
|
1351
|
+
.build() {
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
class GetRecommendationsCommand extends smithyClient.Command
|
|
1355
|
+
.classBuilder()
|
|
1356
|
+
.ep(commonParams)
|
|
1357
|
+
.m(function (Command, cs, config, o) {
|
|
1358
|
+
return [
|
|
1359
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1360
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1361
|
+
];
|
|
1362
|
+
})
|
|
1363
|
+
.s("CodeGuruProfiler", "GetRecommendations", {})
|
|
1364
|
+
.n("CodeGuruProfilerClient", "GetRecommendationsCommand")
|
|
1365
|
+
.f(void 0, void 0)
|
|
1366
|
+
.ser(se_GetRecommendationsCommand)
|
|
1367
|
+
.de(de_GetRecommendationsCommand)
|
|
1368
|
+
.build() {
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
class ListFindingsReportsCommand extends smithyClient.Command
|
|
1372
|
+
.classBuilder()
|
|
1373
|
+
.ep(commonParams)
|
|
1374
|
+
.m(function (Command, cs, config, o) {
|
|
1375
|
+
return [
|
|
1376
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1377
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1378
|
+
];
|
|
1379
|
+
})
|
|
1380
|
+
.s("CodeGuruProfiler", "ListFindingsReports", {})
|
|
1381
|
+
.n("CodeGuruProfilerClient", "ListFindingsReportsCommand")
|
|
1382
|
+
.f(void 0, void 0)
|
|
1383
|
+
.ser(se_ListFindingsReportsCommand)
|
|
1384
|
+
.de(de_ListFindingsReportsCommand)
|
|
1385
|
+
.build() {
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
class ListProfileTimesCommand extends smithyClient.Command
|
|
1389
|
+
.classBuilder()
|
|
1390
|
+
.ep(commonParams)
|
|
1391
|
+
.m(function (Command, cs, config, o) {
|
|
1392
|
+
return [
|
|
1393
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1394
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1395
|
+
];
|
|
1396
|
+
})
|
|
1397
|
+
.s("CodeGuruProfiler", "ListProfileTimes", {})
|
|
1398
|
+
.n("CodeGuruProfilerClient", "ListProfileTimesCommand")
|
|
1399
|
+
.f(void 0, void 0)
|
|
1400
|
+
.ser(se_ListProfileTimesCommand)
|
|
1401
|
+
.de(de_ListProfileTimesCommand)
|
|
1402
|
+
.build() {
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
class ListProfilingGroupsCommand extends smithyClient.Command
|
|
1406
|
+
.classBuilder()
|
|
1407
|
+
.ep(commonParams)
|
|
1408
|
+
.m(function (Command, cs, config, o) {
|
|
1409
|
+
return [
|
|
1410
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1411
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1412
|
+
];
|
|
1413
|
+
})
|
|
1414
|
+
.s("CodeGuruProfiler", "ListProfilingGroups", {})
|
|
1415
|
+
.n("CodeGuruProfilerClient", "ListProfilingGroupsCommand")
|
|
1416
|
+
.f(void 0, void 0)
|
|
1417
|
+
.ser(se_ListProfilingGroupsCommand)
|
|
1418
|
+
.de(de_ListProfilingGroupsCommand)
|
|
1419
|
+
.build() {
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1423
|
+
.classBuilder()
|
|
1424
|
+
.ep(commonParams)
|
|
1425
|
+
.m(function (Command, cs, config, o) {
|
|
1426
|
+
return [
|
|
1427
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1428
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1429
|
+
];
|
|
1430
|
+
})
|
|
1431
|
+
.s("CodeGuruProfiler", "ListTagsForResource", {})
|
|
1432
|
+
.n("CodeGuruProfilerClient", "ListTagsForResourceCommand")
|
|
1433
|
+
.f(void 0, void 0)
|
|
1434
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1435
|
+
.de(de_ListTagsForResourceCommand)
|
|
1436
|
+
.build() {
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
class PostAgentProfileCommand extends smithyClient.Command
|
|
1440
|
+
.classBuilder()
|
|
1441
|
+
.ep(commonParams)
|
|
1442
|
+
.m(function (Command, cs, config, o) {
|
|
1443
|
+
return [
|
|
1444
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1445
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1446
|
+
];
|
|
1447
|
+
})
|
|
1448
|
+
.s("CodeGuruProfiler", "PostAgentProfile", {})
|
|
1449
|
+
.n("CodeGuruProfilerClient", "PostAgentProfileCommand")
|
|
1450
|
+
.f(void 0, void 0)
|
|
1451
|
+
.ser(se_PostAgentProfileCommand)
|
|
1452
|
+
.de(de_PostAgentProfileCommand)
|
|
1453
|
+
.build() {
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
class PutPermissionCommand extends smithyClient.Command
|
|
1457
|
+
.classBuilder()
|
|
1458
|
+
.ep(commonParams)
|
|
1459
|
+
.m(function (Command, cs, config, o) {
|
|
1460
|
+
return [
|
|
1461
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1462
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1463
|
+
];
|
|
1464
|
+
})
|
|
1465
|
+
.s("CodeGuruProfiler", "PutPermission", {})
|
|
1466
|
+
.n("CodeGuruProfilerClient", "PutPermissionCommand")
|
|
1467
|
+
.f(void 0, void 0)
|
|
1468
|
+
.ser(se_PutPermissionCommand)
|
|
1469
|
+
.de(de_PutPermissionCommand)
|
|
1470
|
+
.build() {
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
class RemoveNotificationChannelCommand extends smithyClient.Command
|
|
1474
|
+
.classBuilder()
|
|
1475
|
+
.ep(commonParams)
|
|
1476
|
+
.m(function (Command, cs, config, o) {
|
|
1477
|
+
return [
|
|
1478
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1479
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1480
|
+
];
|
|
1481
|
+
})
|
|
1482
|
+
.s("CodeGuruProfiler", "RemoveNotificationChannel", {})
|
|
1483
|
+
.n("CodeGuruProfilerClient", "RemoveNotificationChannelCommand")
|
|
1484
|
+
.f(void 0, void 0)
|
|
1485
|
+
.ser(se_RemoveNotificationChannelCommand)
|
|
1486
|
+
.de(de_RemoveNotificationChannelCommand)
|
|
1487
|
+
.build() {
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
class RemovePermissionCommand extends smithyClient.Command
|
|
1491
|
+
.classBuilder()
|
|
1492
|
+
.ep(commonParams)
|
|
1493
|
+
.m(function (Command, cs, config, o) {
|
|
1494
|
+
return [
|
|
1495
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1496
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1497
|
+
];
|
|
1498
|
+
})
|
|
1499
|
+
.s("CodeGuruProfiler", "RemovePermission", {})
|
|
1500
|
+
.n("CodeGuruProfilerClient", "RemovePermissionCommand")
|
|
1501
|
+
.f(void 0, void 0)
|
|
1502
|
+
.ser(se_RemovePermissionCommand)
|
|
1503
|
+
.de(de_RemovePermissionCommand)
|
|
1504
|
+
.build() {
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
class SubmitFeedbackCommand extends smithyClient.Command
|
|
1508
|
+
.classBuilder()
|
|
1509
|
+
.ep(commonParams)
|
|
1510
|
+
.m(function (Command, cs, config, o) {
|
|
1511
|
+
return [
|
|
1512
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1513
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1514
|
+
];
|
|
1515
|
+
})
|
|
1516
|
+
.s("CodeGuruProfiler", "SubmitFeedback", {})
|
|
1517
|
+
.n("CodeGuruProfilerClient", "SubmitFeedbackCommand")
|
|
1518
|
+
.f(void 0, void 0)
|
|
1519
|
+
.ser(se_SubmitFeedbackCommand)
|
|
1520
|
+
.de(de_SubmitFeedbackCommand)
|
|
1521
|
+
.build() {
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1525
|
+
.classBuilder()
|
|
1526
|
+
.ep(commonParams)
|
|
1527
|
+
.m(function (Command, cs, config, o) {
|
|
1528
|
+
return [
|
|
1529
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1530
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1531
|
+
];
|
|
1532
|
+
})
|
|
1533
|
+
.s("CodeGuruProfiler", "TagResource", {})
|
|
1534
|
+
.n("CodeGuruProfilerClient", "TagResourceCommand")
|
|
1535
|
+
.f(void 0, void 0)
|
|
1536
|
+
.ser(se_TagResourceCommand)
|
|
1537
|
+
.de(de_TagResourceCommand)
|
|
1538
|
+
.build() {
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1542
|
+
.classBuilder()
|
|
1543
|
+
.ep(commonParams)
|
|
1544
|
+
.m(function (Command, cs, config, o) {
|
|
1545
|
+
return [
|
|
1546
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1547
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1548
|
+
];
|
|
1549
|
+
})
|
|
1550
|
+
.s("CodeGuruProfiler", "UntagResource", {})
|
|
1551
|
+
.n("CodeGuruProfilerClient", "UntagResourceCommand")
|
|
1552
|
+
.f(void 0, void 0)
|
|
1553
|
+
.ser(se_UntagResourceCommand)
|
|
1554
|
+
.de(de_UntagResourceCommand)
|
|
1555
|
+
.build() {
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
class UpdateProfilingGroupCommand extends smithyClient.Command
|
|
1559
|
+
.classBuilder()
|
|
1560
|
+
.ep(commonParams)
|
|
1561
|
+
.m(function (Command, cs, config, o) {
|
|
1562
|
+
return [
|
|
1563
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1564
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1565
|
+
];
|
|
1566
|
+
})
|
|
1567
|
+
.s("CodeGuruProfiler", "UpdateProfilingGroup", {})
|
|
1568
|
+
.n("CodeGuruProfilerClient", "UpdateProfilingGroupCommand")
|
|
1569
|
+
.f(void 0, void 0)
|
|
1570
|
+
.ser(se_UpdateProfilingGroupCommand)
|
|
1571
|
+
.de(de_UpdateProfilingGroupCommand)
|
|
1572
|
+
.build() {
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
const commands = {
|
|
1576
|
+
AddNotificationChannelsCommand,
|
|
1577
|
+
BatchGetFrameMetricDataCommand,
|
|
1578
|
+
ConfigureAgentCommand,
|
|
1579
|
+
CreateProfilingGroupCommand,
|
|
1580
|
+
DeleteProfilingGroupCommand,
|
|
1581
|
+
DescribeProfilingGroupCommand,
|
|
1582
|
+
GetFindingsReportAccountSummaryCommand,
|
|
1583
|
+
GetNotificationConfigurationCommand,
|
|
1584
|
+
GetPolicyCommand,
|
|
1585
|
+
GetProfileCommand,
|
|
1586
|
+
GetRecommendationsCommand,
|
|
1587
|
+
ListFindingsReportsCommand,
|
|
1588
|
+
ListProfileTimesCommand,
|
|
1589
|
+
ListProfilingGroupsCommand,
|
|
1590
|
+
ListTagsForResourceCommand,
|
|
1591
|
+
PostAgentProfileCommand,
|
|
1592
|
+
PutPermissionCommand,
|
|
1593
|
+
RemoveNotificationChannelCommand,
|
|
1594
|
+
RemovePermissionCommand,
|
|
1595
|
+
SubmitFeedbackCommand,
|
|
1596
|
+
TagResourceCommand,
|
|
1597
|
+
UntagResourceCommand,
|
|
1598
|
+
UpdateProfilingGroupCommand,
|
|
1599
|
+
};
|
|
1600
|
+
class CodeGuruProfiler extends CodeGuruProfilerClient {
|
|
1601
|
+
}
|
|
1602
|
+
smithyClient.createAggregatedClient(commands, CodeGuruProfiler);
|
|
1759
1603
|
|
|
1760
|
-
|
|
1761
|
-
var commands = {
|
|
1762
|
-
AddNotificationChannelsCommand,
|
|
1763
|
-
BatchGetFrameMetricDataCommand,
|
|
1764
|
-
ConfigureAgentCommand,
|
|
1765
|
-
CreateProfilingGroupCommand,
|
|
1766
|
-
DeleteProfilingGroupCommand,
|
|
1767
|
-
DescribeProfilingGroupCommand,
|
|
1768
|
-
GetFindingsReportAccountSummaryCommand,
|
|
1769
|
-
GetNotificationConfigurationCommand,
|
|
1770
|
-
GetPolicyCommand,
|
|
1771
|
-
GetProfileCommand,
|
|
1772
|
-
GetRecommendationsCommand,
|
|
1773
|
-
ListFindingsReportsCommand,
|
|
1774
|
-
ListProfileTimesCommand,
|
|
1775
|
-
ListProfilingGroupsCommand,
|
|
1776
|
-
ListTagsForResourceCommand,
|
|
1777
|
-
PostAgentProfileCommand,
|
|
1778
|
-
PutPermissionCommand,
|
|
1779
|
-
RemoveNotificationChannelCommand,
|
|
1780
|
-
RemovePermissionCommand,
|
|
1781
|
-
SubmitFeedbackCommand,
|
|
1782
|
-
TagResourceCommand,
|
|
1783
|
-
UntagResourceCommand,
|
|
1784
|
-
UpdateProfilingGroupCommand
|
|
1785
|
-
};
|
|
1786
|
-
var CodeGuruProfiler = class extends CodeGuruProfilerClient {
|
|
1787
|
-
static {
|
|
1788
|
-
__name(this, "CodeGuruProfiler");
|
|
1789
|
-
}
|
|
1790
|
-
};
|
|
1791
|
-
(0, import_smithy_client.createAggregatedClient)(commands, CodeGuruProfiler);
|
|
1792
|
-
|
|
1793
|
-
// src/pagination/GetFindingsReportAccountSummaryPaginator.ts
|
|
1794
|
-
|
|
1795
|
-
var paginateGetFindingsReportAccountSummary = (0, import_core.createPaginator)(CodeGuruProfilerClient, GetFindingsReportAccountSummaryCommand, "nextToken", "nextToken", "maxResults");
|
|
1796
|
-
|
|
1797
|
-
// src/pagination/ListFindingsReportsPaginator.ts
|
|
1798
|
-
|
|
1799
|
-
var paginateListFindingsReports = (0, import_core.createPaginator)(CodeGuruProfilerClient, ListFindingsReportsCommand, "nextToken", "nextToken", "maxResults");
|
|
1800
|
-
|
|
1801
|
-
// src/pagination/ListProfileTimesPaginator.ts
|
|
1604
|
+
const paginateGetFindingsReportAccountSummary = core.createPaginator(CodeGuruProfilerClient, GetFindingsReportAccountSummaryCommand, "nextToken", "nextToken", "maxResults");
|
|
1802
1605
|
|
|
1803
|
-
|
|
1606
|
+
const paginateListFindingsReports = core.createPaginator(CodeGuruProfilerClient, ListFindingsReportsCommand, "nextToken", "nextToken", "maxResults");
|
|
1804
1607
|
|
|
1805
|
-
|
|
1608
|
+
const paginateListProfileTimes = core.createPaginator(CodeGuruProfilerClient, ListProfileTimesCommand, "nextToken", "nextToken", "maxResults");
|
|
1806
1609
|
|
|
1807
|
-
|
|
1808
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1610
|
+
const paginateListProfilingGroups = core.createPaginator(CodeGuruProfilerClient, ListProfilingGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
1809
1611
|
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
CodeGuruProfilerClient,
|
|
1814
|
-
CodeGuruProfiler,
|
|
1815
|
-
$Command,
|
|
1816
|
-
AddNotificationChannelsCommand,
|
|
1817
|
-
BatchGetFrameMetricDataCommand,
|
|
1818
|
-
ConfigureAgentCommand,
|
|
1819
|
-
CreateProfilingGroupCommand,
|
|
1820
|
-
DeleteProfilingGroupCommand,
|
|
1821
|
-
DescribeProfilingGroupCommand,
|
|
1822
|
-
GetFindingsReportAccountSummaryCommand,
|
|
1823
|
-
GetNotificationConfigurationCommand,
|
|
1824
|
-
GetPolicyCommand,
|
|
1825
|
-
GetProfileCommand,
|
|
1826
|
-
GetRecommendationsCommand,
|
|
1827
|
-
ListFindingsReportsCommand,
|
|
1828
|
-
ListProfileTimesCommand,
|
|
1829
|
-
ListProfilingGroupsCommand,
|
|
1830
|
-
ListTagsForResourceCommand,
|
|
1831
|
-
PostAgentProfileCommand,
|
|
1832
|
-
PutPermissionCommand,
|
|
1833
|
-
RemoveNotificationChannelCommand,
|
|
1834
|
-
RemovePermissionCommand,
|
|
1835
|
-
SubmitFeedbackCommand,
|
|
1836
|
-
TagResourceCommand,
|
|
1837
|
-
UntagResourceCommand,
|
|
1838
|
-
UpdateProfilingGroupCommand,
|
|
1839
|
-
paginateGetFindingsReportAccountSummary,
|
|
1840
|
-
paginateListFindingsReports,
|
|
1841
|
-
paginateListProfileTimes,
|
|
1842
|
-
paginateListProfilingGroups,
|
|
1843
|
-
ActionGroup,
|
|
1844
|
-
EventPublisher,
|
|
1845
|
-
ConflictException,
|
|
1846
|
-
InternalServerException,
|
|
1847
|
-
ResourceNotFoundException,
|
|
1848
|
-
ServiceQuotaExceededException,
|
|
1849
|
-
ThrottlingException,
|
|
1850
|
-
ValidationException,
|
|
1851
|
-
AgentParameterField,
|
|
1852
|
-
AggregationPeriod,
|
|
1853
|
-
FeedbackType,
|
|
1854
|
-
MetricType,
|
|
1855
|
-
MetadataField,
|
|
1856
|
-
ComputePlatform,
|
|
1857
|
-
OrderBy
|
|
1612
|
+
Object.defineProperty(exports, "$Command", {
|
|
1613
|
+
enumerable: true,
|
|
1614
|
+
get: function () { return smithyClient.Command; }
|
|
1858
1615
|
});
|
|
1859
|
-
|
|
1616
|
+
Object.defineProperty(exports, "__Client", {
|
|
1617
|
+
enumerable: true,
|
|
1618
|
+
get: function () { return smithyClient.Client; }
|
|
1619
|
+
});
|
|
1620
|
+
exports.ActionGroup = ActionGroup;
|
|
1621
|
+
exports.AddNotificationChannelsCommand = AddNotificationChannelsCommand;
|
|
1622
|
+
exports.AgentParameterField = AgentParameterField;
|
|
1623
|
+
exports.AggregationPeriod = AggregationPeriod;
|
|
1624
|
+
exports.BatchGetFrameMetricDataCommand = BatchGetFrameMetricDataCommand;
|
|
1625
|
+
exports.CodeGuruProfiler = CodeGuruProfiler;
|
|
1626
|
+
exports.CodeGuruProfilerClient = CodeGuruProfilerClient;
|
|
1627
|
+
exports.CodeGuruProfilerServiceException = CodeGuruProfilerServiceException;
|
|
1628
|
+
exports.ComputePlatform = ComputePlatform;
|
|
1629
|
+
exports.ConfigureAgentCommand = ConfigureAgentCommand;
|
|
1630
|
+
exports.ConflictException = ConflictException;
|
|
1631
|
+
exports.CreateProfilingGroupCommand = CreateProfilingGroupCommand;
|
|
1632
|
+
exports.DeleteProfilingGroupCommand = DeleteProfilingGroupCommand;
|
|
1633
|
+
exports.DescribeProfilingGroupCommand = DescribeProfilingGroupCommand;
|
|
1634
|
+
exports.EventPublisher = EventPublisher;
|
|
1635
|
+
exports.FeedbackType = FeedbackType;
|
|
1636
|
+
exports.GetFindingsReportAccountSummaryCommand = GetFindingsReportAccountSummaryCommand;
|
|
1637
|
+
exports.GetNotificationConfigurationCommand = GetNotificationConfigurationCommand;
|
|
1638
|
+
exports.GetPolicyCommand = GetPolicyCommand;
|
|
1639
|
+
exports.GetProfileCommand = GetProfileCommand;
|
|
1640
|
+
exports.GetRecommendationsCommand = GetRecommendationsCommand;
|
|
1641
|
+
exports.InternalServerException = InternalServerException;
|
|
1642
|
+
exports.ListFindingsReportsCommand = ListFindingsReportsCommand;
|
|
1643
|
+
exports.ListProfileTimesCommand = ListProfileTimesCommand;
|
|
1644
|
+
exports.ListProfilingGroupsCommand = ListProfilingGroupsCommand;
|
|
1645
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1646
|
+
exports.MetadataField = MetadataField;
|
|
1647
|
+
exports.MetricType = MetricType;
|
|
1648
|
+
exports.OrderBy = OrderBy;
|
|
1649
|
+
exports.PostAgentProfileCommand = PostAgentProfileCommand;
|
|
1650
|
+
exports.PutPermissionCommand = PutPermissionCommand;
|
|
1651
|
+
exports.RemoveNotificationChannelCommand = RemoveNotificationChannelCommand;
|
|
1652
|
+
exports.RemovePermissionCommand = RemovePermissionCommand;
|
|
1653
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1654
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1655
|
+
exports.SubmitFeedbackCommand = SubmitFeedbackCommand;
|
|
1656
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1657
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1658
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1659
|
+
exports.UpdateProfilingGroupCommand = UpdateProfilingGroupCommand;
|
|
1660
|
+
exports.ValidationException = ValidationException;
|
|
1661
|
+
exports.paginateGetFindingsReportAccountSummary = paginateGetFindingsReportAccountSummary;
|
|
1662
|
+
exports.paginateListFindingsReports = paginateListFindingsReports;
|
|
1663
|
+
exports.paginateListProfileTimes = paginateListProfileTimes;
|
|
1664
|
+
exports.paginateListProfilingGroups = paginateListProfilingGroups;
|