@aws-sdk/client-observabilityadmin 3.893.0 → 3.894.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1836 -10
- package/package.json +6 -6
- package/dist-cjs/ObservabilityAdmin.js +0 -63
- package/dist-cjs/ObservabilityAdminClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CreateCentralizationRuleForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/CreateTelemetryRuleCommand.js +0 -26
- package/dist-cjs/commands/CreateTelemetryRuleForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/DeleteCentralizationRuleForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/DeleteTelemetryRuleCommand.js +0 -26
- package/dist-cjs/commands/DeleteTelemetryRuleForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/GetCentralizationRuleForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/GetTelemetryEvaluationStatusCommand.js +0 -26
- package/dist-cjs/commands/GetTelemetryEvaluationStatusForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/GetTelemetryRuleCommand.js +0 -26
- package/dist-cjs/commands/GetTelemetryRuleForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/ListCentralizationRulesForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/ListResourceTelemetryCommand.js +0 -26
- package/dist-cjs/commands/ListResourceTelemetryForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/ListTelemetryRulesCommand.js +0 -26
- package/dist-cjs/commands/ListTelemetryRulesForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/StartTelemetryEvaluationCommand.js +0 -26
- package/dist-cjs/commands/StartTelemetryEvaluationForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/StopTelemetryEvaluationCommand.js +0 -26
- package/dist-cjs/commands/StopTelemetryEvaluationForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateCentralizationRuleForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/UpdateTelemetryRuleCommand.js +0 -26
- package/dist-cjs/commands/UpdateTelemetryRuleForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -29
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/ObservabilityAdminServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -164
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListCentralizationRulesForOrganizationPaginator.js +0 -7
- package/dist-cjs/pagination/ListResourceTelemetryForOrganizationPaginator.js +0 -7
- package/dist-cjs/pagination/ListResourceTelemetryPaginator.js +0 -7
- package/dist-cjs/pagination/ListTelemetryRulesForOrganizationPaginator.js +0 -7
- package/dist-cjs/pagination/ListTelemetryRulesPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -9
- package/dist-cjs/protocols/Aws_restJson1.js +0 -895
- package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,1837 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
CentralizationFailureReason: () => CentralizationFailureReason,
|
|
26
|
+
ConflictException: () => ConflictException,
|
|
27
|
+
CreateCentralizationRuleForOrganizationCommand: () => CreateCentralizationRuleForOrganizationCommand,
|
|
28
|
+
CreateTelemetryRuleCommand: () => CreateTelemetryRuleCommand,
|
|
29
|
+
CreateTelemetryRuleForOrganizationCommand: () => CreateTelemetryRuleForOrganizationCommand,
|
|
30
|
+
DeleteCentralizationRuleForOrganizationCommand: () => DeleteCentralizationRuleForOrganizationCommand,
|
|
31
|
+
DeleteTelemetryRuleCommand: () => DeleteTelemetryRuleCommand,
|
|
32
|
+
DeleteTelemetryRuleForOrganizationCommand: () => DeleteTelemetryRuleForOrganizationCommand,
|
|
33
|
+
DestinationType: () => DestinationType,
|
|
34
|
+
EncryptedLogGroupStrategy: () => EncryptedLogGroupStrategy,
|
|
35
|
+
EncryptionConflictResolutionStrategy: () => EncryptionConflictResolutionStrategy,
|
|
36
|
+
EncryptionStrategy: () => EncryptionStrategy,
|
|
37
|
+
GetCentralizationRuleForOrganizationCommand: () => GetCentralizationRuleForOrganizationCommand,
|
|
38
|
+
GetTelemetryEvaluationStatusCommand: () => GetTelemetryEvaluationStatusCommand,
|
|
39
|
+
GetTelemetryEvaluationStatusForOrganizationCommand: () => GetTelemetryEvaluationStatusForOrganizationCommand,
|
|
40
|
+
GetTelemetryRuleCommand: () => GetTelemetryRuleCommand,
|
|
41
|
+
GetTelemetryRuleForOrganizationCommand: () => GetTelemetryRuleForOrganizationCommand,
|
|
42
|
+
InternalServerException: () => InternalServerException,
|
|
43
|
+
ListCentralizationRulesForOrganizationCommand: () => ListCentralizationRulesForOrganizationCommand,
|
|
44
|
+
ListResourceTelemetryCommand: () => ListResourceTelemetryCommand,
|
|
45
|
+
ListResourceTelemetryForOrganizationCommand: () => ListResourceTelemetryForOrganizationCommand,
|
|
46
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
47
|
+
ListTelemetryRulesCommand: () => ListTelemetryRulesCommand,
|
|
48
|
+
ListTelemetryRulesForOrganizationCommand: () => ListTelemetryRulesForOrganizationCommand,
|
|
49
|
+
ObservabilityAdmin: () => ObservabilityAdmin,
|
|
50
|
+
ObservabilityAdminClient: () => ObservabilityAdminClient,
|
|
51
|
+
ObservabilityAdminServiceException: () => ObservabilityAdminServiceException,
|
|
52
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
53
|
+
ResourceType: () => ResourceType,
|
|
54
|
+
RuleHealth: () => RuleHealth,
|
|
55
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
56
|
+
StartTelemetryEvaluationCommand: () => StartTelemetryEvaluationCommand,
|
|
57
|
+
StartTelemetryEvaluationForOrganizationCommand: () => StartTelemetryEvaluationForOrganizationCommand,
|
|
58
|
+
Status: () => Status,
|
|
59
|
+
StopTelemetryEvaluationCommand: () => StopTelemetryEvaluationCommand,
|
|
60
|
+
StopTelemetryEvaluationForOrganizationCommand: () => StopTelemetryEvaluationForOrganizationCommand,
|
|
61
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
62
|
+
TelemetryState: () => TelemetryState,
|
|
63
|
+
TelemetryType: () => TelemetryType,
|
|
64
|
+
TooManyRequestsException: () => TooManyRequestsException,
|
|
65
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
66
|
+
UpdateCentralizationRuleForOrganizationCommand: () => UpdateCentralizationRuleForOrganizationCommand,
|
|
67
|
+
UpdateTelemetryRuleCommand: () => UpdateTelemetryRuleCommand,
|
|
68
|
+
UpdateTelemetryRuleForOrganizationCommand: () => UpdateTelemetryRuleForOrganizationCommand,
|
|
69
|
+
ValidationException: () => ValidationException,
|
|
70
|
+
__Client: () => import_smithy_client.Client,
|
|
71
|
+
paginateListCentralizationRulesForOrganization: () => paginateListCentralizationRulesForOrganization,
|
|
72
|
+
paginateListResourceTelemetry: () => paginateListResourceTelemetry,
|
|
73
|
+
paginateListResourceTelemetryForOrganization: () => paginateListResourceTelemetryForOrganization,
|
|
74
|
+
paginateListTelemetryRules: () => paginateListTelemetryRules,
|
|
75
|
+
paginateListTelemetryRulesForOrganization: () => paginateListTelemetryRulesForOrganization
|
|
76
|
+
});
|
|
77
|
+
module.exports = __toCommonJS(index_exports);
|
|
78
|
+
|
|
79
|
+
// src/ObservabilityAdminClient.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
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
96
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
97
|
+
defaultSigningName: "observabilityadmin"
|
|
98
|
+
});
|
|
99
|
+
}, "resolveClientEndpointParameters");
|
|
100
|
+
var commonParams = {
|
|
101
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
102
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
103
|
+
Region: { type: "builtInParams", name: "region" },
|
|
104
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
// src/ObservabilityAdminClient.ts
|
|
108
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
109
|
+
|
|
110
|
+
// src/runtimeExtensions.ts
|
|
111
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
112
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
113
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
114
|
+
|
|
115
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
116
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
117
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
118
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
119
|
+
let _credentials = runtimeConfig.credentials;
|
|
120
|
+
return {
|
|
121
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
122
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
123
|
+
if (index === -1) {
|
|
124
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
125
|
+
} else {
|
|
126
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
httpAuthSchemes() {
|
|
130
|
+
return _httpAuthSchemes;
|
|
131
|
+
},
|
|
132
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
133
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
134
|
+
},
|
|
135
|
+
httpAuthSchemeProvider() {
|
|
136
|
+
return _httpAuthSchemeProvider;
|
|
137
|
+
},
|
|
138
|
+
setCredentials(credentials) {
|
|
139
|
+
_credentials = credentials;
|
|
140
|
+
},
|
|
141
|
+
credentials() {
|
|
142
|
+
return _credentials;
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
146
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
147
|
+
return {
|
|
148
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
149
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
150
|
+
credentials: config.credentials()
|
|
151
|
+
};
|
|
152
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
153
|
+
|
|
154
|
+
// src/runtimeExtensions.ts
|
|
155
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
156
|
+
const extensionConfiguration = Object.assign(
|
|
157
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
158
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
159
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
160
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
161
|
+
);
|
|
162
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
163
|
+
return Object.assign(
|
|
164
|
+
runtimeConfig,
|
|
165
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
166
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
167
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
168
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
169
|
+
);
|
|
170
|
+
}, "resolveRuntimeExtensions");
|
|
171
|
+
|
|
172
|
+
// src/ObservabilityAdminClient.ts
|
|
173
|
+
var ObservabilityAdminClient = class extends import_smithy_client.Client {
|
|
174
|
+
static {
|
|
175
|
+
__name(this, "ObservabilityAdminClient");
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* The resolved configuration of ObservabilityAdminClient class. This is resolved and normalized from the {@link ObservabilityAdminClientConfig | constructor configuration interface}.
|
|
179
|
+
*/
|
|
180
|
+
config;
|
|
181
|
+
constructor(...[configuration]) {
|
|
182
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
183
|
+
super(_config_0);
|
|
184
|
+
this.initConfig = _config_0;
|
|
185
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
186
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
187
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
188
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
189
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
190
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
191
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
192
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
193
|
+
this.config = _config_8;
|
|
194
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
195
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
196
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
197
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
198
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
199
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
200
|
+
this.middlewareStack.use(
|
|
201
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
202
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultObservabilityAdminHttpAuthSchemeParametersProvider,
|
|
203
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
204
|
+
"aws.auth#sigv4": config.credentials
|
|
205
|
+
}), "identityProviderConfigProvider")
|
|
206
|
+
})
|
|
207
|
+
);
|
|
208
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
212
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
213
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
214
|
+
*/
|
|
215
|
+
destroy() {
|
|
216
|
+
super.destroy();
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
// src/ObservabilityAdmin.ts
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
// src/commands/CreateCentralizationRuleForOrganizationCommand.ts
|
|
224
|
+
|
|
225
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
// src/protocols/Aws_restJson1.ts
|
|
229
|
+
var import_core2 = require("@aws-sdk/core");
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
// src/models/ObservabilityAdminServiceException.ts
|
|
234
|
+
|
|
235
|
+
var ObservabilityAdminServiceException = class _ObservabilityAdminServiceException extends import_smithy_client.ServiceException {
|
|
236
|
+
static {
|
|
237
|
+
__name(this, "ObservabilityAdminServiceException");
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
constructor(options) {
|
|
243
|
+
super(options);
|
|
244
|
+
Object.setPrototypeOf(this, _ObservabilityAdminServiceException.prototype);
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
// src/models/models_0.ts
|
|
249
|
+
var AccessDeniedException = class _AccessDeniedException extends ObservabilityAdminServiceException {
|
|
250
|
+
static {
|
|
251
|
+
__name(this, "AccessDeniedException");
|
|
252
|
+
}
|
|
253
|
+
name = "AccessDeniedException";
|
|
254
|
+
$fault = "client";
|
|
255
|
+
Message;
|
|
256
|
+
/**
|
|
257
|
+
* <p>
|
|
258
|
+
* The name of the exception.
|
|
259
|
+
* </p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
amznErrorType;
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
*/
|
|
266
|
+
constructor(opts) {
|
|
267
|
+
super({
|
|
268
|
+
name: "AccessDeniedException",
|
|
269
|
+
$fault: "client",
|
|
270
|
+
...opts
|
|
271
|
+
});
|
|
272
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
273
|
+
this.Message = opts.Message;
|
|
274
|
+
this.amznErrorType = opts.amznErrorType;
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
var CentralizationFailureReason = {
|
|
278
|
+
DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",
|
|
279
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
280
|
+
TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED"
|
|
281
|
+
};
|
|
282
|
+
var EncryptionConflictResolutionStrategy = {
|
|
283
|
+
ALLOW: "ALLOW",
|
|
284
|
+
SKIP: "SKIP"
|
|
285
|
+
};
|
|
286
|
+
var EncryptionStrategy = {
|
|
287
|
+
AWS_OWNED: "AWS_OWNED",
|
|
288
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED"
|
|
289
|
+
};
|
|
290
|
+
var EncryptedLogGroupStrategy = {
|
|
291
|
+
ALLOW: "ALLOW",
|
|
292
|
+
SKIP: "SKIP"
|
|
293
|
+
};
|
|
294
|
+
var RuleHealth = {
|
|
295
|
+
HEALTHY: "Healthy",
|
|
296
|
+
PROVISIONING: "Provisioning",
|
|
297
|
+
UNHEALTHY: "Unhealthy"
|
|
298
|
+
};
|
|
299
|
+
var ConflictException = class _ConflictException extends ObservabilityAdminServiceException {
|
|
300
|
+
static {
|
|
301
|
+
__name(this, "ConflictException");
|
|
302
|
+
}
|
|
303
|
+
name = "ConflictException";
|
|
304
|
+
$fault = "client";
|
|
305
|
+
Message;
|
|
306
|
+
/**
|
|
307
|
+
* @internal
|
|
308
|
+
*/
|
|
309
|
+
constructor(opts) {
|
|
310
|
+
super({
|
|
311
|
+
name: "ConflictException",
|
|
312
|
+
$fault: "client",
|
|
313
|
+
...opts
|
|
314
|
+
});
|
|
315
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
316
|
+
this.Message = opts.Message;
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
var InternalServerException = class _InternalServerException extends ObservabilityAdminServiceException {
|
|
320
|
+
static {
|
|
321
|
+
__name(this, "InternalServerException");
|
|
322
|
+
}
|
|
323
|
+
name = "InternalServerException";
|
|
324
|
+
$fault = "server";
|
|
325
|
+
Message;
|
|
326
|
+
/**
|
|
327
|
+
* <p>
|
|
328
|
+
* The name of the exception.
|
|
329
|
+
* </p>
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
amznErrorType;
|
|
333
|
+
/**
|
|
334
|
+
* @internal
|
|
335
|
+
*/
|
|
336
|
+
constructor(opts) {
|
|
337
|
+
super({
|
|
338
|
+
name: "InternalServerException",
|
|
339
|
+
$fault: "server",
|
|
340
|
+
...opts
|
|
341
|
+
});
|
|
342
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
343
|
+
this.Message = opts.Message;
|
|
344
|
+
this.amznErrorType = opts.amznErrorType;
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ObservabilityAdminServiceException {
|
|
348
|
+
static {
|
|
349
|
+
__name(this, "ServiceQuotaExceededException");
|
|
350
|
+
}
|
|
351
|
+
name = "ServiceQuotaExceededException";
|
|
352
|
+
$fault = "client";
|
|
353
|
+
Message;
|
|
354
|
+
/**
|
|
355
|
+
* <p>
|
|
356
|
+
* The name of the exception.
|
|
357
|
+
* </p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
amznErrorType;
|
|
361
|
+
/**
|
|
362
|
+
* @internal
|
|
363
|
+
*/
|
|
364
|
+
constructor(opts) {
|
|
365
|
+
super({
|
|
366
|
+
name: "ServiceQuotaExceededException",
|
|
367
|
+
$fault: "client",
|
|
368
|
+
...opts
|
|
369
|
+
});
|
|
370
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
371
|
+
this.Message = opts.Message;
|
|
372
|
+
this.amznErrorType = opts.amznErrorType;
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
var TooManyRequestsException = class _TooManyRequestsException extends ObservabilityAdminServiceException {
|
|
376
|
+
static {
|
|
377
|
+
__name(this, "TooManyRequestsException");
|
|
378
|
+
}
|
|
379
|
+
name = "TooManyRequestsException";
|
|
380
|
+
$fault = "client";
|
|
381
|
+
Message;
|
|
382
|
+
/**
|
|
383
|
+
* @internal
|
|
384
|
+
*/
|
|
385
|
+
constructor(opts) {
|
|
386
|
+
super({
|
|
387
|
+
name: "TooManyRequestsException",
|
|
388
|
+
$fault: "client",
|
|
389
|
+
...opts
|
|
390
|
+
});
|
|
391
|
+
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
392
|
+
this.Message = opts.Message;
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
var ValidationException = class _ValidationException extends ObservabilityAdminServiceException {
|
|
396
|
+
static {
|
|
397
|
+
__name(this, "ValidationException");
|
|
398
|
+
}
|
|
399
|
+
name = "ValidationException";
|
|
400
|
+
$fault = "client";
|
|
401
|
+
Message;
|
|
402
|
+
/**
|
|
403
|
+
* @internal
|
|
404
|
+
*/
|
|
405
|
+
constructor(opts) {
|
|
406
|
+
super({
|
|
407
|
+
name: "ValidationException",
|
|
408
|
+
$fault: "client",
|
|
409
|
+
...opts
|
|
410
|
+
});
|
|
411
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
412
|
+
this.Message = opts.Message;
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
var DestinationType = {
|
|
416
|
+
CLOUDWATCH_LOGS: "cloud-watch-logs"
|
|
417
|
+
};
|
|
418
|
+
var ResourceType = {
|
|
419
|
+
AWS_EC2_INSTANCE: "AWS::EC2::Instance",
|
|
420
|
+
AWS_EC2_VPC: "AWS::EC2::VPC",
|
|
421
|
+
AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function"
|
|
422
|
+
};
|
|
423
|
+
var TelemetryType = {
|
|
424
|
+
LOGS: "Logs",
|
|
425
|
+
METRICS: "Metrics",
|
|
426
|
+
TRACES: "Traces"
|
|
427
|
+
};
|
|
428
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends ObservabilityAdminServiceException {
|
|
429
|
+
static {
|
|
430
|
+
__name(this, "ResourceNotFoundException");
|
|
431
|
+
}
|
|
432
|
+
name = "ResourceNotFoundException";
|
|
433
|
+
$fault = "client";
|
|
434
|
+
Message;
|
|
435
|
+
/**
|
|
436
|
+
* @internal
|
|
437
|
+
*/
|
|
438
|
+
constructor(opts) {
|
|
439
|
+
super({
|
|
440
|
+
name: "ResourceNotFoundException",
|
|
441
|
+
$fault: "client",
|
|
442
|
+
...opts
|
|
443
|
+
});
|
|
444
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
445
|
+
this.Message = opts.Message;
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
var Status = {
|
|
449
|
+
FAILED_START: "FAILED_START",
|
|
450
|
+
FAILED_STOP: "FAILED_STOP",
|
|
451
|
+
NOT_STARTED: "NOT_STARTED",
|
|
452
|
+
RUNNING: "RUNNING",
|
|
453
|
+
STARTING: "STARTING",
|
|
454
|
+
STOPPED: "STOPPED",
|
|
455
|
+
STOPPING: "STOPPING"
|
|
456
|
+
};
|
|
457
|
+
var TelemetryState = {
|
|
458
|
+
DISABLED: "Disabled",
|
|
459
|
+
ENABLED: "Enabled",
|
|
460
|
+
NOT_APPLICABLE: "NotApplicable"
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
// src/protocols/Aws_restJson1.ts
|
|
464
|
+
var se_CreateCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
465
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
466
|
+
const headers = {
|
|
467
|
+
"content-type": "application/json"
|
|
468
|
+
};
|
|
469
|
+
b.bp("/CreateCentralizationRuleForOrganization");
|
|
470
|
+
let body;
|
|
471
|
+
body = JSON.stringify(
|
|
472
|
+
(0, import_smithy_client.take)(input, {
|
|
473
|
+
Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),
|
|
474
|
+
RuleName: [],
|
|
475
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
476
|
+
})
|
|
477
|
+
);
|
|
478
|
+
b.m("POST").h(headers).b(body);
|
|
479
|
+
return b.build();
|
|
480
|
+
}, "se_CreateCentralizationRuleForOrganizationCommand");
|
|
481
|
+
var se_CreateTelemetryRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
482
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
483
|
+
const headers = {
|
|
484
|
+
"content-type": "application/json"
|
|
485
|
+
};
|
|
486
|
+
b.bp("/CreateTelemetryRule");
|
|
487
|
+
let body;
|
|
488
|
+
body = JSON.stringify(
|
|
489
|
+
(0, import_smithy_client.take)(input, {
|
|
490
|
+
Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),
|
|
491
|
+
RuleName: [],
|
|
492
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
493
|
+
})
|
|
494
|
+
);
|
|
495
|
+
b.m("POST").h(headers).b(body);
|
|
496
|
+
return b.build();
|
|
497
|
+
}, "se_CreateTelemetryRuleCommand");
|
|
498
|
+
var se_CreateTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
499
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
500
|
+
const headers = {
|
|
501
|
+
"content-type": "application/json"
|
|
502
|
+
};
|
|
503
|
+
b.bp("/CreateTelemetryRuleForOrganization");
|
|
504
|
+
let body;
|
|
505
|
+
body = JSON.stringify(
|
|
506
|
+
(0, import_smithy_client.take)(input, {
|
|
507
|
+
Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),
|
|
508
|
+
RuleName: [],
|
|
509
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
510
|
+
})
|
|
511
|
+
);
|
|
512
|
+
b.m("POST").h(headers).b(body);
|
|
513
|
+
return b.build();
|
|
514
|
+
}, "se_CreateTelemetryRuleForOrganizationCommand");
|
|
515
|
+
var se_DeleteCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
516
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
517
|
+
const headers = {
|
|
518
|
+
"content-type": "application/json"
|
|
519
|
+
};
|
|
520
|
+
b.bp("/DeleteCentralizationRuleForOrganization");
|
|
521
|
+
let body;
|
|
522
|
+
body = JSON.stringify(
|
|
523
|
+
(0, import_smithy_client.take)(input, {
|
|
524
|
+
RuleIdentifier: []
|
|
525
|
+
})
|
|
526
|
+
);
|
|
527
|
+
b.m("POST").h(headers).b(body);
|
|
528
|
+
return b.build();
|
|
529
|
+
}, "se_DeleteCentralizationRuleForOrganizationCommand");
|
|
530
|
+
var se_DeleteTelemetryRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
531
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
532
|
+
const headers = {
|
|
533
|
+
"content-type": "application/json"
|
|
534
|
+
};
|
|
535
|
+
b.bp("/DeleteTelemetryRule");
|
|
536
|
+
let body;
|
|
537
|
+
body = JSON.stringify(
|
|
538
|
+
(0, import_smithy_client.take)(input, {
|
|
539
|
+
RuleIdentifier: []
|
|
540
|
+
})
|
|
541
|
+
);
|
|
542
|
+
b.m("POST").h(headers).b(body);
|
|
543
|
+
return b.build();
|
|
544
|
+
}, "se_DeleteTelemetryRuleCommand");
|
|
545
|
+
var se_DeleteTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
546
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
547
|
+
const headers = {
|
|
548
|
+
"content-type": "application/json"
|
|
549
|
+
};
|
|
550
|
+
b.bp("/DeleteTelemetryRuleForOrganization");
|
|
551
|
+
let body;
|
|
552
|
+
body = JSON.stringify(
|
|
553
|
+
(0, import_smithy_client.take)(input, {
|
|
554
|
+
RuleIdentifier: []
|
|
555
|
+
})
|
|
556
|
+
);
|
|
557
|
+
b.m("POST").h(headers).b(body);
|
|
558
|
+
return b.build();
|
|
559
|
+
}, "se_DeleteTelemetryRuleForOrganizationCommand");
|
|
560
|
+
var se_GetCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
561
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
562
|
+
const headers = {
|
|
563
|
+
"content-type": "application/json"
|
|
564
|
+
};
|
|
565
|
+
b.bp("/GetCentralizationRuleForOrganization");
|
|
566
|
+
let body;
|
|
567
|
+
body = JSON.stringify(
|
|
568
|
+
(0, import_smithy_client.take)(input, {
|
|
569
|
+
RuleIdentifier: []
|
|
570
|
+
})
|
|
571
|
+
);
|
|
572
|
+
b.m("POST").h(headers).b(body);
|
|
573
|
+
return b.build();
|
|
574
|
+
}, "se_GetCentralizationRuleForOrganizationCommand");
|
|
575
|
+
var se_GetTelemetryEvaluationStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
576
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
577
|
+
const headers = {};
|
|
578
|
+
b.bp("/GetTelemetryEvaluationStatus");
|
|
579
|
+
let body;
|
|
580
|
+
b.m("POST").h(headers).b(body);
|
|
581
|
+
return b.build();
|
|
582
|
+
}, "se_GetTelemetryEvaluationStatusCommand");
|
|
583
|
+
var se_GetTelemetryEvaluationStatusForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
584
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
585
|
+
const headers = {};
|
|
586
|
+
b.bp("/GetTelemetryEvaluationStatusForOrganization");
|
|
587
|
+
let body;
|
|
588
|
+
b.m("POST").h(headers).b(body);
|
|
589
|
+
return b.build();
|
|
590
|
+
}, "se_GetTelemetryEvaluationStatusForOrganizationCommand");
|
|
591
|
+
var se_GetTelemetryRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
592
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
593
|
+
const headers = {
|
|
594
|
+
"content-type": "application/json"
|
|
595
|
+
};
|
|
596
|
+
b.bp("/GetTelemetryRule");
|
|
597
|
+
let body;
|
|
598
|
+
body = JSON.stringify(
|
|
599
|
+
(0, import_smithy_client.take)(input, {
|
|
600
|
+
RuleIdentifier: []
|
|
601
|
+
})
|
|
602
|
+
);
|
|
603
|
+
b.m("POST").h(headers).b(body);
|
|
604
|
+
return b.build();
|
|
605
|
+
}, "se_GetTelemetryRuleCommand");
|
|
606
|
+
var se_GetTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
607
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
608
|
+
const headers = {
|
|
609
|
+
"content-type": "application/json"
|
|
610
|
+
};
|
|
611
|
+
b.bp("/GetTelemetryRuleForOrganization");
|
|
612
|
+
let body;
|
|
613
|
+
body = JSON.stringify(
|
|
614
|
+
(0, import_smithy_client.take)(input, {
|
|
615
|
+
RuleIdentifier: []
|
|
616
|
+
})
|
|
617
|
+
);
|
|
618
|
+
b.m("POST").h(headers).b(body);
|
|
619
|
+
return b.build();
|
|
620
|
+
}, "se_GetTelemetryRuleForOrganizationCommand");
|
|
621
|
+
var se_ListCentralizationRulesForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
622
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
623
|
+
const headers = {
|
|
624
|
+
"content-type": "application/json"
|
|
625
|
+
};
|
|
626
|
+
b.bp("/ListCentralizationRulesForOrganization");
|
|
627
|
+
let body;
|
|
628
|
+
body = JSON.stringify(
|
|
629
|
+
(0, import_smithy_client.take)(input, {
|
|
630
|
+
AllRegions: [],
|
|
631
|
+
MaxResults: [],
|
|
632
|
+
NextToken: [],
|
|
633
|
+
RuleNamePrefix: []
|
|
634
|
+
})
|
|
635
|
+
);
|
|
636
|
+
b.m("POST").h(headers).b(body);
|
|
637
|
+
return b.build();
|
|
638
|
+
}, "se_ListCentralizationRulesForOrganizationCommand");
|
|
639
|
+
var se_ListResourceTelemetryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
640
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
641
|
+
const headers = {
|
|
642
|
+
"content-type": "application/json"
|
|
643
|
+
};
|
|
644
|
+
b.bp("/ListResourceTelemetry");
|
|
645
|
+
let body;
|
|
646
|
+
body = JSON.stringify(
|
|
647
|
+
(0, import_smithy_client.take)(input, {
|
|
648
|
+
MaxResults: [],
|
|
649
|
+
NextToken: [],
|
|
650
|
+
ResourceIdentifierPrefix: [],
|
|
651
|
+
ResourceTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceTags"),
|
|
652
|
+
ResourceTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceTypes"),
|
|
653
|
+
TelemetryConfigurationState: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TelemetryConfigurationState")
|
|
654
|
+
})
|
|
655
|
+
);
|
|
656
|
+
b.m("POST").h(headers).b(body);
|
|
657
|
+
return b.build();
|
|
658
|
+
}, "se_ListResourceTelemetryCommand");
|
|
659
|
+
var se_ListResourceTelemetryForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
660
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
661
|
+
const headers = {
|
|
662
|
+
"content-type": "application/json"
|
|
663
|
+
};
|
|
664
|
+
b.bp("/ListResourceTelemetryForOrganization");
|
|
665
|
+
let body;
|
|
666
|
+
body = JSON.stringify(
|
|
667
|
+
(0, import_smithy_client.take)(input, {
|
|
668
|
+
AccountIdentifiers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccountIdentifiers"),
|
|
669
|
+
MaxResults: [],
|
|
670
|
+
NextToken: [],
|
|
671
|
+
ResourceIdentifierPrefix: [],
|
|
672
|
+
ResourceTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceTags"),
|
|
673
|
+
ResourceTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceTypes"),
|
|
674
|
+
TelemetryConfigurationState: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TelemetryConfigurationState")
|
|
675
|
+
})
|
|
676
|
+
);
|
|
677
|
+
b.m("POST").h(headers).b(body);
|
|
678
|
+
return b.build();
|
|
679
|
+
}, "se_ListResourceTelemetryForOrganizationCommand");
|
|
680
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
681
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
682
|
+
const headers = {
|
|
683
|
+
"content-type": "application/json"
|
|
684
|
+
};
|
|
685
|
+
b.bp("/ListTagsForResource");
|
|
686
|
+
let body;
|
|
687
|
+
body = JSON.stringify(
|
|
688
|
+
(0, import_smithy_client.take)(input, {
|
|
689
|
+
ResourceARN: []
|
|
690
|
+
})
|
|
691
|
+
);
|
|
692
|
+
b.m("POST").h(headers).b(body);
|
|
693
|
+
return b.build();
|
|
694
|
+
}, "se_ListTagsForResourceCommand");
|
|
695
|
+
var se_ListTelemetryRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
696
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
697
|
+
const headers = {
|
|
698
|
+
"content-type": "application/json"
|
|
699
|
+
};
|
|
700
|
+
b.bp("/ListTelemetryRules");
|
|
701
|
+
let body;
|
|
702
|
+
body = JSON.stringify(
|
|
703
|
+
(0, import_smithy_client.take)(input, {
|
|
704
|
+
MaxResults: [],
|
|
705
|
+
NextToken: [],
|
|
706
|
+
RuleNamePrefix: []
|
|
707
|
+
})
|
|
708
|
+
);
|
|
709
|
+
b.m("POST").h(headers).b(body);
|
|
710
|
+
return b.build();
|
|
711
|
+
}, "se_ListTelemetryRulesCommand");
|
|
712
|
+
var se_ListTelemetryRulesForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
713
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
714
|
+
const headers = {
|
|
715
|
+
"content-type": "application/json"
|
|
716
|
+
};
|
|
717
|
+
b.bp("/ListTelemetryRulesForOrganization");
|
|
718
|
+
let body;
|
|
719
|
+
body = JSON.stringify(
|
|
720
|
+
(0, import_smithy_client.take)(input, {
|
|
721
|
+
MaxResults: [],
|
|
722
|
+
NextToken: [],
|
|
723
|
+
RuleNamePrefix: [],
|
|
724
|
+
SourceAccountIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SourceAccountIds"),
|
|
725
|
+
SourceOrganizationUnitIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SourceOrganizationUnitIds")
|
|
726
|
+
})
|
|
727
|
+
);
|
|
728
|
+
b.m("POST").h(headers).b(body);
|
|
729
|
+
return b.build();
|
|
730
|
+
}, "se_ListTelemetryRulesForOrganizationCommand");
|
|
731
|
+
var se_StartTelemetryEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
732
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
733
|
+
const headers = {};
|
|
734
|
+
b.bp("/StartTelemetryEvaluation");
|
|
735
|
+
let body;
|
|
736
|
+
b.m("POST").h(headers).b(body);
|
|
737
|
+
return b.build();
|
|
738
|
+
}, "se_StartTelemetryEvaluationCommand");
|
|
739
|
+
var se_StartTelemetryEvaluationForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
740
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
741
|
+
const headers = {};
|
|
742
|
+
b.bp("/StartTelemetryEvaluationForOrganization");
|
|
743
|
+
let body;
|
|
744
|
+
b.m("POST").h(headers).b(body);
|
|
745
|
+
return b.build();
|
|
746
|
+
}, "se_StartTelemetryEvaluationForOrganizationCommand");
|
|
747
|
+
var se_StopTelemetryEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
748
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
749
|
+
const headers = {};
|
|
750
|
+
b.bp("/StopTelemetryEvaluation");
|
|
751
|
+
let body;
|
|
752
|
+
b.m("POST").h(headers).b(body);
|
|
753
|
+
return b.build();
|
|
754
|
+
}, "se_StopTelemetryEvaluationCommand");
|
|
755
|
+
var se_StopTelemetryEvaluationForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
756
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
757
|
+
const headers = {};
|
|
758
|
+
b.bp("/StopTelemetryEvaluationForOrganization");
|
|
759
|
+
let body;
|
|
760
|
+
b.m("POST").h(headers).b(body);
|
|
761
|
+
return b.build();
|
|
762
|
+
}, "se_StopTelemetryEvaluationForOrganizationCommand");
|
|
763
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
764
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
765
|
+
const headers = {
|
|
766
|
+
"content-type": "application/json"
|
|
767
|
+
};
|
|
768
|
+
b.bp("/TagResource");
|
|
769
|
+
let body;
|
|
770
|
+
body = JSON.stringify(
|
|
771
|
+
(0, import_smithy_client.take)(input, {
|
|
772
|
+
ResourceARN: [],
|
|
773
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
774
|
+
})
|
|
775
|
+
);
|
|
776
|
+
b.m("POST").h(headers).b(body);
|
|
777
|
+
return b.build();
|
|
778
|
+
}, "se_TagResourceCommand");
|
|
779
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
780
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
781
|
+
const headers = {
|
|
782
|
+
"content-type": "application/json"
|
|
783
|
+
};
|
|
784
|
+
b.bp("/UntagResource");
|
|
785
|
+
let body;
|
|
786
|
+
body = JSON.stringify(
|
|
787
|
+
(0, import_smithy_client.take)(input, {
|
|
788
|
+
ResourceARN: [],
|
|
789
|
+
TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys")
|
|
790
|
+
})
|
|
791
|
+
);
|
|
792
|
+
b.m("POST").h(headers).b(body);
|
|
793
|
+
return b.build();
|
|
794
|
+
}, "se_UntagResourceCommand");
|
|
795
|
+
var se_UpdateCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
796
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
797
|
+
const headers = {
|
|
798
|
+
"content-type": "application/json"
|
|
799
|
+
};
|
|
800
|
+
b.bp("/UpdateCentralizationRuleForOrganization");
|
|
801
|
+
let body;
|
|
802
|
+
body = JSON.stringify(
|
|
803
|
+
(0, import_smithy_client.take)(input, {
|
|
804
|
+
Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),
|
|
805
|
+
RuleIdentifier: []
|
|
806
|
+
})
|
|
807
|
+
);
|
|
808
|
+
b.m("POST").h(headers).b(body);
|
|
809
|
+
return b.build();
|
|
810
|
+
}, "se_UpdateCentralizationRuleForOrganizationCommand");
|
|
811
|
+
var se_UpdateTelemetryRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
812
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
813
|
+
const headers = {
|
|
814
|
+
"content-type": "application/json"
|
|
815
|
+
};
|
|
816
|
+
b.bp("/UpdateTelemetryRule");
|
|
817
|
+
let body;
|
|
818
|
+
body = JSON.stringify(
|
|
819
|
+
(0, import_smithy_client.take)(input, {
|
|
820
|
+
Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),
|
|
821
|
+
RuleIdentifier: []
|
|
822
|
+
})
|
|
823
|
+
);
|
|
824
|
+
b.m("POST").h(headers).b(body);
|
|
825
|
+
return b.build();
|
|
826
|
+
}, "se_UpdateTelemetryRuleCommand");
|
|
827
|
+
var se_UpdateTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
828
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
829
|
+
const headers = {
|
|
830
|
+
"content-type": "application/json"
|
|
831
|
+
};
|
|
832
|
+
b.bp("/UpdateTelemetryRuleForOrganization");
|
|
833
|
+
let body;
|
|
834
|
+
body = JSON.stringify(
|
|
835
|
+
(0, import_smithy_client.take)(input, {
|
|
836
|
+
Rule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Rule"),
|
|
837
|
+
RuleIdentifier: []
|
|
838
|
+
})
|
|
839
|
+
);
|
|
840
|
+
b.m("POST").h(headers).b(body);
|
|
841
|
+
return b.build();
|
|
842
|
+
}, "se_UpdateTelemetryRuleForOrganizationCommand");
|
|
843
|
+
var de_CreateCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
844
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
845
|
+
return de_CommandError(output, context);
|
|
846
|
+
}
|
|
847
|
+
const contents = (0, import_smithy_client.map)({
|
|
848
|
+
$metadata: deserializeMetadata(output)
|
|
849
|
+
});
|
|
850
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
851
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
852
|
+
RuleArn: import_smithy_client.expectString
|
|
853
|
+
});
|
|
854
|
+
Object.assign(contents, doc);
|
|
855
|
+
return contents;
|
|
856
|
+
}, "de_CreateCentralizationRuleForOrganizationCommand");
|
|
857
|
+
var de_CreateTelemetryRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
858
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
859
|
+
return de_CommandError(output, context);
|
|
860
|
+
}
|
|
861
|
+
const contents = (0, import_smithy_client.map)({
|
|
862
|
+
$metadata: deserializeMetadata(output)
|
|
863
|
+
});
|
|
864
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
865
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
866
|
+
RuleArn: import_smithy_client.expectString
|
|
867
|
+
});
|
|
868
|
+
Object.assign(contents, doc);
|
|
869
|
+
return contents;
|
|
870
|
+
}, "de_CreateTelemetryRuleCommand");
|
|
871
|
+
var de_CreateTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
872
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
873
|
+
return de_CommandError(output, context);
|
|
874
|
+
}
|
|
875
|
+
const contents = (0, import_smithy_client.map)({
|
|
876
|
+
$metadata: deserializeMetadata(output)
|
|
877
|
+
});
|
|
878
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
879
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
880
|
+
RuleArn: import_smithy_client.expectString
|
|
881
|
+
});
|
|
882
|
+
Object.assign(contents, doc);
|
|
883
|
+
return contents;
|
|
884
|
+
}, "de_CreateTelemetryRuleForOrganizationCommand");
|
|
885
|
+
var de_DeleteCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
886
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
887
|
+
return de_CommandError(output, context);
|
|
888
|
+
}
|
|
889
|
+
const contents = (0, import_smithy_client.map)({
|
|
890
|
+
$metadata: deserializeMetadata(output)
|
|
891
|
+
});
|
|
892
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
893
|
+
return contents;
|
|
894
|
+
}, "de_DeleteCentralizationRuleForOrganizationCommand");
|
|
895
|
+
var de_DeleteTelemetryRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
896
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
897
|
+
return de_CommandError(output, context);
|
|
898
|
+
}
|
|
899
|
+
const contents = (0, import_smithy_client.map)({
|
|
900
|
+
$metadata: deserializeMetadata(output)
|
|
901
|
+
});
|
|
902
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
903
|
+
return contents;
|
|
904
|
+
}, "de_DeleteTelemetryRuleCommand");
|
|
905
|
+
var de_DeleteTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
906
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
907
|
+
return de_CommandError(output, context);
|
|
908
|
+
}
|
|
909
|
+
const contents = (0, import_smithy_client.map)({
|
|
910
|
+
$metadata: deserializeMetadata(output)
|
|
911
|
+
});
|
|
912
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
913
|
+
return contents;
|
|
914
|
+
}, "de_DeleteTelemetryRuleForOrganizationCommand");
|
|
915
|
+
var de_GetCentralizationRuleForOrganizationCommand = /* @__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
|
+
CentralizationRule: import_smithy_client._json,
|
|
925
|
+
CreatedRegion: import_smithy_client.expectString,
|
|
926
|
+
CreatedTimeStamp: import_smithy_client.expectLong,
|
|
927
|
+
CreatorAccountId: import_smithy_client.expectString,
|
|
928
|
+
FailureReason: import_smithy_client.expectString,
|
|
929
|
+
LastUpdateTimeStamp: import_smithy_client.expectLong,
|
|
930
|
+
RuleArn: import_smithy_client.expectString,
|
|
931
|
+
RuleHealth: import_smithy_client.expectString,
|
|
932
|
+
RuleName: import_smithy_client.expectString
|
|
933
|
+
});
|
|
934
|
+
Object.assign(contents, doc);
|
|
935
|
+
return contents;
|
|
936
|
+
}, "de_GetCentralizationRuleForOrganizationCommand");
|
|
937
|
+
var de_GetTelemetryEvaluationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
938
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
939
|
+
return de_CommandError(output, context);
|
|
940
|
+
}
|
|
941
|
+
const contents = (0, import_smithy_client.map)({
|
|
942
|
+
$metadata: deserializeMetadata(output)
|
|
943
|
+
});
|
|
944
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
945
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
946
|
+
FailureReason: import_smithy_client.expectString,
|
|
947
|
+
Status: import_smithy_client.expectString
|
|
948
|
+
});
|
|
949
|
+
Object.assign(contents, doc);
|
|
950
|
+
return contents;
|
|
951
|
+
}, "de_GetTelemetryEvaluationStatusCommand");
|
|
952
|
+
var de_GetTelemetryEvaluationStatusForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
953
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
954
|
+
return de_CommandError(output, context);
|
|
955
|
+
}
|
|
956
|
+
const contents = (0, import_smithy_client.map)({
|
|
957
|
+
$metadata: deserializeMetadata(output)
|
|
958
|
+
});
|
|
959
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
960
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
961
|
+
FailureReason: import_smithy_client.expectString,
|
|
962
|
+
Status: import_smithy_client.expectString
|
|
963
|
+
});
|
|
964
|
+
Object.assign(contents, doc);
|
|
965
|
+
return contents;
|
|
966
|
+
}, "de_GetTelemetryEvaluationStatusForOrganizationCommand");
|
|
967
|
+
var de_GetTelemetryRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
968
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
969
|
+
return de_CommandError(output, context);
|
|
970
|
+
}
|
|
971
|
+
const contents = (0, import_smithy_client.map)({
|
|
972
|
+
$metadata: deserializeMetadata(output)
|
|
973
|
+
});
|
|
974
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
975
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
976
|
+
CreatedTimeStamp: import_smithy_client.expectLong,
|
|
977
|
+
LastUpdateTimeStamp: import_smithy_client.expectLong,
|
|
978
|
+
RuleArn: import_smithy_client.expectString,
|
|
979
|
+
RuleName: import_smithy_client.expectString,
|
|
980
|
+
TelemetryRule: import_smithy_client._json
|
|
981
|
+
});
|
|
982
|
+
Object.assign(contents, doc);
|
|
983
|
+
return contents;
|
|
984
|
+
}, "de_GetTelemetryRuleCommand");
|
|
985
|
+
var de_GetTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
986
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
987
|
+
return de_CommandError(output, context);
|
|
988
|
+
}
|
|
989
|
+
const contents = (0, import_smithy_client.map)({
|
|
990
|
+
$metadata: deserializeMetadata(output)
|
|
991
|
+
});
|
|
992
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
993
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
994
|
+
CreatedTimeStamp: import_smithy_client.expectLong,
|
|
995
|
+
LastUpdateTimeStamp: import_smithy_client.expectLong,
|
|
996
|
+
RuleArn: import_smithy_client.expectString,
|
|
997
|
+
RuleName: import_smithy_client.expectString,
|
|
998
|
+
TelemetryRule: import_smithy_client._json
|
|
999
|
+
});
|
|
1000
|
+
Object.assign(contents, doc);
|
|
1001
|
+
return contents;
|
|
1002
|
+
}, "de_GetTelemetryRuleForOrganizationCommand");
|
|
1003
|
+
var de_ListCentralizationRulesForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1004
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1005
|
+
return de_CommandError(output, context);
|
|
1006
|
+
}
|
|
1007
|
+
const contents = (0, import_smithy_client.map)({
|
|
1008
|
+
$metadata: deserializeMetadata(output)
|
|
1009
|
+
});
|
|
1010
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1011
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1012
|
+
CentralizationRuleSummaries: import_smithy_client._json,
|
|
1013
|
+
NextToken: import_smithy_client.expectString
|
|
1014
|
+
});
|
|
1015
|
+
Object.assign(contents, doc);
|
|
1016
|
+
return contents;
|
|
1017
|
+
}, "de_ListCentralizationRulesForOrganizationCommand");
|
|
1018
|
+
var de_ListResourceTelemetryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1019
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1020
|
+
return de_CommandError(output, context);
|
|
1021
|
+
}
|
|
1022
|
+
const contents = (0, import_smithy_client.map)({
|
|
1023
|
+
$metadata: deserializeMetadata(output)
|
|
1024
|
+
});
|
|
1025
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1026
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1027
|
+
NextToken: import_smithy_client.expectString,
|
|
1028
|
+
TelemetryConfigurations: import_smithy_client._json
|
|
1029
|
+
});
|
|
1030
|
+
Object.assign(contents, doc);
|
|
1031
|
+
return contents;
|
|
1032
|
+
}, "de_ListResourceTelemetryCommand");
|
|
1033
|
+
var de_ListResourceTelemetryForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1034
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1035
|
+
return de_CommandError(output, context);
|
|
1036
|
+
}
|
|
1037
|
+
const contents = (0, import_smithy_client.map)({
|
|
1038
|
+
$metadata: deserializeMetadata(output)
|
|
1039
|
+
});
|
|
1040
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1041
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1042
|
+
NextToken: import_smithy_client.expectString,
|
|
1043
|
+
TelemetryConfigurations: import_smithy_client._json
|
|
1044
|
+
});
|
|
1045
|
+
Object.assign(contents, doc);
|
|
1046
|
+
return contents;
|
|
1047
|
+
}, "de_ListResourceTelemetryForOrganizationCommand");
|
|
1048
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1049
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1050
|
+
return de_CommandError(output, context);
|
|
1051
|
+
}
|
|
1052
|
+
const contents = (0, import_smithy_client.map)({
|
|
1053
|
+
$metadata: deserializeMetadata(output)
|
|
1054
|
+
});
|
|
1055
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1056
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1057
|
+
Tags: import_smithy_client._json
|
|
1058
|
+
});
|
|
1059
|
+
Object.assign(contents, doc);
|
|
1060
|
+
return contents;
|
|
1061
|
+
}, "de_ListTagsForResourceCommand");
|
|
1062
|
+
var de_ListTelemetryRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1063
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1064
|
+
return de_CommandError(output, context);
|
|
1065
|
+
}
|
|
1066
|
+
const contents = (0, import_smithy_client.map)({
|
|
1067
|
+
$metadata: deserializeMetadata(output)
|
|
1068
|
+
});
|
|
1069
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1070
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1071
|
+
NextToken: import_smithy_client.expectString,
|
|
1072
|
+
TelemetryRuleSummaries: import_smithy_client._json
|
|
1073
|
+
});
|
|
1074
|
+
Object.assign(contents, doc);
|
|
1075
|
+
return contents;
|
|
1076
|
+
}, "de_ListTelemetryRulesCommand");
|
|
1077
|
+
var de_ListTelemetryRulesForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1078
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1079
|
+
return de_CommandError(output, context);
|
|
1080
|
+
}
|
|
1081
|
+
const contents = (0, import_smithy_client.map)({
|
|
1082
|
+
$metadata: deserializeMetadata(output)
|
|
1083
|
+
});
|
|
1084
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1085
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1086
|
+
NextToken: import_smithy_client.expectString,
|
|
1087
|
+
TelemetryRuleSummaries: import_smithy_client._json
|
|
1088
|
+
});
|
|
1089
|
+
Object.assign(contents, doc);
|
|
1090
|
+
return contents;
|
|
1091
|
+
}, "de_ListTelemetryRulesForOrganizationCommand");
|
|
1092
|
+
var de_StartTelemetryEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1093
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1094
|
+
return de_CommandError(output, context);
|
|
1095
|
+
}
|
|
1096
|
+
const contents = (0, import_smithy_client.map)({
|
|
1097
|
+
$metadata: deserializeMetadata(output)
|
|
1098
|
+
});
|
|
1099
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1100
|
+
return contents;
|
|
1101
|
+
}, "de_StartTelemetryEvaluationCommand");
|
|
1102
|
+
var de_StartTelemetryEvaluationForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1103
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1104
|
+
return de_CommandError(output, context);
|
|
1105
|
+
}
|
|
1106
|
+
const contents = (0, import_smithy_client.map)({
|
|
1107
|
+
$metadata: deserializeMetadata(output)
|
|
1108
|
+
});
|
|
1109
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1110
|
+
return contents;
|
|
1111
|
+
}, "de_StartTelemetryEvaluationForOrganizationCommand");
|
|
1112
|
+
var de_StopTelemetryEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1113
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1114
|
+
return de_CommandError(output, context);
|
|
1115
|
+
}
|
|
1116
|
+
const contents = (0, import_smithy_client.map)({
|
|
1117
|
+
$metadata: deserializeMetadata(output)
|
|
1118
|
+
});
|
|
1119
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1120
|
+
return contents;
|
|
1121
|
+
}, "de_StopTelemetryEvaluationCommand");
|
|
1122
|
+
var de_StopTelemetryEvaluationForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1123
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1124
|
+
return de_CommandError(output, context);
|
|
1125
|
+
}
|
|
1126
|
+
const contents = (0, import_smithy_client.map)({
|
|
1127
|
+
$metadata: deserializeMetadata(output)
|
|
1128
|
+
});
|
|
1129
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1130
|
+
return contents;
|
|
1131
|
+
}, "de_StopTelemetryEvaluationForOrganizationCommand");
|
|
1132
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1133
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1134
|
+
return de_CommandError(output, context);
|
|
1135
|
+
}
|
|
1136
|
+
const contents = (0, import_smithy_client.map)({
|
|
1137
|
+
$metadata: deserializeMetadata(output)
|
|
1138
|
+
});
|
|
1139
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1140
|
+
return contents;
|
|
1141
|
+
}, "de_TagResourceCommand");
|
|
1142
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1143
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1144
|
+
return de_CommandError(output, context);
|
|
1145
|
+
}
|
|
1146
|
+
const contents = (0, import_smithy_client.map)({
|
|
1147
|
+
$metadata: deserializeMetadata(output)
|
|
1148
|
+
});
|
|
1149
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1150
|
+
return contents;
|
|
1151
|
+
}, "de_UntagResourceCommand");
|
|
1152
|
+
var de_UpdateCentralizationRuleForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1153
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1154
|
+
return de_CommandError(output, context);
|
|
1155
|
+
}
|
|
1156
|
+
const contents = (0, import_smithy_client.map)({
|
|
1157
|
+
$metadata: deserializeMetadata(output)
|
|
1158
|
+
});
|
|
1159
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1160
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1161
|
+
RuleArn: import_smithy_client.expectString
|
|
1162
|
+
});
|
|
1163
|
+
Object.assign(contents, doc);
|
|
1164
|
+
return contents;
|
|
1165
|
+
}, "de_UpdateCentralizationRuleForOrganizationCommand");
|
|
1166
|
+
var de_UpdateTelemetryRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1167
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1168
|
+
return de_CommandError(output, context);
|
|
1169
|
+
}
|
|
1170
|
+
const contents = (0, import_smithy_client.map)({
|
|
1171
|
+
$metadata: deserializeMetadata(output)
|
|
1172
|
+
});
|
|
1173
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1174
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1175
|
+
RuleArn: import_smithy_client.expectString
|
|
1176
|
+
});
|
|
1177
|
+
Object.assign(contents, doc);
|
|
1178
|
+
return contents;
|
|
1179
|
+
}, "de_UpdateTelemetryRuleCommand");
|
|
1180
|
+
var de_UpdateTelemetryRuleForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1181
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1182
|
+
return de_CommandError(output, context);
|
|
1183
|
+
}
|
|
1184
|
+
const contents = (0, import_smithy_client.map)({
|
|
1185
|
+
$metadata: deserializeMetadata(output)
|
|
1186
|
+
});
|
|
1187
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1188
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1189
|
+
RuleArn: import_smithy_client.expectString
|
|
1190
|
+
});
|
|
1191
|
+
Object.assign(contents, doc);
|
|
1192
|
+
return contents;
|
|
1193
|
+
}, "de_UpdateTelemetryRuleForOrganizationCommand");
|
|
1194
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1195
|
+
const parsedOutput = {
|
|
1196
|
+
...output,
|
|
1197
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1198
|
+
};
|
|
1199
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1200
|
+
switch (errorCode) {
|
|
1201
|
+
case "AccessDeniedException":
|
|
1202
|
+
case "com.amazonaws.observabilityadmin#AccessDeniedException":
|
|
1203
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1204
|
+
case "ConflictException":
|
|
1205
|
+
case "com.amazonaws.observabilityadmin#ConflictException":
|
|
1206
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1207
|
+
case "InternalServerException":
|
|
1208
|
+
case "com.amazonaws.observabilityadmin#InternalServerException":
|
|
1209
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1210
|
+
case "ServiceQuotaExceededException":
|
|
1211
|
+
case "com.amazonaws.observabilityadmin#ServiceQuotaExceededException":
|
|
1212
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1213
|
+
case "TooManyRequestsException":
|
|
1214
|
+
case "com.amazonaws.observabilityadmin#TooManyRequestsException":
|
|
1215
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1216
|
+
case "ValidationException":
|
|
1217
|
+
case "com.amazonaws.observabilityadmin#ValidationException":
|
|
1218
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1219
|
+
case "ResourceNotFoundException":
|
|
1220
|
+
case "com.amazonaws.observabilityadmin#ResourceNotFoundException":
|
|
1221
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1222
|
+
default:
|
|
1223
|
+
const parsedBody = parsedOutput.body;
|
|
1224
|
+
return throwDefaultError({
|
|
1225
|
+
output,
|
|
1226
|
+
parsedBody,
|
|
1227
|
+
errorCode
|
|
1228
|
+
});
|
|
1229
|
+
}
|
|
1230
|
+
}, "de_CommandError");
|
|
1231
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(ObservabilityAdminServiceException);
|
|
1232
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1233
|
+
const contents = (0, import_smithy_client.map)({
|
|
1234
|
+
[_aET]: [, parsedOutput.headers[_xae]]
|
|
1235
|
+
});
|
|
1236
|
+
const data = parsedOutput.body;
|
|
1237
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1238
|
+
Message: import_smithy_client.expectString
|
|
1239
|
+
});
|
|
1240
|
+
Object.assign(contents, doc);
|
|
1241
|
+
const exception = new AccessDeniedException({
|
|
1242
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1243
|
+
...contents
|
|
1244
|
+
});
|
|
1245
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1246
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1247
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1248
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1249
|
+
const data = parsedOutput.body;
|
|
1250
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1251
|
+
Message: import_smithy_client.expectString
|
|
1252
|
+
});
|
|
1253
|
+
Object.assign(contents, doc);
|
|
1254
|
+
const exception = new ConflictException({
|
|
1255
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1256
|
+
...contents
|
|
1257
|
+
});
|
|
1258
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1259
|
+
}, "de_ConflictExceptionRes");
|
|
1260
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1261
|
+
const contents = (0, import_smithy_client.map)({
|
|
1262
|
+
[_aET]: [, parsedOutput.headers[_xae]]
|
|
1263
|
+
});
|
|
1264
|
+
const data = parsedOutput.body;
|
|
1265
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1266
|
+
Message: import_smithy_client.expectString
|
|
1267
|
+
});
|
|
1268
|
+
Object.assign(contents, doc);
|
|
1269
|
+
const exception = new InternalServerException({
|
|
1270
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1271
|
+
...contents
|
|
1272
|
+
});
|
|
1273
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1274
|
+
}, "de_InternalServerExceptionRes");
|
|
1275
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1276
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1277
|
+
const data = parsedOutput.body;
|
|
1278
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1279
|
+
Message: import_smithy_client.expectString
|
|
1280
|
+
});
|
|
1281
|
+
Object.assign(contents, doc);
|
|
1282
|
+
const exception = new ResourceNotFoundException({
|
|
1283
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1284
|
+
...contents
|
|
1285
|
+
});
|
|
1286
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1287
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1288
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1289
|
+
const contents = (0, import_smithy_client.map)({
|
|
1290
|
+
[_aET]: [, parsedOutput.headers[_xae]]
|
|
1291
|
+
});
|
|
1292
|
+
const data = parsedOutput.body;
|
|
1293
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1294
|
+
Message: import_smithy_client.expectString
|
|
1295
|
+
});
|
|
1296
|
+
Object.assign(contents, doc);
|
|
1297
|
+
const exception = new ServiceQuotaExceededException({
|
|
1298
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1299
|
+
...contents
|
|
1300
|
+
});
|
|
1301
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1302
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1303
|
+
var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1304
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1305
|
+
const data = parsedOutput.body;
|
|
1306
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1307
|
+
Message: import_smithy_client.expectString
|
|
1308
|
+
});
|
|
1309
|
+
Object.assign(contents, doc);
|
|
1310
|
+
const exception = new TooManyRequestsException({
|
|
1311
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1312
|
+
...contents
|
|
1313
|
+
});
|
|
1314
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1315
|
+
}, "de_TooManyRequestsExceptionRes");
|
|
1316
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1317
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1318
|
+
const data = parsedOutput.body;
|
|
1319
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1320
|
+
Message: import_smithy_client.expectString
|
|
1321
|
+
});
|
|
1322
|
+
Object.assign(contents, doc);
|
|
1323
|
+
const exception = new ValidationException({
|
|
1324
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1325
|
+
...contents
|
|
1326
|
+
});
|
|
1327
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1328
|
+
}, "de_ValidationExceptionRes");
|
|
1329
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1330
|
+
httpStatusCode: output.statusCode,
|
|
1331
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1332
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1333
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1334
|
+
}), "deserializeMetadata");
|
|
1335
|
+
var _aET = "amznErrorType";
|
|
1336
|
+
var _xae = "x-amzn-errortype";
|
|
1337
|
+
|
|
1338
|
+
// src/commands/CreateCentralizationRuleForOrganizationCommand.ts
|
|
1339
|
+
var CreateCentralizationRuleForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1340
|
+
return [
|
|
1341
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1342
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1343
|
+
];
|
|
1344
|
+
}).s("ObservabilityAdmin", "CreateCentralizationRuleForOrganization", {}).n("ObservabilityAdminClient", "CreateCentralizationRuleForOrganizationCommand").f(void 0, void 0).ser(se_CreateCentralizationRuleForOrganizationCommand).de(de_CreateCentralizationRuleForOrganizationCommand).build() {
|
|
1345
|
+
static {
|
|
1346
|
+
__name(this, "CreateCentralizationRuleForOrganizationCommand");
|
|
1347
|
+
}
|
|
1348
|
+
};
|
|
1349
|
+
|
|
1350
|
+
// src/commands/CreateTelemetryRuleCommand.ts
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
var CreateTelemetryRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1355
|
+
return [
|
|
1356
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1357
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1358
|
+
];
|
|
1359
|
+
}).s("ObservabilityAdmin", "CreateTelemetryRule", {}).n("ObservabilityAdminClient", "CreateTelemetryRuleCommand").f(void 0, void 0).ser(se_CreateTelemetryRuleCommand).de(de_CreateTelemetryRuleCommand).build() {
|
|
1360
|
+
static {
|
|
1361
|
+
__name(this, "CreateTelemetryRuleCommand");
|
|
1362
|
+
}
|
|
1363
|
+
};
|
|
1364
|
+
|
|
1365
|
+
// src/commands/CreateTelemetryRuleForOrganizationCommand.ts
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
var CreateTelemetryRuleForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1370
|
+
return [
|
|
1371
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1372
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1373
|
+
];
|
|
1374
|
+
}).s("ObservabilityAdmin", "CreateTelemetryRuleForOrganization", {}).n("ObservabilityAdminClient", "CreateTelemetryRuleForOrganizationCommand").f(void 0, void 0).ser(se_CreateTelemetryRuleForOrganizationCommand).de(de_CreateTelemetryRuleForOrganizationCommand).build() {
|
|
1375
|
+
static {
|
|
1376
|
+
__name(this, "CreateTelemetryRuleForOrganizationCommand");
|
|
1377
|
+
}
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
// src/commands/DeleteCentralizationRuleForOrganizationCommand.ts
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
var DeleteCentralizationRuleForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1385
|
+
return [
|
|
1386
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1387
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1388
|
+
];
|
|
1389
|
+
}).s("ObservabilityAdmin", "DeleteCentralizationRuleForOrganization", {}).n("ObservabilityAdminClient", "DeleteCentralizationRuleForOrganizationCommand").f(void 0, void 0).ser(se_DeleteCentralizationRuleForOrganizationCommand).de(de_DeleteCentralizationRuleForOrganizationCommand).build() {
|
|
1390
|
+
static {
|
|
1391
|
+
__name(this, "DeleteCentralizationRuleForOrganizationCommand");
|
|
1392
|
+
}
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
// src/commands/DeleteTelemetryRuleCommand.ts
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
var DeleteTelemetryRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1400
|
+
return [
|
|
1401
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1402
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1403
|
+
];
|
|
1404
|
+
}).s("ObservabilityAdmin", "DeleteTelemetryRule", {}).n("ObservabilityAdminClient", "DeleteTelemetryRuleCommand").f(void 0, void 0).ser(se_DeleteTelemetryRuleCommand).de(de_DeleteTelemetryRuleCommand).build() {
|
|
1405
|
+
static {
|
|
1406
|
+
__name(this, "DeleteTelemetryRuleCommand");
|
|
1407
|
+
}
|
|
1408
|
+
};
|
|
1409
|
+
|
|
1410
|
+
// src/commands/DeleteTelemetryRuleForOrganizationCommand.ts
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
var DeleteTelemetryRuleForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1415
|
+
return [
|
|
1416
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1417
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1418
|
+
];
|
|
1419
|
+
}).s("ObservabilityAdmin", "DeleteTelemetryRuleForOrganization", {}).n("ObservabilityAdminClient", "DeleteTelemetryRuleForOrganizationCommand").f(void 0, void 0).ser(se_DeleteTelemetryRuleForOrganizationCommand).de(de_DeleteTelemetryRuleForOrganizationCommand).build() {
|
|
1420
|
+
static {
|
|
1421
|
+
__name(this, "DeleteTelemetryRuleForOrganizationCommand");
|
|
1422
|
+
}
|
|
1423
|
+
};
|
|
1424
|
+
|
|
1425
|
+
// src/commands/GetCentralizationRuleForOrganizationCommand.ts
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
var GetCentralizationRuleForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1430
|
+
return [
|
|
1431
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1432
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1433
|
+
];
|
|
1434
|
+
}).s("ObservabilityAdmin", "GetCentralizationRuleForOrganization", {}).n("ObservabilityAdminClient", "GetCentralizationRuleForOrganizationCommand").f(void 0, void 0).ser(se_GetCentralizationRuleForOrganizationCommand).de(de_GetCentralizationRuleForOrganizationCommand).build() {
|
|
1435
|
+
static {
|
|
1436
|
+
__name(this, "GetCentralizationRuleForOrganizationCommand");
|
|
1437
|
+
}
|
|
1438
|
+
};
|
|
1439
|
+
|
|
1440
|
+
// src/commands/GetTelemetryEvaluationStatusCommand.ts
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
var GetTelemetryEvaluationStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1445
|
+
return [
|
|
1446
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1447
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1448
|
+
];
|
|
1449
|
+
}).s("ObservabilityAdmin", "GetTelemetryEvaluationStatus", {}).n("ObservabilityAdminClient", "GetTelemetryEvaluationStatusCommand").f(void 0, void 0).ser(se_GetTelemetryEvaluationStatusCommand).de(de_GetTelemetryEvaluationStatusCommand).build() {
|
|
1450
|
+
static {
|
|
1451
|
+
__name(this, "GetTelemetryEvaluationStatusCommand");
|
|
1452
|
+
}
|
|
1453
|
+
};
|
|
1454
|
+
|
|
1455
|
+
// src/commands/GetTelemetryEvaluationStatusForOrganizationCommand.ts
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
|
|
1459
|
+
var GetTelemetryEvaluationStatusForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1460
|
+
return [
|
|
1461
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1462
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1463
|
+
];
|
|
1464
|
+
}).s("ObservabilityAdmin", "GetTelemetryEvaluationStatusForOrganization", {}).n("ObservabilityAdminClient", "GetTelemetryEvaluationStatusForOrganizationCommand").f(void 0, void 0).ser(se_GetTelemetryEvaluationStatusForOrganizationCommand).de(de_GetTelemetryEvaluationStatusForOrganizationCommand).build() {
|
|
1465
|
+
static {
|
|
1466
|
+
__name(this, "GetTelemetryEvaluationStatusForOrganizationCommand");
|
|
1467
|
+
}
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1470
|
+
// src/commands/GetTelemetryRuleCommand.ts
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
var GetTelemetryRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1475
|
+
return [
|
|
1476
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1477
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1478
|
+
];
|
|
1479
|
+
}).s("ObservabilityAdmin", "GetTelemetryRule", {}).n("ObservabilityAdminClient", "GetTelemetryRuleCommand").f(void 0, void 0).ser(se_GetTelemetryRuleCommand).de(de_GetTelemetryRuleCommand).build() {
|
|
1480
|
+
static {
|
|
1481
|
+
__name(this, "GetTelemetryRuleCommand");
|
|
1482
|
+
}
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
// src/commands/GetTelemetryRuleForOrganizationCommand.ts
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
var GetTelemetryRuleForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1490
|
+
return [
|
|
1491
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1492
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1493
|
+
];
|
|
1494
|
+
}).s("ObservabilityAdmin", "GetTelemetryRuleForOrganization", {}).n("ObservabilityAdminClient", "GetTelemetryRuleForOrganizationCommand").f(void 0, void 0).ser(se_GetTelemetryRuleForOrganizationCommand).de(de_GetTelemetryRuleForOrganizationCommand).build() {
|
|
1495
|
+
static {
|
|
1496
|
+
__name(this, "GetTelemetryRuleForOrganizationCommand");
|
|
1497
|
+
}
|
|
1498
|
+
};
|
|
1499
|
+
|
|
1500
|
+
// src/commands/ListCentralizationRulesForOrganizationCommand.ts
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
|
|
1504
|
+
var ListCentralizationRulesForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1505
|
+
return [
|
|
1506
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1507
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1508
|
+
];
|
|
1509
|
+
}).s("ObservabilityAdmin", "ListCentralizationRulesForOrganization", {}).n("ObservabilityAdminClient", "ListCentralizationRulesForOrganizationCommand").f(void 0, void 0).ser(se_ListCentralizationRulesForOrganizationCommand).de(de_ListCentralizationRulesForOrganizationCommand).build() {
|
|
1510
|
+
static {
|
|
1511
|
+
__name(this, "ListCentralizationRulesForOrganizationCommand");
|
|
1512
|
+
}
|
|
1513
|
+
};
|
|
1514
|
+
|
|
1515
|
+
// src/commands/ListResourceTelemetryCommand.ts
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
var ListResourceTelemetryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1520
|
+
return [
|
|
1521
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1522
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1523
|
+
];
|
|
1524
|
+
}).s("ObservabilityAdmin", "ListResourceTelemetry", {}).n("ObservabilityAdminClient", "ListResourceTelemetryCommand").f(void 0, void 0).ser(se_ListResourceTelemetryCommand).de(de_ListResourceTelemetryCommand).build() {
|
|
1525
|
+
static {
|
|
1526
|
+
__name(this, "ListResourceTelemetryCommand");
|
|
1527
|
+
}
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
// src/commands/ListResourceTelemetryForOrganizationCommand.ts
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
var ListResourceTelemetryForOrganizationCommand = 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("ObservabilityAdmin", "ListResourceTelemetryForOrganization", {}).n("ObservabilityAdminClient", "ListResourceTelemetryForOrganizationCommand").f(void 0, void 0).ser(se_ListResourceTelemetryForOrganizationCommand).de(de_ListResourceTelemetryForOrganizationCommand).build() {
|
|
1540
|
+
static {
|
|
1541
|
+
__name(this, "ListResourceTelemetryForOrganizationCommand");
|
|
1542
|
+
}
|
|
1543
|
+
};
|
|
1544
|
+
|
|
1545
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
var ListTagsForResourceCommand = 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("ObservabilityAdmin", "ListTagsForResource", {}).n("ObservabilityAdminClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1555
|
+
static {
|
|
1556
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1557
|
+
}
|
|
1558
|
+
};
|
|
1559
|
+
|
|
1560
|
+
// src/commands/ListTelemetryRulesCommand.ts
|
|
1561
|
+
|
|
1562
|
+
|
|
1563
|
+
|
|
1564
|
+
var ListTelemetryRulesCommand = 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("ObservabilityAdmin", "ListTelemetryRules", {}).n("ObservabilityAdminClient", "ListTelemetryRulesCommand").f(void 0, void 0).ser(se_ListTelemetryRulesCommand).de(de_ListTelemetryRulesCommand).build() {
|
|
1570
|
+
static {
|
|
1571
|
+
__name(this, "ListTelemetryRulesCommand");
|
|
1572
|
+
}
|
|
1573
|
+
};
|
|
1574
|
+
|
|
1575
|
+
// src/commands/ListTelemetryRulesForOrganizationCommand.ts
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
|
|
1579
|
+
var ListTelemetryRulesForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1580
|
+
return [
|
|
1581
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1582
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1583
|
+
];
|
|
1584
|
+
}).s("ObservabilityAdmin", "ListTelemetryRulesForOrganization", {}).n("ObservabilityAdminClient", "ListTelemetryRulesForOrganizationCommand").f(void 0, void 0).ser(se_ListTelemetryRulesForOrganizationCommand).de(de_ListTelemetryRulesForOrganizationCommand).build() {
|
|
1585
|
+
static {
|
|
1586
|
+
__name(this, "ListTelemetryRulesForOrganizationCommand");
|
|
1587
|
+
}
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1590
|
+
// src/commands/StartTelemetryEvaluationCommand.ts
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
var StartTelemetryEvaluationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1595
|
+
return [
|
|
1596
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1597
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1598
|
+
];
|
|
1599
|
+
}).s("ObservabilityAdmin", "StartTelemetryEvaluation", {}).n("ObservabilityAdminClient", "StartTelemetryEvaluationCommand").f(void 0, void 0).ser(se_StartTelemetryEvaluationCommand).de(de_StartTelemetryEvaluationCommand).build() {
|
|
1600
|
+
static {
|
|
1601
|
+
__name(this, "StartTelemetryEvaluationCommand");
|
|
1602
|
+
}
|
|
1603
|
+
};
|
|
1604
|
+
|
|
1605
|
+
// src/commands/StartTelemetryEvaluationForOrganizationCommand.ts
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
|
|
1609
|
+
var StartTelemetryEvaluationForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1610
|
+
return [
|
|
1611
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1612
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1613
|
+
];
|
|
1614
|
+
}).s("ObservabilityAdmin", "StartTelemetryEvaluationForOrganization", {}).n("ObservabilityAdminClient", "StartTelemetryEvaluationForOrganizationCommand").f(void 0, void 0).ser(se_StartTelemetryEvaluationForOrganizationCommand).de(de_StartTelemetryEvaluationForOrganizationCommand).build() {
|
|
1615
|
+
static {
|
|
1616
|
+
__name(this, "StartTelemetryEvaluationForOrganizationCommand");
|
|
1617
|
+
}
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1620
|
+
// src/commands/StopTelemetryEvaluationCommand.ts
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
|
|
1624
|
+
var StopTelemetryEvaluationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1625
|
+
return [
|
|
1626
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1627
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1628
|
+
];
|
|
1629
|
+
}).s("ObservabilityAdmin", "StopTelemetryEvaluation", {}).n("ObservabilityAdminClient", "StopTelemetryEvaluationCommand").f(void 0, void 0).ser(se_StopTelemetryEvaluationCommand).de(de_StopTelemetryEvaluationCommand).build() {
|
|
1630
|
+
static {
|
|
1631
|
+
__name(this, "StopTelemetryEvaluationCommand");
|
|
1632
|
+
}
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
// src/commands/StopTelemetryEvaluationForOrganizationCommand.ts
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
var StopTelemetryEvaluationForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1640
|
+
return [
|
|
1641
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1642
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1643
|
+
];
|
|
1644
|
+
}).s("ObservabilityAdmin", "StopTelemetryEvaluationForOrganization", {}).n("ObservabilityAdminClient", "StopTelemetryEvaluationForOrganizationCommand").f(void 0, void 0).ser(se_StopTelemetryEvaluationForOrganizationCommand).de(de_StopTelemetryEvaluationForOrganizationCommand).build() {
|
|
1645
|
+
static {
|
|
1646
|
+
__name(this, "StopTelemetryEvaluationForOrganizationCommand");
|
|
1647
|
+
}
|
|
1648
|
+
};
|
|
1649
|
+
|
|
1650
|
+
// src/commands/TagResourceCommand.ts
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1655
|
+
return [
|
|
1656
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1657
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1658
|
+
];
|
|
1659
|
+
}).s("ObservabilityAdmin", "TagResource", {}).n("ObservabilityAdminClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1660
|
+
static {
|
|
1661
|
+
__name(this, "TagResourceCommand");
|
|
1662
|
+
}
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
// src/commands/UntagResourceCommand.ts
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1670
|
+
return [
|
|
1671
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1672
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1673
|
+
];
|
|
1674
|
+
}).s("ObservabilityAdmin", "UntagResource", {}).n("ObservabilityAdminClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1675
|
+
static {
|
|
1676
|
+
__name(this, "UntagResourceCommand");
|
|
1677
|
+
}
|
|
1678
|
+
};
|
|
1679
|
+
|
|
1680
|
+
// src/commands/UpdateCentralizationRuleForOrganizationCommand.ts
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
var UpdateCentralizationRuleForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1685
|
+
return [
|
|
1686
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1687
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1688
|
+
];
|
|
1689
|
+
}).s("ObservabilityAdmin", "UpdateCentralizationRuleForOrganization", {}).n("ObservabilityAdminClient", "UpdateCentralizationRuleForOrganizationCommand").f(void 0, void 0).ser(se_UpdateCentralizationRuleForOrganizationCommand).de(de_UpdateCentralizationRuleForOrganizationCommand).build() {
|
|
1690
|
+
static {
|
|
1691
|
+
__name(this, "UpdateCentralizationRuleForOrganizationCommand");
|
|
1692
|
+
}
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1695
|
+
// src/commands/UpdateTelemetryRuleCommand.ts
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
var UpdateTelemetryRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1700
|
+
return [
|
|
1701
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1702
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1703
|
+
];
|
|
1704
|
+
}).s("ObservabilityAdmin", "UpdateTelemetryRule", {}).n("ObservabilityAdminClient", "UpdateTelemetryRuleCommand").f(void 0, void 0).ser(se_UpdateTelemetryRuleCommand).de(de_UpdateTelemetryRuleCommand).build() {
|
|
1705
|
+
static {
|
|
1706
|
+
__name(this, "UpdateTelemetryRuleCommand");
|
|
1707
|
+
}
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
// src/commands/UpdateTelemetryRuleForOrganizationCommand.ts
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
var UpdateTelemetryRuleForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1715
|
+
return [
|
|
1716
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1717
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1718
|
+
];
|
|
1719
|
+
}).s("ObservabilityAdmin", "UpdateTelemetryRuleForOrganization", {}).n("ObservabilityAdminClient", "UpdateTelemetryRuleForOrganizationCommand").f(void 0, void 0).ser(se_UpdateTelemetryRuleForOrganizationCommand).de(de_UpdateTelemetryRuleForOrganizationCommand).build() {
|
|
1720
|
+
static {
|
|
1721
|
+
__name(this, "UpdateTelemetryRuleForOrganizationCommand");
|
|
1722
|
+
}
|
|
1723
|
+
};
|
|
1724
|
+
|
|
1725
|
+
// src/ObservabilityAdmin.ts
|
|
1726
|
+
var commands = {
|
|
1727
|
+
CreateCentralizationRuleForOrganizationCommand,
|
|
1728
|
+
CreateTelemetryRuleCommand,
|
|
1729
|
+
CreateTelemetryRuleForOrganizationCommand,
|
|
1730
|
+
DeleteCentralizationRuleForOrganizationCommand,
|
|
1731
|
+
DeleteTelemetryRuleCommand,
|
|
1732
|
+
DeleteTelemetryRuleForOrganizationCommand,
|
|
1733
|
+
GetCentralizationRuleForOrganizationCommand,
|
|
1734
|
+
GetTelemetryEvaluationStatusCommand,
|
|
1735
|
+
GetTelemetryEvaluationStatusForOrganizationCommand,
|
|
1736
|
+
GetTelemetryRuleCommand,
|
|
1737
|
+
GetTelemetryRuleForOrganizationCommand,
|
|
1738
|
+
ListCentralizationRulesForOrganizationCommand,
|
|
1739
|
+
ListResourceTelemetryCommand,
|
|
1740
|
+
ListResourceTelemetryForOrganizationCommand,
|
|
1741
|
+
ListTagsForResourceCommand,
|
|
1742
|
+
ListTelemetryRulesCommand,
|
|
1743
|
+
ListTelemetryRulesForOrganizationCommand,
|
|
1744
|
+
StartTelemetryEvaluationCommand,
|
|
1745
|
+
StartTelemetryEvaluationForOrganizationCommand,
|
|
1746
|
+
StopTelemetryEvaluationCommand,
|
|
1747
|
+
StopTelemetryEvaluationForOrganizationCommand,
|
|
1748
|
+
TagResourceCommand,
|
|
1749
|
+
UntagResourceCommand,
|
|
1750
|
+
UpdateCentralizationRuleForOrganizationCommand,
|
|
1751
|
+
UpdateTelemetryRuleCommand,
|
|
1752
|
+
UpdateTelemetryRuleForOrganizationCommand
|
|
1753
|
+
};
|
|
1754
|
+
var ObservabilityAdmin = class extends ObservabilityAdminClient {
|
|
1755
|
+
static {
|
|
1756
|
+
__name(this, "ObservabilityAdmin");
|
|
1757
|
+
}
|
|
1758
|
+
};
|
|
1759
|
+
(0, import_smithy_client.createAggregatedClient)(commands, ObservabilityAdmin);
|
|
1760
|
+
|
|
1761
|
+
// src/pagination/ListCentralizationRulesForOrganizationPaginator.ts
|
|
1762
|
+
|
|
1763
|
+
var paginateListCentralizationRulesForOrganization = (0, import_core.createPaginator)(ObservabilityAdminClient, ListCentralizationRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
1764
|
+
|
|
1765
|
+
// src/pagination/ListResourceTelemetryForOrganizationPaginator.ts
|
|
1766
|
+
|
|
1767
|
+
var paginateListResourceTelemetryForOrganization = (0, import_core.createPaginator)(ObservabilityAdminClient, ListResourceTelemetryForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
1768
|
+
|
|
1769
|
+
// src/pagination/ListResourceTelemetryPaginator.ts
|
|
1770
|
+
|
|
1771
|
+
var paginateListResourceTelemetry = (0, import_core.createPaginator)(ObservabilityAdminClient, ListResourceTelemetryCommand, "NextToken", "NextToken", "MaxResults");
|
|
1772
|
+
|
|
1773
|
+
// src/pagination/ListTelemetryRulesForOrganizationPaginator.ts
|
|
1774
|
+
|
|
1775
|
+
var paginateListTelemetryRulesForOrganization = (0, import_core.createPaginator)(ObservabilityAdminClient, ListTelemetryRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
1776
|
+
|
|
1777
|
+
// src/pagination/ListTelemetryRulesPaginator.ts
|
|
1778
|
+
|
|
1779
|
+
var paginateListTelemetryRules = (0, import_core.createPaginator)(ObservabilityAdminClient, ListTelemetryRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1780
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1781
|
+
|
|
1782
|
+
0 && (module.exports = {
|
|
1783
|
+
ObservabilityAdminServiceException,
|
|
1784
|
+
__Client,
|
|
1785
|
+
ObservabilityAdminClient,
|
|
1786
|
+
ObservabilityAdmin,
|
|
1787
|
+
$Command,
|
|
1788
|
+
CreateCentralizationRuleForOrganizationCommand,
|
|
1789
|
+
CreateTelemetryRuleCommand,
|
|
1790
|
+
CreateTelemetryRuleForOrganizationCommand,
|
|
1791
|
+
DeleteCentralizationRuleForOrganizationCommand,
|
|
1792
|
+
DeleteTelemetryRuleCommand,
|
|
1793
|
+
DeleteTelemetryRuleForOrganizationCommand,
|
|
1794
|
+
GetCentralizationRuleForOrganizationCommand,
|
|
1795
|
+
GetTelemetryEvaluationStatusCommand,
|
|
1796
|
+
GetTelemetryEvaluationStatusForOrganizationCommand,
|
|
1797
|
+
GetTelemetryRuleCommand,
|
|
1798
|
+
GetTelemetryRuleForOrganizationCommand,
|
|
1799
|
+
ListCentralizationRulesForOrganizationCommand,
|
|
1800
|
+
ListResourceTelemetryCommand,
|
|
1801
|
+
ListResourceTelemetryForOrganizationCommand,
|
|
1802
|
+
ListTagsForResourceCommand,
|
|
1803
|
+
ListTelemetryRulesCommand,
|
|
1804
|
+
ListTelemetryRulesForOrganizationCommand,
|
|
1805
|
+
StartTelemetryEvaluationCommand,
|
|
1806
|
+
StartTelemetryEvaluationForOrganizationCommand,
|
|
1807
|
+
StopTelemetryEvaluationCommand,
|
|
1808
|
+
StopTelemetryEvaluationForOrganizationCommand,
|
|
1809
|
+
TagResourceCommand,
|
|
1810
|
+
UntagResourceCommand,
|
|
1811
|
+
UpdateCentralizationRuleForOrganizationCommand,
|
|
1812
|
+
UpdateTelemetryRuleCommand,
|
|
1813
|
+
UpdateTelemetryRuleForOrganizationCommand,
|
|
1814
|
+
paginateListCentralizationRulesForOrganization,
|
|
1815
|
+
paginateListResourceTelemetryForOrganization,
|
|
1816
|
+
paginateListResourceTelemetry,
|
|
1817
|
+
paginateListTelemetryRulesForOrganization,
|
|
1818
|
+
paginateListTelemetryRules,
|
|
1819
|
+
AccessDeniedException,
|
|
1820
|
+
CentralizationFailureReason,
|
|
1821
|
+
EncryptionConflictResolutionStrategy,
|
|
1822
|
+
EncryptionStrategy,
|
|
1823
|
+
EncryptedLogGroupStrategy,
|
|
1824
|
+
RuleHealth,
|
|
1825
|
+
ConflictException,
|
|
1826
|
+
InternalServerException,
|
|
1827
|
+
ServiceQuotaExceededException,
|
|
1828
|
+
TooManyRequestsException,
|
|
1829
|
+
ValidationException,
|
|
1830
|
+
DestinationType,
|
|
1831
|
+
ResourceType,
|
|
1832
|
+
TelemetryType,
|
|
1833
|
+
ResourceNotFoundException,
|
|
1834
|
+
Status,
|
|
1835
|
+
TelemetryState
|
|
1836
|
+
});
|
|
1837
|
+
|