@aws-sdk/client-observabilityadmin 3.702.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/LICENSE +201 -0
- package/README.md +272 -0
- package/dist-cjs/ObservabilityAdmin.js +27 -0
- package/dist-cjs/ObservabilityAdminClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/GetTelemetryEvaluationStatusCommand.js +26 -0
- package/dist-cjs/commands/GetTelemetryEvaluationStatusForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/ListResourceTelemetryCommand.js +26 -0
- package/dist-cjs/commands/ListResourceTelemetryForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/StartTelemetryEvaluationCommand.js +26 -0
- package/dist-cjs/commands/StartTelemetryEvaluationForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/StopTelemetryEvaluationCommand.js +26 -0
- package/dist-cjs/commands/StopTelemetryEvaluationForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/ObservabilityAdminServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +72 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListResourceTelemetryForOrganizationPaginator.js +7 -0
- package/dist-cjs/pagination/ListResourceTelemetryPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +287 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/ObservabilityAdmin.js +23 -0
- package/dist-es/ObservabilityAdminClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/GetTelemetryEvaluationStatusCommand.js +22 -0
- package/dist-es/commands/GetTelemetryEvaluationStatusForOrganizationCommand.js +22 -0
- package/dist-es/commands/ListResourceTelemetryCommand.js +22 -0
- package/dist-es/commands/ListResourceTelemetryForOrganizationCommand.js +22 -0
- package/dist-es/commands/StartTelemetryEvaluationCommand.js +22 -0
- package/dist-es/commands/StartTelemetryEvaluationForOrganizationCommand.js +22 -0
- package/dist-es/commands/StopTelemetryEvaluationCommand.js +22 -0
- package/dist-es/commands/StopTelemetryEvaluationForOrganizationCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/ObservabilityAdminServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +66 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListResourceTelemetryForOrganizationPaginator.js +4 -0
- package/dist-es/pagination/ListResourceTelemetryPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +268 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/ObservabilityAdmin.d.ts +77 -0
- package/dist-types/ObservabilityAdminClient.d.ts +180 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/GetTelemetryEvaluationStatusCommand.d.ts +82 -0
- package/dist-types/commands/GetTelemetryEvaluationStatusForOrganizationCommand.d.ts +87 -0
- package/dist-types/commands/ListResourceTelemetryCommand.d.ts +113 -0
- package/dist-types/commands/ListResourceTelemetryForOrganizationCommand.d.ts +116 -0
- package/dist-types/commands/StartTelemetryEvaluationCommand.d.ts +83 -0
- package/dist-types/commands/StartTelemetryEvaluationForOrganizationCommand.d.ts +83 -0
- package/dist-types/commands/StopTelemetryEvaluationCommand.d.ts +83 -0
- package/dist-types/commands/StopTelemetryEvaluationForOrganizationCommand.d.ts +83 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +17 -0
- package/dist-types/models/ObservabilityAdminServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +344 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListResourceTelemetryForOrganizationPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceTelemetryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +74 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/ObservabilityAdmin.d.ts +175 -0
- package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +169 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetTelemetryEvaluationStatusCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTelemetryEvaluationStatusForOrganizationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListResourceTelemetryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResourceTelemetryForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartTelemetryEvaluationCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/StartTelemetryEvaluationForOrganizationCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/StopTelemetryEvaluationCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/StopTelemetryEvaluationForOrganizationCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/ObservabilityAdminServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +104 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListResourceTelemetryForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceTelemetryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
4
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
5
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
6
|
+
import { defaultObservabilityAdminHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
7
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
8
|
+
export const getRuntimeConfig = (config) => {
|
|
9
|
+
return {
|
|
10
|
+
apiVersion: "2018-05-10",
|
|
11
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
12
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
13
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
15
|
+
extensions: config?.extensions ?? [],
|
|
16
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultObservabilityAdminHttpAuthSchemeProvider,
|
|
17
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
18
|
+
{
|
|
19
|
+
schemeId: "aws.auth#sigv4",
|
|
20
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
21
|
+
signer: new AwsSdkSigV4Signer(),
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
25
|
+
serviceId: config?.serviceId ?? "ObservabilityAdmin",
|
|
26
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
27
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
28
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
|
+
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
const asPartial = (t) => t;
|
|
6
|
+
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
+
};
|
|
13
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
+
return {
|
|
15
|
+
...runtimeConfig,
|
|
16
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { GetTelemetryEvaluationStatusCommandInput, GetTelemetryEvaluationStatusCommandOutput } from "./commands/GetTelemetryEvaluationStatusCommand";
|
|
3
|
+
import { GetTelemetryEvaluationStatusForOrganizationCommandInput, GetTelemetryEvaluationStatusForOrganizationCommandOutput } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
|
|
4
|
+
import { ListResourceTelemetryCommandInput, ListResourceTelemetryCommandOutput } from "./commands/ListResourceTelemetryCommand";
|
|
5
|
+
import { ListResourceTelemetryForOrganizationCommandInput, ListResourceTelemetryForOrganizationCommandOutput } from "./commands/ListResourceTelemetryForOrganizationCommand";
|
|
6
|
+
import { StartTelemetryEvaluationCommandInput, StartTelemetryEvaluationCommandOutput } from "./commands/StartTelemetryEvaluationCommand";
|
|
7
|
+
import { StartTelemetryEvaluationForOrganizationCommandInput, StartTelemetryEvaluationForOrganizationCommandOutput } from "./commands/StartTelemetryEvaluationForOrganizationCommand";
|
|
8
|
+
import { StopTelemetryEvaluationCommandInput, StopTelemetryEvaluationCommandOutput } from "./commands/StopTelemetryEvaluationCommand";
|
|
9
|
+
import { StopTelemetryEvaluationForOrganizationCommandInput, StopTelemetryEvaluationForOrganizationCommandOutput } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
|
|
10
|
+
import { ObservabilityAdminClient } from "./ObservabilityAdminClient";
|
|
11
|
+
export interface ObservabilityAdmin {
|
|
12
|
+
/**
|
|
13
|
+
* @see {@link GetTelemetryEvaluationStatusCommand}
|
|
14
|
+
*/
|
|
15
|
+
getTelemetryEvaluationStatus(): Promise<GetTelemetryEvaluationStatusCommandOutput>;
|
|
16
|
+
getTelemetryEvaluationStatus(args: GetTelemetryEvaluationStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetTelemetryEvaluationStatusCommandOutput>;
|
|
17
|
+
getTelemetryEvaluationStatus(args: GetTelemetryEvaluationStatusCommandInput, cb: (err: any, data?: GetTelemetryEvaluationStatusCommandOutput) => void): void;
|
|
18
|
+
getTelemetryEvaluationStatus(args: GetTelemetryEvaluationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTelemetryEvaluationStatusCommandOutput) => void): void;
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link GetTelemetryEvaluationStatusForOrganizationCommand}
|
|
21
|
+
*/
|
|
22
|
+
getTelemetryEvaluationStatusForOrganization(): Promise<GetTelemetryEvaluationStatusForOrganizationCommandOutput>;
|
|
23
|
+
getTelemetryEvaluationStatusForOrganization(args: GetTelemetryEvaluationStatusForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<GetTelemetryEvaluationStatusForOrganizationCommandOutput>;
|
|
24
|
+
getTelemetryEvaluationStatusForOrganization(args: GetTelemetryEvaluationStatusForOrganizationCommandInput, cb: (err: any, data?: GetTelemetryEvaluationStatusForOrganizationCommandOutput) => void): void;
|
|
25
|
+
getTelemetryEvaluationStatusForOrganization(args: GetTelemetryEvaluationStatusForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTelemetryEvaluationStatusForOrganizationCommandOutput) => void): void;
|
|
26
|
+
/**
|
|
27
|
+
* @see {@link ListResourceTelemetryCommand}
|
|
28
|
+
*/
|
|
29
|
+
listResourceTelemetry(): Promise<ListResourceTelemetryCommandOutput>;
|
|
30
|
+
listResourceTelemetry(args: ListResourceTelemetryCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceTelemetryCommandOutput>;
|
|
31
|
+
listResourceTelemetry(args: ListResourceTelemetryCommandInput, cb: (err: any, data?: ListResourceTelemetryCommandOutput) => void): void;
|
|
32
|
+
listResourceTelemetry(args: ListResourceTelemetryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceTelemetryCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link ListResourceTelemetryForOrganizationCommand}
|
|
35
|
+
*/
|
|
36
|
+
listResourceTelemetryForOrganization(): Promise<ListResourceTelemetryForOrganizationCommandOutput>;
|
|
37
|
+
listResourceTelemetryForOrganization(args: ListResourceTelemetryForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceTelemetryForOrganizationCommandOutput>;
|
|
38
|
+
listResourceTelemetryForOrganization(args: ListResourceTelemetryForOrganizationCommandInput, cb: (err: any, data?: ListResourceTelemetryForOrganizationCommandOutput) => void): void;
|
|
39
|
+
listResourceTelemetryForOrganization(args: ListResourceTelemetryForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceTelemetryForOrganizationCommandOutput) => void): void;
|
|
40
|
+
/**
|
|
41
|
+
* @see {@link StartTelemetryEvaluationCommand}
|
|
42
|
+
*/
|
|
43
|
+
startTelemetryEvaluation(): Promise<StartTelemetryEvaluationCommandOutput>;
|
|
44
|
+
startTelemetryEvaluation(args: StartTelemetryEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<StartTelemetryEvaluationCommandOutput>;
|
|
45
|
+
startTelemetryEvaluation(args: StartTelemetryEvaluationCommandInput, cb: (err: any, data?: StartTelemetryEvaluationCommandOutput) => void): void;
|
|
46
|
+
startTelemetryEvaluation(args: StartTelemetryEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTelemetryEvaluationCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link StartTelemetryEvaluationForOrganizationCommand}
|
|
49
|
+
*/
|
|
50
|
+
startTelemetryEvaluationForOrganization(): Promise<StartTelemetryEvaluationForOrganizationCommandOutput>;
|
|
51
|
+
startTelemetryEvaluationForOrganization(args: StartTelemetryEvaluationForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<StartTelemetryEvaluationForOrganizationCommandOutput>;
|
|
52
|
+
startTelemetryEvaluationForOrganization(args: StartTelemetryEvaluationForOrganizationCommandInput, cb: (err: any, data?: StartTelemetryEvaluationForOrganizationCommandOutput) => void): void;
|
|
53
|
+
startTelemetryEvaluationForOrganization(args: StartTelemetryEvaluationForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTelemetryEvaluationForOrganizationCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link StopTelemetryEvaluationCommand}
|
|
56
|
+
*/
|
|
57
|
+
stopTelemetryEvaluation(): Promise<StopTelemetryEvaluationCommandOutput>;
|
|
58
|
+
stopTelemetryEvaluation(args: StopTelemetryEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<StopTelemetryEvaluationCommandOutput>;
|
|
59
|
+
stopTelemetryEvaluation(args: StopTelemetryEvaluationCommandInput, cb: (err: any, data?: StopTelemetryEvaluationCommandOutput) => void): void;
|
|
60
|
+
stopTelemetryEvaluation(args: StopTelemetryEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTelemetryEvaluationCommandOutput) => void): void;
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link StopTelemetryEvaluationForOrganizationCommand}
|
|
63
|
+
*/
|
|
64
|
+
stopTelemetryEvaluationForOrganization(): Promise<StopTelemetryEvaluationForOrganizationCommandOutput>;
|
|
65
|
+
stopTelemetryEvaluationForOrganization(args: StopTelemetryEvaluationForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<StopTelemetryEvaluationForOrganizationCommandOutput>;
|
|
66
|
+
stopTelemetryEvaluationForOrganization(args: StopTelemetryEvaluationForOrganizationCommandInput, cb: (err: any, data?: StopTelemetryEvaluationForOrganizationCommandOutput) => void): void;
|
|
67
|
+
stopTelemetryEvaluationForOrganization(args: StopTelemetryEvaluationForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTelemetryEvaluationForOrganizationCommandOutput) => void): void;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* <p>
|
|
71
|
+
* Amazon CloudWatch Obsersavability Admin to control temletry config for your AWS Organization or account. Telemetry config config to discover and understand the state of telemetry configuration for your AWS resources from a central view in the CloudWatch console. Telemetry config simplifies the process of auditing your telemetry collection configurations across multiple resource types across your AWS Organization or account.
|
|
72
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a> in the CloudWatch User Guide.</p>
|
|
73
|
+
* <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html">Identity and access management for Amazon CloudWatch</a> in the CloudWatch User Guide.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class ObservabilityAdmin extends ObservabilityAdminClient implements ObservabilityAdmin {
|
|
77
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { GetTelemetryEvaluationStatusCommandInput, GetTelemetryEvaluationStatusCommandOutput } from "./commands/GetTelemetryEvaluationStatusCommand";
|
|
11
|
+
import { GetTelemetryEvaluationStatusForOrganizationCommandInput, GetTelemetryEvaluationStatusForOrganizationCommandOutput } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
|
|
12
|
+
import { ListResourceTelemetryCommandInput, ListResourceTelemetryCommandOutput } from "./commands/ListResourceTelemetryCommand";
|
|
13
|
+
import { ListResourceTelemetryForOrganizationCommandInput, ListResourceTelemetryForOrganizationCommandOutput } from "./commands/ListResourceTelemetryForOrganizationCommand";
|
|
14
|
+
import { StartTelemetryEvaluationCommandInput, StartTelemetryEvaluationCommandOutput } from "./commands/StartTelemetryEvaluationCommand";
|
|
15
|
+
import { StartTelemetryEvaluationForOrganizationCommandInput, StartTelemetryEvaluationForOrganizationCommandOutput } from "./commands/StartTelemetryEvaluationForOrganizationCommand";
|
|
16
|
+
import { StopTelemetryEvaluationCommandInput, StopTelemetryEvaluationCommandOutput } from "./commands/StopTelemetryEvaluationCommand";
|
|
17
|
+
import { StopTelemetryEvaluationForOrganizationCommandInput, StopTelemetryEvaluationForOrganizationCommandOutput } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
|
|
18
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
19
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
20
|
+
export { __Client };
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type ServiceInputTypes = GetTelemetryEvaluationStatusCommandInput | GetTelemetryEvaluationStatusForOrganizationCommandInput | ListResourceTelemetryCommandInput | ListResourceTelemetryForOrganizationCommandInput | StartTelemetryEvaluationCommandInput | StartTelemetryEvaluationForOrganizationCommandInput | StopTelemetryEvaluationCommandInput | StopTelemetryEvaluationForOrganizationCommandInput;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type ServiceOutputTypes = GetTelemetryEvaluationStatusCommandOutput | GetTelemetryEvaluationStatusForOrganizationCommandOutput | ListResourceTelemetryCommandOutput | ListResourceTelemetryForOrganizationCommandOutput | StartTelemetryEvaluationCommandOutput | StartTelemetryEvaluationForOrganizationCommandOutput | StopTelemetryEvaluationCommandOutput | StopTelemetryEvaluationForOrganizationCommandOutput;
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
33
|
+
/**
|
|
34
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
35
|
+
*/
|
|
36
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
37
|
+
/**
|
|
38
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
39
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
43
|
+
/**
|
|
44
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
urlParser?: __UrlParser;
|
|
48
|
+
/**
|
|
49
|
+
* A function that can calculate the length of a request body.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
53
|
+
/**
|
|
54
|
+
* A function that converts a stream into an array of bytes.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
streamCollector?: __StreamCollector;
|
|
58
|
+
/**
|
|
59
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
base64Decoder?: __Decoder;
|
|
63
|
+
/**
|
|
64
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
base64Encoder?: __Encoder;
|
|
68
|
+
/**
|
|
69
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
utf8Decoder?: __Decoder;
|
|
73
|
+
/**
|
|
74
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
utf8Encoder?: __Encoder;
|
|
78
|
+
/**
|
|
79
|
+
* The runtime environment.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
runtime?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
85
|
+
* trait of an operation.
|
|
86
|
+
*/
|
|
87
|
+
disableHostPrefix?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Unique service identifier.
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
serviceId?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
95
|
+
*/
|
|
96
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* Enables FIPS compatible endpoints.
|
|
99
|
+
*/
|
|
100
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* The AWS region to which this client will send requests
|
|
103
|
+
*/
|
|
104
|
+
region?: string | __Provider<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
110
|
+
/**
|
|
111
|
+
* Default credentials provider; Not available in browser runtime.
|
|
112
|
+
* @deprecated
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
116
|
+
/**
|
|
117
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
118
|
+
*/
|
|
119
|
+
maxAttempts?: number | __Provider<number>;
|
|
120
|
+
/**
|
|
121
|
+
* Specifies which retry algorithm to use.
|
|
122
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
retryMode?: string | __Provider<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Optional logger for logging debug/info/warn/error.
|
|
128
|
+
*/
|
|
129
|
+
logger?: __Logger;
|
|
130
|
+
/**
|
|
131
|
+
* Optional extensions
|
|
132
|
+
*/
|
|
133
|
+
extensions?: RuntimeExtension[];
|
|
134
|
+
/**
|
|
135
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
136
|
+
*/
|
|
137
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export type ObservabilityAdminClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*
|
|
146
|
+
* The configuration interface of ObservabilityAdminClient class constructor that set the region, credentials and other options.
|
|
147
|
+
*/
|
|
148
|
+
export interface ObservabilityAdminClientConfig extends ObservabilityAdminClientConfigType {
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export type ObservabilityAdminClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*
|
|
157
|
+
* The resolved configuration interface of ObservabilityAdminClient class. This is resolved and normalized from the {@link ObservabilityAdminClientConfig | constructor configuration interface}.
|
|
158
|
+
*/
|
|
159
|
+
export interface ObservabilityAdminClientResolvedConfig extends ObservabilityAdminClientResolvedConfigType {
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* <p>
|
|
163
|
+
* Amazon CloudWatch Obsersavability Admin to control temletry config for your AWS Organization or account. Telemetry config config to discover and understand the state of telemetry configuration for your AWS resources from a central view in the CloudWatch console. Telemetry config simplifies the process of auditing your telemetry collection configurations across multiple resource types across your AWS Organization or account.
|
|
164
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a> in the CloudWatch User Guide.</p>
|
|
165
|
+
* <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html">Identity and access management for Amazon CloudWatch</a> in the CloudWatch User Guide.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export declare class ObservabilityAdminClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ObservabilityAdminClientResolvedConfig> {
|
|
169
|
+
/**
|
|
170
|
+
* The resolved configuration of ObservabilityAdminClient class. This is resolved and normalized from the {@link ObservabilityAdminClientConfig | constructor configuration interface}.
|
|
171
|
+
*/
|
|
172
|
+
readonly config: ObservabilityAdminClientResolvedConfig;
|
|
173
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<ObservabilityAdminClientConfig>);
|
|
174
|
+
/**
|
|
175
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
176
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
177
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
178
|
+
*/
|
|
179
|
+
destroy(): void;
|
|
180
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { ObservabilityAdminHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: ObservabilityAdminHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): ObservabilityAdminHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: ObservabilityAdminHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { ObservabilityAdminClientResolvedConfig } from "../ObservabilityAdminClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface ObservabilityAdminHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface ObservabilityAdminHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<ObservabilityAdminClientResolvedConfig, HandlerExecutionContext, ObservabilityAdminHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultObservabilityAdminHttpAuthSchemeParametersProvider: (config: ObservabilityAdminClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<ObservabilityAdminHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface ObservabilityAdminHttpAuthSchemeProvider extends HttpAuthSchemeProvider<ObservabilityAdminHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultObservabilityAdminHttpAuthSchemeProvider: ObservabilityAdminHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: ObservabilityAdminHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: ObservabilityAdminHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetTelemetryEvaluationStatusOutput } from "../models/models_0";
|
|
4
|
+
import { ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ObservabilityAdminClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetTelemetryEvaluationStatusCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTelemetryEvaluationStatusCommandInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTelemetryEvaluationStatusCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTelemetryEvaluationStatusCommandOutput extends GetTelemetryEvaluationStatusOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTelemetryEvaluationStatusCommand_base: {
|
|
25
|
+
new (input: GetTelemetryEvaluationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelemetryEvaluationStatusCommandInput, GetTelemetryEvaluationStatusCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetTelemetryEvaluationStatusCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTelemetryEvaluationStatusCommandInput, GetTelemetryEvaluationStatusCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Returns the current onboarding status of the telemetry config feature, including the status of the feature and reason the feature failed to start or stop.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ObservabilityAdminClient, GetTelemetryEvaluationStatusCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
|
|
37
|
+
* // const { ObservabilityAdminClient, GetTelemetryEvaluationStatusCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
|
|
38
|
+
* const client = new ObservabilityAdminClient(config);
|
|
39
|
+
* const input = {};
|
|
40
|
+
* const command = new GetTelemetryEvaluationStatusCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetTelemetryEvaluationStatusOutput
|
|
43
|
+
* // Status: "NOT_STARTED" || "STARTING" || "FAILED_START" || "RUNNING" || "STOPPING" || "FAILED_STOP" || "STOPPED",
|
|
44
|
+
* // FailureReason: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetTelemetryEvaluationStatusCommandInput - {@link GetTelemetryEvaluationStatusCommandInput}
|
|
50
|
+
* @returns {@link GetTelemetryEvaluationStatusCommandOutput}
|
|
51
|
+
* @see {@link GetTelemetryEvaluationStatusCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetTelemetryEvaluationStatusCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>
|
|
57
|
+
* Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for AWS resources</a> in the IAM user guide.
|
|
58
|
+
* </p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>
|
|
62
|
+
* Indicates the request has failed to process because of an unknown server error, exception, or failure.
|
|
63
|
+
* </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ObservabilityAdminServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class GetTelemetryEvaluationStatusCommand extends GetTelemetryEvaluationStatusCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: {};
|
|
75
|
+
output: GetTelemetryEvaluationStatusOutput;
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: GetTelemetryEvaluationStatusCommandInput;
|
|
79
|
+
output: GetTelemetryEvaluationStatusCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetTelemetryEvaluationStatusForOrganizationOutput } from "../models/models_0";
|
|
4
|
+
import { ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ObservabilityAdminClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetTelemetryEvaluationStatusForOrganizationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTelemetryEvaluationStatusForOrganizationCommandInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTelemetryEvaluationStatusForOrganizationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTelemetryEvaluationStatusForOrganizationCommandOutput extends GetTelemetryEvaluationStatusForOrganizationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTelemetryEvaluationStatusForOrganizationCommand_base: {
|
|
25
|
+
new (input: GetTelemetryEvaluationStatusForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelemetryEvaluationStatusForOrganizationCommandInput, GetTelemetryEvaluationStatusForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetTelemetryEvaluationStatusForOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTelemetryEvaluationStatusForOrganizationCommandInput, GetTelemetryEvaluationStatusForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* This returns the onboarding status of the telemetry configuration feature for the organization. It can only be called by a Management Account of an AWS Organization or an assigned Delegated Admin Account of AWS CloudWatch telemetry config.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ObservabilityAdminClient, GetTelemetryEvaluationStatusForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
|
|
37
|
+
* // const { ObservabilityAdminClient, GetTelemetryEvaluationStatusForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
|
|
38
|
+
* const client = new ObservabilityAdminClient(config);
|
|
39
|
+
* const input = {};
|
|
40
|
+
* const command = new GetTelemetryEvaluationStatusForOrganizationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetTelemetryEvaluationStatusForOrganizationOutput
|
|
43
|
+
* // Status: "NOT_STARTED" || "STARTING" || "FAILED_START" || "RUNNING" || "STOPPING" || "FAILED_STOP" || "STOPPED",
|
|
44
|
+
* // FailureReason: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetTelemetryEvaluationStatusForOrganizationCommandInput - {@link GetTelemetryEvaluationStatusForOrganizationCommandInput}
|
|
50
|
+
* @returns {@link GetTelemetryEvaluationStatusForOrganizationCommandOutput}
|
|
51
|
+
* @see {@link GetTelemetryEvaluationStatusForOrganizationCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetTelemetryEvaluationStatusForOrganizationCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>
|
|
57
|
+
* Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for AWS resources</a> in the IAM user guide.
|
|
58
|
+
* </p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>
|
|
62
|
+
* Indicates the request has failed to process because of an unknown server error, exception, or failure.
|
|
63
|
+
* </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>
|
|
67
|
+
* Indicates input validation failed. Check your request parameters and retry the request.
|
|
68
|
+
* </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ObservabilityAdminServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class GetTelemetryEvaluationStatusForOrganizationCommand extends GetTelemetryEvaluationStatusForOrganizationCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: {};
|
|
80
|
+
output: GetTelemetryEvaluationStatusForOrganizationOutput;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: GetTelemetryEvaluationStatusForOrganizationCommandInput;
|
|
84
|
+
output: GetTelemetryEvaluationStatusForOrganizationCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|