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