@aws-sdk/client-networkflowmonitor 3.891.0 → 3.894.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 +1825 -10
- package/package.json +19 -19
- package/dist-cjs/NetworkFlowMonitor.js +0 -61
- package/dist-cjs/NetworkFlowMonitorClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CreateMonitorCommand.js +0 -26
- package/dist-cjs/commands/CreateScopeCommand.js +0 -26
- package/dist-cjs/commands/DeleteMonitorCommand.js +0 -26
- package/dist-cjs/commands/DeleteScopeCommand.js +0 -26
- package/dist-cjs/commands/GetMonitorCommand.js +0 -26
- package/dist-cjs/commands/GetQueryResultsMonitorTopContributorsCommand.js +0 -26
- package/dist-cjs/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.js +0 -26
- package/dist-cjs/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.js +0 -26
- package/dist-cjs/commands/GetQueryStatusMonitorTopContributorsCommand.js +0 -26
- package/dist-cjs/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.js +0 -26
- package/dist-cjs/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.js +0 -26
- package/dist-cjs/commands/GetScopeCommand.js +0 -26
- package/dist-cjs/commands/ListMonitorsCommand.js +0 -26
- package/dist-cjs/commands/ListScopesCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/StartQueryMonitorTopContributorsCommand.js +0 -26
- package/dist-cjs/commands/StartQueryWorkloadInsightsTopContributorsCommand.js +0 -26
- package/dist-cjs/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.js +0 -26
- package/dist-cjs/commands/StopQueryMonitorTopContributorsCommand.js +0 -26
- package/dist-cjs/commands/StopQueryWorkloadInsightsTopContributorsCommand.js +0 -26
- package/dist-cjs/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateMonitorCommand.js +0 -26
- package/dist-cjs/commands/UpdateScopeCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -28
- package/dist-cjs/endpoint/EndpointParameters.js +0 -15
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/NetworkFlowMonitorServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -193
- package/dist-cjs/pagination/GetQueryResultsMonitorTopContributorsPaginator.js +0 -7
- package/dist-cjs/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.js +0 -7
- package/dist-cjs/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.js +0 -7
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListMonitorsPaginator.js +0 -7
- package/dist-cjs/pagination/ListScopesPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -9
- package/dist-cjs/protocols/Aws_restJson1.js +0 -907
- package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,1826 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
ConflictException: () => ConflictException,
|
|
26
|
+
CreateMonitorCommand: () => CreateMonitorCommand,
|
|
27
|
+
CreateScopeCommand: () => CreateScopeCommand,
|
|
28
|
+
DeleteMonitorCommand: () => DeleteMonitorCommand,
|
|
29
|
+
DeleteScopeCommand: () => DeleteScopeCommand,
|
|
30
|
+
DestinationCategory: () => DestinationCategory,
|
|
31
|
+
GetMonitorCommand: () => GetMonitorCommand,
|
|
32
|
+
GetQueryResultsMonitorTopContributorsCommand: () => GetQueryResultsMonitorTopContributorsCommand,
|
|
33
|
+
GetQueryResultsWorkloadInsightsTopContributorsCommand: () => GetQueryResultsWorkloadInsightsTopContributorsCommand,
|
|
34
|
+
GetQueryResultsWorkloadInsightsTopContributorsDataCommand: () => GetQueryResultsWorkloadInsightsTopContributorsDataCommand,
|
|
35
|
+
GetQueryStatusMonitorTopContributorsCommand: () => GetQueryStatusMonitorTopContributorsCommand,
|
|
36
|
+
GetQueryStatusWorkloadInsightsTopContributorsCommand: () => GetQueryStatusWorkloadInsightsTopContributorsCommand,
|
|
37
|
+
GetQueryStatusWorkloadInsightsTopContributorsDataCommand: () => GetQueryStatusWorkloadInsightsTopContributorsDataCommand,
|
|
38
|
+
GetScopeCommand: () => GetScopeCommand,
|
|
39
|
+
InternalServerException: () => InternalServerException,
|
|
40
|
+
ListMonitorsCommand: () => ListMonitorsCommand,
|
|
41
|
+
ListScopesCommand: () => ListScopesCommand,
|
|
42
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
43
|
+
MetricUnit: () => MetricUnit,
|
|
44
|
+
MonitorLocalResourceType: () => MonitorLocalResourceType,
|
|
45
|
+
MonitorMetric: () => MonitorMetric,
|
|
46
|
+
MonitorRemoteResourceType: () => MonitorRemoteResourceType,
|
|
47
|
+
MonitorStatus: () => MonitorStatus,
|
|
48
|
+
NetworkFlowMonitor: () => NetworkFlowMonitor,
|
|
49
|
+
NetworkFlowMonitorClient: () => NetworkFlowMonitorClient,
|
|
50
|
+
NetworkFlowMonitorServiceException: () => NetworkFlowMonitorServiceException,
|
|
51
|
+
QueryStatus: () => QueryStatus,
|
|
52
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
53
|
+
ScopeStatus: () => ScopeStatus,
|
|
54
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
55
|
+
StartQueryMonitorTopContributorsCommand: () => StartQueryMonitorTopContributorsCommand,
|
|
56
|
+
StartQueryWorkloadInsightsTopContributorsCommand: () => StartQueryWorkloadInsightsTopContributorsCommand,
|
|
57
|
+
StartQueryWorkloadInsightsTopContributorsDataCommand: () => StartQueryWorkloadInsightsTopContributorsDataCommand,
|
|
58
|
+
StopQueryMonitorTopContributorsCommand: () => StopQueryMonitorTopContributorsCommand,
|
|
59
|
+
StopQueryWorkloadInsightsTopContributorsCommand: () => StopQueryWorkloadInsightsTopContributorsCommand,
|
|
60
|
+
StopQueryWorkloadInsightsTopContributorsDataCommand: () => StopQueryWorkloadInsightsTopContributorsDataCommand,
|
|
61
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
62
|
+
TargetId: () => TargetId,
|
|
63
|
+
TargetType: () => TargetType,
|
|
64
|
+
ThrottlingException: () => ThrottlingException,
|
|
65
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
66
|
+
UpdateMonitorCommand: () => UpdateMonitorCommand,
|
|
67
|
+
UpdateScopeCommand: () => UpdateScopeCommand,
|
|
68
|
+
ValidationException: () => ValidationException,
|
|
69
|
+
WorkloadInsightsMetric: () => WorkloadInsightsMetric,
|
|
70
|
+
__Client: () => import_smithy_client.Client,
|
|
71
|
+
paginateGetQueryResultsMonitorTopContributors: () => paginateGetQueryResultsMonitorTopContributors,
|
|
72
|
+
paginateGetQueryResultsWorkloadInsightsTopContributors: () => paginateGetQueryResultsWorkloadInsightsTopContributors,
|
|
73
|
+
paginateGetQueryResultsWorkloadInsightsTopContributorsData: () => paginateGetQueryResultsWorkloadInsightsTopContributorsData,
|
|
74
|
+
paginateListMonitors: () => paginateListMonitors,
|
|
75
|
+
paginateListScopes: () => paginateListScopes
|
|
76
|
+
});
|
|
77
|
+
module.exports = __toCommonJS(index_exports);
|
|
78
|
+
|
|
79
|
+
// src/NetworkFlowMonitorClient.ts
|
|
80
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
81
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
82
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
83
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
84
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
85
|
+
var import_core = require("@smithy/core");
|
|
86
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
87
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
88
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
89
|
+
|
|
90
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
91
|
+
|
|
92
|
+
// src/endpoint/EndpointParameters.ts
|
|
93
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
94
|
+
return Object.assign(options, {
|
|
95
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
96
|
+
defaultSigningName: "networkflowmonitor"
|
|
97
|
+
});
|
|
98
|
+
}, "resolveClientEndpointParameters");
|
|
99
|
+
var commonParams = {
|
|
100
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
101
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
102
|
+
Region: { type: "builtInParams", name: "region" }
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
// src/NetworkFlowMonitorClient.ts
|
|
106
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
107
|
+
|
|
108
|
+
// src/runtimeExtensions.ts
|
|
109
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
110
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
111
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
112
|
+
|
|
113
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
114
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
115
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
116
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
117
|
+
let _credentials = runtimeConfig.credentials;
|
|
118
|
+
return {
|
|
119
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
120
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
121
|
+
if (index === -1) {
|
|
122
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
123
|
+
} else {
|
|
124
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
httpAuthSchemes() {
|
|
128
|
+
return _httpAuthSchemes;
|
|
129
|
+
},
|
|
130
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
131
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
132
|
+
},
|
|
133
|
+
httpAuthSchemeProvider() {
|
|
134
|
+
return _httpAuthSchemeProvider;
|
|
135
|
+
},
|
|
136
|
+
setCredentials(credentials) {
|
|
137
|
+
_credentials = credentials;
|
|
138
|
+
},
|
|
139
|
+
credentials() {
|
|
140
|
+
return _credentials;
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
144
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
145
|
+
return {
|
|
146
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
147
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
148
|
+
credentials: config.credentials()
|
|
149
|
+
};
|
|
150
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
151
|
+
|
|
152
|
+
// src/runtimeExtensions.ts
|
|
153
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
154
|
+
const extensionConfiguration = Object.assign(
|
|
155
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
156
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
157
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
158
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
159
|
+
);
|
|
160
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
161
|
+
return Object.assign(
|
|
162
|
+
runtimeConfig,
|
|
163
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
164
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
165
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
166
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
167
|
+
);
|
|
168
|
+
}, "resolveRuntimeExtensions");
|
|
169
|
+
|
|
170
|
+
// src/NetworkFlowMonitorClient.ts
|
|
171
|
+
var NetworkFlowMonitorClient = class extends import_smithy_client.Client {
|
|
172
|
+
static {
|
|
173
|
+
__name(this, "NetworkFlowMonitorClient");
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* The resolved configuration of NetworkFlowMonitorClient class. This is resolved and normalized from the {@link NetworkFlowMonitorClientConfig | constructor configuration interface}.
|
|
177
|
+
*/
|
|
178
|
+
config;
|
|
179
|
+
constructor(...[configuration]) {
|
|
180
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
181
|
+
super(_config_0);
|
|
182
|
+
this.initConfig = _config_0;
|
|
183
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
184
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
185
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
186
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
187
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
188
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
189
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
190
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
191
|
+
this.config = _config_8;
|
|
192
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
193
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
194
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
195
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
196
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
197
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
198
|
+
this.middlewareStack.use(
|
|
199
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
200
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultNetworkFlowMonitorHttpAuthSchemeParametersProvider,
|
|
201
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
202
|
+
"aws.auth#sigv4": config.credentials
|
|
203
|
+
}), "identityProviderConfigProvider")
|
|
204
|
+
})
|
|
205
|
+
);
|
|
206
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
210
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
211
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
212
|
+
*/
|
|
213
|
+
destroy() {
|
|
214
|
+
super.destroy();
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
// src/NetworkFlowMonitor.ts
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
// src/commands/CreateMonitorCommand.ts
|
|
222
|
+
|
|
223
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
// src/protocols/Aws_restJson1.ts
|
|
227
|
+
var import_core2 = require("@aws-sdk/core");
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
var import_uuid = require("uuid");
|
|
231
|
+
|
|
232
|
+
// src/models/NetworkFlowMonitorServiceException.ts
|
|
233
|
+
|
|
234
|
+
var NetworkFlowMonitorServiceException = class _NetworkFlowMonitorServiceException extends import_smithy_client.ServiceException {
|
|
235
|
+
static {
|
|
236
|
+
__name(this, "NetworkFlowMonitorServiceException");
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* @internal
|
|
240
|
+
*/
|
|
241
|
+
constructor(options) {
|
|
242
|
+
super(options);
|
|
243
|
+
Object.setPrototypeOf(this, _NetworkFlowMonitorServiceException.prototype);
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
// src/models/models_0.ts
|
|
248
|
+
var AccessDeniedException = class _AccessDeniedException extends NetworkFlowMonitorServiceException {
|
|
249
|
+
static {
|
|
250
|
+
__name(this, "AccessDeniedException");
|
|
251
|
+
}
|
|
252
|
+
name = "AccessDeniedException";
|
|
253
|
+
$fault = "client";
|
|
254
|
+
/**
|
|
255
|
+
* @internal
|
|
256
|
+
*/
|
|
257
|
+
constructor(opts) {
|
|
258
|
+
super({
|
|
259
|
+
name: "AccessDeniedException",
|
|
260
|
+
$fault: "client",
|
|
261
|
+
...opts
|
|
262
|
+
});
|
|
263
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
var ConflictException = class _ConflictException extends NetworkFlowMonitorServiceException {
|
|
267
|
+
static {
|
|
268
|
+
__name(this, "ConflictException");
|
|
269
|
+
}
|
|
270
|
+
name = "ConflictException";
|
|
271
|
+
$fault = "client";
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
constructor(opts) {
|
|
276
|
+
super({
|
|
277
|
+
name: "ConflictException",
|
|
278
|
+
$fault: "client",
|
|
279
|
+
...opts
|
|
280
|
+
});
|
|
281
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
var MonitorLocalResourceType = {
|
|
285
|
+
AWS_AZ: "AWS::AvailabilityZone",
|
|
286
|
+
AWS_REGION: "AWS::Region",
|
|
287
|
+
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
288
|
+
AWS_VPC: "AWS::EC2::VPC"
|
|
289
|
+
};
|
|
290
|
+
var MonitorRemoteResourceType = {
|
|
291
|
+
AWS_AZ: "AWS::AvailabilityZone",
|
|
292
|
+
AWS_REGION: "AWS::Region",
|
|
293
|
+
AWS_SERVICE: "AWS::AWSService",
|
|
294
|
+
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
295
|
+
AWS_VPC: "AWS::EC2::VPC"
|
|
296
|
+
};
|
|
297
|
+
var MonitorStatus = {
|
|
298
|
+
ACTIVE: "ACTIVE",
|
|
299
|
+
DELETING: "DELETING",
|
|
300
|
+
ERROR: "ERROR",
|
|
301
|
+
INACTIVE: "INACTIVE",
|
|
302
|
+
PENDING: "PENDING"
|
|
303
|
+
};
|
|
304
|
+
var InternalServerException = class _InternalServerException extends NetworkFlowMonitorServiceException {
|
|
305
|
+
static {
|
|
306
|
+
__name(this, "InternalServerException");
|
|
307
|
+
}
|
|
308
|
+
name = "InternalServerException";
|
|
309
|
+
$fault = "server";
|
|
310
|
+
$retryable = {};
|
|
311
|
+
/**
|
|
312
|
+
* @internal
|
|
313
|
+
*/
|
|
314
|
+
constructor(opts) {
|
|
315
|
+
super({
|
|
316
|
+
name: "InternalServerException",
|
|
317
|
+
$fault: "server",
|
|
318
|
+
...opts
|
|
319
|
+
});
|
|
320
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends NetworkFlowMonitorServiceException {
|
|
324
|
+
static {
|
|
325
|
+
__name(this, "ServiceQuotaExceededException");
|
|
326
|
+
}
|
|
327
|
+
name = "ServiceQuotaExceededException";
|
|
328
|
+
$fault = "client";
|
|
329
|
+
/**
|
|
330
|
+
* @internal
|
|
331
|
+
*/
|
|
332
|
+
constructor(opts) {
|
|
333
|
+
super({
|
|
334
|
+
name: "ServiceQuotaExceededException",
|
|
335
|
+
$fault: "client",
|
|
336
|
+
...opts
|
|
337
|
+
});
|
|
338
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
var ThrottlingException = class _ThrottlingException extends NetworkFlowMonitorServiceException {
|
|
342
|
+
static {
|
|
343
|
+
__name(this, "ThrottlingException");
|
|
344
|
+
}
|
|
345
|
+
name = "ThrottlingException";
|
|
346
|
+
$fault = "client";
|
|
347
|
+
$retryable = {
|
|
348
|
+
throttling: true
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* @internal
|
|
352
|
+
*/
|
|
353
|
+
constructor(opts) {
|
|
354
|
+
super({
|
|
355
|
+
name: "ThrottlingException",
|
|
356
|
+
$fault: "client",
|
|
357
|
+
...opts
|
|
358
|
+
});
|
|
359
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
var ValidationException = class _ValidationException extends NetworkFlowMonitorServiceException {
|
|
363
|
+
static {
|
|
364
|
+
__name(this, "ValidationException");
|
|
365
|
+
}
|
|
366
|
+
name = "ValidationException";
|
|
367
|
+
$fault = "client";
|
|
368
|
+
/**
|
|
369
|
+
* @internal
|
|
370
|
+
*/
|
|
371
|
+
constructor(opts) {
|
|
372
|
+
super({
|
|
373
|
+
name: "ValidationException",
|
|
374
|
+
$fault: "client",
|
|
375
|
+
...opts
|
|
376
|
+
});
|
|
377
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
var TargetId;
|
|
381
|
+
((TargetId3) => {
|
|
382
|
+
TargetId3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
383
|
+
if (value.accountId !== void 0) return visitor.accountId(value.accountId);
|
|
384
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
385
|
+
}, "visit");
|
|
386
|
+
})(TargetId || (TargetId = {}));
|
|
387
|
+
var TargetType = {
|
|
388
|
+
ACCOUNT: "ACCOUNT"
|
|
389
|
+
};
|
|
390
|
+
var ScopeStatus = {
|
|
391
|
+
DEACTIVATED: "DEACTIVATED",
|
|
392
|
+
DEACTIVATING: "DEACTIVATING",
|
|
393
|
+
FAILED: "FAILED",
|
|
394
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
395
|
+
SUCCEEDED: "SUCCEEDED"
|
|
396
|
+
};
|
|
397
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends NetworkFlowMonitorServiceException {
|
|
398
|
+
static {
|
|
399
|
+
__name(this, "ResourceNotFoundException");
|
|
400
|
+
}
|
|
401
|
+
name = "ResourceNotFoundException";
|
|
402
|
+
$fault = "client";
|
|
403
|
+
/**
|
|
404
|
+
* @internal
|
|
405
|
+
*/
|
|
406
|
+
constructor(opts) {
|
|
407
|
+
super({
|
|
408
|
+
name: "ResourceNotFoundException",
|
|
409
|
+
$fault: "client",
|
|
410
|
+
...opts
|
|
411
|
+
});
|
|
412
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
var DestinationCategory = {
|
|
416
|
+
AMAZON_DYNAMODB: "AMAZON_DYNAMODB",
|
|
417
|
+
AMAZON_S3: "AMAZON_S3",
|
|
418
|
+
INTER_AZ: "INTER_AZ",
|
|
419
|
+
INTER_REGION: "INTER_REGION",
|
|
420
|
+
INTER_VPC: "INTER_VPC",
|
|
421
|
+
INTRA_AZ: "INTRA_AZ",
|
|
422
|
+
UNCLASSIFIED: "UNCLASSIFIED"
|
|
423
|
+
};
|
|
424
|
+
var MetricUnit = {
|
|
425
|
+
BITS: "Bits",
|
|
426
|
+
BITS_PER_SECOND: "Bits/Second",
|
|
427
|
+
BYTES: "Bytes",
|
|
428
|
+
BYTES_PER_SECOND: "Bytes/Second",
|
|
429
|
+
COUNT: "Count",
|
|
430
|
+
COUNT_PER_SECOND: "Count/Second",
|
|
431
|
+
GIGABITS: "Gigabits",
|
|
432
|
+
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
433
|
+
GIGABYTES: "Gigabytes",
|
|
434
|
+
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
435
|
+
KILOBITS: "Kilobits",
|
|
436
|
+
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
437
|
+
KILOBYTES: "Kilobytes",
|
|
438
|
+
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
439
|
+
MEGABITS: "Megabits",
|
|
440
|
+
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
441
|
+
MEGABYTES: "Megabytes",
|
|
442
|
+
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
443
|
+
MICROSECONDS: "Microseconds",
|
|
444
|
+
MILLISECONDS: "Milliseconds",
|
|
445
|
+
NONE: "None",
|
|
446
|
+
PERCENT: "Percent",
|
|
447
|
+
SECONDS: "Seconds",
|
|
448
|
+
TERABITS: "Terabits",
|
|
449
|
+
TERABITS_PER_SECOND: "Terabits/Second",
|
|
450
|
+
TERABYTES: "Terabytes",
|
|
451
|
+
TERABYTES_PER_SECOND: "Terabytes/Second"
|
|
452
|
+
};
|
|
453
|
+
var QueryStatus = {
|
|
454
|
+
CANCELED: "CANCELED",
|
|
455
|
+
FAILED: "FAILED",
|
|
456
|
+
QUEUED: "QUEUED",
|
|
457
|
+
RUNNING: "RUNNING",
|
|
458
|
+
SUCCEEDED: "SUCCEEDED"
|
|
459
|
+
};
|
|
460
|
+
var MonitorMetric = {
|
|
461
|
+
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
462
|
+
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
463
|
+
ROUND_TRIP_TIME: "ROUND_TRIP_TIME",
|
|
464
|
+
TIMEOUTS: "TIMEOUTS"
|
|
465
|
+
};
|
|
466
|
+
var WorkloadInsightsMetric = {
|
|
467
|
+
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
468
|
+
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
469
|
+
TIMEOUTS: "TIMEOUTS"
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
// src/protocols/Aws_restJson1.ts
|
|
473
|
+
var se_CreateMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
474
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
475
|
+
const headers = {
|
|
476
|
+
"content-type": "application/json"
|
|
477
|
+
};
|
|
478
|
+
b.bp("/monitors");
|
|
479
|
+
let body;
|
|
480
|
+
body = JSON.stringify(
|
|
481
|
+
(0, import_smithy_client.take)(input, {
|
|
482
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
483
|
+
localResources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "localResources"),
|
|
484
|
+
monitorName: [],
|
|
485
|
+
remoteResources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "remoteResources"),
|
|
486
|
+
scopeArn: [],
|
|
487
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
488
|
+
})
|
|
489
|
+
);
|
|
490
|
+
b.m("POST").h(headers).b(body);
|
|
491
|
+
return b.build();
|
|
492
|
+
}, "se_CreateMonitorCommand");
|
|
493
|
+
var se_CreateScopeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
494
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
495
|
+
const headers = {
|
|
496
|
+
"content-type": "application/json"
|
|
497
|
+
};
|
|
498
|
+
b.bp("/scopes");
|
|
499
|
+
let body;
|
|
500
|
+
body = JSON.stringify(
|
|
501
|
+
(0, import_smithy_client.take)(input, {
|
|
502
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
503
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
504
|
+
targets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "targets")
|
|
505
|
+
})
|
|
506
|
+
);
|
|
507
|
+
b.m("POST").h(headers).b(body);
|
|
508
|
+
return b.build();
|
|
509
|
+
}, "se_CreateScopeCommand");
|
|
510
|
+
var se_DeleteMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
511
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
512
|
+
const headers = {};
|
|
513
|
+
b.bp("/monitors/{monitorName}");
|
|
514
|
+
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
515
|
+
let body;
|
|
516
|
+
b.m("DELETE").h(headers).b(body);
|
|
517
|
+
return b.build();
|
|
518
|
+
}, "se_DeleteMonitorCommand");
|
|
519
|
+
var se_DeleteScopeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
520
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
521
|
+
const headers = {};
|
|
522
|
+
b.bp("/scopes/{scopeId}");
|
|
523
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
524
|
+
let body;
|
|
525
|
+
b.m("DELETE").h(headers).b(body);
|
|
526
|
+
return b.build();
|
|
527
|
+
}, "se_DeleteScopeCommand");
|
|
528
|
+
var se_GetMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
529
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
530
|
+
const headers = {};
|
|
531
|
+
b.bp("/monitors/{monitorName}");
|
|
532
|
+
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
533
|
+
let body;
|
|
534
|
+
b.m("GET").h(headers).b(body);
|
|
535
|
+
return b.build();
|
|
536
|
+
}, "se_GetMonitorCommand");
|
|
537
|
+
var se_GetQueryResultsMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
538
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
539
|
+
const headers = {};
|
|
540
|
+
b.bp("/monitors/{monitorName}/topContributorsQueries/{queryId}/results");
|
|
541
|
+
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
542
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
543
|
+
const query = (0, import_smithy_client.map)({
|
|
544
|
+
[_nT]: [, input[_nT]],
|
|
545
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
546
|
+
});
|
|
547
|
+
let body;
|
|
548
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
549
|
+
return b.build();
|
|
550
|
+
}, "se_GetQueryResultsMonitorTopContributorsCommand");
|
|
551
|
+
var se_GetQueryResultsWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
552
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
553
|
+
const headers = {};
|
|
554
|
+
b.bp("/workloadInsights/{scopeId}/topContributorsQueries/{queryId}/results");
|
|
555
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
556
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
557
|
+
const query = (0, import_smithy_client.map)({
|
|
558
|
+
[_nT]: [, input[_nT]],
|
|
559
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
560
|
+
});
|
|
561
|
+
let body;
|
|
562
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
563
|
+
return b.build();
|
|
564
|
+
}, "se_GetQueryResultsWorkloadInsightsTopContributorsCommand");
|
|
565
|
+
var se_GetQueryResultsWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
566
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
567
|
+
const headers = {};
|
|
568
|
+
b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/results");
|
|
569
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
570
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
571
|
+
const query = (0, import_smithy_client.map)({
|
|
572
|
+
[_nT]: [, input[_nT]],
|
|
573
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
574
|
+
});
|
|
575
|
+
let body;
|
|
576
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
577
|
+
return b.build();
|
|
578
|
+
}, "se_GetQueryResultsWorkloadInsightsTopContributorsDataCommand");
|
|
579
|
+
var se_GetQueryStatusMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
580
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
581
|
+
const headers = {};
|
|
582
|
+
b.bp("/monitors/{monitorName}/topContributorsQueries/{queryId}/status");
|
|
583
|
+
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
584
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
585
|
+
let body;
|
|
586
|
+
b.m("GET").h(headers).b(body);
|
|
587
|
+
return b.build();
|
|
588
|
+
}, "se_GetQueryStatusMonitorTopContributorsCommand");
|
|
589
|
+
var se_GetQueryStatusWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
590
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
591
|
+
const headers = {};
|
|
592
|
+
b.bp("/workloadInsights/{scopeId}/topContributorsQueries/{queryId}/status");
|
|
593
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
594
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
595
|
+
let body;
|
|
596
|
+
b.m("GET").h(headers).b(body);
|
|
597
|
+
return b.build();
|
|
598
|
+
}, "se_GetQueryStatusWorkloadInsightsTopContributorsCommand");
|
|
599
|
+
var se_GetQueryStatusWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
600
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
601
|
+
const headers = {};
|
|
602
|
+
b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/status");
|
|
603
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
604
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
605
|
+
let body;
|
|
606
|
+
b.m("GET").h(headers).b(body);
|
|
607
|
+
return b.build();
|
|
608
|
+
}, "se_GetQueryStatusWorkloadInsightsTopContributorsDataCommand");
|
|
609
|
+
var se_GetScopeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
610
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
611
|
+
const headers = {};
|
|
612
|
+
b.bp("/scopes/{scopeId}");
|
|
613
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
614
|
+
let body;
|
|
615
|
+
b.m("GET").h(headers).b(body);
|
|
616
|
+
return b.build();
|
|
617
|
+
}, "se_GetScopeCommand");
|
|
618
|
+
var se_ListMonitorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
619
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
620
|
+
const headers = {};
|
|
621
|
+
b.bp("/monitors");
|
|
622
|
+
const query = (0, import_smithy_client.map)({
|
|
623
|
+
[_nT]: [, input[_nT]],
|
|
624
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
625
|
+
[_mS]: [, input[_mS]]
|
|
626
|
+
});
|
|
627
|
+
let body;
|
|
628
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
629
|
+
return b.build();
|
|
630
|
+
}, "se_ListMonitorsCommand");
|
|
631
|
+
var se_ListScopesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
632
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
633
|
+
const headers = {};
|
|
634
|
+
b.bp("/scopes");
|
|
635
|
+
const query = (0, import_smithy_client.map)({
|
|
636
|
+
[_nT]: [, input[_nT]],
|
|
637
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
638
|
+
});
|
|
639
|
+
let body;
|
|
640
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
641
|
+
return b.build();
|
|
642
|
+
}, "se_ListScopesCommand");
|
|
643
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
644
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
645
|
+
const headers = {};
|
|
646
|
+
b.bp("/tags/{resourceArn}");
|
|
647
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
648
|
+
let body;
|
|
649
|
+
b.m("GET").h(headers).b(body);
|
|
650
|
+
return b.build();
|
|
651
|
+
}, "se_ListTagsForResourceCommand");
|
|
652
|
+
var se_StartQueryMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
653
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
654
|
+
const headers = {
|
|
655
|
+
"content-type": "application/json"
|
|
656
|
+
};
|
|
657
|
+
b.bp("/monitors/{monitorName}/topContributorsQueries");
|
|
658
|
+
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
659
|
+
let body;
|
|
660
|
+
body = JSON.stringify(
|
|
661
|
+
(0, import_smithy_client.take)(input, {
|
|
662
|
+
destinationCategory: [],
|
|
663
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "endTime"),
|
|
664
|
+
limit: [],
|
|
665
|
+
metricName: [],
|
|
666
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "startTime")
|
|
667
|
+
})
|
|
668
|
+
);
|
|
669
|
+
b.m("POST").h(headers).b(body);
|
|
670
|
+
return b.build();
|
|
671
|
+
}, "se_StartQueryMonitorTopContributorsCommand");
|
|
672
|
+
var se_StartQueryWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
673
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
674
|
+
const headers = {
|
|
675
|
+
"content-type": "application/json"
|
|
676
|
+
};
|
|
677
|
+
b.bp("/workloadInsights/{scopeId}/topContributorsQueries");
|
|
678
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
679
|
+
let body;
|
|
680
|
+
body = JSON.stringify(
|
|
681
|
+
(0, import_smithy_client.take)(input, {
|
|
682
|
+
destinationCategory: [],
|
|
683
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "endTime"),
|
|
684
|
+
limit: [],
|
|
685
|
+
metricName: [],
|
|
686
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "startTime")
|
|
687
|
+
})
|
|
688
|
+
);
|
|
689
|
+
b.m("POST").h(headers).b(body);
|
|
690
|
+
return b.build();
|
|
691
|
+
}, "se_StartQueryWorkloadInsightsTopContributorsCommand");
|
|
692
|
+
var se_StartQueryWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
693
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
694
|
+
const headers = {
|
|
695
|
+
"content-type": "application/json"
|
|
696
|
+
};
|
|
697
|
+
b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries");
|
|
698
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
699
|
+
let body;
|
|
700
|
+
body = JSON.stringify(
|
|
701
|
+
(0, import_smithy_client.take)(input, {
|
|
702
|
+
destinationCategory: [],
|
|
703
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "endTime"),
|
|
704
|
+
metricName: [],
|
|
705
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "startTime")
|
|
706
|
+
})
|
|
707
|
+
);
|
|
708
|
+
b.m("POST").h(headers).b(body);
|
|
709
|
+
return b.build();
|
|
710
|
+
}, "se_StartQueryWorkloadInsightsTopContributorsDataCommand");
|
|
711
|
+
var se_StopQueryMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
712
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
713
|
+
const headers = {};
|
|
714
|
+
b.bp("/monitors/{monitorName}/topContributorsQueries/{queryId}");
|
|
715
|
+
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
716
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
717
|
+
let body;
|
|
718
|
+
b.m("DELETE").h(headers).b(body);
|
|
719
|
+
return b.build();
|
|
720
|
+
}, "se_StopQueryMonitorTopContributorsCommand");
|
|
721
|
+
var se_StopQueryWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
722
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
723
|
+
const headers = {};
|
|
724
|
+
b.bp("/workloadInsights/{scopeId}/topContributorsQueries/{queryId}");
|
|
725
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
726
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
727
|
+
let body;
|
|
728
|
+
b.m("DELETE").h(headers).b(body);
|
|
729
|
+
return b.build();
|
|
730
|
+
}, "se_StopQueryWorkloadInsightsTopContributorsCommand");
|
|
731
|
+
var se_StopQueryWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
732
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
733
|
+
const headers = {};
|
|
734
|
+
b.bp("/workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}");
|
|
735
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
736
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
737
|
+
let body;
|
|
738
|
+
b.m("DELETE").h(headers).b(body);
|
|
739
|
+
return b.build();
|
|
740
|
+
}, "se_StopQueryWorkloadInsightsTopContributorsDataCommand");
|
|
741
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
742
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
743
|
+
const headers = {
|
|
744
|
+
"content-type": "application/json"
|
|
745
|
+
};
|
|
746
|
+
b.bp("/tags/{resourceArn}");
|
|
747
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
748
|
+
let body;
|
|
749
|
+
body = JSON.stringify(
|
|
750
|
+
(0, import_smithy_client.take)(input, {
|
|
751
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
752
|
+
})
|
|
753
|
+
);
|
|
754
|
+
b.m("POST").h(headers).b(body);
|
|
755
|
+
return b.build();
|
|
756
|
+
}, "se_TagResourceCommand");
|
|
757
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
758
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
759
|
+
const headers = {};
|
|
760
|
+
b.bp("/tags/{resourceArn}");
|
|
761
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
762
|
+
const query = (0, import_smithy_client.map)({
|
|
763
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
764
|
+
});
|
|
765
|
+
let body;
|
|
766
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
767
|
+
return b.build();
|
|
768
|
+
}, "se_UntagResourceCommand");
|
|
769
|
+
var se_UpdateMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
770
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
771
|
+
const headers = {
|
|
772
|
+
"content-type": "application/json"
|
|
773
|
+
};
|
|
774
|
+
b.bp("/monitors/{monitorName}");
|
|
775
|
+
b.p("monitorName", () => input.monitorName, "{monitorName}", false);
|
|
776
|
+
let body;
|
|
777
|
+
body = JSON.stringify(
|
|
778
|
+
(0, import_smithy_client.take)(input, {
|
|
779
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
780
|
+
localResourcesToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "localResourcesToAdd"),
|
|
781
|
+
localResourcesToRemove: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "localResourcesToRemove"),
|
|
782
|
+
remoteResourcesToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "remoteResourcesToAdd"),
|
|
783
|
+
remoteResourcesToRemove: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "remoteResourcesToRemove")
|
|
784
|
+
})
|
|
785
|
+
);
|
|
786
|
+
b.m("PATCH").h(headers).b(body);
|
|
787
|
+
return b.build();
|
|
788
|
+
}, "se_UpdateMonitorCommand");
|
|
789
|
+
var se_UpdateScopeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
790
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
791
|
+
const headers = {
|
|
792
|
+
"content-type": "application/json"
|
|
793
|
+
};
|
|
794
|
+
b.bp("/scopes/{scopeId}");
|
|
795
|
+
b.p("scopeId", () => input.scopeId, "{scopeId}", false);
|
|
796
|
+
let body;
|
|
797
|
+
body = JSON.stringify(
|
|
798
|
+
(0, import_smithy_client.take)(input, {
|
|
799
|
+
resourcesToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resourcesToAdd"),
|
|
800
|
+
resourcesToDelete: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resourcesToDelete")
|
|
801
|
+
})
|
|
802
|
+
);
|
|
803
|
+
b.m("PATCH").h(headers).b(body);
|
|
804
|
+
return b.build();
|
|
805
|
+
}, "se_UpdateScopeCommand");
|
|
806
|
+
var de_CreateMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
807
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
808
|
+
return de_CommandError(output, context);
|
|
809
|
+
}
|
|
810
|
+
const contents = (0, import_smithy_client.map)({
|
|
811
|
+
$metadata: deserializeMetadata(output)
|
|
812
|
+
});
|
|
813
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
814
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
815
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
816
|
+
localResources: import_smithy_client._json,
|
|
817
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
818
|
+
monitorArn: import_smithy_client.expectString,
|
|
819
|
+
monitorName: import_smithy_client.expectString,
|
|
820
|
+
monitorStatus: import_smithy_client.expectString,
|
|
821
|
+
remoteResources: import_smithy_client._json,
|
|
822
|
+
tags: import_smithy_client._json
|
|
823
|
+
});
|
|
824
|
+
Object.assign(contents, doc);
|
|
825
|
+
return contents;
|
|
826
|
+
}, "de_CreateMonitorCommand");
|
|
827
|
+
var de_CreateScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
828
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
829
|
+
return de_CommandError(output, context);
|
|
830
|
+
}
|
|
831
|
+
const contents = (0, import_smithy_client.map)({
|
|
832
|
+
$metadata: deserializeMetadata(output)
|
|
833
|
+
});
|
|
834
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
835
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
836
|
+
scopeArn: import_smithy_client.expectString,
|
|
837
|
+
scopeId: import_smithy_client.expectString,
|
|
838
|
+
status: import_smithy_client.expectString,
|
|
839
|
+
tags: import_smithy_client._json
|
|
840
|
+
});
|
|
841
|
+
Object.assign(contents, doc);
|
|
842
|
+
return contents;
|
|
843
|
+
}, "de_CreateScopeCommand");
|
|
844
|
+
var de_DeleteMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
845
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
846
|
+
return de_CommandError(output, context);
|
|
847
|
+
}
|
|
848
|
+
const contents = (0, import_smithy_client.map)({
|
|
849
|
+
$metadata: deserializeMetadata(output)
|
|
850
|
+
});
|
|
851
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
852
|
+
return contents;
|
|
853
|
+
}, "de_DeleteMonitorCommand");
|
|
854
|
+
var de_DeleteScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
855
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
856
|
+
return de_CommandError(output, context);
|
|
857
|
+
}
|
|
858
|
+
const contents = (0, import_smithy_client.map)({
|
|
859
|
+
$metadata: deserializeMetadata(output)
|
|
860
|
+
});
|
|
861
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
862
|
+
return contents;
|
|
863
|
+
}, "de_DeleteScopeCommand");
|
|
864
|
+
var de_GetMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
865
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
866
|
+
return de_CommandError(output, context);
|
|
867
|
+
}
|
|
868
|
+
const contents = (0, import_smithy_client.map)({
|
|
869
|
+
$metadata: deserializeMetadata(output)
|
|
870
|
+
});
|
|
871
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
872
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
873
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
874
|
+
localResources: import_smithy_client._json,
|
|
875
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
876
|
+
monitorArn: import_smithy_client.expectString,
|
|
877
|
+
monitorName: import_smithy_client.expectString,
|
|
878
|
+
monitorStatus: import_smithy_client.expectString,
|
|
879
|
+
remoteResources: import_smithy_client._json,
|
|
880
|
+
tags: import_smithy_client._json
|
|
881
|
+
});
|
|
882
|
+
Object.assign(contents, doc);
|
|
883
|
+
return contents;
|
|
884
|
+
}, "de_GetMonitorCommand");
|
|
885
|
+
var de_GetQueryResultsMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
886
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
887
|
+
return de_CommandError(output, context);
|
|
888
|
+
}
|
|
889
|
+
const contents = (0, import_smithy_client.map)({
|
|
890
|
+
$metadata: deserializeMetadata(output)
|
|
891
|
+
});
|
|
892
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
893
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
894
|
+
nextToken: import_smithy_client.expectString,
|
|
895
|
+
topContributors: import_smithy_client._json,
|
|
896
|
+
unit: import_smithy_client.expectString
|
|
897
|
+
});
|
|
898
|
+
Object.assign(contents, doc);
|
|
899
|
+
return contents;
|
|
900
|
+
}, "de_GetQueryResultsMonitorTopContributorsCommand");
|
|
901
|
+
var de_GetQueryResultsWorkloadInsightsTopContributorsCommand = /* @__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
|
+
nextToken: import_smithy_client.expectString,
|
|
911
|
+
topContributors: import_smithy_client._json
|
|
912
|
+
});
|
|
913
|
+
Object.assign(contents, doc);
|
|
914
|
+
return contents;
|
|
915
|
+
}, "de_GetQueryResultsWorkloadInsightsTopContributorsCommand");
|
|
916
|
+
var de_GetQueryResultsWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
917
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
918
|
+
return de_CommandError(output, context);
|
|
919
|
+
}
|
|
920
|
+
const contents = (0, import_smithy_client.map)({
|
|
921
|
+
$metadata: deserializeMetadata(output)
|
|
922
|
+
});
|
|
923
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
924
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
925
|
+
datapoints: /* @__PURE__ */ __name((_) => de_WorkloadInsightsTopContributorsDataPoints(_, context), "datapoints"),
|
|
926
|
+
nextToken: import_smithy_client.expectString,
|
|
927
|
+
unit: import_smithy_client.expectString
|
|
928
|
+
});
|
|
929
|
+
Object.assign(contents, doc);
|
|
930
|
+
return contents;
|
|
931
|
+
}, "de_GetQueryResultsWorkloadInsightsTopContributorsDataCommand");
|
|
932
|
+
var de_GetQueryStatusMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
933
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
934
|
+
return de_CommandError(output, context);
|
|
935
|
+
}
|
|
936
|
+
const contents = (0, import_smithy_client.map)({
|
|
937
|
+
$metadata: deserializeMetadata(output)
|
|
938
|
+
});
|
|
939
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
940
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
941
|
+
status: import_smithy_client.expectString
|
|
942
|
+
});
|
|
943
|
+
Object.assign(contents, doc);
|
|
944
|
+
return contents;
|
|
945
|
+
}, "de_GetQueryStatusMonitorTopContributorsCommand");
|
|
946
|
+
var de_GetQueryStatusWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
947
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
948
|
+
return de_CommandError(output, context);
|
|
949
|
+
}
|
|
950
|
+
const contents = (0, import_smithy_client.map)({
|
|
951
|
+
$metadata: deserializeMetadata(output)
|
|
952
|
+
});
|
|
953
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
954
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
955
|
+
status: import_smithy_client.expectString
|
|
956
|
+
});
|
|
957
|
+
Object.assign(contents, doc);
|
|
958
|
+
return contents;
|
|
959
|
+
}, "de_GetQueryStatusWorkloadInsightsTopContributorsCommand");
|
|
960
|
+
var de_GetQueryStatusWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
961
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
962
|
+
return de_CommandError(output, context);
|
|
963
|
+
}
|
|
964
|
+
const contents = (0, import_smithy_client.map)({
|
|
965
|
+
$metadata: deserializeMetadata(output)
|
|
966
|
+
});
|
|
967
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
968
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
969
|
+
status: import_smithy_client.expectString
|
|
970
|
+
});
|
|
971
|
+
Object.assign(contents, doc);
|
|
972
|
+
return contents;
|
|
973
|
+
}, "de_GetQueryStatusWorkloadInsightsTopContributorsDataCommand");
|
|
974
|
+
var de_GetScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
975
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
976
|
+
return de_CommandError(output, context);
|
|
977
|
+
}
|
|
978
|
+
const contents = (0, import_smithy_client.map)({
|
|
979
|
+
$metadata: deserializeMetadata(output)
|
|
980
|
+
});
|
|
981
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
982
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
983
|
+
scopeArn: import_smithy_client.expectString,
|
|
984
|
+
scopeId: import_smithy_client.expectString,
|
|
985
|
+
status: import_smithy_client.expectString,
|
|
986
|
+
tags: import_smithy_client._json,
|
|
987
|
+
targets: import_smithy_client._json
|
|
988
|
+
});
|
|
989
|
+
Object.assign(contents, doc);
|
|
990
|
+
return contents;
|
|
991
|
+
}, "de_GetScopeCommand");
|
|
992
|
+
var de_ListMonitorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
993
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
994
|
+
return de_CommandError(output, context);
|
|
995
|
+
}
|
|
996
|
+
const contents = (0, import_smithy_client.map)({
|
|
997
|
+
$metadata: deserializeMetadata(output)
|
|
998
|
+
});
|
|
999
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1000
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1001
|
+
monitors: import_smithy_client._json,
|
|
1002
|
+
nextToken: import_smithy_client.expectString
|
|
1003
|
+
});
|
|
1004
|
+
Object.assign(contents, doc);
|
|
1005
|
+
return contents;
|
|
1006
|
+
}, "de_ListMonitorsCommand");
|
|
1007
|
+
var de_ListScopesCommand = /* @__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
|
+
nextToken: import_smithy_client.expectString,
|
|
1017
|
+
scopes: import_smithy_client._json
|
|
1018
|
+
});
|
|
1019
|
+
Object.assign(contents, doc);
|
|
1020
|
+
return contents;
|
|
1021
|
+
}, "de_ListScopesCommand");
|
|
1022
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1023
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1024
|
+
return de_CommandError(output, context);
|
|
1025
|
+
}
|
|
1026
|
+
const contents = (0, import_smithy_client.map)({
|
|
1027
|
+
$metadata: deserializeMetadata(output)
|
|
1028
|
+
});
|
|
1029
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1030
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1031
|
+
tags: import_smithy_client._json
|
|
1032
|
+
});
|
|
1033
|
+
Object.assign(contents, doc);
|
|
1034
|
+
return contents;
|
|
1035
|
+
}, "de_ListTagsForResourceCommand");
|
|
1036
|
+
var de_StartQueryMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1037
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1038
|
+
return de_CommandError(output, context);
|
|
1039
|
+
}
|
|
1040
|
+
const contents = (0, import_smithy_client.map)({
|
|
1041
|
+
$metadata: deserializeMetadata(output)
|
|
1042
|
+
});
|
|
1043
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1044
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1045
|
+
queryId: import_smithy_client.expectString
|
|
1046
|
+
});
|
|
1047
|
+
Object.assign(contents, doc);
|
|
1048
|
+
return contents;
|
|
1049
|
+
}, "de_StartQueryMonitorTopContributorsCommand");
|
|
1050
|
+
var de_StartQueryWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1051
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1052
|
+
return de_CommandError(output, context);
|
|
1053
|
+
}
|
|
1054
|
+
const contents = (0, import_smithy_client.map)({
|
|
1055
|
+
$metadata: deserializeMetadata(output)
|
|
1056
|
+
});
|
|
1057
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1058
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1059
|
+
queryId: import_smithy_client.expectString
|
|
1060
|
+
});
|
|
1061
|
+
Object.assign(contents, doc);
|
|
1062
|
+
return contents;
|
|
1063
|
+
}, "de_StartQueryWorkloadInsightsTopContributorsCommand");
|
|
1064
|
+
var de_StartQueryWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1065
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1066
|
+
return de_CommandError(output, context);
|
|
1067
|
+
}
|
|
1068
|
+
const contents = (0, import_smithy_client.map)({
|
|
1069
|
+
$metadata: deserializeMetadata(output)
|
|
1070
|
+
});
|
|
1071
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1072
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1073
|
+
queryId: import_smithy_client.expectString
|
|
1074
|
+
});
|
|
1075
|
+
Object.assign(contents, doc);
|
|
1076
|
+
return contents;
|
|
1077
|
+
}, "de_StartQueryWorkloadInsightsTopContributorsDataCommand");
|
|
1078
|
+
var de_StopQueryMonitorTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1079
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1080
|
+
return de_CommandError(output, context);
|
|
1081
|
+
}
|
|
1082
|
+
const contents = (0, import_smithy_client.map)({
|
|
1083
|
+
$metadata: deserializeMetadata(output)
|
|
1084
|
+
});
|
|
1085
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1086
|
+
return contents;
|
|
1087
|
+
}, "de_StopQueryMonitorTopContributorsCommand");
|
|
1088
|
+
var de_StopQueryWorkloadInsightsTopContributorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1089
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1090
|
+
return de_CommandError(output, context);
|
|
1091
|
+
}
|
|
1092
|
+
const contents = (0, import_smithy_client.map)({
|
|
1093
|
+
$metadata: deserializeMetadata(output)
|
|
1094
|
+
});
|
|
1095
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1096
|
+
return contents;
|
|
1097
|
+
}, "de_StopQueryWorkloadInsightsTopContributorsCommand");
|
|
1098
|
+
var de_StopQueryWorkloadInsightsTopContributorsDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1099
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1100
|
+
return de_CommandError(output, context);
|
|
1101
|
+
}
|
|
1102
|
+
const contents = (0, import_smithy_client.map)({
|
|
1103
|
+
$metadata: deserializeMetadata(output)
|
|
1104
|
+
});
|
|
1105
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1106
|
+
return contents;
|
|
1107
|
+
}, "de_StopQueryWorkloadInsightsTopContributorsDataCommand");
|
|
1108
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1109
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1110
|
+
return de_CommandError(output, context);
|
|
1111
|
+
}
|
|
1112
|
+
const contents = (0, import_smithy_client.map)({
|
|
1113
|
+
$metadata: deserializeMetadata(output)
|
|
1114
|
+
});
|
|
1115
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1116
|
+
return contents;
|
|
1117
|
+
}, "de_TagResourceCommand");
|
|
1118
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1119
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1120
|
+
return de_CommandError(output, context);
|
|
1121
|
+
}
|
|
1122
|
+
const contents = (0, import_smithy_client.map)({
|
|
1123
|
+
$metadata: deserializeMetadata(output)
|
|
1124
|
+
});
|
|
1125
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1126
|
+
return contents;
|
|
1127
|
+
}, "de_UntagResourceCommand");
|
|
1128
|
+
var de_UpdateMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1129
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1130
|
+
return de_CommandError(output, context);
|
|
1131
|
+
}
|
|
1132
|
+
const contents = (0, import_smithy_client.map)({
|
|
1133
|
+
$metadata: deserializeMetadata(output)
|
|
1134
|
+
});
|
|
1135
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1136
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1137
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1138
|
+
localResources: import_smithy_client._json,
|
|
1139
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
1140
|
+
monitorArn: import_smithy_client.expectString,
|
|
1141
|
+
monitorName: import_smithy_client.expectString,
|
|
1142
|
+
monitorStatus: import_smithy_client.expectString,
|
|
1143
|
+
remoteResources: import_smithy_client._json,
|
|
1144
|
+
tags: import_smithy_client._json
|
|
1145
|
+
});
|
|
1146
|
+
Object.assign(contents, doc);
|
|
1147
|
+
return contents;
|
|
1148
|
+
}, "de_UpdateMonitorCommand");
|
|
1149
|
+
var de_UpdateScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1150
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1151
|
+
return de_CommandError(output, context);
|
|
1152
|
+
}
|
|
1153
|
+
const contents = (0, import_smithy_client.map)({
|
|
1154
|
+
$metadata: deserializeMetadata(output)
|
|
1155
|
+
});
|
|
1156
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1157
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1158
|
+
scopeArn: import_smithy_client.expectString,
|
|
1159
|
+
scopeId: import_smithy_client.expectString,
|
|
1160
|
+
status: import_smithy_client.expectString,
|
|
1161
|
+
tags: import_smithy_client._json
|
|
1162
|
+
});
|
|
1163
|
+
Object.assign(contents, doc);
|
|
1164
|
+
return contents;
|
|
1165
|
+
}, "de_UpdateScopeCommand");
|
|
1166
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1167
|
+
const parsedOutput = {
|
|
1168
|
+
...output,
|
|
1169
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1170
|
+
};
|
|
1171
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1172
|
+
switch (errorCode) {
|
|
1173
|
+
case "AccessDeniedException":
|
|
1174
|
+
case "com.amazonaws.networkflowmonitor#AccessDeniedException":
|
|
1175
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1176
|
+
case "ConflictException":
|
|
1177
|
+
case "com.amazonaws.networkflowmonitor#ConflictException":
|
|
1178
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1179
|
+
case "InternalServerException":
|
|
1180
|
+
case "com.amazonaws.networkflowmonitor#InternalServerException":
|
|
1181
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1182
|
+
case "ServiceQuotaExceededException":
|
|
1183
|
+
case "com.amazonaws.networkflowmonitor#ServiceQuotaExceededException":
|
|
1184
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1185
|
+
case "ThrottlingException":
|
|
1186
|
+
case "com.amazonaws.networkflowmonitor#ThrottlingException":
|
|
1187
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1188
|
+
case "ValidationException":
|
|
1189
|
+
case "com.amazonaws.networkflowmonitor#ValidationException":
|
|
1190
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1191
|
+
case "ResourceNotFoundException":
|
|
1192
|
+
case "com.amazonaws.networkflowmonitor#ResourceNotFoundException":
|
|
1193
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1194
|
+
default:
|
|
1195
|
+
const parsedBody = parsedOutput.body;
|
|
1196
|
+
return throwDefaultError({
|
|
1197
|
+
output,
|
|
1198
|
+
parsedBody,
|
|
1199
|
+
errorCode
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
1202
|
+
}, "de_CommandError");
|
|
1203
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(NetworkFlowMonitorServiceException);
|
|
1204
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1205
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1206
|
+
const data = parsedOutput.body;
|
|
1207
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1208
|
+
message: import_smithy_client.expectString
|
|
1209
|
+
});
|
|
1210
|
+
Object.assign(contents, doc);
|
|
1211
|
+
const exception = new AccessDeniedException({
|
|
1212
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1213
|
+
...contents
|
|
1214
|
+
});
|
|
1215
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1216
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1217
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1218
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1219
|
+
const data = parsedOutput.body;
|
|
1220
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1221
|
+
message: import_smithy_client.expectString
|
|
1222
|
+
});
|
|
1223
|
+
Object.assign(contents, doc);
|
|
1224
|
+
const exception = new ConflictException({
|
|
1225
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1226
|
+
...contents
|
|
1227
|
+
});
|
|
1228
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1229
|
+
}, "de_ConflictExceptionRes");
|
|
1230
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1231
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1232
|
+
const data = parsedOutput.body;
|
|
1233
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1234
|
+
message: import_smithy_client.expectString
|
|
1235
|
+
});
|
|
1236
|
+
Object.assign(contents, doc);
|
|
1237
|
+
const exception = new InternalServerException({
|
|
1238
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1239
|
+
...contents
|
|
1240
|
+
});
|
|
1241
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1242
|
+
}, "de_InternalServerExceptionRes");
|
|
1243
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1244
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1245
|
+
const data = parsedOutput.body;
|
|
1246
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1247
|
+
message: import_smithy_client.expectString
|
|
1248
|
+
});
|
|
1249
|
+
Object.assign(contents, doc);
|
|
1250
|
+
const exception = new ResourceNotFoundException({
|
|
1251
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1252
|
+
...contents
|
|
1253
|
+
});
|
|
1254
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1255
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1256
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1257
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1258
|
+
const data = parsedOutput.body;
|
|
1259
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1260
|
+
message: import_smithy_client.expectString
|
|
1261
|
+
});
|
|
1262
|
+
Object.assign(contents, doc);
|
|
1263
|
+
const exception = new ServiceQuotaExceededException({
|
|
1264
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1265
|
+
...contents
|
|
1266
|
+
});
|
|
1267
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1268
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1269
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1270
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1271
|
+
const data = parsedOutput.body;
|
|
1272
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1273
|
+
message: import_smithy_client.expectString
|
|
1274
|
+
});
|
|
1275
|
+
Object.assign(contents, doc);
|
|
1276
|
+
const exception = new ThrottlingException({
|
|
1277
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1278
|
+
...contents
|
|
1279
|
+
});
|
|
1280
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1281
|
+
}, "de_ThrottlingExceptionRes");
|
|
1282
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1283
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1284
|
+
const data = parsedOutput.body;
|
|
1285
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1286
|
+
message: import_smithy_client.expectString
|
|
1287
|
+
});
|
|
1288
|
+
Object.assign(contents, doc);
|
|
1289
|
+
const exception = new ValidationException({
|
|
1290
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1291
|
+
...contents
|
|
1292
|
+
});
|
|
1293
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1294
|
+
}, "de_ValidationExceptionRes");
|
|
1295
|
+
var de_WorkloadInsightsTopContributorsDataPoint = /* @__PURE__ */ __name((output, context) => {
|
|
1296
|
+
return (0, import_smithy_client.take)(output, {
|
|
1297
|
+
label: import_smithy_client.expectString,
|
|
1298
|
+
timestamps: /* @__PURE__ */ __name((_) => de_WorkloadInsightsTopContributorsTimestampsList(_, context), "timestamps"),
|
|
1299
|
+
values: /* @__PURE__ */ __name((_) => de_WorkloadInsightsTopContributorsValuesList(_, context), "values")
|
|
1300
|
+
});
|
|
1301
|
+
}, "de_WorkloadInsightsTopContributorsDataPoint");
|
|
1302
|
+
var de_WorkloadInsightsTopContributorsDataPoints = /* @__PURE__ */ __name((output, context) => {
|
|
1303
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1304
|
+
return de_WorkloadInsightsTopContributorsDataPoint(entry, context);
|
|
1305
|
+
});
|
|
1306
|
+
return retVal;
|
|
1307
|
+
}, "de_WorkloadInsightsTopContributorsDataPoints");
|
|
1308
|
+
var de_WorkloadInsightsTopContributorsTimestampsList = /* @__PURE__ */ __name((output, context) => {
|
|
1309
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1310
|
+
return (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(entry));
|
|
1311
|
+
});
|
|
1312
|
+
return retVal;
|
|
1313
|
+
}, "de_WorkloadInsightsTopContributorsTimestampsList");
|
|
1314
|
+
var de_WorkloadInsightsTopContributorsValuesList = /* @__PURE__ */ __name((output, context) => {
|
|
1315
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1316
|
+
return (0, import_smithy_client.limitedParseDouble)(entry);
|
|
1317
|
+
});
|
|
1318
|
+
return retVal;
|
|
1319
|
+
}, "de_WorkloadInsightsTopContributorsValuesList");
|
|
1320
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1321
|
+
httpStatusCode: output.statusCode,
|
|
1322
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1323
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1324
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1325
|
+
}), "deserializeMetadata");
|
|
1326
|
+
var _mR = "maxResults";
|
|
1327
|
+
var _mS = "monitorStatus";
|
|
1328
|
+
var _nT = "nextToken";
|
|
1329
|
+
var _tK = "tagKeys";
|
|
1330
|
+
|
|
1331
|
+
// src/commands/CreateMonitorCommand.ts
|
|
1332
|
+
var CreateMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1333
|
+
return [
|
|
1334
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1335
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1336
|
+
];
|
|
1337
|
+
}).s("NetworkFlowMonitor", "CreateMonitor", {}).n("NetworkFlowMonitorClient", "CreateMonitorCommand").f(void 0, void 0).ser(se_CreateMonitorCommand).de(de_CreateMonitorCommand).build() {
|
|
1338
|
+
static {
|
|
1339
|
+
__name(this, "CreateMonitorCommand");
|
|
1340
|
+
}
|
|
1341
|
+
};
|
|
1342
|
+
|
|
1343
|
+
// src/commands/CreateScopeCommand.ts
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
var CreateScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1348
|
+
return [
|
|
1349
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1350
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1351
|
+
];
|
|
1352
|
+
}).s("NetworkFlowMonitor", "CreateScope", {}).n("NetworkFlowMonitorClient", "CreateScopeCommand").f(void 0, void 0).ser(se_CreateScopeCommand).de(de_CreateScopeCommand).build() {
|
|
1353
|
+
static {
|
|
1354
|
+
__name(this, "CreateScopeCommand");
|
|
1355
|
+
}
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1358
|
+
// src/commands/DeleteMonitorCommand.ts
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
var DeleteMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1363
|
+
return [
|
|
1364
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1365
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1366
|
+
];
|
|
1367
|
+
}).s("NetworkFlowMonitor", "DeleteMonitor", {}).n("NetworkFlowMonitorClient", "DeleteMonitorCommand").f(void 0, void 0).ser(se_DeleteMonitorCommand).de(de_DeleteMonitorCommand).build() {
|
|
1368
|
+
static {
|
|
1369
|
+
__name(this, "DeleteMonitorCommand");
|
|
1370
|
+
}
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
// src/commands/DeleteScopeCommand.ts
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
var DeleteScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1378
|
+
return [
|
|
1379
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1380
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1381
|
+
];
|
|
1382
|
+
}).s("NetworkFlowMonitor", "DeleteScope", {}).n("NetworkFlowMonitorClient", "DeleteScopeCommand").f(void 0, void 0).ser(se_DeleteScopeCommand).de(de_DeleteScopeCommand).build() {
|
|
1383
|
+
static {
|
|
1384
|
+
__name(this, "DeleteScopeCommand");
|
|
1385
|
+
}
|
|
1386
|
+
};
|
|
1387
|
+
|
|
1388
|
+
// src/commands/GetMonitorCommand.ts
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
var GetMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1393
|
+
return [
|
|
1394
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1395
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1396
|
+
];
|
|
1397
|
+
}).s("NetworkFlowMonitor", "GetMonitor", {}).n("NetworkFlowMonitorClient", "GetMonitorCommand").f(void 0, void 0).ser(se_GetMonitorCommand).de(de_GetMonitorCommand).build() {
|
|
1398
|
+
static {
|
|
1399
|
+
__name(this, "GetMonitorCommand");
|
|
1400
|
+
}
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
// src/commands/GetQueryResultsMonitorTopContributorsCommand.ts
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
var GetQueryResultsMonitorTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1408
|
+
return [
|
|
1409
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1410
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1411
|
+
];
|
|
1412
|
+
}).s("NetworkFlowMonitor", "GetQueryResultsMonitorTopContributors", {}).n("NetworkFlowMonitorClient", "GetQueryResultsMonitorTopContributorsCommand").f(void 0, void 0).ser(se_GetQueryResultsMonitorTopContributorsCommand).de(de_GetQueryResultsMonitorTopContributorsCommand).build() {
|
|
1413
|
+
static {
|
|
1414
|
+
__name(this, "GetQueryResultsMonitorTopContributorsCommand");
|
|
1415
|
+
}
|
|
1416
|
+
};
|
|
1417
|
+
|
|
1418
|
+
// src/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.ts
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
var GetQueryResultsWorkloadInsightsTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1423
|
+
return [
|
|
1424
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1425
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1426
|
+
];
|
|
1427
|
+
}).s("NetworkFlowMonitor", "GetQueryResultsWorkloadInsightsTopContributors", {}).n("NetworkFlowMonitorClient", "GetQueryResultsWorkloadInsightsTopContributorsCommand").f(void 0, void 0).ser(se_GetQueryResultsWorkloadInsightsTopContributorsCommand).de(de_GetQueryResultsWorkloadInsightsTopContributorsCommand).build() {
|
|
1428
|
+
static {
|
|
1429
|
+
__name(this, "GetQueryResultsWorkloadInsightsTopContributorsCommand");
|
|
1430
|
+
}
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
// src/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.ts
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
var GetQueryResultsWorkloadInsightsTopContributorsDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1438
|
+
return [
|
|
1439
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1440
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1441
|
+
];
|
|
1442
|
+
}).s("NetworkFlowMonitor", "GetQueryResultsWorkloadInsightsTopContributorsData", {}).n("NetworkFlowMonitorClient", "GetQueryResultsWorkloadInsightsTopContributorsDataCommand").f(void 0, void 0).ser(se_GetQueryResultsWorkloadInsightsTopContributorsDataCommand).de(de_GetQueryResultsWorkloadInsightsTopContributorsDataCommand).build() {
|
|
1443
|
+
static {
|
|
1444
|
+
__name(this, "GetQueryResultsWorkloadInsightsTopContributorsDataCommand");
|
|
1445
|
+
}
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
// src/commands/GetQueryStatusMonitorTopContributorsCommand.ts
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
var GetQueryStatusMonitorTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1453
|
+
return [
|
|
1454
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1455
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1456
|
+
];
|
|
1457
|
+
}).s("NetworkFlowMonitor", "GetQueryStatusMonitorTopContributors", {}).n("NetworkFlowMonitorClient", "GetQueryStatusMonitorTopContributorsCommand").f(void 0, void 0).ser(se_GetQueryStatusMonitorTopContributorsCommand).de(de_GetQueryStatusMonitorTopContributorsCommand).build() {
|
|
1458
|
+
static {
|
|
1459
|
+
__name(this, "GetQueryStatusMonitorTopContributorsCommand");
|
|
1460
|
+
}
|
|
1461
|
+
};
|
|
1462
|
+
|
|
1463
|
+
// src/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.ts
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
var GetQueryStatusWorkloadInsightsTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1468
|
+
return [
|
|
1469
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1470
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1471
|
+
];
|
|
1472
|
+
}).s("NetworkFlowMonitor", "GetQueryStatusWorkloadInsightsTopContributors", {}).n("NetworkFlowMonitorClient", "GetQueryStatusWorkloadInsightsTopContributorsCommand").f(void 0, void 0).ser(se_GetQueryStatusWorkloadInsightsTopContributorsCommand).de(de_GetQueryStatusWorkloadInsightsTopContributorsCommand).build() {
|
|
1473
|
+
static {
|
|
1474
|
+
__name(this, "GetQueryStatusWorkloadInsightsTopContributorsCommand");
|
|
1475
|
+
}
|
|
1476
|
+
};
|
|
1477
|
+
|
|
1478
|
+
// src/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.ts
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
var GetQueryStatusWorkloadInsightsTopContributorsDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1483
|
+
return [
|
|
1484
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1485
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1486
|
+
];
|
|
1487
|
+
}).s("NetworkFlowMonitor", "GetQueryStatusWorkloadInsightsTopContributorsData", {}).n("NetworkFlowMonitorClient", "GetQueryStatusWorkloadInsightsTopContributorsDataCommand").f(void 0, void 0).ser(se_GetQueryStatusWorkloadInsightsTopContributorsDataCommand).de(de_GetQueryStatusWorkloadInsightsTopContributorsDataCommand).build() {
|
|
1488
|
+
static {
|
|
1489
|
+
__name(this, "GetQueryStatusWorkloadInsightsTopContributorsDataCommand");
|
|
1490
|
+
}
|
|
1491
|
+
};
|
|
1492
|
+
|
|
1493
|
+
// src/commands/GetScopeCommand.ts
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
var GetScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1498
|
+
return [
|
|
1499
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1500
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1501
|
+
];
|
|
1502
|
+
}).s("NetworkFlowMonitor", "GetScope", {}).n("NetworkFlowMonitorClient", "GetScopeCommand").f(void 0, void 0).ser(se_GetScopeCommand).de(de_GetScopeCommand).build() {
|
|
1503
|
+
static {
|
|
1504
|
+
__name(this, "GetScopeCommand");
|
|
1505
|
+
}
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
// src/commands/ListMonitorsCommand.ts
|
|
1509
|
+
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
var ListMonitorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1513
|
+
return [
|
|
1514
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1515
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1516
|
+
];
|
|
1517
|
+
}).s("NetworkFlowMonitor", "ListMonitors", {}).n("NetworkFlowMonitorClient", "ListMonitorsCommand").f(void 0, void 0).ser(se_ListMonitorsCommand).de(de_ListMonitorsCommand).build() {
|
|
1518
|
+
static {
|
|
1519
|
+
__name(this, "ListMonitorsCommand");
|
|
1520
|
+
}
|
|
1521
|
+
};
|
|
1522
|
+
|
|
1523
|
+
// src/commands/ListScopesCommand.ts
|
|
1524
|
+
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
var ListScopesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1528
|
+
return [
|
|
1529
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1530
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1531
|
+
];
|
|
1532
|
+
}).s("NetworkFlowMonitor", "ListScopes", {}).n("NetworkFlowMonitorClient", "ListScopesCommand").f(void 0, void 0).ser(se_ListScopesCommand).de(de_ListScopesCommand).build() {
|
|
1533
|
+
static {
|
|
1534
|
+
__name(this, "ListScopesCommand");
|
|
1535
|
+
}
|
|
1536
|
+
};
|
|
1537
|
+
|
|
1538
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1543
|
+
return [
|
|
1544
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1545
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1546
|
+
];
|
|
1547
|
+
}).s("NetworkFlowMonitor", "ListTagsForResource", {}).n("NetworkFlowMonitorClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1548
|
+
static {
|
|
1549
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1550
|
+
}
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
// src/commands/StartQueryMonitorTopContributorsCommand.ts
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
var StartQueryMonitorTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1558
|
+
return [
|
|
1559
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1560
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1561
|
+
];
|
|
1562
|
+
}).s("NetworkFlowMonitor", "StartQueryMonitorTopContributors", {}).n("NetworkFlowMonitorClient", "StartQueryMonitorTopContributorsCommand").f(void 0, void 0).ser(se_StartQueryMonitorTopContributorsCommand).de(de_StartQueryMonitorTopContributorsCommand).build() {
|
|
1563
|
+
static {
|
|
1564
|
+
__name(this, "StartQueryMonitorTopContributorsCommand");
|
|
1565
|
+
}
|
|
1566
|
+
};
|
|
1567
|
+
|
|
1568
|
+
// src/commands/StartQueryWorkloadInsightsTopContributorsCommand.ts
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
var StartQueryWorkloadInsightsTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1573
|
+
return [
|
|
1574
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1575
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1576
|
+
];
|
|
1577
|
+
}).s("NetworkFlowMonitor", "StartQueryWorkloadInsightsTopContributors", {}).n("NetworkFlowMonitorClient", "StartQueryWorkloadInsightsTopContributorsCommand").f(void 0, void 0).ser(se_StartQueryWorkloadInsightsTopContributorsCommand).de(de_StartQueryWorkloadInsightsTopContributorsCommand).build() {
|
|
1578
|
+
static {
|
|
1579
|
+
__name(this, "StartQueryWorkloadInsightsTopContributorsCommand");
|
|
1580
|
+
}
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1583
|
+
// src/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.ts
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
var StartQueryWorkloadInsightsTopContributorsDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1588
|
+
return [
|
|
1589
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1590
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1591
|
+
];
|
|
1592
|
+
}).s("NetworkFlowMonitor", "StartQueryWorkloadInsightsTopContributorsData", {}).n("NetworkFlowMonitorClient", "StartQueryWorkloadInsightsTopContributorsDataCommand").f(void 0, void 0).ser(se_StartQueryWorkloadInsightsTopContributorsDataCommand).de(de_StartQueryWorkloadInsightsTopContributorsDataCommand).build() {
|
|
1593
|
+
static {
|
|
1594
|
+
__name(this, "StartQueryWorkloadInsightsTopContributorsDataCommand");
|
|
1595
|
+
}
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
// src/commands/StopQueryMonitorTopContributorsCommand.ts
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
|
|
1602
|
+
var StopQueryMonitorTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1603
|
+
return [
|
|
1604
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1605
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1606
|
+
];
|
|
1607
|
+
}).s("NetworkFlowMonitor", "StopQueryMonitorTopContributors", {}).n("NetworkFlowMonitorClient", "StopQueryMonitorTopContributorsCommand").f(void 0, void 0).ser(se_StopQueryMonitorTopContributorsCommand).de(de_StopQueryMonitorTopContributorsCommand).build() {
|
|
1608
|
+
static {
|
|
1609
|
+
__name(this, "StopQueryMonitorTopContributorsCommand");
|
|
1610
|
+
}
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
// src/commands/StopQueryWorkloadInsightsTopContributorsCommand.ts
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
var StopQueryWorkloadInsightsTopContributorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1618
|
+
return [
|
|
1619
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1620
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1621
|
+
];
|
|
1622
|
+
}).s("NetworkFlowMonitor", "StopQueryWorkloadInsightsTopContributors", {}).n("NetworkFlowMonitorClient", "StopQueryWorkloadInsightsTopContributorsCommand").f(void 0, void 0).ser(se_StopQueryWorkloadInsightsTopContributorsCommand).de(de_StopQueryWorkloadInsightsTopContributorsCommand).build() {
|
|
1623
|
+
static {
|
|
1624
|
+
__name(this, "StopQueryWorkloadInsightsTopContributorsCommand");
|
|
1625
|
+
}
|
|
1626
|
+
};
|
|
1627
|
+
|
|
1628
|
+
// src/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.ts
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
var StopQueryWorkloadInsightsTopContributorsDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1633
|
+
return [
|
|
1634
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1635
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1636
|
+
];
|
|
1637
|
+
}).s("NetworkFlowMonitor", "StopQueryWorkloadInsightsTopContributorsData", {}).n("NetworkFlowMonitorClient", "StopQueryWorkloadInsightsTopContributorsDataCommand").f(void 0, void 0).ser(se_StopQueryWorkloadInsightsTopContributorsDataCommand).de(de_StopQueryWorkloadInsightsTopContributorsDataCommand).build() {
|
|
1638
|
+
static {
|
|
1639
|
+
__name(this, "StopQueryWorkloadInsightsTopContributorsDataCommand");
|
|
1640
|
+
}
|
|
1641
|
+
};
|
|
1642
|
+
|
|
1643
|
+
// src/commands/TagResourceCommand.ts
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1648
|
+
return [
|
|
1649
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1650
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1651
|
+
];
|
|
1652
|
+
}).s("NetworkFlowMonitor", "TagResource", {}).n("NetworkFlowMonitorClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1653
|
+
static {
|
|
1654
|
+
__name(this, "TagResourceCommand");
|
|
1655
|
+
}
|
|
1656
|
+
};
|
|
1657
|
+
|
|
1658
|
+
// src/commands/UntagResourceCommand.ts
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1663
|
+
return [
|
|
1664
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1665
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1666
|
+
];
|
|
1667
|
+
}).s("NetworkFlowMonitor", "UntagResource", {}).n("NetworkFlowMonitorClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1668
|
+
static {
|
|
1669
|
+
__name(this, "UntagResourceCommand");
|
|
1670
|
+
}
|
|
1671
|
+
};
|
|
1672
|
+
|
|
1673
|
+
// src/commands/UpdateMonitorCommand.ts
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
var UpdateMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1678
|
+
return [
|
|
1679
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1680
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1681
|
+
];
|
|
1682
|
+
}).s("NetworkFlowMonitor", "UpdateMonitor", {}).n("NetworkFlowMonitorClient", "UpdateMonitorCommand").f(void 0, void 0).ser(se_UpdateMonitorCommand).de(de_UpdateMonitorCommand).build() {
|
|
1683
|
+
static {
|
|
1684
|
+
__name(this, "UpdateMonitorCommand");
|
|
1685
|
+
}
|
|
1686
|
+
};
|
|
1687
|
+
|
|
1688
|
+
// src/commands/UpdateScopeCommand.ts
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
var UpdateScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1693
|
+
return [
|
|
1694
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1695
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1696
|
+
];
|
|
1697
|
+
}).s("NetworkFlowMonitor", "UpdateScope", {}).n("NetworkFlowMonitorClient", "UpdateScopeCommand").f(void 0, void 0).ser(se_UpdateScopeCommand).de(de_UpdateScopeCommand).build() {
|
|
1698
|
+
static {
|
|
1699
|
+
__name(this, "UpdateScopeCommand");
|
|
1700
|
+
}
|
|
1701
|
+
};
|
|
1702
|
+
|
|
1703
|
+
// src/NetworkFlowMonitor.ts
|
|
1704
|
+
var commands = {
|
|
1705
|
+
CreateMonitorCommand,
|
|
1706
|
+
CreateScopeCommand,
|
|
1707
|
+
DeleteMonitorCommand,
|
|
1708
|
+
DeleteScopeCommand,
|
|
1709
|
+
GetMonitorCommand,
|
|
1710
|
+
GetQueryResultsMonitorTopContributorsCommand,
|
|
1711
|
+
GetQueryResultsWorkloadInsightsTopContributorsCommand,
|
|
1712
|
+
GetQueryResultsWorkloadInsightsTopContributorsDataCommand,
|
|
1713
|
+
GetQueryStatusMonitorTopContributorsCommand,
|
|
1714
|
+
GetQueryStatusWorkloadInsightsTopContributorsCommand,
|
|
1715
|
+
GetQueryStatusWorkloadInsightsTopContributorsDataCommand,
|
|
1716
|
+
GetScopeCommand,
|
|
1717
|
+
ListMonitorsCommand,
|
|
1718
|
+
ListScopesCommand,
|
|
1719
|
+
ListTagsForResourceCommand,
|
|
1720
|
+
StartQueryMonitorTopContributorsCommand,
|
|
1721
|
+
StartQueryWorkloadInsightsTopContributorsCommand,
|
|
1722
|
+
StartQueryWorkloadInsightsTopContributorsDataCommand,
|
|
1723
|
+
StopQueryMonitorTopContributorsCommand,
|
|
1724
|
+
StopQueryWorkloadInsightsTopContributorsCommand,
|
|
1725
|
+
StopQueryWorkloadInsightsTopContributorsDataCommand,
|
|
1726
|
+
TagResourceCommand,
|
|
1727
|
+
UntagResourceCommand,
|
|
1728
|
+
UpdateMonitorCommand,
|
|
1729
|
+
UpdateScopeCommand
|
|
1730
|
+
};
|
|
1731
|
+
var NetworkFlowMonitor = class extends NetworkFlowMonitorClient {
|
|
1732
|
+
static {
|
|
1733
|
+
__name(this, "NetworkFlowMonitor");
|
|
1734
|
+
}
|
|
1735
|
+
};
|
|
1736
|
+
(0, import_smithy_client.createAggregatedClient)(commands, NetworkFlowMonitor);
|
|
1737
|
+
|
|
1738
|
+
// src/pagination/GetQueryResultsMonitorTopContributorsPaginator.ts
|
|
1739
|
+
|
|
1740
|
+
var paginateGetQueryResultsMonitorTopContributors = (0, import_core.createPaginator)(NetworkFlowMonitorClient, GetQueryResultsMonitorTopContributorsCommand, "nextToken", "nextToken", "maxResults");
|
|
1741
|
+
|
|
1742
|
+
// src/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.ts
|
|
1743
|
+
|
|
1744
|
+
var paginateGetQueryResultsWorkloadInsightsTopContributorsData = (0, import_core.createPaginator)(
|
|
1745
|
+
NetworkFlowMonitorClient,
|
|
1746
|
+
GetQueryResultsWorkloadInsightsTopContributorsDataCommand,
|
|
1747
|
+
"nextToken",
|
|
1748
|
+
"nextToken",
|
|
1749
|
+
"maxResults"
|
|
1750
|
+
);
|
|
1751
|
+
|
|
1752
|
+
// src/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.ts
|
|
1753
|
+
|
|
1754
|
+
var paginateGetQueryResultsWorkloadInsightsTopContributors = (0, import_core.createPaginator)(
|
|
1755
|
+
NetworkFlowMonitorClient,
|
|
1756
|
+
GetQueryResultsWorkloadInsightsTopContributorsCommand,
|
|
1757
|
+
"nextToken",
|
|
1758
|
+
"nextToken",
|
|
1759
|
+
"maxResults"
|
|
1760
|
+
);
|
|
1761
|
+
|
|
1762
|
+
// src/pagination/ListMonitorsPaginator.ts
|
|
1763
|
+
|
|
1764
|
+
var paginateListMonitors = (0, import_core.createPaginator)(NetworkFlowMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults");
|
|
1765
|
+
|
|
1766
|
+
// src/pagination/ListScopesPaginator.ts
|
|
1767
|
+
|
|
1768
|
+
var paginateListScopes = (0, import_core.createPaginator)(NetworkFlowMonitorClient, ListScopesCommand, "nextToken", "nextToken", "maxResults");
|
|
1769
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1770
|
+
|
|
1771
|
+
0 && (module.exports = {
|
|
1772
|
+
NetworkFlowMonitorServiceException,
|
|
1773
|
+
__Client,
|
|
1774
|
+
NetworkFlowMonitorClient,
|
|
1775
|
+
NetworkFlowMonitor,
|
|
1776
|
+
$Command,
|
|
1777
|
+
CreateMonitorCommand,
|
|
1778
|
+
CreateScopeCommand,
|
|
1779
|
+
DeleteMonitorCommand,
|
|
1780
|
+
DeleteScopeCommand,
|
|
1781
|
+
GetMonitorCommand,
|
|
1782
|
+
GetQueryResultsMonitorTopContributorsCommand,
|
|
1783
|
+
GetQueryResultsWorkloadInsightsTopContributorsCommand,
|
|
1784
|
+
GetQueryResultsWorkloadInsightsTopContributorsDataCommand,
|
|
1785
|
+
GetQueryStatusMonitorTopContributorsCommand,
|
|
1786
|
+
GetQueryStatusWorkloadInsightsTopContributorsCommand,
|
|
1787
|
+
GetQueryStatusWorkloadInsightsTopContributorsDataCommand,
|
|
1788
|
+
GetScopeCommand,
|
|
1789
|
+
ListMonitorsCommand,
|
|
1790
|
+
ListScopesCommand,
|
|
1791
|
+
ListTagsForResourceCommand,
|
|
1792
|
+
StartQueryMonitorTopContributorsCommand,
|
|
1793
|
+
StartQueryWorkloadInsightsTopContributorsCommand,
|
|
1794
|
+
StartQueryWorkloadInsightsTopContributorsDataCommand,
|
|
1795
|
+
StopQueryMonitorTopContributorsCommand,
|
|
1796
|
+
StopQueryWorkloadInsightsTopContributorsCommand,
|
|
1797
|
+
StopQueryWorkloadInsightsTopContributorsDataCommand,
|
|
1798
|
+
TagResourceCommand,
|
|
1799
|
+
UntagResourceCommand,
|
|
1800
|
+
UpdateMonitorCommand,
|
|
1801
|
+
UpdateScopeCommand,
|
|
1802
|
+
paginateGetQueryResultsMonitorTopContributors,
|
|
1803
|
+
paginateGetQueryResultsWorkloadInsightsTopContributorsData,
|
|
1804
|
+
paginateGetQueryResultsWorkloadInsightsTopContributors,
|
|
1805
|
+
paginateListMonitors,
|
|
1806
|
+
paginateListScopes,
|
|
1807
|
+
AccessDeniedException,
|
|
1808
|
+
ConflictException,
|
|
1809
|
+
MonitorLocalResourceType,
|
|
1810
|
+
MonitorRemoteResourceType,
|
|
1811
|
+
MonitorStatus,
|
|
1812
|
+
InternalServerException,
|
|
1813
|
+
ServiceQuotaExceededException,
|
|
1814
|
+
ThrottlingException,
|
|
1815
|
+
ValidationException,
|
|
1816
|
+
TargetId,
|
|
1817
|
+
TargetType,
|
|
1818
|
+
ScopeStatus,
|
|
1819
|
+
ResourceNotFoundException,
|
|
1820
|
+
DestinationCategory,
|
|
1821
|
+
MetricUnit,
|
|
1822
|
+
QueryStatus,
|
|
1823
|
+
MonitorMetric,
|
|
1824
|
+
WorkloadInsightsMetric
|
|
1825
|
+
});
|
|
1826
|
+
|