@aws-sdk/client-application-signals 3.901.0 → 3.906.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1784 -1933
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1,1976 +1,1827 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
BatchUpdateExclusionWindowsCommand: () => BatchUpdateExclusionWindowsCommand,
|
|
31
|
-
ChangeEventType: () => ChangeEventType,
|
|
32
|
-
ConflictException: () => ConflictException,
|
|
33
|
-
ConnectionType: () => ConnectionType,
|
|
34
|
-
CreateServiceLevelObjectiveCommand: () => CreateServiceLevelObjectiveCommand,
|
|
35
|
-
DeleteGroupingConfigurationCommand: () => DeleteGroupingConfigurationCommand,
|
|
36
|
-
DeleteServiceLevelObjectiveCommand: () => DeleteServiceLevelObjectiveCommand,
|
|
37
|
-
DurationUnit: () => DurationUnit,
|
|
38
|
-
EvaluationType: () => EvaluationType,
|
|
39
|
-
GetServiceCommand: () => GetServiceCommand,
|
|
40
|
-
GetServiceLevelObjectiveCommand: () => GetServiceLevelObjectiveCommand,
|
|
41
|
-
Interval: () => Interval,
|
|
42
|
-
ListAuditFindingsCommand: () => ListAuditFindingsCommand,
|
|
43
|
-
ListGroupingAttributeDefinitionsCommand: () => ListGroupingAttributeDefinitionsCommand,
|
|
44
|
-
ListServiceDependenciesCommand: () => ListServiceDependenciesCommand,
|
|
45
|
-
ListServiceDependentsCommand: () => ListServiceDependentsCommand,
|
|
46
|
-
ListServiceLevelObjectiveExclusionWindowsCommand: () => ListServiceLevelObjectiveExclusionWindowsCommand,
|
|
47
|
-
ListServiceLevelObjectivesCommand: () => ListServiceLevelObjectivesCommand,
|
|
48
|
-
ListServiceOperationsCommand: () => ListServiceOperationsCommand,
|
|
49
|
-
ListServiceStatesCommand: () => ListServiceStatesCommand,
|
|
50
|
-
ListServicesCommand: () => ListServicesCommand,
|
|
51
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
52
|
-
MetricSourceType: () => MetricSourceType,
|
|
53
|
-
MonitoredRequestCountMetricDataQueries: () => MonitoredRequestCountMetricDataQueries,
|
|
54
|
-
PutGroupingConfigurationCommand: () => PutGroupingConfigurationCommand,
|
|
55
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
56
|
-
ServiceLevelIndicatorComparisonOperator: () => ServiceLevelIndicatorComparisonOperator,
|
|
57
|
-
ServiceLevelIndicatorMetricType: () => ServiceLevelIndicatorMetricType,
|
|
58
|
-
ServiceLevelObjectiveBudgetStatus: () => ServiceLevelObjectiveBudgetStatus,
|
|
59
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
60
|
-
Severity: () => Severity,
|
|
61
|
-
StandardUnit: () => StandardUnit,
|
|
62
|
-
StartDiscoveryCommand: () => StartDiscoveryCommand,
|
|
63
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
64
|
-
ThrottlingException: () => ThrottlingException,
|
|
65
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
66
|
-
UpdateServiceLevelObjectiveCommand: () => UpdateServiceLevelObjectiveCommand,
|
|
67
|
-
ValidationException: () => ValidationException,
|
|
68
|
-
__Client: () => import_smithy_client.Client,
|
|
69
|
-
paginateListServiceDependencies: () => paginateListServiceDependencies,
|
|
70
|
-
paginateListServiceDependents: () => paginateListServiceDependents,
|
|
71
|
-
paginateListServiceLevelObjectiveExclusionWindows: () => paginateListServiceLevelObjectiveExclusionWindows,
|
|
72
|
-
paginateListServiceLevelObjectives: () => paginateListServiceLevelObjectives,
|
|
73
|
-
paginateListServiceOperations: () => paginateListServiceOperations,
|
|
74
|
-
paginateListServiceStates: () => paginateListServiceStates,
|
|
75
|
-
paginateListServices: () => paginateListServices
|
|
76
|
-
});
|
|
77
|
-
module.exports = __toCommonJS(index_exports);
|
|
78
|
-
|
|
79
|
-
// src/ApplicationSignalsClient.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: "application-signals"
|
|
97
|
-
});
|
|
98
|
-
}, "resolveClientEndpointParameters");
|
|
99
|
-
var commonParams = {
|
|
100
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
101
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
102
|
-
Region: { type: "builtInParams", name: "region" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
23
|
+
defaultSigningName: "application-signals",
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
const commonParams = {
|
|
27
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
28
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
29
|
+
Region: { type: "builtInParams", name: "region" },
|
|
103
30
|
};
|
|
104
31
|
|
|
105
|
-
|
|
106
|
-
|
|
32
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
33
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
34
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
35
|
+
let _credentials = runtimeConfig.credentials;
|
|
36
|
+
return {
|
|
37
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
38
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
39
|
+
if (index === -1) {
|
|
40
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
httpAuthSchemes() {
|
|
47
|
+
return _httpAuthSchemes;
|
|
48
|
+
},
|
|
49
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
50
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
51
|
+
},
|
|
52
|
+
httpAuthSchemeProvider() {
|
|
53
|
+
return _httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
setCredentials(credentials) {
|
|
56
|
+
_credentials = credentials;
|
|
57
|
+
},
|
|
58
|
+
credentials() {
|
|
59
|
+
return _credentials;
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
64
|
+
return {
|
|
65
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
66
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
67
|
+
credentials: config.credentials(),
|
|
68
|
+
};
|
|
69
|
+
};
|
|
107
70
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
71
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
72
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
73
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
74
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
75
|
+
};
|
|
112
76
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
77
|
+
class ApplicationSignalsClient extends smithyClient.Client {
|
|
78
|
+
config;
|
|
79
|
+
constructor(...[configuration]) {
|
|
80
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
81
|
+
super(_config_0);
|
|
82
|
+
this.initConfig = _config_0;
|
|
83
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
84
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
85
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
86
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
87
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
88
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
89
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
90
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
91
|
+
this.config = _config_8;
|
|
92
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
93
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
94
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
99
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultApplicationSignalsHttpAuthSchemeParametersProvider,
|
|
100
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
101
|
+
"aws.auth#sigv4": config.credentials,
|
|
102
|
+
}),
|
|
103
|
+
}));
|
|
104
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
141
105
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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");
|
|
106
|
+
destroy() {
|
|
107
|
+
super.destroy();
|
|
108
|
+
}
|
|
109
|
+
}
|
|
169
110
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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.defaultApplicationSignalsHttpAuthSchemeParametersProvider,
|
|
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
|
-
}
|
|
111
|
+
class ApplicationSignalsServiceException extends smithyClient.ServiceException {
|
|
112
|
+
constructor(options) {
|
|
113
|
+
super(options);
|
|
114
|
+
Object.setPrototypeOf(this, ApplicationSignalsServiceException.prototype);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
class AccessDeniedException extends ApplicationSignalsServiceException {
|
|
119
|
+
name = "AccessDeniedException";
|
|
120
|
+
$fault = "client";
|
|
121
|
+
Message;
|
|
122
|
+
constructor(opts) {
|
|
123
|
+
super({
|
|
124
|
+
name: "AccessDeniedException",
|
|
125
|
+
$fault: "client",
|
|
126
|
+
...opts,
|
|
127
|
+
});
|
|
128
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
129
|
+
this.Message = opts.Message;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
const ServiceLevelObjectiveBudgetStatus = {
|
|
133
|
+
BREACHED: "BREACHED",
|
|
134
|
+
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
135
|
+
OK: "OK",
|
|
136
|
+
WARNING: "WARNING",
|
|
216
137
|
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
// src/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.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
|
-
|
|
231
|
-
// src/models/ApplicationSignalsServiceException.ts
|
|
232
|
-
|
|
233
|
-
var ApplicationSignalsServiceException = class _ApplicationSignalsServiceException extends import_smithy_client.ServiceException {
|
|
234
|
-
static {
|
|
235
|
-
__name(this, "ApplicationSignalsServiceException");
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
|
-
constructor(options) {
|
|
241
|
-
super(options);
|
|
242
|
-
Object.setPrototypeOf(this, _ApplicationSignalsServiceException.prototype);
|
|
243
|
-
}
|
|
138
|
+
const EvaluationType = {
|
|
139
|
+
PERIOD_BASED: "PeriodBased",
|
|
140
|
+
REQUEST_BASED: "RequestBased",
|
|
244
141
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
}
|
|
251
|
-
name = "AccessDeniedException";
|
|
252
|
-
$fault = "client";
|
|
253
|
-
Message;
|
|
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
|
-
this.Message = opts.Message;
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
var ServiceLevelObjectiveBudgetStatus = {
|
|
268
|
-
BREACHED: "BREACHED",
|
|
269
|
-
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
270
|
-
OK: "OK",
|
|
271
|
-
WARNING: "WARNING"
|
|
272
|
-
};
|
|
273
|
-
var EvaluationType = {
|
|
274
|
-
PERIOD_BASED: "PeriodBased",
|
|
275
|
-
REQUEST_BASED: "RequestBased"
|
|
276
|
-
};
|
|
277
|
-
var DurationUnit = {
|
|
278
|
-
DAY: "DAY",
|
|
279
|
-
HOUR: "HOUR",
|
|
280
|
-
MINUTE: "MINUTE",
|
|
281
|
-
MONTH: "MONTH"
|
|
282
|
-
};
|
|
283
|
-
var Interval;
|
|
284
|
-
((Interval2) => {
|
|
285
|
-
Interval2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
286
|
-
if (value.RollingInterval !== void 0) return visitor.RollingInterval(value.RollingInterval);
|
|
287
|
-
if (value.CalendarInterval !== void 0) return visitor.CalendarInterval(value.CalendarInterval);
|
|
288
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
289
|
-
}, "visit");
|
|
290
|
-
})(Interval || (Interval = {}));
|
|
291
|
-
var ServiceLevelIndicatorComparisonOperator = {
|
|
292
|
-
GREATER_THAN: "GreaterThan",
|
|
293
|
-
GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
|
|
294
|
-
LESS_THAN: "LessThan",
|
|
295
|
-
LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo"
|
|
296
|
-
};
|
|
297
|
-
var ServiceLevelIndicatorMetricType = {
|
|
298
|
-
AVAILABILITY: "AVAILABILITY",
|
|
299
|
-
LATENCY: "LATENCY"
|
|
300
|
-
};
|
|
301
|
-
var StandardUnit = {
|
|
302
|
-
BITS: "Bits",
|
|
303
|
-
BITS_SECOND: "Bits/Second",
|
|
304
|
-
BYTES: "Bytes",
|
|
305
|
-
BYTES_SECOND: "Bytes/Second",
|
|
306
|
-
COUNT: "Count",
|
|
307
|
-
COUNT_SECOND: "Count/Second",
|
|
308
|
-
GIGABITS: "Gigabits",
|
|
309
|
-
GIGABITS_SECOND: "Gigabits/Second",
|
|
310
|
-
GIGABYTES: "Gigabytes",
|
|
311
|
-
GIGABYTES_SECOND: "Gigabytes/Second",
|
|
312
|
-
KILOBITS: "Kilobits",
|
|
313
|
-
KILOBITS_SECOND: "Kilobits/Second",
|
|
314
|
-
KILOBYTES: "Kilobytes",
|
|
315
|
-
KILOBYTES_SECOND: "Kilobytes/Second",
|
|
316
|
-
MEGABITS: "Megabits",
|
|
317
|
-
MEGABITS_SECOND: "Megabits/Second",
|
|
318
|
-
MEGABYTES: "Megabytes",
|
|
319
|
-
MEGABYTES_SECOND: "Megabytes/Second",
|
|
320
|
-
MICROSECONDS: "Microseconds",
|
|
321
|
-
MILLISECONDS: "Milliseconds",
|
|
322
|
-
NONE: "None",
|
|
323
|
-
PERCENT: "Percent",
|
|
324
|
-
SECONDS: "Seconds",
|
|
325
|
-
TERABITS: "Terabits",
|
|
326
|
-
TERABITS_SECOND: "Terabits/Second",
|
|
327
|
-
TERABYTES: "Terabytes",
|
|
328
|
-
TERABYTES_SECOND: "Terabytes/Second"
|
|
329
|
-
};
|
|
330
|
-
var MonitoredRequestCountMetricDataQueries;
|
|
331
|
-
((MonitoredRequestCountMetricDataQueries3) => {
|
|
332
|
-
MonitoredRequestCountMetricDataQueries3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
333
|
-
if (value.GoodCountMetric !== void 0) return visitor.GoodCountMetric(value.GoodCountMetric);
|
|
334
|
-
if (value.BadCountMetric !== void 0) return visitor.BadCountMetric(value.BadCountMetric);
|
|
335
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
336
|
-
}, "visit");
|
|
337
|
-
})(MonitoredRequestCountMetricDataQueries || (MonitoredRequestCountMetricDataQueries = {}));
|
|
338
|
-
var ThrottlingException = class _ThrottlingException extends ApplicationSignalsServiceException {
|
|
339
|
-
static {
|
|
340
|
-
__name(this, "ThrottlingException");
|
|
341
|
-
}
|
|
342
|
-
name = "ThrottlingException";
|
|
343
|
-
$fault = "client";
|
|
344
|
-
Message;
|
|
345
|
-
/**
|
|
346
|
-
* @internal
|
|
347
|
-
*/
|
|
348
|
-
constructor(opts) {
|
|
349
|
-
super({
|
|
350
|
-
name: "ThrottlingException",
|
|
351
|
-
$fault: "client",
|
|
352
|
-
...opts
|
|
353
|
-
});
|
|
354
|
-
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
355
|
-
this.Message = opts.Message;
|
|
356
|
-
}
|
|
357
|
-
};
|
|
358
|
-
var ValidationException = class _ValidationException extends ApplicationSignalsServiceException {
|
|
359
|
-
static {
|
|
360
|
-
__name(this, "ValidationException");
|
|
361
|
-
}
|
|
362
|
-
name = "ValidationException";
|
|
363
|
-
$fault = "client";
|
|
364
|
-
/**
|
|
365
|
-
* @internal
|
|
366
|
-
*/
|
|
367
|
-
constructor(opts) {
|
|
368
|
-
super({
|
|
369
|
-
name: "ValidationException",
|
|
370
|
-
$fault: "client",
|
|
371
|
-
...opts
|
|
372
|
-
});
|
|
373
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
374
|
-
}
|
|
375
|
-
};
|
|
376
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends ApplicationSignalsServiceException {
|
|
377
|
-
static {
|
|
378
|
-
__name(this, "ResourceNotFoundException");
|
|
379
|
-
}
|
|
380
|
-
name = "ResourceNotFoundException";
|
|
381
|
-
$fault = "client";
|
|
382
|
-
/**
|
|
383
|
-
* <p>The resource type is not valid.</p>
|
|
384
|
-
* @public
|
|
385
|
-
*/
|
|
386
|
-
ResourceType;
|
|
387
|
-
/**
|
|
388
|
-
* <p>Can't find the resource id.</p>
|
|
389
|
-
* @public
|
|
390
|
-
*/
|
|
391
|
-
ResourceId;
|
|
392
|
-
Message;
|
|
393
|
-
/**
|
|
394
|
-
* @internal
|
|
395
|
-
*/
|
|
396
|
-
constructor(opts) {
|
|
397
|
-
super({
|
|
398
|
-
name: "ResourceNotFoundException",
|
|
399
|
-
$fault: "client",
|
|
400
|
-
...opts
|
|
401
|
-
});
|
|
402
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
403
|
-
this.ResourceType = opts.ResourceType;
|
|
404
|
-
this.ResourceId = opts.ResourceId;
|
|
405
|
-
this.Message = opts.Message;
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
var AuditTargetEntity;
|
|
409
|
-
((AuditTargetEntity3) => {
|
|
410
|
-
AuditTargetEntity3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
411
|
-
if (value.Service !== void 0) return visitor.Service(value.Service);
|
|
412
|
-
if (value.Slo !== void 0) return visitor.Slo(value.Slo);
|
|
413
|
-
if (value.ServiceOperation !== void 0) return visitor.ServiceOperation(value.ServiceOperation);
|
|
414
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
415
|
-
}, "visit");
|
|
416
|
-
})(AuditTargetEntity || (AuditTargetEntity = {}));
|
|
417
|
-
var Severity = {
|
|
418
|
-
CRITICAL: "CRITICAL",
|
|
419
|
-
HIGH: "HIGH",
|
|
420
|
-
LOW: "LOW",
|
|
421
|
-
MEDIUM: "MEDIUM",
|
|
422
|
-
NONE: "NONE"
|
|
423
|
-
};
|
|
424
|
-
var ConnectionType = {
|
|
425
|
-
DIRECT: "DIRECT",
|
|
426
|
-
INDIRECT: "INDIRECT"
|
|
427
|
-
};
|
|
428
|
-
var ChangeEventType = {
|
|
429
|
-
DEPLOYMENT: "DEPLOYMENT"
|
|
430
|
-
};
|
|
431
|
-
var ConflictException = class _ConflictException extends ApplicationSignalsServiceException {
|
|
432
|
-
static {
|
|
433
|
-
__name(this, "ConflictException");
|
|
434
|
-
}
|
|
435
|
-
name = "ConflictException";
|
|
436
|
-
$fault = "client";
|
|
437
|
-
Message;
|
|
438
|
-
/**
|
|
439
|
-
* @internal
|
|
440
|
-
*/
|
|
441
|
-
constructor(opts) {
|
|
442
|
-
super({
|
|
443
|
-
name: "ConflictException",
|
|
444
|
-
$fault: "client",
|
|
445
|
-
...opts
|
|
446
|
-
});
|
|
447
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
448
|
-
this.Message = opts.Message;
|
|
449
|
-
}
|
|
450
|
-
};
|
|
451
|
-
var MetricSourceType = {
|
|
452
|
-
CLOUDWATCH_METRIC: "CloudWatchMetric",
|
|
453
|
-
SERVICE_DEPENDENCY: "ServiceDependency",
|
|
454
|
-
SERVICE_OPERATION: "ServiceOperation"
|
|
455
|
-
};
|
|
456
|
-
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ApplicationSignalsServiceException {
|
|
457
|
-
static {
|
|
458
|
-
__name(this, "ServiceQuotaExceededException");
|
|
459
|
-
}
|
|
460
|
-
name = "ServiceQuotaExceededException";
|
|
461
|
-
$fault = "client";
|
|
462
|
-
Message;
|
|
463
|
-
/**
|
|
464
|
-
* @internal
|
|
465
|
-
*/
|
|
466
|
-
constructor(opts) {
|
|
467
|
-
super({
|
|
468
|
-
name: "ServiceQuotaExceededException",
|
|
469
|
-
$fault: "client",
|
|
470
|
-
...opts
|
|
471
|
-
});
|
|
472
|
-
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
473
|
-
this.Message = opts.Message;
|
|
474
|
-
}
|
|
142
|
+
const DurationUnit = {
|
|
143
|
+
DAY: "DAY",
|
|
144
|
+
HOUR: "HOUR",
|
|
145
|
+
MINUTE: "MINUTE",
|
|
146
|
+
MONTH: "MONTH",
|
|
475
147
|
};
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
let body;
|
|
485
|
-
body = JSON.stringify(
|
|
486
|
-
(0, import_smithy_client.take)(input, {
|
|
487
|
-
SloIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SloIds"),
|
|
488
|
-
Timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Timestamp")
|
|
489
|
-
})
|
|
490
|
-
);
|
|
491
|
-
b.m("POST").h(headers).b(body);
|
|
492
|
-
return b.build();
|
|
493
|
-
}, "se_BatchGetServiceLevelObjectiveBudgetReportCommand");
|
|
494
|
-
var se_BatchUpdateExclusionWindowsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
495
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
496
|
-
const headers = {
|
|
497
|
-
"content-type": "application/json"
|
|
498
|
-
};
|
|
499
|
-
b.bp("/exclusion-windows");
|
|
500
|
-
let body;
|
|
501
|
-
body = JSON.stringify(
|
|
502
|
-
(0, import_smithy_client.take)(input, {
|
|
503
|
-
AddExclusionWindows: /* @__PURE__ */ __name((_) => se_ExclusionWindows(_, context), "AddExclusionWindows"),
|
|
504
|
-
RemoveExclusionWindows: /* @__PURE__ */ __name((_) => se_ExclusionWindows(_, context), "RemoveExclusionWindows"),
|
|
505
|
-
SloIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SloIds")
|
|
506
|
-
})
|
|
507
|
-
);
|
|
508
|
-
b.m("PATCH").h(headers).b(body);
|
|
509
|
-
return b.build();
|
|
510
|
-
}, "se_BatchUpdateExclusionWindowsCommand");
|
|
511
|
-
var se_CreateServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
512
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
513
|
-
const headers = {
|
|
514
|
-
"content-type": "application/json"
|
|
515
|
-
};
|
|
516
|
-
b.bp("/slo");
|
|
517
|
-
let body;
|
|
518
|
-
body = JSON.stringify(
|
|
519
|
-
(0, import_smithy_client.take)(input, {
|
|
520
|
-
BurnRateConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "BurnRateConfigurations"),
|
|
521
|
-
Description: [],
|
|
522
|
-
Goal: /* @__PURE__ */ __name((_) => se_Goal(_, context), "Goal"),
|
|
523
|
-
Name: [],
|
|
524
|
-
RequestBasedSliConfig: /* @__PURE__ */ __name((_) => se_RequestBasedServiceLevelIndicatorConfig(_, context), "RequestBasedSliConfig"),
|
|
525
|
-
SliConfig: /* @__PURE__ */ __name((_) => se_ServiceLevelIndicatorConfig(_, context), "SliConfig"),
|
|
526
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
527
|
-
})
|
|
528
|
-
);
|
|
529
|
-
b.m("POST").h(headers).b(body);
|
|
530
|
-
return b.build();
|
|
531
|
-
}, "se_CreateServiceLevelObjectiveCommand");
|
|
532
|
-
var se_DeleteGroupingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
533
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
534
|
-
const headers = {};
|
|
535
|
-
b.bp("/grouping-configuration");
|
|
536
|
-
let body;
|
|
537
|
-
b.m("DELETE").h(headers).b(body);
|
|
538
|
-
return b.build();
|
|
539
|
-
}, "se_DeleteGroupingConfigurationCommand");
|
|
540
|
-
var se_DeleteServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
541
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
542
|
-
const headers = {};
|
|
543
|
-
b.bp("/slo/{Id}");
|
|
544
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
545
|
-
let body;
|
|
546
|
-
b.m("DELETE").h(headers).b(body);
|
|
547
|
-
return b.build();
|
|
548
|
-
}, "se_DeleteServiceLevelObjectiveCommand");
|
|
549
|
-
var se_GetServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
550
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
551
|
-
const headers = {
|
|
552
|
-
"content-type": "application/json"
|
|
553
|
-
};
|
|
554
|
-
b.bp("/service");
|
|
555
|
-
const query = (0, import_smithy_client.map)({
|
|
556
|
-
[_ST]: [(0, import_smithy_client.expectNonNull)(input.StartTime, `StartTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
|
|
557
|
-
[_ET]: [(0, import_smithy_client.expectNonNull)(input.EndTime, `EndTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()]
|
|
558
|
-
});
|
|
559
|
-
let body;
|
|
560
|
-
body = JSON.stringify(
|
|
561
|
-
(0, import_smithy_client.take)(input, {
|
|
562
|
-
KeyAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "KeyAttributes")
|
|
563
|
-
})
|
|
564
|
-
);
|
|
565
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
566
|
-
return b.build();
|
|
567
|
-
}, "se_GetServiceCommand");
|
|
568
|
-
var se_GetServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
569
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
570
|
-
const headers = {};
|
|
571
|
-
b.bp("/slo/{Id}");
|
|
572
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
573
|
-
let body;
|
|
574
|
-
b.m("GET").h(headers).b(body);
|
|
575
|
-
return b.build();
|
|
576
|
-
}, "se_GetServiceLevelObjectiveCommand");
|
|
577
|
-
var se_ListAuditFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
578
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
579
|
-
const headers = {
|
|
580
|
-
"content-type": "application/json"
|
|
581
|
-
};
|
|
582
|
-
b.bp("/auditFindings");
|
|
583
|
-
const query = (0, import_smithy_client.map)({
|
|
584
|
-
[_ST]: [(0, import_smithy_client.expectNonNull)(input.StartTime, `StartTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
|
|
585
|
-
[_ET]: [(0, import_smithy_client.expectNonNull)(input.EndTime, `EndTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()]
|
|
586
|
-
});
|
|
587
|
-
let body;
|
|
588
|
-
body = JSON.stringify(
|
|
589
|
-
(0, import_smithy_client.take)(input, {
|
|
590
|
-
AuditTargets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AuditTargets"),
|
|
591
|
-
Auditors: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Auditors"),
|
|
592
|
-
MaxResults: [],
|
|
593
|
-
NextToken: []
|
|
594
|
-
})
|
|
595
|
-
);
|
|
596
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
597
|
-
return b.build();
|
|
598
|
-
}, "se_ListAuditFindingsCommand");
|
|
599
|
-
var se_ListGroupingAttributeDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
600
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
601
|
-
const headers = {};
|
|
602
|
-
b.bp("/grouping-attribute-definitions");
|
|
603
|
-
const query = (0, import_smithy_client.map)({
|
|
604
|
-
[_NT]: [, input[_NT]]
|
|
605
|
-
});
|
|
606
|
-
let body;
|
|
607
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
608
|
-
return b.build();
|
|
609
|
-
}, "se_ListGroupingAttributeDefinitionsCommand");
|
|
610
|
-
var se_ListServiceDependenciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
611
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
612
|
-
const headers = {
|
|
613
|
-
"content-type": "application/json"
|
|
614
|
-
};
|
|
615
|
-
b.bp("/service-dependencies");
|
|
616
|
-
const query = (0, import_smithy_client.map)({
|
|
617
|
-
[_ST]: [(0, import_smithy_client.expectNonNull)(input.StartTime, `StartTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
|
|
618
|
-
[_ET]: [(0, import_smithy_client.expectNonNull)(input.EndTime, `EndTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],
|
|
619
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
620
|
-
[_NT]: [, input[_NT]]
|
|
621
|
-
});
|
|
622
|
-
let body;
|
|
623
|
-
body = JSON.stringify(
|
|
624
|
-
(0, import_smithy_client.take)(input, {
|
|
625
|
-
KeyAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "KeyAttributes")
|
|
626
|
-
})
|
|
627
|
-
);
|
|
628
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
629
|
-
return b.build();
|
|
630
|
-
}, "se_ListServiceDependenciesCommand");
|
|
631
|
-
var se_ListServiceDependentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
632
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
633
|
-
const headers = {
|
|
634
|
-
"content-type": "application/json"
|
|
635
|
-
};
|
|
636
|
-
b.bp("/service-dependents");
|
|
637
|
-
const query = (0, import_smithy_client.map)({
|
|
638
|
-
[_ST]: [(0, import_smithy_client.expectNonNull)(input.StartTime, `StartTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
|
|
639
|
-
[_ET]: [(0, import_smithy_client.expectNonNull)(input.EndTime, `EndTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],
|
|
640
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
641
|
-
[_NT]: [, input[_NT]]
|
|
642
|
-
});
|
|
643
|
-
let body;
|
|
644
|
-
body = JSON.stringify(
|
|
645
|
-
(0, import_smithy_client.take)(input, {
|
|
646
|
-
KeyAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "KeyAttributes")
|
|
647
|
-
})
|
|
648
|
-
);
|
|
649
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
650
|
-
return b.build();
|
|
651
|
-
}, "se_ListServiceDependentsCommand");
|
|
652
|
-
var se_ListServiceLevelObjectiveExclusionWindowsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
653
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
654
|
-
const headers = {};
|
|
655
|
-
b.bp("/slo/{Id}/exclusion-windows");
|
|
656
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
657
|
-
const query = (0, import_smithy_client.map)({
|
|
658
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
659
|
-
[_NT]: [, input[_NT]]
|
|
660
|
-
});
|
|
661
|
-
let body;
|
|
662
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
663
|
-
return b.build();
|
|
664
|
-
}, "se_ListServiceLevelObjectiveExclusionWindowsCommand");
|
|
665
|
-
var se_ListServiceLevelObjectivesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
666
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
667
|
-
const headers = {
|
|
668
|
-
"content-type": "application/json"
|
|
669
|
-
};
|
|
670
|
-
b.bp("/slos");
|
|
671
|
-
const query = (0, import_smithy_client.map)({
|
|
672
|
-
[_ON]: [, input[_ON]],
|
|
673
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
674
|
-
[_NT]: [, input[_NT]],
|
|
675
|
-
[_ILA]: [() => input.IncludeLinkedAccounts !== void 0, () => input[_ILA].toString()],
|
|
676
|
-
[_SOAAI]: [, input[_SOAAI]]
|
|
677
|
-
});
|
|
678
|
-
let body;
|
|
679
|
-
body = JSON.stringify(
|
|
680
|
-
(0, import_smithy_client.take)(input, {
|
|
681
|
-
DependencyConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DependencyConfig"),
|
|
682
|
-
KeyAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "KeyAttributes"),
|
|
683
|
-
MetricSourceTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MetricSourceTypes")
|
|
684
|
-
})
|
|
685
|
-
);
|
|
686
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
687
|
-
return b.build();
|
|
688
|
-
}, "se_ListServiceLevelObjectivesCommand");
|
|
689
|
-
var se_ListServiceOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
690
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
691
|
-
const headers = {
|
|
692
|
-
"content-type": "application/json"
|
|
693
|
-
};
|
|
694
|
-
b.bp("/service-operations");
|
|
695
|
-
const query = (0, import_smithy_client.map)({
|
|
696
|
-
[_ST]: [(0, import_smithy_client.expectNonNull)(input.StartTime, `StartTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
|
|
697
|
-
[_ET]: [(0, import_smithy_client.expectNonNull)(input.EndTime, `EndTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],
|
|
698
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
699
|
-
[_NT]: [, input[_NT]]
|
|
700
|
-
});
|
|
701
|
-
let body;
|
|
702
|
-
body = JSON.stringify(
|
|
703
|
-
(0, import_smithy_client.take)(input, {
|
|
704
|
-
KeyAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "KeyAttributes")
|
|
705
|
-
})
|
|
706
|
-
);
|
|
707
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
708
|
-
return b.build();
|
|
709
|
-
}, "se_ListServiceOperationsCommand");
|
|
710
|
-
var se_ListServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
711
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
712
|
-
const headers = {};
|
|
713
|
-
b.bp("/services");
|
|
714
|
-
const query = (0, import_smithy_client.map)({
|
|
715
|
-
[_ST]: [(0, import_smithy_client.expectNonNull)(input.StartTime, `StartTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
|
|
716
|
-
[_ET]: [(0, import_smithy_client.expectNonNull)(input.EndTime, `EndTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],
|
|
717
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
718
|
-
[_NT]: [, input[_NT]],
|
|
719
|
-
[_ILA]: [() => input.IncludeLinkedAccounts !== void 0, () => input[_ILA].toString()],
|
|
720
|
-
[_AAI]: [, input[_AAI]]
|
|
721
|
-
});
|
|
722
|
-
let body;
|
|
723
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
724
|
-
return b.build();
|
|
725
|
-
}, "se_ListServicesCommand");
|
|
726
|
-
var se_ListServiceStatesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
727
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
728
|
-
const headers = {
|
|
729
|
-
"content-type": "application/json"
|
|
730
|
-
};
|
|
731
|
-
b.bp("/service/states");
|
|
732
|
-
let body;
|
|
733
|
-
body = JSON.stringify(
|
|
734
|
-
(0, import_smithy_client.take)(input, {
|
|
735
|
-
AttributeFilters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AttributeFilters"),
|
|
736
|
-
AwsAccountId: [],
|
|
737
|
-
EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
|
|
738
|
-
IncludeLinkedAccounts: [],
|
|
739
|
-
MaxResults: [],
|
|
740
|
-
NextToken: [],
|
|
741
|
-
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
|
|
742
|
-
})
|
|
743
|
-
);
|
|
744
|
-
b.m("POST").h(headers).b(body);
|
|
745
|
-
return b.build();
|
|
746
|
-
}, "se_ListServiceStatesCommand");
|
|
747
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
748
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
749
|
-
const headers = {};
|
|
750
|
-
b.bp("/tags");
|
|
751
|
-
const query = (0, import_smithy_client.map)({
|
|
752
|
-
[_RA]: [, (0, import_smithy_client.expectNonNull)(input[_RA], `ResourceArn`)]
|
|
753
|
-
});
|
|
754
|
-
let body;
|
|
755
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
756
|
-
return b.build();
|
|
757
|
-
}, "se_ListTagsForResourceCommand");
|
|
758
|
-
var se_PutGroupingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
759
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
760
|
-
const headers = {
|
|
761
|
-
"content-type": "application/json"
|
|
762
|
-
};
|
|
763
|
-
b.bp("/grouping-configuration");
|
|
764
|
-
let body;
|
|
765
|
-
body = JSON.stringify(
|
|
766
|
-
(0, import_smithy_client.take)(input, {
|
|
767
|
-
GroupingAttributeDefinitions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GroupingAttributeDefinitions")
|
|
768
|
-
})
|
|
769
|
-
);
|
|
770
|
-
b.m("PUT").h(headers).b(body);
|
|
771
|
-
return b.build();
|
|
772
|
-
}, "se_PutGroupingConfigurationCommand");
|
|
773
|
-
var se_StartDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
774
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
775
|
-
const headers = {};
|
|
776
|
-
b.bp("/start-discovery");
|
|
777
|
-
let body;
|
|
778
|
-
b.m("POST").h(headers).b(body);
|
|
779
|
-
return b.build();
|
|
780
|
-
}, "se_StartDiscoveryCommand");
|
|
781
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
782
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
783
|
-
const headers = {
|
|
784
|
-
"content-type": "application/json"
|
|
785
|
-
};
|
|
786
|
-
b.bp("/tag-resource");
|
|
787
|
-
let body;
|
|
788
|
-
body = JSON.stringify(
|
|
789
|
-
(0, import_smithy_client.take)(input, {
|
|
790
|
-
ResourceArn: [],
|
|
791
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
792
|
-
})
|
|
793
|
-
);
|
|
794
|
-
b.m("POST").h(headers).b(body);
|
|
795
|
-
return b.build();
|
|
796
|
-
}, "se_TagResourceCommand");
|
|
797
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
798
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
799
|
-
const headers = {
|
|
800
|
-
"content-type": "application/json"
|
|
801
|
-
};
|
|
802
|
-
b.bp("/untag-resource");
|
|
803
|
-
let body;
|
|
804
|
-
body = JSON.stringify(
|
|
805
|
-
(0, import_smithy_client.take)(input, {
|
|
806
|
-
ResourceArn: [],
|
|
807
|
-
TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys")
|
|
808
|
-
})
|
|
809
|
-
);
|
|
810
|
-
b.m("POST").h(headers).b(body);
|
|
811
|
-
return b.build();
|
|
812
|
-
}, "se_UntagResourceCommand");
|
|
813
|
-
var se_UpdateServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
814
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
815
|
-
const headers = {
|
|
816
|
-
"content-type": "application/json"
|
|
817
|
-
};
|
|
818
|
-
b.bp("/slo/{Id}");
|
|
819
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
820
|
-
let body;
|
|
821
|
-
body = JSON.stringify(
|
|
822
|
-
(0, import_smithy_client.take)(input, {
|
|
823
|
-
BurnRateConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "BurnRateConfigurations"),
|
|
824
|
-
Description: [],
|
|
825
|
-
Goal: /* @__PURE__ */ __name((_) => se_Goal(_, context), "Goal"),
|
|
826
|
-
RequestBasedSliConfig: /* @__PURE__ */ __name((_) => se_RequestBasedServiceLevelIndicatorConfig(_, context), "RequestBasedSliConfig"),
|
|
827
|
-
SliConfig: /* @__PURE__ */ __name((_) => se_ServiceLevelIndicatorConfig(_, context), "SliConfig")
|
|
828
|
-
})
|
|
829
|
-
);
|
|
830
|
-
b.m("PATCH").h(headers).b(body);
|
|
831
|
-
return b.build();
|
|
832
|
-
}, "se_UpdateServiceLevelObjectiveCommand");
|
|
833
|
-
var de_BatchGetServiceLevelObjectiveBudgetReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
834
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
835
|
-
return de_CommandError(output, context);
|
|
836
|
-
}
|
|
837
|
-
const contents = (0, import_smithy_client.map)({
|
|
838
|
-
$metadata: deserializeMetadata(output)
|
|
839
|
-
});
|
|
840
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
841
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
842
|
-
Errors: import_smithy_client._json,
|
|
843
|
-
Reports: /* @__PURE__ */ __name((_) => de_ServiceLevelObjectiveBudgetReports(_, context), "Reports"),
|
|
844
|
-
Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp")
|
|
845
|
-
});
|
|
846
|
-
Object.assign(contents, doc);
|
|
847
|
-
return contents;
|
|
848
|
-
}, "de_BatchGetServiceLevelObjectiveBudgetReportCommand");
|
|
849
|
-
var de_BatchUpdateExclusionWindowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
850
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
851
|
-
return de_CommandError(output, context);
|
|
852
|
-
}
|
|
853
|
-
const contents = (0, import_smithy_client.map)({
|
|
854
|
-
$metadata: deserializeMetadata(output)
|
|
855
|
-
});
|
|
856
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
857
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
858
|
-
Errors: import_smithy_client._json,
|
|
859
|
-
SloIds: import_smithy_client._json
|
|
860
|
-
});
|
|
861
|
-
Object.assign(contents, doc);
|
|
862
|
-
return contents;
|
|
863
|
-
}, "de_BatchUpdateExclusionWindowsCommand");
|
|
864
|
-
var de_CreateServiceLevelObjectiveCommand = /* @__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
|
-
Slo: /* @__PURE__ */ __name((_) => de_ServiceLevelObjective(_, context), "Slo")
|
|
874
|
-
});
|
|
875
|
-
Object.assign(contents, doc);
|
|
876
|
-
return contents;
|
|
877
|
-
}, "de_CreateServiceLevelObjectiveCommand");
|
|
878
|
-
var de_DeleteGroupingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
879
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
880
|
-
return de_CommandError(output, context);
|
|
881
|
-
}
|
|
882
|
-
const contents = (0, import_smithy_client.map)({
|
|
883
|
-
$metadata: deserializeMetadata(output)
|
|
884
|
-
});
|
|
885
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
886
|
-
return contents;
|
|
887
|
-
}, "de_DeleteGroupingConfigurationCommand");
|
|
888
|
-
var de_DeleteServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
889
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
890
|
-
return de_CommandError(output, context);
|
|
891
|
-
}
|
|
892
|
-
const contents = (0, import_smithy_client.map)({
|
|
893
|
-
$metadata: deserializeMetadata(output)
|
|
894
|
-
});
|
|
895
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
896
|
-
return contents;
|
|
897
|
-
}, "de_DeleteServiceLevelObjectiveCommand");
|
|
898
|
-
var de_GetServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
899
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
900
|
-
return de_CommandError(output, context);
|
|
901
|
-
}
|
|
902
|
-
const contents = (0, import_smithy_client.map)({
|
|
903
|
-
$metadata: deserializeMetadata(output)
|
|
904
|
-
});
|
|
905
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
906
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
907
|
-
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
908
|
-
LogGroupReferences: import_smithy_client._json,
|
|
909
|
-
Service: import_smithy_client._json,
|
|
910
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
911
|
-
});
|
|
912
|
-
Object.assign(contents, doc);
|
|
913
|
-
return contents;
|
|
914
|
-
}, "de_GetServiceCommand");
|
|
915
|
-
var de_GetServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
916
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
917
|
-
return de_CommandError(output, context);
|
|
918
|
-
}
|
|
919
|
-
const contents = (0, import_smithy_client.map)({
|
|
920
|
-
$metadata: deserializeMetadata(output)
|
|
921
|
-
});
|
|
922
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
923
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
924
|
-
Slo: /* @__PURE__ */ __name((_) => de_ServiceLevelObjective(_, context), "Slo")
|
|
925
|
-
});
|
|
926
|
-
Object.assign(contents, doc);
|
|
927
|
-
return contents;
|
|
928
|
-
}, "de_GetServiceLevelObjectiveCommand");
|
|
929
|
-
var de_ListAuditFindingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
930
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
931
|
-
return de_CommandError(output, context);
|
|
932
|
-
}
|
|
933
|
-
const contents = (0, import_smithy_client.map)({
|
|
934
|
-
$metadata: deserializeMetadata(output)
|
|
935
|
-
});
|
|
936
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
937
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
938
|
-
AuditFindings: /* @__PURE__ */ __name((_) => de_AuditFindings(_, context), "AuditFindings"),
|
|
939
|
-
NextToken: import_smithy_client.expectString
|
|
940
|
-
});
|
|
941
|
-
Object.assign(contents, doc);
|
|
942
|
-
return contents;
|
|
943
|
-
}, "de_ListAuditFindingsCommand");
|
|
944
|
-
var de_ListGroupingAttributeDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
945
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
946
|
-
return de_CommandError(output, context);
|
|
947
|
-
}
|
|
948
|
-
const contents = (0, import_smithy_client.map)({
|
|
949
|
-
$metadata: deserializeMetadata(output)
|
|
950
|
-
});
|
|
951
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
952
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
953
|
-
GroupingAttributeDefinitions: import_smithy_client._json,
|
|
954
|
-
NextToken: import_smithy_client.expectString,
|
|
955
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
956
|
-
});
|
|
957
|
-
Object.assign(contents, doc);
|
|
958
|
-
return contents;
|
|
959
|
-
}, "de_ListGroupingAttributeDefinitionsCommand");
|
|
960
|
-
var de_ListServiceDependenciesCommand = /* @__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
|
-
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
970
|
-
NextToken: import_smithy_client.expectString,
|
|
971
|
-
ServiceDependencies: import_smithy_client._json,
|
|
972
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
973
|
-
});
|
|
974
|
-
Object.assign(contents, doc);
|
|
975
|
-
return contents;
|
|
976
|
-
}, "de_ListServiceDependenciesCommand");
|
|
977
|
-
var de_ListServiceDependentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
978
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
979
|
-
return de_CommandError(output, context);
|
|
980
|
-
}
|
|
981
|
-
const contents = (0, import_smithy_client.map)({
|
|
982
|
-
$metadata: deserializeMetadata(output)
|
|
983
|
-
});
|
|
984
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
985
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
986
|
-
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
987
|
-
NextToken: import_smithy_client.expectString,
|
|
988
|
-
ServiceDependents: import_smithy_client._json,
|
|
989
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
990
|
-
});
|
|
991
|
-
Object.assign(contents, doc);
|
|
992
|
-
return contents;
|
|
993
|
-
}, "de_ListServiceDependentsCommand");
|
|
994
|
-
var de_ListServiceLevelObjectiveExclusionWindowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
995
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
996
|
-
return de_CommandError(output, context);
|
|
997
|
-
}
|
|
998
|
-
const contents = (0, import_smithy_client.map)({
|
|
999
|
-
$metadata: deserializeMetadata(output)
|
|
1000
|
-
});
|
|
1001
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1002
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1003
|
-
ExclusionWindows: /* @__PURE__ */ __name((_) => de_ExclusionWindows(_, context), "ExclusionWindows"),
|
|
1004
|
-
NextToken: import_smithy_client.expectString
|
|
1005
|
-
});
|
|
1006
|
-
Object.assign(contents, doc);
|
|
1007
|
-
return contents;
|
|
1008
|
-
}, "de_ListServiceLevelObjectiveExclusionWindowsCommand");
|
|
1009
|
-
var de_ListServiceLevelObjectivesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1010
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1011
|
-
return de_CommandError(output, context);
|
|
1012
|
-
}
|
|
1013
|
-
const contents = (0, import_smithy_client.map)({
|
|
1014
|
-
$metadata: deserializeMetadata(output)
|
|
1015
|
-
});
|
|
1016
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1017
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1018
|
-
NextToken: import_smithy_client.expectString,
|
|
1019
|
-
SloSummaries: /* @__PURE__ */ __name((_) => de_ServiceLevelObjectiveSummaries(_, context), "SloSummaries")
|
|
1020
|
-
});
|
|
1021
|
-
Object.assign(contents, doc);
|
|
1022
|
-
return contents;
|
|
1023
|
-
}, "de_ListServiceLevelObjectivesCommand");
|
|
1024
|
-
var de_ListServiceOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1025
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1026
|
-
return de_CommandError(output, context);
|
|
1027
|
-
}
|
|
1028
|
-
const contents = (0, import_smithy_client.map)({
|
|
1029
|
-
$metadata: deserializeMetadata(output)
|
|
1030
|
-
});
|
|
1031
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1032
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1033
|
-
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
1034
|
-
NextToken: import_smithy_client.expectString,
|
|
1035
|
-
ServiceOperations: import_smithy_client._json,
|
|
1036
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
1037
|
-
});
|
|
1038
|
-
Object.assign(contents, doc);
|
|
1039
|
-
return contents;
|
|
1040
|
-
}, "de_ListServiceOperationsCommand");
|
|
1041
|
-
var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1042
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1043
|
-
return de_CommandError(output, context);
|
|
1044
|
-
}
|
|
1045
|
-
const contents = (0, import_smithy_client.map)({
|
|
1046
|
-
$metadata: deserializeMetadata(output)
|
|
1047
|
-
});
|
|
1048
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1049
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1050
|
-
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
1051
|
-
NextToken: import_smithy_client.expectString,
|
|
1052
|
-
ServiceSummaries: import_smithy_client._json,
|
|
1053
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
1054
|
-
});
|
|
1055
|
-
Object.assign(contents, doc);
|
|
1056
|
-
return contents;
|
|
1057
|
-
}, "de_ListServicesCommand");
|
|
1058
|
-
var de_ListServiceStatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1059
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1060
|
-
return de_CommandError(output, context);
|
|
1061
|
-
}
|
|
1062
|
-
const contents = (0, import_smithy_client.map)({
|
|
1063
|
-
$metadata: deserializeMetadata(output)
|
|
1064
|
-
});
|
|
1065
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1066
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1067
|
-
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
1068
|
-
NextToken: import_smithy_client.expectString,
|
|
1069
|
-
ServiceStates: /* @__PURE__ */ __name((_) => de_ServiceStates(_, context), "ServiceStates"),
|
|
1070
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
1071
|
-
});
|
|
1072
|
-
Object.assign(contents, doc);
|
|
1073
|
-
return contents;
|
|
1074
|
-
}, "de_ListServiceStatesCommand");
|
|
1075
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1076
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1077
|
-
return de_CommandError(output, context);
|
|
1078
|
-
}
|
|
1079
|
-
const contents = (0, import_smithy_client.map)({
|
|
1080
|
-
$metadata: deserializeMetadata(output)
|
|
1081
|
-
});
|
|
1082
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1083
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1084
|
-
Tags: import_smithy_client._json
|
|
1085
|
-
});
|
|
1086
|
-
Object.assign(contents, doc);
|
|
1087
|
-
return contents;
|
|
1088
|
-
}, "de_ListTagsForResourceCommand");
|
|
1089
|
-
var de_PutGroupingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1090
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1091
|
-
return de_CommandError(output, context);
|
|
1092
|
-
}
|
|
1093
|
-
const contents = (0, import_smithy_client.map)({
|
|
1094
|
-
$metadata: deserializeMetadata(output)
|
|
1095
|
-
});
|
|
1096
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1097
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1098
|
-
GroupingConfiguration: /* @__PURE__ */ __name((_) => de_GroupingConfiguration(_, context), "GroupingConfiguration")
|
|
1099
|
-
});
|
|
1100
|
-
Object.assign(contents, doc);
|
|
1101
|
-
return contents;
|
|
1102
|
-
}, "de_PutGroupingConfigurationCommand");
|
|
1103
|
-
var de_StartDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1104
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1105
|
-
return de_CommandError(output, context);
|
|
1106
|
-
}
|
|
1107
|
-
const contents = (0, import_smithy_client.map)({
|
|
1108
|
-
$metadata: deserializeMetadata(output)
|
|
1109
|
-
});
|
|
1110
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1111
|
-
return contents;
|
|
1112
|
-
}, "de_StartDiscoveryCommand");
|
|
1113
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1114
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1115
|
-
return de_CommandError(output, context);
|
|
1116
|
-
}
|
|
1117
|
-
const contents = (0, import_smithy_client.map)({
|
|
1118
|
-
$metadata: deserializeMetadata(output)
|
|
1119
|
-
});
|
|
1120
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1121
|
-
return contents;
|
|
1122
|
-
}, "de_TagResourceCommand");
|
|
1123
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1124
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1125
|
-
return de_CommandError(output, context);
|
|
1126
|
-
}
|
|
1127
|
-
const contents = (0, import_smithy_client.map)({
|
|
1128
|
-
$metadata: deserializeMetadata(output)
|
|
1129
|
-
});
|
|
1130
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1131
|
-
return contents;
|
|
1132
|
-
}, "de_UntagResourceCommand");
|
|
1133
|
-
var de_UpdateServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1134
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1135
|
-
return de_CommandError(output, context);
|
|
1136
|
-
}
|
|
1137
|
-
const contents = (0, import_smithy_client.map)({
|
|
1138
|
-
$metadata: deserializeMetadata(output)
|
|
1139
|
-
});
|
|
1140
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1141
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1142
|
-
Slo: /* @__PURE__ */ __name((_) => de_ServiceLevelObjective(_, context), "Slo")
|
|
1143
|
-
});
|
|
1144
|
-
Object.assign(contents, doc);
|
|
1145
|
-
return contents;
|
|
1146
|
-
}, "de_UpdateServiceLevelObjectiveCommand");
|
|
1147
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1148
|
-
const parsedOutput = {
|
|
1149
|
-
...output,
|
|
1150
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1151
|
-
};
|
|
1152
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1153
|
-
switch (errorCode) {
|
|
1154
|
-
case "ThrottlingException":
|
|
1155
|
-
case "com.amazonaws.applicationsignals#ThrottlingException":
|
|
1156
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1157
|
-
case "ValidationException":
|
|
1158
|
-
case "com.amazonaws.applicationsignals#ValidationException":
|
|
1159
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1160
|
-
case "ResourceNotFoundException":
|
|
1161
|
-
case "com.amazonaws.applicationsignals#ResourceNotFoundException":
|
|
1162
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1163
|
-
case "AccessDeniedException":
|
|
1164
|
-
case "com.amazonaws.applicationsignals#AccessDeniedException":
|
|
1165
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1166
|
-
case "ConflictException":
|
|
1167
|
-
case "com.amazonaws.applicationsignals#ConflictException":
|
|
1168
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1169
|
-
case "ServiceQuotaExceededException":
|
|
1170
|
-
case "com.amazonaws.applicationsignals#ServiceQuotaExceededException":
|
|
1171
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1172
|
-
default:
|
|
1173
|
-
const parsedBody = parsedOutput.body;
|
|
1174
|
-
return throwDefaultError({
|
|
1175
|
-
output,
|
|
1176
|
-
parsedBody,
|
|
1177
|
-
errorCode
|
|
1178
|
-
});
|
|
1179
|
-
}
|
|
1180
|
-
}, "de_CommandError");
|
|
1181
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(ApplicationSignalsServiceException);
|
|
1182
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1183
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1184
|
-
const data = parsedOutput.body;
|
|
1185
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1186
|
-
Message: import_smithy_client.expectString
|
|
1187
|
-
});
|
|
1188
|
-
Object.assign(contents, doc);
|
|
1189
|
-
const exception = new AccessDeniedException({
|
|
1190
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1191
|
-
...contents
|
|
1192
|
-
});
|
|
1193
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1194
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1195
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1196
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1197
|
-
const data = parsedOutput.body;
|
|
1198
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1199
|
-
Message: import_smithy_client.expectString
|
|
1200
|
-
});
|
|
1201
|
-
Object.assign(contents, doc);
|
|
1202
|
-
const exception = new ConflictException({
|
|
1203
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1204
|
-
...contents
|
|
1205
|
-
});
|
|
1206
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1207
|
-
}, "de_ConflictExceptionRes");
|
|
1208
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1209
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1210
|
-
const data = parsedOutput.body;
|
|
1211
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1212
|
-
Message: import_smithy_client.expectString,
|
|
1213
|
-
ResourceId: import_smithy_client.expectString,
|
|
1214
|
-
ResourceType: import_smithy_client.expectString
|
|
1215
|
-
});
|
|
1216
|
-
Object.assign(contents, doc);
|
|
1217
|
-
const exception = new ResourceNotFoundException({
|
|
1218
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1219
|
-
...contents
|
|
1220
|
-
});
|
|
1221
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1222
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1223
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1224
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1225
|
-
const data = parsedOutput.body;
|
|
1226
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1227
|
-
Message: import_smithy_client.expectString
|
|
1228
|
-
});
|
|
1229
|
-
Object.assign(contents, doc);
|
|
1230
|
-
const exception = new ServiceQuotaExceededException({
|
|
1231
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1232
|
-
...contents
|
|
1233
|
-
});
|
|
1234
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1235
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1236
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1237
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1238
|
-
const data = parsedOutput.body;
|
|
1239
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1240
|
-
Message: import_smithy_client.expectString
|
|
1241
|
-
});
|
|
1242
|
-
Object.assign(contents, doc);
|
|
1243
|
-
const exception = new ThrottlingException({
|
|
1244
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1245
|
-
...contents
|
|
1246
|
-
});
|
|
1247
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1248
|
-
}, "de_ThrottlingExceptionRes");
|
|
1249
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1250
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1251
|
-
const data = parsedOutput.body;
|
|
1252
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1253
|
-
message: import_smithy_client.expectString
|
|
1254
|
-
});
|
|
1255
|
-
Object.assign(contents, doc);
|
|
1256
|
-
const exception = new ValidationException({
|
|
1257
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1258
|
-
...contents
|
|
1259
|
-
});
|
|
1260
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1261
|
-
}, "de_ValidationExceptionRes");
|
|
1262
|
-
var se_CalendarInterval = /* @__PURE__ */ __name((input, context) => {
|
|
1263
|
-
return (0, import_smithy_client.take)(input, {
|
|
1264
|
-
Duration: [],
|
|
1265
|
-
DurationUnit: [],
|
|
1266
|
-
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
|
|
1267
|
-
});
|
|
1268
|
-
}, "se_CalendarInterval");
|
|
1269
|
-
var se_ExclusionWindow = /* @__PURE__ */ __name((input, context) => {
|
|
1270
|
-
return (0, import_smithy_client.take)(input, {
|
|
1271
|
-
Reason: [],
|
|
1272
|
-
RecurrenceRule: import_smithy_client._json,
|
|
1273
|
-
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime"),
|
|
1274
|
-
Window: import_smithy_client._json
|
|
1275
|
-
});
|
|
1276
|
-
}, "se_ExclusionWindow");
|
|
1277
|
-
var se_ExclusionWindows = /* @__PURE__ */ __name((input, context) => {
|
|
1278
|
-
return input.filter((e) => e != null).map((entry) => {
|
|
1279
|
-
return se_ExclusionWindow(entry, context);
|
|
1280
|
-
});
|
|
1281
|
-
}, "se_ExclusionWindows");
|
|
1282
|
-
var se_Goal = /* @__PURE__ */ __name((input, context) => {
|
|
1283
|
-
return (0, import_smithy_client.take)(input, {
|
|
1284
|
-
AttainmentGoal: import_smithy_client.serializeFloat,
|
|
1285
|
-
Interval: /* @__PURE__ */ __name((_) => se_Interval(_, context), "Interval"),
|
|
1286
|
-
WarningThreshold: import_smithy_client.serializeFloat
|
|
1287
|
-
});
|
|
1288
|
-
}, "se_Goal");
|
|
1289
|
-
var se_Interval = /* @__PURE__ */ __name((input, context) => {
|
|
1290
|
-
return Interval.visit(input, {
|
|
1291
|
-
CalendarInterval: /* @__PURE__ */ __name((value) => ({ CalendarInterval: se_CalendarInterval(value, context) }), "CalendarInterval"),
|
|
1292
|
-
RollingInterval: /* @__PURE__ */ __name((value) => ({ RollingInterval: (0, import_smithy_client._json)(value) }), "RollingInterval"),
|
|
1293
|
-
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1294
|
-
});
|
|
1295
|
-
}, "se_Interval");
|
|
1296
|
-
var se_RequestBasedServiceLevelIndicatorConfig = /* @__PURE__ */ __name((input, context) => {
|
|
1297
|
-
return (0, import_smithy_client.take)(input, {
|
|
1298
|
-
ComparisonOperator: [],
|
|
1299
|
-
MetricThreshold: import_smithy_client.serializeFloat,
|
|
1300
|
-
RequestBasedSliMetricConfig: import_smithy_client._json
|
|
1301
|
-
});
|
|
1302
|
-
}, "se_RequestBasedServiceLevelIndicatorConfig");
|
|
1303
|
-
var se_ServiceLevelIndicatorConfig = /* @__PURE__ */ __name((input, context) => {
|
|
1304
|
-
return (0, import_smithy_client.take)(input, {
|
|
1305
|
-
ComparisonOperator: [],
|
|
1306
|
-
MetricThreshold: import_smithy_client.serializeFloat,
|
|
1307
|
-
SliMetricConfig: import_smithy_client._json
|
|
1308
|
-
});
|
|
1309
|
-
}, "se_ServiceLevelIndicatorConfig");
|
|
1310
|
-
var de_AuditFinding = /* @__PURE__ */ __name((output, context) => {
|
|
1311
|
-
return (0, import_smithy_client.take)(output, {
|
|
1312
|
-
AuditorResults: import_smithy_client._json,
|
|
1313
|
-
DependencyGraph: /* @__PURE__ */ __name((_) => de_DependencyGraph(_, context), "DependencyGraph"),
|
|
1314
|
-
KeyAttributes: import_smithy_client._json,
|
|
1315
|
-
MetricGraph: /* @__PURE__ */ __name((_) => de_MetricGraph(_, context), "MetricGraph"),
|
|
1316
|
-
Operation: import_smithy_client.expectString,
|
|
1317
|
-
Type: import_smithy_client.expectString
|
|
1318
|
-
});
|
|
1319
|
-
}, "de_AuditFinding");
|
|
1320
|
-
var de_AuditFindings = /* @__PURE__ */ __name((output, context) => {
|
|
1321
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1322
|
-
return de_AuditFinding(entry, context);
|
|
1323
|
-
});
|
|
1324
|
-
return retVal;
|
|
1325
|
-
}, "de_AuditFindings");
|
|
1326
|
-
var de_CalendarInterval = /* @__PURE__ */ __name((output, context) => {
|
|
1327
|
-
return (0, import_smithy_client.take)(output, {
|
|
1328
|
-
Duration: import_smithy_client.expectInt32,
|
|
1329
|
-
DurationUnit: import_smithy_client.expectString,
|
|
1330
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
1331
|
-
});
|
|
1332
|
-
}, "de_CalendarInterval");
|
|
1333
|
-
var de_ChangeEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1334
|
-
return (0, import_smithy_client.take)(output, {
|
|
1335
|
-
AccountId: import_smithy_client.expectString,
|
|
1336
|
-
ChangeEventType: import_smithy_client.expectString,
|
|
1337
|
-
Entity: import_smithy_client._json,
|
|
1338
|
-
EventId: import_smithy_client.expectString,
|
|
1339
|
-
EventName: import_smithy_client.expectString,
|
|
1340
|
-
Region: import_smithy_client.expectString,
|
|
1341
|
-
Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp"),
|
|
1342
|
-
UserName: import_smithy_client.expectString
|
|
1343
|
-
});
|
|
1344
|
-
}, "de_ChangeEvent");
|
|
1345
|
-
var de_DependencyGraph = /* @__PURE__ */ __name((output, context) => {
|
|
1346
|
-
return (0, import_smithy_client.take)(output, {
|
|
1347
|
-
Edges: /* @__PURE__ */ __name((_) => de_Edges(_, context), "Edges"),
|
|
1348
|
-
Nodes: /* @__PURE__ */ __name((_) => de_Nodes(_, context), "Nodes")
|
|
1349
|
-
});
|
|
1350
|
-
}, "de_DependencyGraph");
|
|
1351
|
-
var de_Edge = /* @__PURE__ */ __name((output, context) => {
|
|
1352
|
-
return (0, import_smithy_client.take)(output, {
|
|
1353
|
-
ConnectionType: import_smithy_client.expectString,
|
|
1354
|
-
DestinationNodeId: import_smithy_client.expectString,
|
|
1355
|
-
Duration: import_smithy_client.limitedParseDouble,
|
|
1356
|
-
SourceNodeId: import_smithy_client.expectString
|
|
1357
|
-
});
|
|
1358
|
-
}, "de_Edge");
|
|
1359
|
-
var de_Edges = /* @__PURE__ */ __name((output, context) => {
|
|
1360
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1361
|
-
return de_Edge(entry, context);
|
|
1362
|
-
});
|
|
1363
|
-
return retVal;
|
|
1364
|
-
}, "de_Edges");
|
|
1365
|
-
var de_ExclusionWindow = /* @__PURE__ */ __name((output, context) => {
|
|
1366
|
-
return (0, import_smithy_client.take)(output, {
|
|
1367
|
-
Reason: import_smithy_client.expectString,
|
|
1368
|
-
RecurrenceRule: import_smithy_client._json,
|
|
1369
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
|
|
1370
|
-
Window: import_smithy_client._json
|
|
1371
|
-
});
|
|
1372
|
-
}, "de_ExclusionWindow");
|
|
1373
|
-
var de_ExclusionWindows = /* @__PURE__ */ __name((output, context) => {
|
|
1374
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1375
|
-
return de_ExclusionWindow(entry, context);
|
|
1376
|
-
});
|
|
1377
|
-
return retVal;
|
|
1378
|
-
}, "de_ExclusionWindows");
|
|
1379
|
-
var de_Goal = /* @__PURE__ */ __name((output, context) => {
|
|
1380
|
-
return (0, import_smithy_client.take)(output, {
|
|
1381
|
-
AttainmentGoal: import_smithy_client.limitedParseDouble,
|
|
1382
|
-
Interval: /* @__PURE__ */ __name((_) => de_Interval((0, import_core2.awsExpectUnion)(_), context), "Interval"),
|
|
1383
|
-
WarningThreshold: import_smithy_client.limitedParseDouble
|
|
1384
|
-
});
|
|
1385
|
-
}, "de_Goal");
|
|
1386
|
-
var de_GroupingConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
1387
|
-
return (0, import_smithy_client.take)(output, {
|
|
1388
|
-
GroupingAttributeDefinitions: import_smithy_client._json,
|
|
1389
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1390
|
-
});
|
|
1391
|
-
}, "de_GroupingConfiguration");
|
|
1392
|
-
var de_Interval = /* @__PURE__ */ __name((output, context) => {
|
|
1393
|
-
if (output.CalendarInterval != null) {
|
|
1394
|
-
return {
|
|
1395
|
-
CalendarInterval: de_CalendarInterval(output.CalendarInterval, context)
|
|
148
|
+
exports.Interval = void 0;
|
|
149
|
+
(function (Interval) {
|
|
150
|
+
Interval.visit = (value, visitor) => {
|
|
151
|
+
if (value.RollingInterval !== undefined)
|
|
152
|
+
return visitor.RollingInterval(value.RollingInterval);
|
|
153
|
+
if (value.CalendarInterval !== undefined)
|
|
154
|
+
return visitor.CalendarInterval(value.CalendarInterval);
|
|
155
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1396
156
|
};
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
157
|
+
})(exports.Interval || (exports.Interval = {}));
|
|
158
|
+
const ServiceLevelIndicatorComparisonOperator = {
|
|
159
|
+
GREATER_THAN: "GreaterThan",
|
|
160
|
+
GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
|
|
161
|
+
LESS_THAN: "LessThan",
|
|
162
|
+
LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo",
|
|
163
|
+
};
|
|
164
|
+
const ServiceLevelIndicatorMetricType = {
|
|
165
|
+
AVAILABILITY: "AVAILABILITY",
|
|
166
|
+
LATENCY: "LATENCY",
|
|
167
|
+
};
|
|
168
|
+
const StandardUnit = {
|
|
169
|
+
BITS: "Bits",
|
|
170
|
+
BITS_SECOND: "Bits/Second",
|
|
171
|
+
BYTES: "Bytes",
|
|
172
|
+
BYTES_SECOND: "Bytes/Second",
|
|
173
|
+
COUNT: "Count",
|
|
174
|
+
COUNT_SECOND: "Count/Second",
|
|
175
|
+
GIGABITS: "Gigabits",
|
|
176
|
+
GIGABITS_SECOND: "Gigabits/Second",
|
|
177
|
+
GIGABYTES: "Gigabytes",
|
|
178
|
+
GIGABYTES_SECOND: "Gigabytes/Second",
|
|
179
|
+
KILOBITS: "Kilobits",
|
|
180
|
+
KILOBITS_SECOND: "Kilobits/Second",
|
|
181
|
+
KILOBYTES: "Kilobytes",
|
|
182
|
+
KILOBYTES_SECOND: "Kilobytes/Second",
|
|
183
|
+
MEGABITS: "Megabits",
|
|
184
|
+
MEGABITS_SECOND: "Megabits/Second",
|
|
185
|
+
MEGABYTES: "Megabytes",
|
|
186
|
+
MEGABYTES_SECOND: "Megabytes/Second",
|
|
187
|
+
MICROSECONDS: "Microseconds",
|
|
188
|
+
MILLISECONDS: "Milliseconds",
|
|
189
|
+
NONE: "None",
|
|
190
|
+
PERCENT: "Percent",
|
|
191
|
+
SECONDS: "Seconds",
|
|
192
|
+
TERABITS: "Terabits",
|
|
193
|
+
TERABITS_SECOND: "Terabits/Second",
|
|
194
|
+
TERABYTES: "Terabytes",
|
|
195
|
+
TERABYTES_SECOND: "Terabytes/Second",
|
|
196
|
+
};
|
|
197
|
+
exports.MonitoredRequestCountMetricDataQueries = void 0;
|
|
198
|
+
(function (MonitoredRequestCountMetricDataQueries) {
|
|
199
|
+
MonitoredRequestCountMetricDataQueries.visit = (value, visitor) => {
|
|
200
|
+
if (value.GoodCountMetric !== undefined)
|
|
201
|
+
return visitor.GoodCountMetric(value.GoodCountMetric);
|
|
202
|
+
if (value.BadCountMetric !== undefined)
|
|
203
|
+
return visitor.BadCountMetric(value.BadCountMetric);
|
|
204
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1401
205
|
};
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
return (0, import_smithy_client.take)(output, {
|
|
1466
|
-
Arn: import_smithy_client.expectString,
|
|
1467
|
-
Attainment: import_smithy_client.limitedParseDouble,
|
|
1468
|
-
BudgetRequestsRemaining: import_smithy_client.expectInt32,
|
|
1469
|
-
BudgetSecondsRemaining: import_smithy_client.expectInt32,
|
|
1470
|
-
BudgetStatus: import_smithy_client.expectString,
|
|
1471
|
-
EvaluationType: import_smithy_client.expectString,
|
|
1472
|
-
Goal: /* @__PURE__ */ __name((_) => de_Goal(_, context), "Goal"),
|
|
1473
|
-
Name: import_smithy_client.expectString,
|
|
1474
|
-
RequestBasedSli: /* @__PURE__ */ __name((_) => de_RequestBasedServiceLevelIndicator(_, context), "RequestBasedSli"),
|
|
1475
|
-
Sli: /* @__PURE__ */ __name((_) => de_ServiceLevelIndicator(_, context), "Sli"),
|
|
1476
|
-
TotalBudgetRequests: import_smithy_client.expectInt32,
|
|
1477
|
-
TotalBudgetSeconds: import_smithy_client.expectInt32
|
|
1478
|
-
});
|
|
1479
|
-
}, "de_ServiceLevelObjectiveBudgetReport");
|
|
1480
|
-
var de_ServiceLevelObjectiveBudgetReports = /* @__PURE__ */ __name((output, context) => {
|
|
1481
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1482
|
-
return de_ServiceLevelObjectiveBudgetReport(entry, context);
|
|
1483
|
-
});
|
|
1484
|
-
return retVal;
|
|
1485
|
-
}, "de_ServiceLevelObjectiveBudgetReports");
|
|
1486
|
-
var de_ServiceLevelObjectiveSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
1487
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1488
|
-
return de_ServiceLevelObjectiveSummary(entry, context);
|
|
1489
|
-
});
|
|
1490
|
-
return retVal;
|
|
1491
|
-
}, "de_ServiceLevelObjectiveSummaries");
|
|
1492
|
-
var de_ServiceLevelObjectiveSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1493
|
-
return (0, import_smithy_client.take)(output, {
|
|
1494
|
-
Arn: import_smithy_client.expectString,
|
|
1495
|
-
CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),
|
|
1496
|
-
DependencyConfig: import_smithy_client._json,
|
|
1497
|
-
EvaluationType: import_smithy_client.expectString,
|
|
1498
|
-
KeyAttributes: import_smithy_client._json,
|
|
1499
|
-
MetricSourceType: import_smithy_client.expectString,
|
|
1500
|
-
Name: import_smithy_client.expectString,
|
|
1501
|
-
OperationName: import_smithy_client.expectString
|
|
1502
|
-
});
|
|
1503
|
-
}, "de_ServiceLevelObjectiveSummary");
|
|
1504
|
-
var de_ServiceState = /* @__PURE__ */ __name((output, context) => {
|
|
1505
|
-
return (0, import_smithy_client.take)(output, {
|
|
1506
|
-
AttributeFilters: import_smithy_client._json,
|
|
1507
|
-
LatestChangeEvents: /* @__PURE__ */ __name((_) => de_LatestChangeEvents(_, context), "LatestChangeEvents"),
|
|
1508
|
-
Service: import_smithy_client._json
|
|
1509
|
-
});
|
|
1510
|
-
}, "de_ServiceState");
|
|
1511
|
-
var de_ServiceStates = /* @__PURE__ */ __name((output, context) => {
|
|
1512
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1513
|
-
return de_ServiceState(entry, context);
|
|
1514
|
-
});
|
|
1515
|
-
return retVal;
|
|
1516
|
-
}, "de_ServiceStates");
|
|
1517
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1518
|
-
httpStatusCode: output.statusCode,
|
|
1519
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1520
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1521
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1522
|
-
}), "deserializeMetadata");
|
|
1523
|
-
var _AAI = "AwsAccountId";
|
|
1524
|
-
var _ET = "EndTime";
|
|
1525
|
-
var _ILA = "IncludeLinkedAccounts";
|
|
1526
|
-
var _MR = "MaxResults";
|
|
1527
|
-
var _NT = "NextToken";
|
|
1528
|
-
var _ON = "OperationName";
|
|
1529
|
-
var _RA = "ResourceArn";
|
|
1530
|
-
var _SOAAI = "SloOwnerAwsAccountId";
|
|
1531
|
-
var _ST = "StartTime";
|
|
1532
|
-
|
|
1533
|
-
// src/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.ts
|
|
1534
|
-
var BatchGetServiceLevelObjectiveBudgetReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1535
|
-
return [
|
|
1536
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1537
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1538
|
-
];
|
|
1539
|
-
}).s("ApplicationSignals", "BatchGetServiceLevelObjectiveBudgetReport", {}).n("ApplicationSignalsClient", "BatchGetServiceLevelObjectiveBudgetReportCommand").f(void 0, void 0).ser(se_BatchGetServiceLevelObjectiveBudgetReportCommand).de(de_BatchGetServiceLevelObjectiveBudgetReportCommand).build() {
|
|
1540
|
-
static {
|
|
1541
|
-
__name(this, "BatchGetServiceLevelObjectiveBudgetReportCommand");
|
|
1542
|
-
}
|
|
206
|
+
})(exports.MonitoredRequestCountMetricDataQueries || (exports.MonitoredRequestCountMetricDataQueries = {}));
|
|
207
|
+
class ThrottlingException extends ApplicationSignalsServiceException {
|
|
208
|
+
name = "ThrottlingException";
|
|
209
|
+
$fault = "client";
|
|
210
|
+
Message;
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "ThrottlingException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts,
|
|
216
|
+
});
|
|
217
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
218
|
+
this.Message = opts.Message;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
class ValidationException extends ApplicationSignalsServiceException {
|
|
222
|
+
name = "ValidationException";
|
|
223
|
+
$fault = "client";
|
|
224
|
+
constructor(opts) {
|
|
225
|
+
super({
|
|
226
|
+
name: "ValidationException",
|
|
227
|
+
$fault: "client",
|
|
228
|
+
...opts,
|
|
229
|
+
});
|
|
230
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
class ResourceNotFoundException extends ApplicationSignalsServiceException {
|
|
234
|
+
name = "ResourceNotFoundException";
|
|
235
|
+
$fault = "client";
|
|
236
|
+
ResourceType;
|
|
237
|
+
ResourceId;
|
|
238
|
+
Message;
|
|
239
|
+
constructor(opts) {
|
|
240
|
+
super({
|
|
241
|
+
name: "ResourceNotFoundException",
|
|
242
|
+
$fault: "client",
|
|
243
|
+
...opts,
|
|
244
|
+
});
|
|
245
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
246
|
+
this.ResourceType = opts.ResourceType;
|
|
247
|
+
this.ResourceId = opts.ResourceId;
|
|
248
|
+
this.Message = opts.Message;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
exports.AuditTargetEntity = void 0;
|
|
252
|
+
(function (AuditTargetEntity) {
|
|
253
|
+
AuditTargetEntity.visit = (value, visitor) => {
|
|
254
|
+
if (value.Service !== undefined)
|
|
255
|
+
return visitor.Service(value.Service);
|
|
256
|
+
if (value.Slo !== undefined)
|
|
257
|
+
return visitor.Slo(value.Slo);
|
|
258
|
+
if (value.ServiceOperation !== undefined)
|
|
259
|
+
return visitor.ServiceOperation(value.ServiceOperation);
|
|
260
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
261
|
+
};
|
|
262
|
+
})(exports.AuditTargetEntity || (exports.AuditTargetEntity = {}));
|
|
263
|
+
const Severity = {
|
|
264
|
+
CRITICAL: "CRITICAL",
|
|
265
|
+
HIGH: "HIGH",
|
|
266
|
+
LOW: "LOW",
|
|
267
|
+
MEDIUM: "MEDIUM",
|
|
268
|
+
NONE: "NONE",
|
|
1543
269
|
};
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
var BatchUpdateExclusionWindowsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1550
|
-
return [
|
|
1551
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1552
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1553
|
-
];
|
|
1554
|
-
}).s("ApplicationSignals", "BatchUpdateExclusionWindows", {}).n("ApplicationSignalsClient", "BatchUpdateExclusionWindowsCommand").f(void 0, void 0).ser(se_BatchUpdateExclusionWindowsCommand).de(de_BatchUpdateExclusionWindowsCommand).build() {
|
|
1555
|
-
static {
|
|
1556
|
-
__name(this, "BatchUpdateExclusionWindowsCommand");
|
|
1557
|
-
}
|
|
270
|
+
const ConnectionType = {
|
|
271
|
+
DIRECT: "DIRECT",
|
|
272
|
+
INDIRECT: "INDIRECT",
|
|
1558
273
|
};
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
var CreateServiceLevelObjectiveCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1565
|
-
return [
|
|
1566
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1567
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1568
|
-
];
|
|
1569
|
-
}).s("ApplicationSignals", "CreateServiceLevelObjective", {}).n("ApplicationSignalsClient", "CreateServiceLevelObjectiveCommand").f(void 0, void 0).ser(se_CreateServiceLevelObjectiveCommand).de(de_CreateServiceLevelObjectiveCommand).build() {
|
|
1570
|
-
static {
|
|
1571
|
-
__name(this, "CreateServiceLevelObjectiveCommand");
|
|
1572
|
-
}
|
|
274
|
+
const ChangeEventType = {
|
|
275
|
+
DEPLOYMENT: "DEPLOYMENT",
|
|
1573
276
|
};
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
277
|
+
class ConflictException extends ApplicationSignalsServiceException {
|
|
278
|
+
name = "ConflictException";
|
|
279
|
+
$fault = "client";
|
|
280
|
+
Message;
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "ConflictException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts,
|
|
286
|
+
});
|
|
287
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
288
|
+
this.Message = opts.Message;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
const MetricSourceType = {
|
|
292
|
+
CLOUDWATCH_METRIC: "CloudWatchMetric",
|
|
293
|
+
SERVICE_DEPENDENCY: "ServiceDependency",
|
|
294
|
+
SERVICE_OPERATION: "ServiceOperation",
|
|
1588
295
|
};
|
|
296
|
+
class ServiceQuotaExceededException extends ApplicationSignalsServiceException {
|
|
297
|
+
name = "ServiceQuotaExceededException";
|
|
298
|
+
$fault = "client";
|
|
299
|
+
Message;
|
|
300
|
+
constructor(opts) {
|
|
301
|
+
super({
|
|
302
|
+
name: "ServiceQuotaExceededException",
|
|
303
|
+
$fault: "client",
|
|
304
|
+
...opts,
|
|
305
|
+
});
|
|
306
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
307
|
+
this.Message = opts.Message;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
1589
310
|
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
311
|
+
const se_BatchGetServiceLevelObjectiveBudgetReportCommand = async (input, context) => {
|
|
312
|
+
const b = core.requestBuilder(input, context);
|
|
313
|
+
const headers = {
|
|
314
|
+
"content-type": "application/json",
|
|
315
|
+
};
|
|
316
|
+
b.bp("/budget-report");
|
|
317
|
+
let body;
|
|
318
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
319
|
+
SloIds: (_) => smithyClient._json(_),
|
|
320
|
+
Timestamp: (_) => _.getTime() / 1_000,
|
|
321
|
+
}));
|
|
322
|
+
b.m("POST").h(headers).b(body);
|
|
323
|
+
return b.build();
|
|
1603
324
|
};
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
325
|
+
const se_BatchUpdateExclusionWindowsCommand = async (input, context) => {
|
|
326
|
+
const b = core.requestBuilder(input, context);
|
|
327
|
+
const headers = {
|
|
328
|
+
"content-type": "application/json",
|
|
329
|
+
};
|
|
330
|
+
b.bp("/exclusion-windows");
|
|
331
|
+
let body;
|
|
332
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
333
|
+
AddExclusionWindows: (_) => se_ExclusionWindows(_),
|
|
334
|
+
RemoveExclusionWindows: (_) => se_ExclusionWindows(_),
|
|
335
|
+
SloIds: (_) => smithyClient._json(_),
|
|
336
|
+
}));
|
|
337
|
+
b.m("PATCH").h(headers).b(body);
|
|
338
|
+
return b.build();
|
|
1618
339
|
};
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
340
|
+
const se_CreateServiceLevelObjectiveCommand = async (input, context) => {
|
|
341
|
+
const b = core.requestBuilder(input, context);
|
|
342
|
+
const headers = {
|
|
343
|
+
"content-type": "application/json",
|
|
344
|
+
};
|
|
345
|
+
b.bp("/slo");
|
|
346
|
+
let body;
|
|
347
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
348
|
+
BurnRateConfigurations: (_) => smithyClient._json(_),
|
|
349
|
+
Description: [],
|
|
350
|
+
Goal: (_) => se_Goal(_),
|
|
351
|
+
Name: [],
|
|
352
|
+
RequestBasedSliConfig: (_) => se_RequestBasedServiceLevelIndicatorConfig(_),
|
|
353
|
+
SliConfig: (_) => se_ServiceLevelIndicatorConfig(_),
|
|
354
|
+
Tags: (_) => smithyClient._json(_),
|
|
355
|
+
}));
|
|
356
|
+
b.m("POST").h(headers).b(body);
|
|
357
|
+
return b.build();
|
|
1633
358
|
};
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1642
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1643
|
-
];
|
|
1644
|
-
}).s("ApplicationSignals", "ListAuditFindings", {}).n("ApplicationSignalsClient", "ListAuditFindingsCommand").f(void 0, void 0).ser(se_ListAuditFindingsCommand).de(de_ListAuditFindingsCommand).build() {
|
|
1645
|
-
static {
|
|
1646
|
-
__name(this, "ListAuditFindingsCommand");
|
|
1647
|
-
}
|
|
359
|
+
const se_DeleteGroupingConfigurationCommand = async (input, context) => {
|
|
360
|
+
const b = core.requestBuilder(input, context);
|
|
361
|
+
const headers = {};
|
|
362
|
+
b.bp("/grouping-configuration");
|
|
363
|
+
let body;
|
|
364
|
+
b.m("DELETE").h(headers).b(body);
|
|
365
|
+
return b.build();
|
|
1648
366
|
};
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1658
|
-
];
|
|
1659
|
-
}).s("ApplicationSignals", "ListGroupingAttributeDefinitions", {}).n("ApplicationSignalsClient", "ListGroupingAttributeDefinitionsCommand").f(void 0, void 0).ser(se_ListGroupingAttributeDefinitionsCommand).de(de_ListGroupingAttributeDefinitionsCommand).build() {
|
|
1660
|
-
static {
|
|
1661
|
-
__name(this, "ListGroupingAttributeDefinitionsCommand");
|
|
1662
|
-
}
|
|
367
|
+
const se_DeleteServiceLevelObjectiveCommand = async (input, context) => {
|
|
368
|
+
const b = core.requestBuilder(input, context);
|
|
369
|
+
const headers = {};
|
|
370
|
+
b.bp("/slo/{Id}");
|
|
371
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
372
|
+
let body;
|
|
373
|
+
b.m("DELETE").h(headers).b(body);
|
|
374
|
+
return b.build();
|
|
1663
375
|
};
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
376
|
+
const se_GetServiceCommand = async (input, context) => {
|
|
377
|
+
const b = core.requestBuilder(input, context);
|
|
378
|
+
const headers = {
|
|
379
|
+
"content-type": "application/json",
|
|
380
|
+
};
|
|
381
|
+
b.bp("/service");
|
|
382
|
+
const query = smithyClient.map({
|
|
383
|
+
[_ST]: [smithyClient.expectNonNull(input.StartTime, `StartTime`) != null, () => smithyClient.serializeDateTime(input[_ST]).toString()],
|
|
384
|
+
[_ET]: [smithyClient.expectNonNull(input.EndTime, `EndTime`) != null, () => smithyClient.serializeDateTime(input[_ET]).toString()],
|
|
385
|
+
});
|
|
386
|
+
let body;
|
|
387
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
388
|
+
KeyAttributes: (_) => smithyClient._json(_),
|
|
389
|
+
}));
|
|
390
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
391
|
+
return b.build();
|
|
1678
392
|
};
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1688
|
-
];
|
|
1689
|
-
}).s("ApplicationSignals", "ListServiceDependents", {}).n("ApplicationSignalsClient", "ListServiceDependentsCommand").f(void 0, void 0).ser(se_ListServiceDependentsCommand).de(de_ListServiceDependentsCommand).build() {
|
|
1690
|
-
static {
|
|
1691
|
-
__name(this, "ListServiceDependentsCommand");
|
|
1692
|
-
}
|
|
393
|
+
const se_GetServiceLevelObjectiveCommand = async (input, context) => {
|
|
394
|
+
const b = core.requestBuilder(input, context);
|
|
395
|
+
const headers = {};
|
|
396
|
+
b.bp("/slo/{Id}");
|
|
397
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
398
|
+
let body;
|
|
399
|
+
b.m("GET").h(headers).b(body);
|
|
400
|
+
return b.build();
|
|
1693
401
|
};
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
402
|
+
const se_ListAuditFindingsCommand = async (input, context) => {
|
|
403
|
+
const b = core.requestBuilder(input, context);
|
|
404
|
+
const headers = {
|
|
405
|
+
"content-type": "application/json",
|
|
406
|
+
};
|
|
407
|
+
b.bp("/auditFindings");
|
|
408
|
+
const query = smithyClient.map({
|
|
409
|
+
[_ST]: [smithyClient.expectNonNull(input.StartTime, `StartTime`) != null, () => smithyClient.serializeDateTime(input[_ST]).toString()],
|
|
410
|
+
[_ET]: [smithyClient.expectNonNull(input.EndTime, `EndTime`) != null, () => smithyClient.serializeDateTime(input[_ET]).toString()],
|
|
411
|
+
});
|
|
412
|
+
let body;
|
|
413
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
414
|
+
AuditTargets: (_) => smithyClient._json(_),
|
|
415
|
+
Auditors: (_) => smithyClient._json(_),
|
|
416
|
+
MaxResults: [],
|
|
417
|
+
NextToken: [],
|
|
418
|
+
}));
|
|
419
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
420
|
+
return b.build();
|
|
1708
421
|
};
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
(
|
|
1718
|
-
|
|
1719
|
-
}).s("ApplicationSignals", "ListServiceLevelObjectives", {}).n("ApplicationSignalsClient", "ListServiceLevelObjectivesCommand").f(void 0, void 0).ser(se_ListServiceLevelObjectivesCommand).de(de_ListServiceLevelObjectivesCommand).build() {
|
|
1720
|
-
static {
|
|
1721
|
-
__name(this, "ListServiceLevelObjectivesCommand");
|
|
1722
|
-
}
|
|
422
|
+
const se_ListGroupingAttributeDefinitionsCommand = async (input, context) => {
|
|
423
|
+
const b = core.requestBuilder(input, context);
|
|
424
|
+
const headers = {};
|
|
425
|
+
b.bp("/grouping-attribute-definitions");
|
|
426
|
+
const query = smithyClient.map({
|
|
427
|
+
[_NT]: [, input[_NT]],
|
|
428
|
+
});
|
|
429
|
+
let body;
|
|
430
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
431
|
+
return b.build();
|
|
1723
432
|
};
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
433
|
+
const se_ListServiceDependenciesCommand = async (input, context) => {
|
|
434
|
+
const b = core.requestBuilder(input, context);
|
|
435
|
+
const headers = {
|
|
436
|
+
"content-type": "application/json",
|
|
437
|
+
};
|
|
438
|
+
b.bp("/service-dependencies");
|
|
439
|
+
const query = smithyClient.map({
|
|
440
|
+
[_ST]: [smithyClient.expectNonNull(input.StartTime, `StartTime`) != null, () => smithyClient.serializeDateTime(input[_ST]).toString()],
|
|
441
|
+
[_ET]: [smithyClient.expectNonNull(input.EndTime, `EndTime`) != null, () => smithyClient.serializeDateTime(input[_ET]).toString()],
|
|
442
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
443
|
+
[_NT]: [, input[_NT]],
|
|
444
|
+
});
|
|
445
|
+
let body;
|
|
446
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
447
|
+
KeyAttributes: (_) => smithyClient._json(_),
|
|
448
|
+
}));
|
|
449
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
450
|
+
return b.build();
|
|
1738
451
|
};
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
452
|
+
const se_ListServiceDependentsCommand = async (input, context) => {
|
|
453
|
+
const b = core.requestBuilder(input, context);
|
|
454
|
+
const headers = {
|
|
455
|
+
"content-type": "application/json",
|
|
456
|
+
};
|
|
457
|
+
b.bp("/service-dependents");
|
|
458
|
+
const query = smithyClient.map({
|
|
459
|
+
[_ST]: [smithyClient.expectNonNull(input.StartTime, `StartTime`) != null, () => smithyClient.serializeDateTime(input[_ST]).toString()],
|
|
460
|
+
[_ET]: [smithyClient.expectNonNull(input.EndTime, `EndTime`) != null, () => smithyClient.serializeDateTime(input[_ET]).toString()],
|
|
461
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
462
|
+
[_NT]: [, input[_NT]],
|
|
463
|
+
});
|
|
464
|
+
let body;
|
|
465
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
466
|
+
KeyAttributes: (_) => smithyClient._json(_),
|
|
467
|
+
}));
|
|
468
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
469
|
+
return b.build();
|
|
1753
470
|
};
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
__name(this, "ListServiceStatesCommand");
|
|
1767
|
-
}
|
|
471
|
+
const se_ListServiceLevelObjectiveExclusionWindowsCommand = async (input, context) => {
|
|
472
|
+
const b = core.requestBuilder(input, context);
|
|
473
|
+
const headers = {};
|
|
474
|
+
b.bp("/slo/{Id}/exclusion-windows");
|
|
475
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
476
|
+
const query = smithyClient.map({
|
|
477
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
478
|
+
[_NT]: [, input[_NT]],
|
|
479
|
+
});
|
|
480
|
+
let body;
|
|
481
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
482
|
+
return b.build();
|
|
1768
483
|
};
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
484
|
+
const se_ListServiceLevelObjectivesCommand = async (input, context) => {
|
|
485
|
+
const b = core.requestBuilder(input, context);
|
|
486
|
+
const headers = {
|
|
487
|
+
"content-type": "application/json",
|
|
488
|
+
};
|
|
489
|
+
b.bp("/slos");
|
|
490
|
+
const query = smithyClient.map({
|
|
491
|
+
[_ON]: [, input[_ON]],
|
|
492
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
493
|
+
[_NT]: [, input[_NT]],
|
|
494
|
+
[_ILA]: [() => input.IncludeLinkedAccounts !== void 0, () => input[_ILA].toString()],
|
|
495
|
+
[_SOAAI]: [, input[_SOAAI]],
|
|
496
|
+
});
|
|
497
|
+
let body;
|
|
498
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
499
|
+
DependencyConfig: (_) => smithyClient._json(_),
|
|
500
|
+
KeyAttributes: (_) => smithyClient._json(_),
|
|
501
|
+
MetricSourceTypes: (_) => smithyClient._json(_),
|
|
502
|
+
}));
|
|
503
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
504
|
+
return b.build();
|
|
1783
505
|
};
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
506
|
+
const se_ListServiceOperationsCommand = async (input, context) => {
|
|
507
|
+
const b = core.requestBuilder(input, context);
|
|
508
|
+
const headers = {
|
|
509
|
+
"content-type": "application/json",
|
|
510
|
+
};
|
|
511
|
+
b.bp("/service-operations");
|
|
512
|
+
const query = smithyClient.map({
|
|
513
|
+
[_ST]: [smithyClient.expectNonNull(input.StartTime, `StartTime`) != null, () => smithyClient.serializeDateTime(input[_ST]).toString()],
|
|
514
|
+
[_ET]: [smithyClient.expectNonNull(input.EndTime, `EndTime`) != null, () => smithyClient.serializeDateTime(input[_ET]).toString()],
|
|
515
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
516
|
+
[_NT]: [, input[_NT]],
|
|
517
|
+
});
|
|
518
|
+
let body;
|
|
519
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
520
|
+
KeyAttributes: (_) => smithyClient._json(_),
|
|
521
|
+
}));
|
|
522
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
523
|
+
return b.build();
|
|
1798
524
|
};
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
525
|
+
const se_ListServicesCommand = async (input, context) => {
|
|
526
|
+
const b = core.requestBuilder(input, context);
|
|
527
|
+
const headers = {};
|
|
528
|
+
b.bp("/services");
|
|
529
|
+
const query = smithyClient.map({
|
|
530
|
+
[_ST]: [smithyClient.expectNonNull(input.StartTime, `StartTime`) != null, () => smithyClient.serializeDateTime(input[_ST]).toString()],
|
|
531
|
+
[_ET]: [smithyClient.expectNonNull(input.EndTime, `EndTime`) != null, () => smithyClient.serializeDateTime(input[_ET]).toString()],
|
|
532
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
533
|
+
[_NT]: [, input[_NT]],
|
|
534
|
+
[_ILA]: [() => input.IncludeLinkedAccounts !== void 0, () => input[_ILA].toString()],
|
|
535
|
+
[_AAI]: [, input[_AAI]],
|
|
536
|
+
});
|
|
537
|
+
let body;
|
|
538
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
539
|
+
return b.build();
|
|
1813
540
|
};
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
541
|
+
const se_ListServiceStatesCommand = async (input, context) => {
|
|
542
|
+
const b = core.requestBuilder(input, context);
|
|
543
|
+
const headers = {
|
|
544
|
+
"content-type": "application/json",
|
|
545
|
+
};
|
|
546
|
+
b.bp("/service/states");
|
|
547
|
+
let body;
|
|
548
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
549
|
+
AttributeFilters: (_) => smithyClient._json(_),
|
|
550
|
+
AwsAccountId: [],
|
|
551
|
+
EndTime: (_) => _.getTime() / 1_000,
|
|
552
|
+
IncludeLinkedAccounts: [],
|
|
553
|
+
MaxResults: [],
|
|
554
|
+
NextToken: [],
|
|
555
|
+
StartTime: (_) => _.getTime() / 1_000,
|
|
556
|
+
}));
|
|
557
|
+
b.m("POST").h(headers).b(body);
|
|
558
|
+
return b.build();
|
|
1828
559
|
};
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
(
|
|
1838
|
-
|
|
1839
|
-
}).s("ApplicationSignals", "UntagResource", {}).n("ApplicationSignalsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1840
|
-
static {
|
|
1841
|
-
__name(this, "UntagResourceCommand");
|
|
1842
|
-
}
|
|
560
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
561
|
+
const b = core.requestBuilder(input, context);
|
|
562
|
+
const headers = {};
|
|
563
|
+
b.bp("/tags");
|
|
564
|
+
const query = smithyClient.map({
|
|
565
|
+
[_RA]: [, smithyClient.expectNonNull(input[_RA], `ResourceArn`)],
|
|
566
|
+
});
|
|
567
|
+
let body;
|
|
568
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
569
|
+
return b.build();
|
|
1843
570
|
};
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
__name(this, "UpdateServiceLevelObjectiveCommand");
|
|
1857
|
-
}
|
|
571
|
+
const se_PutGroupingConfigurationCommand = async (input, context) => {
|
|
572
|
+
const b = core.requestBuilder(input, context);
|
|
573
|
+
const headers = {
|
|
574
|
+
"content-type": "application/json",
|
|
575
|
+
};
|
|
576
|
+
b.bp("/grouping-configuration");
|
|
577
|
+
let body;
|
|
578
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
579
|
+
GroupingAttributeDefinitions: (_) => smithyClient._json(_),
|
|
580
|
+
}));
|
|
581
|
+
b.m("PUT").h(headers).b(body);
|
|
582
|
+
return b.build();
|
|
1858
583
|
};
|
|
584
|
+
const se_StartDiscoveryCommand = async (input, context) => {
|
|
585
|
+
const b = core.requestBuilder(input, context);
|
|
586
|
+
const headers = {};
|
|
587
|
+
b.bp("/start-discovery");
|
|
588
|
+
let body;
|
|
589
|
+
b.m("POST").h(headers).b(body);
|
|
590
|
+
return b.build();
|
|
591
|
+
};
|
|
592
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
593
|
+
const b = core.requestBuilder(input, context);
|
|
594
|
+
const headers = {
|
|
595
|
+
"content-type": "application/json",
|
|
596
|
+
};
|
|
597
|
+
b.bp("/tag-resource");
|
|
598
|
+
let body;
|
|
599
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
600
|
+
ResourceArn: [],
|
|
601
|
+
Tags: (_) => smithyClient._json(_),
|
|
602
|
+
}));
|
|
603
|
+
b.m("POST").h(headers).b(body);
|
|
604
|
+
return b.build();
|
|
605
|
+
};
|
|
606
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
607
|
+
const b = core.requestBuilder(input, context);
|
|
608
|
+
const headers = {
|
|
609
|
+
"content-type": "application/json",
|
|
610
|
+
};
|
|
611
|
+
b.bp("/untag-resource");
|
|
612
|
+
let body;
|
|
613
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
614
|
+
ResourceArn: [],
|
|
615
|
+
TagKeys: (_) => smithyClient._json(_),
|
|
616
|
+
}));
|
|
617
|
+
b.m("POST").h(headers).b(body);
|
|
618
|
+
return b.build();
|
|
619
|
+
};
|
|
620
|
+
const se_UpdateServiceLevelObjectiveCommand = async (input, context) => {
|
|
621
|
+
const b = core.requestBuilder(input, context);
|
|
622
|
+
const headers = {
|
|
623
|
+
"content-type": "application/json",
|
|
624
|
+
};
|
|
625
|
+
b.bp("/slo/{Id}");
|
|
626
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
627
|
+
let body;
|
|
628
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
629
|
+
BurnRateConfigurations: (_) => smithyClient._json(_),
|
|
630
|
+
Description: [],
|
|
631
|
+
Goal: (_) => se_Goal(_),
|
|
632
|
+
RequestBasedSliConfig: (_) => se_RequestBasedServiceLevelIndicatorConfig(_),
|
|
633
|
+
SliConfig: (_) => se_ServiceLevelIndicatorConfig(_),
|
|
634
|
+
}));
|
|
635
|
+
b.m("PATCH").h(headers).b(body);
|
|
636
|
+
return b.build();
|
|
637
|
+
};
|
|
638
|
+
const de_BatchGetServiceLevelObjectiveBudgetReportCommand = async (output, context) => {
|
|
639
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
640
|
+
return de_CommandError(output, context);
|
|
641
|
+
}
|
|
642
|
+
const contents = smithyClient.map({
|
|
643
|
+
$metadata: deserializeMetadata(output),
|
|
644
|
+
});
|
|
645
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
646
|
+
const doc = smithyClient.take(data, {
|
|
647
|
+
Errors: smithyClient._json,
|
|
648
|
+
Reports: (_) => de_ServiceLevelObjectiveBudgetReports(_),
|
|
649
|
+
Timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
650
|
+
});
|
|
651
|
+
Object.assign(contents, doc);
|
|
652
|
+
return contents;
|
|
653
|
+
};
|
|
654
|
+
const de_BatchUpdateExclusionWindowsCommand = async (output, context) => {
|
|
655
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
656
|
+
return de_CommandError(output, context);
|
|
657
|
+
}
|
|
658
|
+
const contents = smithyClient.map({
|
|
659
|
+
$metadata: deserializeMetadata(output),
|
|
660
|
+
});
|
|
661
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
662
|
+
const doc = smithyClient.take(data, {
|
|
663
|
+
Errors: smithyClient._json,
|
|
664
|
+
SloIds: smithyClient._json,
|
|
665
|
+
});
|
|
666
|
+
Object.assign(contents, doc);
|
|
667
|
+
return contents;
|
|
668
|
+
};
|
|
669
|
+
const de_CreateServiceLevelObjectiveCommand = async (output, context) => {
|
|
670
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
671
|
+
return de_CommandError(output, context);
|
|
672
|
+
}
|
|
673
|
+
const contents = smithyClient.map({
|
|
674
|
+
$metadata: deserializeMetadata(output),
|
|
675
|
+
});
|
|
676
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
677
|
+
const doc = smithyClient.take(data, {
|
|
678
|
+
Slo: (_) => de_ServiceLevelObjective(_),
|
|
679
|
+
});
|
|
680
|
+
Object.assign(contents, doc);
|
|
681
|
+
return contents;
|
|
682
|
+
};
|
|
683
|
+
const de_DeleteGroupingConfigurationCommand = async (output, context) => {
|
|
684
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
685
|
+
return de_CommandError(output, context);
|
|
686
|
+
}
|
|
687
|
+
const contents = smithyClient.map({
|
|
688
|
+
$metadata: deserializeMetadata(output),
|
|
689
|
+
});
|
|
690
|
+
await smithyClient.collectBody(output.body, context);
|
|
691
|
+
return contents;
|
|
692
|
+
};
|
|
693
|
+
const de_DeleteServiceLevelObjectiveCommand = async (output, context) => {
|
|
694
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
695
|
+
return de_CommandError(output, context);
|
|
696
|
+
}
|
|
697
|
+
const contents = smithyClient.map({
|
|
698
|
+
$metadata: deserializeMetadata(output),
|
|
699
|
+
});
|
|
700
|
+
await smithyClient.collectBody(output.body, context);
|
|
701
|
+
return contents;
|
|
702
|
+
};
|
|
703
|
+
const de_GetServiceCommand = async (output, context) => {
|
|
704
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
705
|
+
return de_CommandError(output, context);
|
|
706
|
+
}
|
|
707
|
+
const contents = smithyClient.map({
|
|
708
|
+
$metadata: deserializeMetadata(output),
|
|
709
|
+
});
|
|
710
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
711
|
+
const doc = smithyClient.take(data, {
|
|
712
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
713
|
+
LogGroupReferences: smithyClient._json,
|
|
714
|
+
Service: smithyClient._json,
|
|
715
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
716
|
+
});
|
|
717
|
+
Object.assign(contents, doc);
|
|
718
|
+
return contents;
|
|
719
|
+
};
|
|
720
|
+
const de_GetServiceLevelObjectiveCommand = async (output, context) => {
|
|
721
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
722
|
+
return de_CommandError(output, context);
|
|
723
|
+
}
|
|
724
|
+
const contents = smithyClient.map({
|
|
725
|
+
$metadata: deserializeMetadata(output),
|
|
726
|
+
});
|
|
727
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
728
|
+
const doc = smithyClient.take(data, {
|
|
729
|
+
Slo: (_) => de_ServiceLevelObjective(_),
|
|
730
|
+
});
|
|
731
|
+
Object.assign(contents, doc);
|
|
732
|
+
return contents;
|
|
733
|
+
};
|
|
734
|
+
const de_ListAuditFindingsCommand = async (output, context) => {
|
|
735
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
736
|
+
return de_CommandError(output, context);
|
|
737
|
+
}
|
|
738
|
+
const contents = smithyClient.map({
|
|
739
|
+
$metadata: deserializeMetadata(output),
|
|
740
|
+
});
|
|
741
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
742
|
+
const doc = smithyClient.take(data, {
|
|
743
|
+
AuditFindings: (_) => de_AuditFindings(_),
|
|
744
|
+
NextToken: smithyClient.expectString,
|
|
745
|
+
});
|
|
746
|
+
Object.assign(contents, doc);
|
|
747
|
+
return contents;
|
|
748
|
+
};
|
|
749
|
+
const de_ListGroupingAttributeDefinitionsCommand = async (output, context) => {
|
|
750
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
751
|
+
return de_CommandError(output, context);
|
|
752
|
+
}
|
|
753
|
+
const contents = smithyClient.map({
|
|
754
|
+
$metadata: deserializeMetadata(output),
|
|
755
|
+
});
|
|
756
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
757
|
+
const doc = smithyClient.take(data, {
|
|
758
|
+
GroupingAttributeDefinitions: smithyClient._json,
|
|
759
|
+
NextToken: smithyClient.expectString,
|
|
760
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
761
|
+
});
|
|
762
|
+
Object.assign(contents, doc);
|
|
763
|
+
return contents;
|
|
764
|
+
};
|
|
765
|
+
const de_ListServiceDependenciesCommand = async (output, context) => {
|
|
766
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
767
|
+
return de_CommandError(output, context);
|
|
768
|
+
}
|
|
769
|
+
const contents = smithyClient.map({
|
|
770
|
+
$metadata: deserializeMetadata(output),
|
|
771
|
+
});
|
|
772
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
773
|
+
const doc = smithyClient.take(data, {
|
|
774
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
775
|
+
NextToken: smithyClient.expectString,
|
|
776
|
+
ServiceDependencies: smithyClient._json,
|
|
777
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
778
|
+
});
|
|
779
|
+
Object.assign(contents, doc);
|
|
780
|
+
return contents;
|
|
781
|
+
};
|
|
782
|
+
const de_ListServiceDependentsCommand = async (output, context) => {
|
|
783
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
784
|
+
return de_CommandError(output, context);
|
|
785
|
+
}
|
|
786
|
+
const contents = smithyClient.map({
|
|
787
|
+
$metadata: deserializeMetadata(output),
|
|
788
|
+
});
|
|
789
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
790
|
+
const doc = smithyClient.take(data, {
|
|
791
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
792
|
+
NextToken: smithyClient.expectString,
|
|
793
|
+
ServiceDependents: smithyClient._json,
|
|
794
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
795
|
+
});
|
|
796
|
+
Object.assign(contents, doc);
|
|
797
|
+
return contents;
|
|
798
|
+
};
|
|
799
|
+
const de_ListServiceLevelObjectiveExclusionWindowsCommand = async (output, context) => {
|
|
800
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
801
|
+
return de_CommandError(output, context);
|
|
802
|
+
}
|
|
803
|
+
const contents = smithyClient.map({
|
|
804
|
+
$metadata: deserializeMetadata(output),
|
|
805
|
+
});
|
|
806
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
807
|
+
const doc = smithyClient.take(data, {
|
|
808
|
+
ExclusionWindows: (_) => de_ExclusionWindows(_),
|
|
809
|
+
NextToken: smithyClient.expectString,
|
|
810
|
+
});
|
|
811
|
+
Object.assign(contents, doc);
|
|
812
|
+
return contents;
|
|
813
|
+
};
|
|
814
|
+
const de_ListServiceLevelObjectivesCommand = async (output, context) => {
|
|
815
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
816
|
+
return de_CommandError(output, context);
|
|
817
|
+
}
|
|
818
|
+
const contents = smithyClient.map({
|
|
819
|
+
$metadata: deserializeMetadata(output),
|
|
820
|
+
});
|
|
821
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
822
|
+
const doc = smithyClient.take(data, {
|
|
823
|
+
NextToken: smithyClient.expectString,
|
|
824
|
+
SloSummaries: (_) => de_ServiceLevelObjectiveSummaries(_),
|
|
825
|
+
});
|
|
826
|
+
Object.assign(contents, doc);
|
|
827
|
+
return contents;
|
|
828
|
+
};
|
|
829
|
+
const de_ListServiceOperationsCommand = async (output, context) => {
|
|
830
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
831
|
+
return de_CommandError(output, context);
|
|
832
|
+
}
|
|
833
|
+
const contents = smithyClient.map({
|
|
834
|
+
$metadata: deserializeMetadata(output),
|
|
835
|
+
});
|
|
836
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
837
|
+
const doc = smithyClient.take(data, {
|
|
838
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
839
|
+
NextToken: smithyClient.expectString,
|
|
840
|
+
ServiceOperations: smithyClient._json,
|
|
841
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
842
|
+
});
|
|
843
|
+
Object.assign(contents, doc);
|
|
844
|
+
return contents;
|
|
845
|
+
};
|
|
846
|
+
const de_ListServicesCommand = async (output, context) => {
|
|
847
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
848
|
+
return de_CommandError(output, context);
|
|
849
|
+
}
|
|
850
|
+
const contents = smithyClient.map({
|
|
851
|
+
$metadata: deserializeMetadata(output),
|
|
852
|
+
});
|
|
853
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
854
|
+
const doc = smithyClient.take(data, {
|
|
855
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
856
|
+
NextToken: smithyClient.expectString,
|
|
857
|
+
ServiceSummaries: smithyClient._json,
|
|
858
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
859
|
+
});
|
|
860
|
+
Object.assign(contents, doc);
|
|
861
|
+
return contents;
|
|
862
|
+
};
|
|
863
|
+
const de_ListServiceStatesCommand = async (output, context) => {
|
|
864
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
865
|
+
return de_CommandError(output, context);
|
|
866
|
+
}
|
|
867
|
+
const contents = smithyClient.map({
|
|
868
|
+
$metadata: deserializeMetadata(output),
|
|
869
|
+
});
|
|
870
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
871
|
+
const doc = smithyClient.take(data, {
|
|
872
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
873
|
+
NextToken: smithyClient.expectString,
|
|
874
|
+
ServiceStates: (_) => de_ServiceStates(_),
|
|
875
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
876
|
+
});
|
|
877
|
+
Object.assign(contents, doc);
|
|
878
|
+
return contents;
|
|
879
|
+
};
|
|
880
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
881
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
882
|
+
return de_CommandError(output, context);
|
|
883
|
+
}
|
|
884
|
+
const contents = smithyClient.map({
|
|
885
|
+
$metadata: deserializeMetadata(output),
|
|
886
|
+
});
|
|
887
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
888
|
+
const doc = smithyClient.take(data, {
|
|
889
|
+
Tags: smithyClient._json,
|
|
890
|
+
});
|
|
891
|
+
Object.assign(contents, doc);
|
|
892
|
+
return contents;
|
|
893
|
+
};
|
|
894
|
+
const de_PutGroupingConfigurationCommand = async (output, context) => {
|
|
895
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
896
|
+
return de_CommandError(output, context);
|
|
897
|
+
}
|
|
898
|
+
const contents = smithyClient.map({
|
|
899
|
+
$metadata: deserializeMetadata(output),
|
|
900
|
+
});
|
|
901
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
902
|
+
const doc = smithyClient.take(data, {
|
|
903
|
+
GroupingConfiguration: (_) => de_GroupingConfiguration(_),
|
|
904
|
+
});
|
|
905
|
+
Object.assign(contents, doc);
|
|
906
|
+
return contents;
|
|
907
|
+
};
|
|
908
|
+
const de_StartDiscoveryCommand = async (output, context) => {
|
|
909
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
910
|
+
return de_CommandError(output, context);
|
|
911
|
+
}
|
|
912
|
+
const contents = smithyClient.map({
|
|
913
|
+
$metadata: deserializeMetadata(output),
|
|
914
|
+
});
|
|
915
|
+
await smithyClient.collectBody(output.body, context);
|
|
916
|
+
return contents;
|
|
917
|
+
};
|
|
918
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
919
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
920
|
+
return de_CommandError(output, context);
|
|
921
|
+
}
|
|
922
|
+
const contents = smithyClient.map({
|
|
923
|
+
$metadata: deserializeMetadata(output),
|
|
924
|
+
});
|
|
925
|
+
await smithyClient.collectBody(output.body, context);
|
|
926
|
+
return contents;
|
|
927
|
+
};
|
|
928
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
929
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
930
|
+
return de_CommandError(output, context);
|
|
931
|
+
}
|
|
932
|
+
const contents = smithyClient.map({
|
|
933
|
+
$metadata: deserializeMetadata(output),
|
|
934
|
+
});
|
|
935
|
+
await smithyClient.collectBody(output.body, context);
|
|
936
|
+
return contents;
|
|
937
|
+
};
|
|
938
|
+
const de_UpdateServiceLevelObjectiveCommand = async (output, context) => {
|
|
939
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
940
|
+
return de_CommandError(output, context);
|
|
941
|
+
}
|
|
942
|
+
const contents = smithyClient.map({
|
|
943
|
+
$metadata: deserializeMetadata(output),
|
|
944
|
+
});
|
|
945
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
946
|
+
const doc = smithyClient.take(data, {
|
|
947
|
+
Slo: (_) => de_ServiceLevelObjective(_),
|
|
948
|
+
});
|
|
949
|
+
Object.assign(contents, doc);
|
|
950
|
+
return contents;
|
|
951
|
+
};
|
|
952
|
+
const de_CommandError = async (output, context) => {
|
|
953
|
+
const parsedOutput = {
|
|
954
|
+
...output,
|
|
955
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
956
|
+
};
|
|
957
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
958
|
+
switch (errorCode) {
|
|
959
|
+
case "ThrottlingException":
|
|
960
|
+
case "com.amazonaws.applicationsignals#ThrottlingException":
|
|
961
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
962
|
+
case "ValidationException":
|
|
963
|
+
case "com.amazonaws.applicationsignals#ValidationException":
|
|
964
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
965
|
+
case "ResourceNotFoundException":
|
|
966
|
+
case "com.amazonaws.applicationsignals#ResourceNotFoundException":
|
|
967
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
968
|
+
case "AccessDeniedException":
|
|
969
|
+
case "com.amazonaws.applicationsignals#AccessDeniedException":
|
|
970
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
971
|
+
case "ConflictException":
|
|
972
|
+
case "com.amazonaws.applicationsignals#ConflictException":
|
|
973
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
974
|
+
case "ServiceQuotaExceededException":
|
|
975
|
+
case "com.amazonaws.applicationsignals#ServiceQuotaExceededException":
|
|
976
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
977
|
+
default:
|
|
978
|
+
const parsedBody = parsedOutput.body;
|
|
979
|
+
return throwDefaultError({
|
|
980
|
+
output,
|
|
981
|
+
parsedBody,
|
|
982
|
+
errorCode,
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
};
|
|
986
|
+
const throwDefaultError = smithyClient.withBaseException(ApplicationSignalsServiceException);
|
|
987
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
988
|
+
const contents = smithyClient.map({});
|
|
989
|
+
const data = parsedOutput.body;
|
|
990
|
+
const doc = smithyClient.take(data, {
|
|
991
|
+
Message: smithyClient.expectString,
|
|
992
|
+
});
|
|
993
|
+
Object.assign(contents, doc);
|
|
994
|
+
const exception = new AccessDeniedException({
|
|
995
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
996
|
+
...contents,
|
|
997
|
+
});
|
|
998
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
999
|
+
};
|
|
1000
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1001
|
+
const contents = smithyClient.map({});
|
|
1002
|
+
const data = parsedOutput.body;
|
|
1003
|
+
const doc = smithyClient.take(data, {
|
|
1004
|
+
Message: smithyClient.expectString,
|
|
1005
|
+
});
|
|
1006
|
+
Object.assign(contents, doc);
|
|
1007
|
+
const exception = new ConflictException({
|
|
1008
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1009
|
+
...contents,
|
|
1010
|
+
});
|
|
1011
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1012
|
+
};
|
|
1013
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1014
|
+
const contents = smithyClient.map({});
|
|
1015
|
+
const data = parsedOutput.body;
|
|
1016
|
+
const doc = smithyClient.take(data, {
|
|
1017
|
+
Message: smithyClient.expectString,
|
|
1018
|
+
ResourceId: smithyClient.expectString,
|
|
1019
|
+
ResourceType: smithyClient.expectString,
|
|
1020
|
+
});
|
|
1021
|
+
Object.assign(contents, doc);
|
|
1022
|
+
const exception = new ResourceNotFoundException({
|
|
1023
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1024
|
+
...contents,
|
|
1025
|
+
});
|
|
1026
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1027
|
+
};
|
|
1028
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1029
|
+
const contents = smithyClient.map({});
|
|
1030
|
+
const data = parsedOutput.body;
|
|
1031
|
+
const doc = smithyClient.take(data, {
|
|
1032
|
+
Message: smithyClient.expectString,
|
|
1033
|
+
});
|
|
1034
|
+
Object.assign(contents, doc);
|
|
1035
|
+
const exception = new ServiceQuotaExceededException({
|
|
1036
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1037
|
+
...contents,
|
|
1038
|
+
});
|
|
1039
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1040
|
+
};
|
|
1041
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1042
|
+
const contents = smithyClient.map({});
|
|
1043
|
+
const data = parsedOutput.body;
|
|
1044
|
+
const doc = smithyClient.take(data, {
|
|
1045
|
+
Message: smithyClient.expectString,
|
|
1046
|
+
});
|
|
1047
|
+
Object.assign(contents, doc);
|
|
1048
|
+
const exception = new ThrottlingException({
|
|
1049
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1050
|
+
...contents,
|
|
1051
|
+
});
|
|
1052
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1053
|
+
};
|
|
1054
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1055
|
+
const contents = smithyClient.map({});
|
|
1056
|
+
const data = parsedOutput.body;
|
|
1057
|
+
const doc = smithyClient.take(data, {
|
|
1058
|
+
message: smithyClient.expectString,
|
|
1059
|
+
});
|
|
1060
|
+
Object.assign(contents, doc);
|
|
1061
|
+
const exception = new ValidationException({
|
|
1062
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1063
|
+
...contents,
|
|
1064
|
+
});
|
|
1065
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1066
|
+
};
|
|
1067
|
+
const se_CalendarInterval = (input, context) => {
|
|
1068
|
+
return smithyClient.take(input, {
|
|
1069
|
+
Duration: [],
|
|
1070
|
+
DurationUnit: [],
|
|
1071
|
+
StartTime: (_) => _.getTime() / 1_000,
|
|
1072
|
+
});
|
|
1073
|
+
};
|
|
1074
|
+
const se_ExclusionWindow = (input, context) => {
|
|
1075
|
+
return smithyClient.take(input, {
|
|
1076
|
+
Reason: [],
|
|
1077
|
+
RecurrenceRule: smithyClient._json,
|
|
1078
|
+
StartTime: (_) => _.getTime() / 1_000,
|
|
1079
|
+
Window: smithyClient._json,
|
|
1080
|
+
});
|
|
1081
|
+
};
|
|
1082
|
+
const se_ExclusionWindows = (input, context) => {
|
|
1083
|
+
return input
|
|
1084
|
+
.filter((e) => e != null)
|
|
1085
|
+
.map((entry) => {
|
|
1086
|
+
return se_ExclusionWindow(entry);
|
|
1087
|
+
});
|
|
1088
|
+
};
|
|
1089
|
+
const se_Goal = (input, context) => {
|
|
1090
|
+
return smithyClient.take(input, {
|
|
1091
|
+
AttainmentGoal: smithyClient.serializeFloat,
|
|
1092
|
+
Interval: (_) => se_Interval(_),
|
|
1093
|
+
WarningThreshold: smithyClient.serializeFloat,
|
|
1094
|
+
});
|
|
1095
|
+
};
|
|
1096
|
+
const se_Interval = (input, context) => {
|
|
1097
|
+
return exports.Interval.visit(input, {
|
|
1098
|
+
CalendarInterval: (value) => ({ CalendarInterval: se_CalendarInterval(value) }),
|
|
1099
|
+
RollingInterval: (value) => ({ RollingInterval: smithyClient._json(value) }),
|
|
1100
|
+
_: (name, value) => ({ [name]: value }),
|
|
1101
|
+
});
|
|
1102
|
+
};
|
|
1103
|
+
const se_RequestBasedServiceLevelIndicatorConfig = (input, context) => {
|
|
1104
|
+
return smithyClient.take(input, {
|
|
1105
|
+
ComparisonOperator: [],
|
|
1106
|
+
MetricThreshold: smithyClient.serializeFloat,
|
|
1107
|
+
RequestBasedSliMetricConfig: smithyClient._json,
|
|
1108
|
+
});
|
|
1109
|
+
};
|
|
1110
|
+
const se_ServiceLevelIndicatorConfig = (input, context) => {
|
|
1111
|
+
return smithyClient.take(input, {
|
|
1112
|
+
ComparisonOperator: [],
|
|
1113
|
+
MetricThreshold: smithyClient.serializeFloat,
|
|
1114
|
+
SliMetricConfig: smithyClient._json,
|
|
1115
|
+
});
|
|
1116
|
+
};
|
|
1117
|
+
const de_AuditFinding = (output, context) => {
|
|
1118
|
+
return smithyClient.take(output, {
|
|
1119
|
+
AuditorResults: smithyClient._json,
|
|
1120
|
+
DependencyGraph: (_) => de_DependencyGraph(_),
|
|
1121
|
+
KeyAttributes: smithyClient._json,
|
|
1122
|
+
MetricGraph: (_) => de_MetricGraph(_),
|
|
1123
|
+
Operation: smithyClient.expectString,
|
|
1124
|
+
Type: smithyClient.expectString,
|
|
1125
|
+
});
|
|
1126
|
+
};
|
|
1127
|
+
const de_AuditFindings = (output, context) => {
|
|
1128
|
+
const retVal = (output || [])
|
|
1129
|
+
.filter((e) => e != null)
|
|
1130
|
+
.map((entry) => {
|
|
1131
|
+
return de_AuditFinding(entry);
|
|
1132
|
+
});
|
|
1133
|
+
return retVal;
|
|
1134
|
+
};
|
|
1135
|
+
const de_CalendarInterval = (output, context) => {
|
|
1136
|
+
return smithyClient.take(output, {
|
|
1137
|
+
Duration: smithyClient.expectInt32,
|
|
1138
|
+
DurationUnit: smithyClient.expectString,
|
|
1139
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1140
|
+
});
|
|
1141
|
+
};
|
|
1142
|
+
const de_ChangeEvent = (output, context) => {
|
|
1143
|
+
return smithyClient.take(output, {
|
|
1144
|
+
AccountId: smithyClient.expectString,
|
|
1145
|
+
ChangeEventType: smithyClient.expectString,
|
|
1146
|
+
Entity: smithyClient._json,
|
|
1147
|
+
EventId: smithyClient.expectString,
|
|
1148
|
+
EventName: smithyClient.expectString,
|
|
1149
|
+
Region: smithyClient.expectString,
|
|
1150
|
+
Timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1151
|
+
UserName: smithyClient.expectString,
|
|
1152
|
+
});
|
|
1153
|
+
};
|
|
1154
|
+
const de_DependencyGraph = (output, context) => {
|
|
1155
|
+
return smithyClient.take(output, {
|
|
1156
|
+
Edges: (_) => de_Edges(_),
|
|
1157
|
+
Nodes: (_) => de_Nodes(_),
|
|
1158
|
+
});
|
|
1159
|
+
};
|
|
1160
|
+
const de_Edge = (output, context) => {
|
|
1161
|
+
return smithyClient.take(output, {
|
|
1162
|
+
ConnectionType: smithyClient.expectString,
|
|
1163
|
+
DestinationNodeId: smithyClient.expectString,
|
|
1164
|
+
Duration: smithyClient.limitedParseDouble,
|
|
1165
|
+
SourceNodeId: smithyClient.expectString,
|
|
1166
|
+
});
|
|
1167
|
+
};
|
|
1168
|
+
const de_Edges = (output, context) => {
|
|
1169
|
+
const retVal = (output || [])
|
|
1170
|
+
.filter((e) => e != null)
|
|
1171
|
+
.map((entry) => {
|
|
1172
|
+
return de_Edge(entry);
|
|
1173
|
+
});
|
|
1174
|
+
return retVal;
|
|
1175
|
+
};
|
|
1176
|
+
const de_ExclusionWindow = (output, context) => {
|
|
1177
|
+
return smithyClient.take(output, {
|
|
1178
|
+
Reason: smithyClient.expectString,
|
|
1179
|
+
RecurrenceRule: smithyClient._json,
|
|
1180
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1181
|
+
Window: smithyClient._json,
|
|
1182
|
+
});
|
|
1183
|
+
};
|
|
1184
|
+
const de_ExclusionWindows = (output, context) => {
|
|
1185
|
+
const retVal = (output || [])
|
|
1186
|
+
.filter((e) => e != null)
|
|
1187
|
+
.map((entry) => {
|
|
1188
|
+
return de_ExclusionWindow(entry);
|
|
1189
|
+
});
|
|
1190
|
+
return retVal;
|
|
1191
|
+
};
|
|
1192
|
+
const de_Goal = (output, context) => {
|
|
1193
|
+
return smithyClient.take(output, {
|
|
1194
|
+
AttainmentGoal: smithyClient.limitedParseDouble,
|
|
1195
|
+
Interval: (_) => de_Interval(core$1.awsExpectUnion(_)),
|
|
1196
|
+
WarningThreshold: smithyClient.limitedParseDouble,
|
|
1197
|
+
});
|
|
1198
|
+
};
|
|
1199
|
+
const de_GroupingConfiguration = (output, context) => {
|
|
1200
|
+
return smithyClient.take(output, {
|
|
1201
|
+
GroupingAttributeDefinitions: smithyClient._json,
|
|
1202
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1203
|
+
});
|
|
1204
|
+
};
|
|
1205
|
+
const de_Interval = (output, context) => {
|
|
1206
|
+
if (output.CalendarInterval != null) {
|
|
1207
|
+
return {
|
|
1208
|
+
CalendarInterval: de_CalendarInterval(output.CalendarInterval),
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
if (output.RollingInterval != null) {
|
|
1212
|
+
return {
|
|
1213
|
+
RollingInterval: smithyClient._json(output.RollingInterval),
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
return { $unknown: Object.entries(output)[0] };
|
|
1217
|
+
};
|
|
1218
|
+
const de_LatestChangeEvents = (output, context) => {
|
|
1219
|
+
const retVal = (output || [])
|
|
1220
|
+
.filter((e) => e != null)
|
|
1221
|
+
.map((entry) => {
|
|
1222
|
+
return de_ChangeEvent(entry);
|
|
1223
|
+
});
|
|
1224
|
+
return retVal;
|
|
1225
|
+
};
|
|
1226
|
+
const de_MetricGraph = (output, context) => {
|
|
1227
|
+
return smithyClient.take(output, {
|
|
1228
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1229
|
+
MetricDataQueries: smithyClient._json,
|
|
1230
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1231
|
+
});
|
|
1232
|
+
};
|
|
1233
|
+
const de_Node = (output, context) => {
|
|
1234
|
+
return smithyClient.take(output, {
|
|
1235
|
+
Duration: smithyClient.limitedParseDouble,
|
|
1236
|
+
KeyAttributes: smithyClient._json,
|
|
1237
|
+
Name: smithyClient.expectString,
|
|
1238
|
+
NodeId: smithyClient.expectString,
|
|
1239
|
+
Operation: smithyClient.expectString,
|
|
1240
|
+
Status: smithyClient.expectString,
|
|
1241
|
+
Type: smithyClient.expectString,
|
|
1242
|
+
});
|
|
1243
|
+
};
|
|
1244
|
+
const de_Nodes = (output, context) => {
|
|
1245
|
+
const retVal = (output || [])
|
|
1246
|
+
.filter((e) => e != null)
|
|
1247
|
+
.map((entry) => {
|
|
1248
|
+
return de_Node(entry);
|
|
1249
|
+
});
|
|
1250
|
+
return retVal;
|
|
1251
|
+
};
|
|
1252
|
+
const de_RequestBasedServiceLevelIndicator = (output, context) => {
|
|
1253
|
+
return smithyClient.take(output, {
|
|
1254
|
+
ComparisonOperator: smithyClient.expectString,
|
|
1255
|
+
MetricThreshold: smithyClient.limitedParseDouble,
|
|
1256
|
+
RequestBasedSliMetric: smithyClient._json,
|
|
1257
|
+
});
|
|
1258
|
+
};
|
|
1259
|
+
const de_ServiceLevelIndicator = (output, context) => {
|
|
1260
|
+
return smithyClient.take(output, {
|
|
1261
|
+
ComparisonOperator: smithyClient.expectString,
|
|
1262
|
+
MetricThreshold: smithyClient.limitedParseDouble,
|
|
1263
|
+
SliMetric: smithyClient._json,
|
|
1264
|
+
});
|
|
1265
|
+
};
|
|
1266
|
+
const de_ServiceLevelObjective = (output, context) => {
|
|
1267
|
+
return smithyClient.take(output, {
|
|
1268
|
+
Arn: smithyClient.expectString,
|
|
1269
|
+
BurnRateConfigurations: smithyClient._json,
|
|
1270
|
+
CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1271
|
+
Description: smithyClient.expectString,
|
|
1272
|
+
EvaluationType: smithyClient.expectString,
|
|
1273
|
+
Goal: (_) => de_Goal(_),
|
|
1274
|
+
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1275
|
+
MetricSourceType: smithyClient.expectString,
|
|
1276
|
+
Name: smithyClient.expectString,
|
|
1277
|
+
RequestBasedSli: (_) => de_RequestBasedServiceLevelIndicator(_),
|
|
1278
|
+
Sli: (_) => de_ServiceLevelIndicator(_),
|
|
1279
|
+
});
|
|
1280
|
+
};
|
|
1281
|
+
const de_ServiceLevelObjectiveBudgetReport = (output, context) => {
|
|
1282
|
+
return smithyClient.take(output, {
|
|
1283
|
+
Arn: smithyClient.expectString,
|
|
1284
|
+
Attainment: smithyClient.limitedParseDouble,
|
|
1285
|
+
BudgetRequestsRemaining: smithyClient.expectInt32,
|
|
1286
|
+
BudgetSecondsRemaining: smithyClient.expectInt32,
|
|
1287
|
+
BudgetStatus: smithyClient.expectString,
|
|
1288
|
+
EvaluationType: smithyClient.expectString,
|
|
1289
|
+
Goal: (_) => de_Goal(_),
|
|
1290
|
+
Name: smithyClient.expectString,
|
|
1291
|
+
RequestBasedSli: (_) => de_RequestBasedServiceLevelIndicator(_),
|
|
1292
|
+
Sli: (_) => de_ServiceLevelIndicator(_),
|
|
1293
|
+
TotalBudgetRequests: smithyClient.expectInt32,
|
|
1294
|
+
TotalBudgetSeconds: smithyClient.expectInt32,
|
|
1295
|
+
});
|
|
1296
|
+
};
|
|
1297
|
+
const de_ServiceLevelObjectiveBudgetReports = (output, context) => {
|
|
1298
|
+
const retVal = (output || [])
|
|
1299
|
+
.filter((e) => e != null)
|
|
1300
|
+
.map((entry) => {
|
|
1301
|
+
return de_ServiceLevelObjectiveBudgetReport(entry);
|
|
1302
|
+
});
|
|
1303
|
+
return retVal;
|
|
1304
|
+
};
|
|
1305
|
+
const de_ServiceLevelObjectiveSummaries = (output, context) => {
|
|
1306
|
+
const retVal = (output || [])
|
|
1307
|
+
.filter((e) => e != null)
|
|
1308
|
+
.map((entry) => {
|
|
1309
|
+
return de_ServiceLevelObjectiveSummary(entry);
|
|
1310
|
+
});
|
|
1311
|
+
return retVal;
|
|
1312
|
+
};
|
|
1313
|
+
const de_ServiceLevelObjectiveSummary = (output, context) => {
|
|
1314
|
+
return smithyClient.take(output, {
|
|
1315
|
+
Arn: smithyClient.expectString,
|
|
1316
|
+
CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1317
|
+
DependencyConfig: smithyClient._json,
|
|
1318
|
+
EvaluationType: smithyClient.expectString,
|
|
1319
|
+
KeyAttributes: smithyClient._json,
|
|
1320
|
+
MetricSourceType: smithyClient.expectString,
|
|
1321
|
+
Name: smithyClient.expectString,
|
|
1322
|
+
OperationName: smithyClient.expectString,
|
|
1323
|
+
});
|
|
1324
|
+
};
|
|
1325
|
+
const de_ServiceState = (output, context) => {
|
|
1326
|
+
return smithyClient.take(output, {
|
|
1327
|
+
AttributeFilters: smithyClient._json,
|
|
1328
|
+
LatestChangeEvents: (_) => de_LatestChangeEvents(_),
|
|
1329
|
+
Service: smithyClient._json,
|
|
1330
|
+
});
|
|
1331
|
+
};
|
|
1332
|
+
const de_ServiceStates = (output, context) => {
|
|
1333
|
+
const retVal = (output || [])
|
|
1334
|
+
.filter((e) => e != null)
|
|
1335
|
+
.map((entry) => {
|
|
1336
|
+
return de_ServiceState(entry);
|
|
1337
|
+
});
|
|
1338
|
+
return retVal;
|
|
1339
|
+
};
|
|
1340
|
+
const deserializeMetadata = (output) => ({
|
|
1341
|
+
httpStatusCode: output.statusCode,
|
|
1342
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1343
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1344
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1345
|
+
});
|
|
1346
|
+
const _AAI = "AwsAccountId";
|
|
1347
|
+
const _ET = "EndTime";
|
|
1348
|
+
const _ILA = "IncludeLinkedAccounts";
|
|
1349
|
+
const _MR = "MaxResults";
|
|
1350
|
+
const _NT = "NextToken";
|
|
1351
|
+
const _ON = "OperationName";
|
|
1352
|
+
const _RA = "ResourceArn";
|
|
1353
|
+
const _SOAAI = "SloOwnerAwsAccountId";
|
|
1354
|
+
const _ST = "StartTime";
|
|
1355
|
+
|
|
1356
|
+
class BatchGetServiceLevelObjectiveBudgetReportCommand extends smithyClient.Command
|
|
1357
|
+
.classBuilder()
|
|
1358
|
+
.ep(commonParams)
|
|
1359
|
+
.m(function (Command, cs, config, o) {
|
|
1360
|
+
return [
|
|
1361
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1362
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1363
|
+
];
|
|
1364
|
+
})
|
|
1365
|
+
.s("ApplicationSignals", "BatchGetServiceLevelObjectiveBudgetReport", {})
|
|
1366
|
+
.n("ApplicationSignalsClient", "BatchGetServiceLevelObjectiveBudgetReportCommand")
|
|
1367
|
+
.f(void 0, void 0)
|
|
1368
|
+
.ser(se_BatchGetServiceLevelObjectiveBudgetReportCommand)
|
|
1369
|
+
.de(de_BatchGetServiceLevelObjectiveBudgetReportCommand)
|
|
1370
|
+
.build() {
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
class BatchUpdateExclusionWindowsCommand extends smithyClient.Command
|
|
1374
|
+
.classBuilder()
|
|
1375
|
+
.ep(commonParams)
|
|
1376
|
+
.m(function (Command, cs, config, o) {
|
|
1377
|
+
return [
|
|
1378
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1379
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1380
|
+
];
|
|
1381
|
+
})
|
|
1382
|
+
.s("ApplicationSignals", "BatchUpdateExclusionWindows", {})
|
|
1383
|
+
.n("ApplicationSignalsClient", "BatchUpdateExclusionWindowsCommand")
|
|
1384
|
+
.f(void 0, void 0)
|
|
1385
|
+
.ser(se_BatchUpdateExclusionWindowsCommand)
|
|
1386
|
+
.de(de_BatchUpdateExclusionWindowsCommand)
|
|
1387
|
+
.build() {
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
class CreateServiceLevelObjectiveCommand extends smithyClient.Command
|
|
1391
|
+
.classBuilder()
|
|
1392
|
+
.ep(commonParams)
|
|
1393
|
+
.m(function (Command, cs, config, o) {
|
|
1394
|
+
return [
|
|
1395
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1396
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1397
|
+
];
|
|
1398
|
+
})
|
|
1399
|
+
.s("ApplicationSignals", "CreateServiceLevelObjective", {})
|
|
1400
|
+
.n("ApplicationSignalsClient", "CreateServiceLevelObjectiveCommand")
|
|
1401
|
+
.f(void 0, void 0)
|
|
1402
|
+
.ser(se_CreateServiceLevelObjectiveCommand)
|
|
1403
|
+
.de(de_CreateServiceLevelObjectiveCommand)
|
|
1404
|
+
.build() {
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
class DeleteGroupingConfigurationCommand extends smithyClient.Command
|
|
1408
|
+
.classBuilder()
|
|
1409
|
+
.ep(commonParams)
|
|
1410
|
+
.m(function (Command, cs, config, o) {
|
|
1411
|
+
return [
|
|
1412
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1413
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1414
|
+
];
|
|
1415
|
+
})
|
|
1416
|
+
.s("ApplicationSignals", "DeleteGroupingConfiguration", {})
|
|
1417
|
+
.n("ApplicationSignalsClient", "DeleteGroupingConfigurationCommand")
|
|
1418
|
+
.f(void 0, void 0)
|
|
1419
|
+
.ser(se_DeleteGroupingConfigurationCommand)
|
|
1420
|
+
.de(de_DeleteGroupingConfigurationCommand)
|
|
1421
|
+
.build() {
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
class DeleteServiceLevelObjectiveCommand extends smithyClient.Command
|
|
1425
|
+
.classBuilder()
|
|
1426
|
+
.ep(commonParams)
|
|
1427
|
+
.m(function (Command, cs, config, o) {
|
|
1428
|
+
return [
|
|
1429
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1430
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1431
|
+
];
|
|
1432
|
+
})
|
|
1433
|
+
.s("ApplicationSignals", "DeleteServiceLevelObjective", {})
|
|
1434
|
+
.n("ApplicationSignalsClient", "DeleteServiceLevelObjectiveCommand")
|
|
1435
|
+
.f(void 0, void 0)
|
|
1436
|
+
.ser(se_DeleteServiceLevelObjectiveCommand)
|
|
1437
|
+
.de(de_DeleteServiceLevelObjectiveCommand)
|
|
1438
|
+
.build() {
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
class GetServiceCommand extends smithyClient.Command
|
|
1442
|
+
.classBuilder()
|
|
1443
|
+
.ep(commonParams)
|
|
1444
|
+
.m(function (Command, cs, config, o) {
|
|
1445
|
+
return [
|
|
1446
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1447
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1448
|
+
];
|
|
1449
|
+
})
|
|
1450
|
+
.s("ApplicationSignals", "GetService", {})
|
|
1451
|
+
.n("ApplicationSignalsClient", "GetServiceCommand")
|
|
1452
|
+
.f(void 0, void 0)
|
|
1453
|
+
.ser(se_GetServiceCommand)
|
|
1454
|
+
.de(de_GetServiceCommand)
|
|
1455
|
+
.build() {
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
class GetServiceLevelObjectiveCommand extends smithyClient.Command
|
|
1459
|
+
.classBuilder()
|
|
1460
|
+
.ep(commonParams)
|
|
1461
|
+
.m(function (Command, cs, config, o) {
|
|
1462
|
+
return [
|
|
1463
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1464
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1465
|
+
];
|
|
1466
|
+
})
|
|
1467
|
+
.s("ApplicationSignals", "GetServiceLevelObjective", {})
|
|
1468
|
+
.n("ApplicationSignalsClient", "GetServiceLevelObjectiveCommand")
|
|
1469
|
+
.f(void 0, void 0)
|
|
1470
|
+
.ser(se_GetServiceLevelObjectiveCommand)
|
|
1471
|
+
.de(de_GetServiceLevelObjectiveCommand)
|
|
1472
|
+
.build() {
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
class ListAuditFindingsCommand extends smithyClient.Command
|
|
1476
|
+
.classBuilder()
|
|
1477
|
+
.ep(commonParams)
|
|
1478
|
+
.m(function (Command, cs, config, o) {
|
|
1479
|
+
return [
|
|
1480
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1481
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1482
|
+
];
|
|
1483
|
+
})
|
|
1484
|
+
.s("ApplicationSignals", "ListAuditFindings", {})
|
|
1485
|
+
.n("ApplicationSignalsClient", "ListAuditFindingsCommand")
|
|
1486
|
+
.f(void 0, void 0)
|
|
1487
|
+
.ser(se_ListAuditFindingsCommand)
|
|
1488
|
+
.de(de_ListAuditFindingsCommand)
|
|
1489
|
+
.build() {
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
class ListGroupingAttributeDefinitionsCommand extends smithyClient.Command
|
|
1493
|
+
.classBuilder()
|
|
1494
|
+
.ep(commonParams)
|
|
1495
|
+
.m(function (Command, cs, config, o) {
|
|
1496
|
+
return [
|
|
1497
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1498
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1499
|
+
];
|
|
1500
|
+
})
|
|
1501
|
+
.s("ApplicationSignals", "ListGroupingAttributeDefinitions", {})
|
|
1502
|
+
.n("ApplicationSignalsClient", "ListGroupingAttributeDefinitionsCommand")
|
|
1503
|
+
.f(void 0, void 0)
|
|
1504
|
+
.ser(se_ListGroupingAttributeDefinitionsCommand)
|
|
1505
|
+
.de(de_ListGroupingAttributeDefinitionsCommand)
|
|
1506
|
+
.build() {
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
class ListServiceDependenciesCommand extends smithyClient.Command
|
|
1510
|
+
.classBuilder()
|
|
1511
|
+
.ep(commonParams)
|
|
1512
|
+
.m(function (Command, cs, config, o) {
|
|
1513
|
+
return [
|
|
1514
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1515
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1516
|
+
];
|
|
1517
|
+
})
|
|
1518
|
+
.s("ApplicationSignals", "ListServiceDependencies", {})
|
|
1519
|
+
.n("ApplicationSignalsClient", "ListServiceDependenciesCommand")
|
|
1520
|
+
.f(void 0, void 0)
|
|
1521
|
+
.ser(se_ListServiceDependenciesCommand)
|
|
1522
|
+
.de(de_ListServiceDependenciesCommand)
|
|
1523
|
+
.build() {
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
class ListServiceDependentsCommand extends smithyClient.Command
|
|
1527
|
+
.classBuilder()
|
|
1528
|
+
.ep(commonParams)
|
|
1529
|
+
.m(function (Command, cs, config, o) {
|
|
1530
|
+
return [
|
|
1531
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1532
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1533
|
+
];
|
|
1534
|
+
})
|
|
1535
|
+
.s("ApplicationSignals", "ListServiceDependents", {})
|
|
1536
|
+
.n("ApplicationSignalsClient", "ListServiceDependentsCommand")
|
|
1537
|
+
.f(void 0, void 0)
|
|
1538
|
+
.ser(se_ListServiceDependentsCommand)
|
|
1539
|
+
.de(de_ListServiceDependentsCommand)
|
|
1540
|
+
.build() {
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
class ListServiceLevelObjectiveExclusionWindowsCommand extends smithyClient.Command
|
|
1544
|
+
.classBuilder()
|
|
1545
|
+
.ep(commonParams)
|
|
1546
|
+
.m(function (Command, cs, config, o) {
|
|
1547
|
+
return [
|
|
1548
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1549
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1550
|
+
];
|
|
1551
|
+
})
|
|
1552
|
+
.s("ApplicationSignals", "ListServiceLevelObjectiveExclusionWindows", {})
|
|
1553
|
+
.n("ApplicationSignalsClient", "ListServiceLevelObjectiveExclusionWindowsCommand")
|
|
1554
|
+
.f(void 0, void 0)
|
|
1555
|
+
.ser(se_ListServiceLevelObjectiveExclusionWindowsCommand)
|
|
1556
|
+
.de(de_ListServiceLevelObjectiveExclusionWindowsCommand)
|
|
1557
|
+
.build() {
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
class ListServiceLevelObjectivesCommand extends smithyClient.Command
|
|
1561
|
+
.classBuilder()
|
|
1562
|
+
.ep(commonParams)
|
|
1563
|
+
.m(function (Command, cs, config, o) {
|
|
1564
|
+
return [
|
|
1565
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1566
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1567
|
+
];
|
|
1568
|
+
})
|
|
1569
|
+
.s("ApplicationSignals", "ListServiceLevelObjectives", {})
|
|
1570
|
+
.n("ApplicationSignalsClient", "ListServiceLevelObjectivesCommand")
|
|
1571
|
+
.f(void 0, void 0)
|
|
1572
|
+
.ser(se_ListServiceLevelObjectivesCommand)
|
|
1573
|
+
.de(de_ListServiceLevelObjectivesCommand)
|
|
1574
|
+
.build() {
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
class ListServiceOperationsCommand extends smithyClient.Command
|
|
1578
|
+
.classBuilder()
|
|
1579
|
+
.ep(commonParams)
|
|
1580
|
+
.m(function (Command, cs, config, o) {
|
|
1581
|
+
return [
|
|
1582
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1583
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1584
|
+
];
|
|
1585
|
+
})
|
|
1586
|
+
.s("ApplicationSignals", "ListServiceOperations", {})
|
|
1587
|
+
.n("ApplicationSignalsClient", "ListServiceOperationsCommand")
|
|
1588
|
+
.f(void 0, void 0)
|
|
1589
|
+
.ser(se_ListServiceOperationsCommand)
|
|
1590
|
+
.de(de_ListServiceOperationsCommand)
|
|
1591
|
+
.build() {
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
class ListServicesCommand extends smithyClient.Command
|
|
1595
|
+
.classBuilder()
|
|
1596
|
+
.ep(commonParams)
|
|
1597
|
+
.m(function (Command, cs, config, o) {
|
|
1598
|
+
return [
|
|
1599
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1600
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1601
|
+
];
|
|
1602
|
+
})
|
|
1603
|
+
.s("ApplicationSignals", "ListServices", {})
|
|
1604
|
+
.n("ApplicationSignalsClient", "ListServicesCommand")
|
|
1605
|
+
.f(void 0, void 0)
|
|
1606
|
+
.ser(se_ListServicesCommand)
|
|
1607
|
+
.de(de_ListServicesCommand)
|
|
1608
|
+
.build() {
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
class ListServiceStatesCommand extends smithyClient.Command
|
|
1612
|
+
.classBuilder()
|
|
1613
|
+
.ep(commonParams)
|
|
1614
|
+
.m(function (Command, cs, config, o) {
|
|
1615
|
+
return [
|
|
1616
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1617
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1618
|
+
];
|
|
1619
|
+
})
|
|
1620
|
+
.s("ApplicationSignals", "ListServiceStates", {})
|
|
1621
|
+
.n("ApplicationSignalsClient", "ListServiceStatesCommand")
|
|
1622
|
+
.f(void 0, void 0)
|
|
1623
|
+
.ser(se_ListServiceStatesCommand)
|
|
1624
|
+
.de(de_ListServiceStatesCommand)
|
|
1625
|
+
.build() {
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1629
|
+
.classBuilder()
|
|
1630
|
+
.ep(commonParams)
|
|
1631
|
+
.m(function (Command, cs, config, o) {
|
|
1632
|
+
return [
|
|
1633
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1634
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1635
|
+
];
|
|
1636
|
+
})
|
|
1637
|
+
.s("ApplicationSignals", "ListTagsForResource", {})
|
|
1638
|
+
.n("ApplicationSignalsClient", "ListTagsForResourceCommand")
|
|
1639
|
+
.f(void 0, void 0)
|
|
1640
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1641
|
+
.de(de_ListTagsForResourceCommand)
|
|
1642
|
+
.build() {
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
class PutGroupingConfigurationCommand extends smithyClient.Command
|
|
1646
|
+
.classBuilder()
|
|
1647
|
+
.ep(commonParams)
|
|
1648
|
+
.m(function (Command, cs, config, o) {
|
|
1649
|
+
return [
|
|
1650
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1651
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1652
|
+
];
|
|
1653
|
+
})
|
|
1654
|
+
.s("ApplicationSignals", "PutGroupingConfiguration", {})
|
|
1655
|
+
.n("ApplicationSignalsClient", "PutGroupingConfigurationCommand")
|
|
1656
|
+
.f(void 0, void 0)
|
|
1657
|
+
.ser(se_PutGroupingConfigurationCommand)
|
|
1658
|
+
.de(de_PutGroupingConfigurationCommand)
|
|
1659
|
+
.build() {
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
class StartDiscoveryCommand extends smithyClient.Command
|
|
1663
|
+
.classBuilder()
|
|
1664
|
+
.ep(commonParams)
|
|
1665
|
+
.m(function (Command, cs, config, o) {
|
|
1666
|
+
return [
|
|
1667
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1668
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1669
|
+
];
|
|
1670
|
+
})
|
|
1671
|
+
.s("ApplicationSignals", "StartDiscovery", {})
|
|
1672
|
+
.n("ApplicationSignalsClient", "StartDiscoveryCommand")
|
|
1673
|
+
.f(void 0, void 0)
|
|
1674
|
+
.ser(se_StartDiscoveryCommand)
|
|
1675
|
+
.de(de_StartDiscoveryCommand)
|
|
1676
|
+
.build() {
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1680
|
+
.classBuilder()
|
|
1681
|
+
.ep(commonParams)
|
|
1682
|
+
.m(function (Command, cs, config, o) {
|
|
1683
|
+
return [
|
|
1684
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1685
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1686
|
+
];
|
|
1687
|
+
})
|
|
1688
|
+
.s("ApplicationSignals", "TagResource", {})
|
|
1689
|
+
.n("ApplicationSignalsClient", "TagResourceCommand")
|
|
1690
|
+
.f(void 0, void 0)
|
|
1691
|
+
.ser(se_TagResourceCommand)
|
|
1692
|
+
.de(de_TagResourceCommand)
|
|
1693
|
+
.build() {
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1697
|
+
.classBuilder()
|
|
1698
|
+
.ep(commonParams)
|
|
1699
|
+
.m(function (Command, cs, config, o) {
|
|
1700
|
+
return [
|
|
1701
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1702
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1703
|
+
];
|
|
1704
|
+
})
|
|
1705
|
+
.s("ApplicationSignals", "UntagResource", {})
|
|
1706
|
+
.n("ApplicationSignalsClient", "UntagResourceCommand")
|
|
1707
|
+
.f(void 0, void 0)
|
|
1708
|
+
.ser(se_UntagResourceCommand)
|
|
1709
|
+
.de(de_UntagResourceCommand)
|
|
1710
|
+
.build() {
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
class UpdateServiceLevelObjectiveCommand extends smithyClient.Command
|
|
1714
|
+
.classBuilder()
|
|
1715
|
+
.ep(commonParams)
|
|
1716
|
+
.m(function (Command, cs, config, o) {
|
|
1717
|
+
return [
|
|
1718
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1719
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1720
|
+
];
|
|
1721
|
+
})
|
|
1722
|
+
.s("ApplicationSignals", "UpdateServiceLevelObjective", {})
|
|
1723
|
+
.n("ApplicationSignalsClient", "UpdateServiceLevelObjectiveCommand")
|
|
1724
|
+
.f(void 0, void 0)
|
|
1725
|
+
.ser(se_UpdateServiceLevelObjectiveCommand)
|
|
1726
|
+
.de(de_UpdateServiceLevelObjectiveCommand)
|
|
1727
|
+
.build() {
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
const commands = {
|
|
1731
|
+
BatchGetServiceLevelObjectiveBudgetReportCommand,
|
|
1732
|
+
BatchUpdateExclusionWindowsCommand,
|
|
1733
|
+
CreateServiceLevelObjectiveCommand,
|
|
1734
|
+
DeleteGroupingConfigurationCommand,
|
|
1735
|
+
DeleteServiceLevelObjectiveCommand,
|
|
1736
|
+
GetServiceCommand,
|
|
1737
|
+
GetServiceLevelObjectiveCommand,
|
|
1738
|
+
ListAuditFindingsCommand,
|
|
1739
|
+
ListGroupingAttributeDefinitionsCommand,
|
|
1740
|
+
ListServiceDependenciesCommand,
|
|
1741
|
+
ListServiceDependentsCommand,
|
|
1742
|
+
ListServiceLevelObjectiveExclusionWindowsCommand,
|
|
1743
|
+
ListServiceLevelObjectivesCommand,
|
|
1744
|
+
ListServiceOperationsCommand,
|
|
1745
|
+
ListServicesCommand,
|
|
1746
|
+
ListServiceStatesCommand,
|
|
1747
|
+
ListTagsForResourceCommand,
|
|
1748
|
+
PutGroupingConfigurationCommand,
|
|
1749
|
+
StartDiscoveryCommand,
|
|
1750
|
+
TagResourceCommand,
|
|
1751
|
+
UntagResourceCommand,
|
|
1752
|
+
UpdateServiceLevelObjectiveCommand,
|
|
1753
|
+
};
|
|
1754
|
+
class ApplicationSignals extends ApplicationSignalsClient {
|
|
1755
|
+
}
|
|
1756
|
+
smithyClient.createAggregatedClient(commands, ApplicationSignals);
|
|
1859
1757
|
|
|
1860
|
-
|
|
1861
|
-
var commands = {
|
|
1862
|
-
BatchGetServiceLevelObjectiveBudgetReportCommand,
|
|
1863
|
-
BatchUpdateExclusionWindowsCommand,
|
|
1864
|
-
CreateServiceLevelObjectiveCommand,
|
|
1865
|
-
DeleteGroupingConfigurationCommand,
|
|
1866
|
-
DeleteServiceLevelObjectiveCommand,
|
|
1867
|
-
GetServiceCommand,
|
|
1868
|
-
GetServiceLevelObjectiveCommand,
|
|
1869
|
-
ListAuditFindingsCommand,
|
|
1870
|
-
ListGroupingAttributeDefinitionsCommand,
|
|
1871
|
-
ListServiceDependenciesCommand,
|
|
1872
|
-
ListServiceDependentsCommand,
|
|
1873
|
-
ListServiceLevelObjectiveExclusionWindowsCommand,
|
|
1874
|
-
ListServiceLevelObjectivesCommand,
|
|
1875
|
-
ListServiceOperationsCommand,
|
|
1876
|
-
ListServicesCommand,
|
|
1877
|
-
ListServiceStatesCommand,
|
|
1878
|
-
ListTagsForResourceCommand,
|
|
1879
|
-
PutGroupingConfigurationCommand,
|
|
1880
|
-
StartDiscoveryCommand,
|
|
1881
|
-
TagResourceCommand,
|
|
1882
|
-
UntagResourceCommand,
|
|
1883
|
-
UpdateServiceLevelObjectiveCommand
|
|
1884
|
-
};
|
|
1885
|
-
var ApplicationSignals = class extends ApplicationSignalsClient {
|
|
1886
|
-
static {
|
|
1887
|
-
__name(this, "ApplicationSignals");
|
|
1888
|
-
}
|
|
1889
|
-
};
|
|
1890
|
-
(0, import_smithy_client.createAggregatedClient)(commands, ApplicationSignals);
|
|
1891
|
-
|
|
1892
|
-
// src/pagination/ListServiceDependenciesPaginator.ts
|
|
1893
|
-
|
|
1894
|
-
var paginateListServiceDependencies = (0, import_core.createPaginator)(ApplicationSignalsClient, ListServiceDependenciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1895
|
-
|
|
1896
|
-
// src/pagination/ListServiceDependentsPaginator.ts
|
|
1897
|
-
|
|
1898
|
-
var paginateListServiceDependents = (0, import_core.createPaginator)(ApplicationSignalsClient, ListServiceDependentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1899
|
-
|
|
1900
|
-
// src/pagination/ListServiceLevelObjectiveExclusionWindowsPaginator.ts
|
|
1901
|
-
|
|
1902
|
-
var paginateListServiceLevelObjectiveExclusionWindows = (0, import_core.createPaginator)(ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1903
|
-
|
|
1904
|
-
// src/pagination/ListServiceLevelObjectivesPaginator.ts
|
|
1905
|
-
|
|
1906
|
-
var paginateListServiceLevelObjectives = (0, import_core.createPaginator)(ApplicationSignalsClient, ListServiceLevelObjectivesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1758
|
+
const paginateListServiceDependencies = core.createPaginator(ApplicationSignalsClient, ListServiceDependenciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1907
1759
|
|
|
1908
|
-
|
|
1760
|
+
const paginateListServiceDependents = core.createPaginator(ApplicationSignalsClient, ListServiceDependentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1909
1761
|
|
|
1910
|
-
|
|
1762
|
+
const paginateListServiceLevelObjectiveExclusionWindows = core.createPaginator(ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1911
1763
|
|
|
1912
|
-
|
|
1764
|
+
const paginateListServiceLevelObjectives = core.createPaginator(ApplicationSignalsClient, ListServiceLevelObjectivesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1913
1765
|
|
|
1914
|
-
|
|
1766
|
+
const paginateListServiceOperations = core.createPaginator(ApplicationSignalsClient, ListServiceOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1915
1767
|
|
|
1916
|
-
|
|
1768
|
+
const paginateListServiceStates = core.createPaginator(ApplicationSignalsClient, ListServiceStatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1917
1769
|
|
|
1918
|
-
|
|
1919
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1770
|
+
const paginateListServices = core.createPaginator(ApplicationSignalsClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1920
1771
|
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
ApplicationSignalsClient,
|
|
1925
|
-
ApplicationSignals,
|
|
1926
|
-
$Command,
|
|
1927
|
-
BatchGetServiceLevelObjectiveBudgetReportCommand,
|
|
1928
|
-
BatchUpdateExclusionWindowsCommand,
|
|
1929
|
-
CreateServiceLevelObjectiveCommand,
|
|
1930
|
-
DeleteGroupingConfigurationCommand,
|
|
1931
|
-
DeleteServiceLevelObjectiveCommand,
|
|
1932
|
-
GetServiceCommand,
|
|
1933
|
-
GetServiceLevelObjectiveCommand,
|
|
1934
|
-
ListAuditFindingsCommand,
|
|
1935
|
-
ListGroupingAttributeDefinitionsCommand,
|
|
1936
|
-
ListServiceDependenciesCommand,
|
|
1937
|
-
ListServiceDependentsCommand,
|
|
1938
|
-
ListServiceLevelObjectiveExclusionWindowsCommand,
|
|
1939
|
-
ListServiceLevelObjectivesCommand,
|
|
1940
|
-
ListServiceOperationsCommand,
|
|
1941
|
-
ListServiceStatesCommand,
|
|
1942
|
-
ListServicesCommand,
|
|
1943
|
-
ListTagsForResourceCommand,
|
|
1944
|
-
PutGroupingConfigurationCommand,
|
|
1945
|
-
StartDiscoveryCommand,
|
|
1946
|
-
TagResourceCommand,
|
|
1947
|
-
UntagResourceCommand,
|
|
1948
|
-
UpdateServiceLevelObjectiveCommand,
|
|
1949
|
-
paginateListServiceDependencies,
|
|
1950
|
-
paginateListServiceDependents,
|
|
1951
|
-
paginateListServiceLevelObjectiveExclusionWindows,
|
|
1952
|
-
paginateListServiceLevelObjectives,
|
|
1953
|
-
paginateListServiceOperations,
|
|
1954
|
-
paginateListServiceStates,
|
|
1955
|
-
paginateListServices,
|
|
1956
|
-
AccessDeniedException,
|
|
1957
|
-
ServiceLevelObjectiveBudgetStatus,
|
|
1958
|
-
EvaluationType,
|
|
1959
|
-
DurationUnit,
|
|
1960
|
-
Interval,
|
|
1961
|
-
ServiceLevelIndicatorComparisonOperator,
|
|
1962
|
-
ServiceLevelIndicatorMetricType,
|
|
1963
|
-
StandardUnit,
|
|
1964
|
-
MonitoredRequestCountMetricDataQueries,
|
|
1965
|
-
ThrottlingException,
|
|
1966
|
-
ValidationException,
|
|
1967
|
-
ResourceNotFoundException,
|
|
1968
|
-
AuditTargetEntity,
|
|
1969
|
-
Severity,
|
|
1970
|
-
ConnectionType,
|
|
1971
|
-
ChangeEventType,
|
|
1972
|
-
ConflictException,
|
|
1973
|
-
MetricSourceType,
|
|
1974
|
-
ServiceQuotaExceededException
|
|
1772
|
+
Object.defineProperty(exports, "$Command", {
|
|
1773
|
+
enumerable: true,
|
|
1774
|
+
get: function () { return smithyClient.Command; }
|
|
1975
1775
|
});
|
|
1976
|
-
|
|
1776
|
+
Object.defineProperty(exports, "__Client", {
|
|
1777
|
+
enumerable: true,
|
|
1778
|
+
get: function () { return smithyClient.Client; }
|
|
1779
|
+
});
|
|
1780
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1781
|
+
exports.ApplicationSignals = ApplicationSignals;
|
|
1782
|
+
exports.ApplicationSignalsClient = ApplicationSignalsClient;
|
|
1783
|
+
exports.ApplicationSignalsServiceException = ApplicationSignalsServiceException;
|
|
1784
|
+
exports.BatchGetServiceLevelObjectiveBudgetReportCommand = BatchGetServiceLevelObjectiveBudgetReportCommand;
|
|
1785
|
+
exports.BatchUpdateExclusionWindowsCommand = BatchUpdateExclusionWindowsCommand;
|
|
1786
|
+
exports.ChangeEventType = ChangeEventType;
|
|
1787
|
+
exports.ConflictException = ConflictException;
|
|
1788
|
+
exports.ConnectionType = ConnectionType;
|
|
1789
|
+
exports.CreateServiceLevelObjectiveCommand = CreateServiceLevelObjectiveCommand;
|
|
1790
|
+
exports.DeleteGroupingConfigurationCommand = DeleteGroupingConfigurationCommand;
|
|
1791
|
+
exports.DeleteServiceLevelObjectiveCommand = DeleteServiceLevelObjectiveCommand;
|
|
1792
|
+
exports.DurationUnit = DurationUnit;
|
|
1793
|
+
exports.EvaluationType = EvaluationType;
|
|
1794
|
+
exports.GetServiceCommand = GetServiceCommand;
|
|
1795
|
+
exports.GetServiceLevelObjectiveCommand = GetServiceLevelObjectiveCommand;
|
|
1796
|
+
exports.ListAuditFindingsCommand = ListAuditFindingsCommand;
|
|
1797
|
+
exports.ListGroupingAttributeDefinitionsCommand = ListGroupingAttributeDefinitionsCommand;
|
|
1798
|
+
exports.ListServiceDependenciesCommand = ListServiceDependenciesCommand;
|
|
1799
|
+
exports.ListServiceDependentsCommand = ListServiceDependentsCommand;
|
|
1800
|
+
exports.ListServiceLevelObjectiveExclusionWindowsCommand = ListServiceLevelObjectiveExclusionWindowsCommand;
|
|
1801
|
+
exports.ListServiceLevelObjectivesCommand = ListServiceLevelObjectivesCommand;
|
|
1802
|
+
exports.ListServiceOperationsCommand = ListServiceOperationsCommand;
|
|
1803
|
+
exports.ListServiceStatesCommand = ListServiceStatesCommand;
|
|
1804
|
+
exports.ListServicesCommand = ListServicesCommand;
|
|
1805
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1806
|
+
exports.MetricSourceType = MetricSourceType;
|
|
1807
|
+
exports.PutGroupingConfigurationCommand = PutGroupingConfigurationCommand;
|
|
1808
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1809
|
+
exports.ServiceLevelIndicatorComparisonOperator = ServiceLevelIndicatorComparisonOperator;
|
|
1810
|
+
exports.ServiceLevelIndicatorMetricType = ServiceLevelIndicatorMetricType;
|
|
1811
|
+
exports.ServiceLevelObjectiveBudgetStatus = ServiceLevelObjectiveBudgetStatus;
|
|
1812
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1813
|
+
exports.Severity = Severity;
|
|
1814
|
+
exports.StandardUnit = StandardUnit;
|
|
1815
|
+
exports.StartDiscoveryCommand = StartDiscoveryCommand;
|
|
1816
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1817
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1818
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1819
|
+
exports.UpdateServiceLevelObjectiveCommand = UpdateServiceLevelObjectiveCommand;
|
|
1820
|
+
exports.ValidationException = ValidationException;
|
|
1821
|
+
exports.paginateListServiceDependencies = paginateListServiceDependencies;
|
|
1822
|
+
exports.paginateListServiceDependents = paginateListServiceDependents;
|
|
1823
|
+
exports.paginateListServiceLevelObjectiveExclusionWindows = paginateListServiceLevelObjectiveExclusionWindows;
|
|
1824
|
+
exports.paginateListServiceLevelObjectives = paginateListServiceLevelObjectives;
|
|
1825
|
+
exports.paginateListServiceOperations = paginateListServiceOperations;
|
|
1826
|
+
exports.paginateListServiceStates = paginateListServiceStates;
|
|
1827
|
+
exports.paginateListServices = paginateListServices;
|