@aws-sdk/client-amp 3.920.0 → 3.921.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.
Files changed (47) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +452 -0
  3. package/dist-es/Amp.js +10 -0
  4. package/dist-es/commands/CreateAnomalyDetectorCommand.js +22 -0
  5. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +22 -0
  6. package/dist-es/commands/DescribeAnomalyDetectorCommand.js +22 -0
  7. package/dist-es/commands/ListAnomalyDetectorsCommand.js +22 -0
  8. package/dist-es/commands/PutAnomalyDetectorCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +37 -0
  11. package/dist-es/pagination/ListAnomalyDetectorsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +233 -2
  14. package/dist-es/waiters/index.js +2 -0
  15. package/dist-es/waiters/waitForAnomalyDetectorActive.js +49 -0
  16. package/dist-es/waiters/waitForAnomalyDetectorDeleted.js +34 -0
  17. package/dist-types/Amp.d.ts +35 -0
  18. package/dist-types/AmpClient.d.ts +7 -2
  19. package/dist-types/commands/CreateAnomalyDetectorCommand.d.ts +128 -0
  20. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +92 -0
  21. package/dist-types/commands/DescribeAnomalyDetectorCommand.d.ts +126 -0
  22. package/dist-types/commands/ListAnomalyDetectorsCommand.d.ts +108 -0
  23. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +125 -0
  24. package/dist-types/commands/index.d.ts +5 -0
  25. package/dist-types/models/models_0.d.ts +500 -0
  26. package/dist-types/pagination/ListAnomalyDetectorsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  29. package/dist-types/ts3.4/Amp.d.ts +85 -0
  30. package/dist-types/ts3.4/AmpClient.d.ts +30 -0
  31. package/dist-types/ts3.4/commands/CreateAnomalyDetectorCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +46 -0
  33. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/ListAnomalyDetectorsCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +175 -0
  38. package/dist-types/ts3.4/pagination/ListAnomalyDetectorsPaginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  41. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  42. package/dist-types/ts3.4/waiters/waitForAnomalyDetectorActive.d.ts +11 -0
  43. package/dist-types/ts3.4/waiters/waitForAnomalyDetectorDeleted.d.ts +11 -0
  44. package/dist-types/waiters/index.d.ts +2 -0
  45. package/dist-types/waiters/waitForAnomalyDetectorActive.d.ts +14 -0
  46. package/dist-types/waiters/waitForAnomalyDetectorDeleted.d.ts +14 -0
  47. package/package.json +34 -34
@@ -0,0 +1,34 @@
1
+ import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
2
+ import { DescribeAnomalyDetectorCommand, } from "../commands/DescribeAnomalyDetectorCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ const result = await client.send(new DescribeAnomalyDetectorCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.anomalyDetector.status.statusCode;
11
+ };
12
+ if (returnComparator() === "DELETING") {
13
+ return { state: WaiterState.RETRY, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ }
18
+ catch (exception) {
19
+ reason = exception;
20
+ if (exception.name && exception.name == "ResourceNotFoundException") {
21
+ return { state: WaiterState.SUCCESS, reason };
22
+ }
23
+ }
24
+ return { state: WaiterState.RETRY, reason };
25
+ };
26
+ export const waitForAnomalyDetectorDeleted = async (params, input) => {
27
+ const serviceDefaults = { minDelay: 2, maxDelay: 120 };
28
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
29
+ };
30
+ export const waitUntilAnomalyDetectorDeleted = async (params, input) => {
31
+ const serviceDefaults = { minDelay: 2, maxDelay: 120 };
32
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
33
+ return checkExceptions(result);
34
+ };
@@ -1,12 +1,14 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AmpClient } from "./AmpClient";
3
3
  import { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand";
4
+ import { CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput } from "./commands/CreateAnomalyDetectorCommand";
4
5
  import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "./commands/CreateLoggingConfigurationCommand";
5
6
  import { CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput } from "./commands/CreateQueryLoggingConfigurationCommand";
6
7
  import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "./commands/CreateRuleGroupsNamespaceCommand";
7
8
  import { CreateScraperCommandInput, CreateScraperCommandOutput } from "./commands/CreateScraperCommand";
8
9
  import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
9
10
  import { DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput } from "./commands/DeleteAlertManagerDefinitionCommand";
11
+ import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
10
12
  import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "./commands/DeleteLoggingConfigurationCommand";
11
13
  import { DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput } from "./commands/DeleteQueryLoggingConfigurationCommand";
12
14
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
@@ -15,6 +17,7 @@ import { DeleteScraperCommandInput, DeleteScraperCommandOutput } from "./command
15
17
  import { DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput } from "./commands/DeleteScraperLoggingConfigurationCommand";
16
18
  import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
17
19
  import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "./commands/DescribeAlertManagerDefinitionCommand";
20
+ import { DescribeAnomalyDetectorCommandInput, DescribeAnomalyDetectorCommandOutput } from "./commands/DescribeAnomalyDetectorCommand";
18
21
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
19
22
  import { DescribeQueryLoggingConfigurationCommandInput, DescribeQueryLoggingConfigurationCommandOutput } from "./commands/DescribeQueryLoggingConfigurationCommand";
20
23
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
@@ -24,11 +27,13 @@ import { DescribeScraperLoggingConfigurationCommandInput, DescribeScraperLogging
24
27
  import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
25
28
  import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "./commands/DescribeWorkspaceConfigurationCommand";
26
29
  import { GetDefaultScraperConfigurationCommandInput, GetDefaultScraperConfigurationCommandOutput } from "./commands/GetDefaultScraperConfigurationCommand";
30
+ import { ListAnomalyDetectorsCommandInput, ListAnomalyDetectorsCommandOutput } from "./commands/ListAnomalyDetectorsCommand";
27
31
  import { ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput } from "./commands/ListRuleGroupsNamespacesCommand";
28
32
  import { ListScrapersCommandInput, ListScrapersCommandOutput } from "./commands/ListScrapersCommand";
29
33
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
30
34
  import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand";
31
35
  import { PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput } from "./commands/PutAlertManagerDefinitionCommand";
36
+ import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
32
37
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
33
38
  import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput } from "./commands/PutRuleGroupsNamespaceCommand";
34
39
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -46,6 +51,12 @@ export interface Amp {
46
51
  createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAlertManagerDefinitionCommandOutput>;
47
52
  createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
48
53
  createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link CreateAnomalyDetectorCommand}
56
+ */
57
+ createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateAnomalyDetectorCommandOutput>;
58
+ createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, cb: (err: any, data?: CreateAnomalyDetectorCommandOutput) => void): void;
59
+ createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnomalyDetectorCommandOutput) => void): void;
49
60
  /**
50
61
  * @see {@link CreateLoggingConfigurationCommand}
51
62
  */
@@ -83,6 +94,12 @@ export interface Amp {
83
94
  deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlertManagerDefinitionCommandOutput>;
84
95
  deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
85
96
  deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
97
+ /**
98
+ * @see {@link DeleteAnomalyDetectorCommand}
99
+ */
100
+ deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnomalyDetectorCommandOutput>;
101
+ deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
102
+ deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
86
103
  /**
87
104
  * @see {@link DeleteLoggingConfigurationCommand}
88
105
  */
@@ -131,6 +148,12 @@ export interface Amp {
131
148
  describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlertManagerDefinitionCommandOutput>;
132
149
  describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
133
150
  describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
151
+ /**
152
+ * @see {@link DescribeAnomalyDetectorCommand}
153
+ */
154
+ describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAnomalyDetectorCommandOutput>;
155
+ describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, cb: (err: any, data?: DescribeAnomalyDetectorCommandOutput) => void): void;
156
+ describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAnomalyDetectorCommandOutput) => void): void;
134
157
  /**
135
158
  * @see {@link DescribeLoggingConfigurationCommand}
136
159
  */
@@ -186,6 +209,12 @@ export interface Amp {
186
209
  getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetDefaultScraperConfigurationCommandOutput>;
187
210
  getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, cb: (err: any, data?: GetDefaultScraperConfigurationCommandOutput) => void): void;
188
211
  getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDefaultScraperConfigurationCommandOutput) => void): void;
212
+ /**
213
+ * @see {@link ListAnomalyDetectorsCommand}
214
+ */
215
+ listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListAnomalyDetectorsCommandOutput>;
216
+ listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, cb: (err: any, data?: ListAnomalyDetectorsCommandOutput) => void): void;
217
+ listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnomalyDetectorsCommandOutput) => void): void;
189
218
  /**
190
219
  * @see {@link ListRuleGroupsNamespacesCommand}
191
220
  */
@@ -218,6 +247,12 @@ export interface Amp {
218
247
  putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<PutAlertManagerDefinitionCommandOutput>;
219
248
  putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
220
249
  putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
250
+ /**
251
+ * @see {@link PutAnomalyDetectorCommand}
252
+ */
253
+ putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<PutAnomalyDetectorCommandOutput>;
254
+ putAnomalyDetector(args: PutAnomalyDetectorCommandInput, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
255
+ putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void;
221
256
  /**
222
257
  * @see {@link PutResourcePolicyCommand}
223
258
  */
@@ -8,12 +8,14 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
8
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
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand";
11
+ import { CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput } from "./commands/CreateAnomalyDetectorCommand";
11
12
  import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "./commands/CreateLoggingConfigurationCommand";
12
13
  import { CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput } from "./commands/CreateQueryLoggingConfigurationCommand";
13
14
  import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "./commands/CreateRuleGroupsNamespaceCommand";
14
15
  import { CreateScraperCommandInput, CreateScraperCommandOutput } from "./commands/CreateScraperCommand";
15
16
  import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
16
17
  import { DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput } from "./commands/DeleteAlertManagerDefinitionCommand";
18
+ import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
17
19
  import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "./commands/DeleteLoggingConfigurationCommand";
18
20
  import { DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput } from "./commands/DeleteQueryLoggingConfigurationCommand";
19
21
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
@@ -22,6 +24,7 @@ import { DeleteScraperCommandInput, DeleteScraperCommandOutput } from "./command
22
24
  import { DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput } from "./commands/DeleteScraperLoggingConfigurationCommand";
23
25
  import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
24
26
  import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "./commands/DescribeAlertManagerDefinitionCommand";
27
+ import { DescribeAnomalyDetectorCommandInput, DescribeAnomalyDetectorCommandOutput } from "./commands/DescribeAnomalyDetectorCommand";
25
28
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
26
29
  import { DescribeQueryLoggingConfigurationCommandInput, DescribeQueryLoggingConfigurationCommandOutput } from "./commands/DescribeQueryLoggingConfigurationCommand";
27
30
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
@@ -31,11 +34,13 @@ import { DescribeScraperLoggingConfigurationCommandInput, DescribeScraperLogging
31
34
  import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
32
35
  import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "./commands/DescribeWorkspaceConfigurationCommand";
33
36
  import { GetDefaultScraperConfigurationCommandInput, GetDefaultScraperConfigurationCommandOutput } from "./commands/GetDefaultScraperConfigurationCommand";
37
+ import { ListAnomalyDetectorsCommandInput, ListAnomalyDetectorsCommandOutput } from "./commands/ListAnomalyDetectorsCommand";
34
38
  import { ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput } from "./commands/ListRuleGroupsNamespacesCommand";
35
39
  import { ListScrapersCommandInput, ListScrapersCommandOutput } from "./commands/ListScrapersCommand";
36
40
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
37
41
  import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand";
38
42
  import { PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput } from "./commands/PutAlertManagerDefinitionCommand";
43
+ import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
39
44
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
40
45
  import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput } from "./commands/PutRuleGroupsNamespaceCommand";
41
46
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -52,11 +57,11 @@ export { __Client };
52
57
  /**
53
58
  * @public
54
59
  */
55
- export type ServiceInputTypes = CreateAlertManagerDefinitionCommandInput | CreateLoggingConfigurationCommandInput | CreateQueryLoggingConfigurationCommandInput | CreateRuleGroupsNamespaceCommandInput | CreateScraperCommandInput | CreateWorkspaceCommandInput | DeleteAlertManagerDefinitionCommandInput | DeleteLoggingConfigurationCommandInput | DeleteQueryLoggingConfigurationCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupsNamespaceCommandInput | DeleteScraperCommandInput | DeleteScraperLoggingConfigurationCommandInput | DeleteWorkspaceCommandInput | DescribeAlertManagerDefinitionCommandInput | DescribeLoggingConfigurationCommandInput | DescribeQueryLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupsNamespaceCommandInput | DescribeScraperCommandInput | DescribeScraperLoggingConfigurationCommandInput | DescribeWorkspaceCommandInput | DescribeWorkspaceConfigurationCommandInput | GetDefaultScraperConfigurationCommandInput | ListRuleGroupsNamespacesCommandInput | ListScrapersCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | PutAlertManagerDefinitionCommandInput | PutResourcePolicyCommandInput | PutRuleGroupsNamespaceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLoggingConfigurationCommandInput | UpdateQueryLoggingConfigurationCommandInput | UpdateScraperCommandInput | UpdateScraperLoggingConfigurationCommandInput | UpdateWorkspaceAliasCommandInput | UpdateWorkspaceConfigurationCommandInput;
60
+ export type ServiceInputTypes = CreateAlertManagerDefinitionCommandInput | CreateAnomalyDetectorCommandInput | CreateLoggingConfigurationCommandInput | CreateQueryLoggingConfigurationCommandInput | CreateRuleGroupsNamespaceCommandInput | CreateScraperCommandInput | CreateWorkspaceCommandInput | DeleteAlertManagerDefinitionCommandInput | DeleteAnomalyDetectorCommandInput | DeleteLoggingConfigurationCommandInput | DeleteQueryLoggingConfigurationCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupsNamespaceCommandInput | DeleteScraperCommandInput | DeleteScraperLoggingConfigurationCommandInput | DeleteWorkspaceCommandInput | DescribeAlertManagerDefinitionCommandInput | DescribeAnomalyDetectorCommandInput | DescribeLoggingConfigurationCommandInput | DescribeQueryLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupsNamespaceCommandInput | DescribeScraperCommandInput | DescribeScraperLoggingConfigurationCommandInput | DescribeWorkspaceCommandInput | DescribeWorkspaceConfigurationCommandInput | GetDefaultScraperConfigurationCommandInput | ListAnomalyDetectorsCommandInput | ListRuleGroupsNamespacesCommandInput | ListScrapersCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | PutAlertManagerDefinitionCommandInput | PutAnomalyDetectorCommandInput | PutResourcePolicyCommandInput | PutRuleGroupsNamespaceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLoggingConfigurationCommandInput | UpdateQueryLoggingConfigurationCommandInput | UpdateScraperCommandInput | UpdateScraperLoggingConfigurationCommandInput | UpdateWorkspaceAliasCommandInput | UpdateWorkspaceConfigurationCommandInput;
56
61
  /**
57
62
  * @public
58
63
  */
59
- export type ServiceOutputTypes = CreateAlertManagerDefinitionCommandOutput | CreateLoggingConfigurationCommandOutput | CreateQueryLoggingConfigurationCommandOutput | CreateRuleGroupsNamespaceCommandOutput | CreateScraperCommandOutput | CreateWorkspaceCommandOutput | DeleteAlertManagerDefinitionCommandOutput | DeleteLoggingConfigurationCommandOutput | DeleteQueryLoggingConfigurationCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupsNamespaceCommandOutput | DeleteScraperCommandOutput | DeleteScraperLoggingConfigurationCommandOutput | DeleteWorkspaceCommandOutput | DescribeAlertManagerDefinitionCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeQueryLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupsNamespaceCommandOutput | DescribeScraperCommandOutput | DescribeScraperLoggingConfigurationCommandOutput | DescribeWorkspaceCommandOutput | DescribeWorkspaceConfigurationCommandOutput | GetDefaultScraperConfigurationCommandOutput | ListRuleGroupsNamespacesCommandOutput | ListScrapersCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | PutAlertManagerDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRuleGroupsNamespaceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateQueryLoggingConfigurationCommandOutput | UpdateScraperCommandOutput | UpdateScraperLoggingConfigurationCommandOutput | UpdateWorkspaceAliasCommandOutput | UpdateWorkspaceConfigurationCommandOutput;
64
+ export type ServiceOutputTypes = CreateAlertManagerDefinitionCommandOutput | CreateAnomalyDetectorCommandOutput | CreateLoggingConfigurationCommandOutput | CreateQueryLoggingConfigurationCommandOutput | CreateRuleGroupsNamespaceCommandOutput | CreateScraperCommandOutput | CreateWorkspaceCommandOutput | DeleteAlertManagerDefinitionCommandOutput | DeleteAnomalyDetectorCommandOutput | DeleteLoggingConfigurationCommandOutput | DeleteQueryLoggingConfigurationCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupsNamespaceCommandOutput | DeleteScraperCommandOutput | DeleteScraperLoggingConfigurationCommandOutput | DeleteWorkspaceCommandOutput | DescribeAlertManagerDefinitionCommandOutput | DescribeAnomalyDetectorCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeQueryLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupsNamespaceCommandOutput | DescribeScraperCommandOutput | DescribeScraperLoggingConfigurationCommandOutput | DescribeWorkspaceCommandOutput | DescribeWorkspaceConfigurationCommandOutput | GetDefaultScraperConfigurationCommandOutput | ListAnomalyDetectorsCommandOutput | ListRuleGroupsNamespacesCommandOutput | ListScrapersCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | PutAlertManagerDefinitionCommandOutput | PutAnomalyDetectorCommandOutput | PutResourcePolicyCommandOutput | PutRuleGroupsNamespaceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateQueryLoggingConfigurationCommandOutput | UpdateScraperCommandOutput | UpdateScraperLoggingConfigurationCommandOutput | UpdateWorkspaceAliasCommandOutput | UpdateWorkspaceConfigurationCommandOutput;
60
65
  /**
61
66
  * @public
62
67
  */
@@ -0,0 +1,128 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { CreateAnomalyDetectorRequest, CreateAnomalyDetectorResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAnomalyDetectorCommand}.
14
+ */
15
+ export interface CreateAnomalyDetectorCommandInput extends CreateAnomalyDetectorRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAnomalyDetectorCommand}.
21
+ */
22
+ export interface CreateAnomalyDetectorCommandOutput extends CreateAnomalyDetectorResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateAnomalyDetectorCommand_base: {
25
+ new (input: CreateAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an anomaly detector within a workspace using the Random Cut Forest algorithm for time-series analysis. The anomaly detector analyzes Amazon Managed Service for Prometheus metrics to identify unusual patterns and behaviors.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AmpClient, CreateAnomalyDetectorCommand } from "@aws-sdk/client-amp"; // ES Modules import
35
+ * // const { AmpClient, CreateAnomalyDetectorCommand } = require("@aws-sdk/client-amp"); // CommonJS import
36
+ * // import type { AmpClientConfig } from "@aws-sdk/client-amp";
37
+ * const config = {}; // type is AmpClientConfig
38
+ * const client = new AmpClient(config);
39
+ * const input = { // CreateAnomalyDetectorRequest
40
+ * workspaceId: "STRING_VALUE", // required
41
+ * alias: "STRING_VALUE", // required
42
+ * evaluationIntervalInSeconds: Number("int"),
43
+ * missingDataAction: { // AnomalyDetectorMissingDataAction Union: only one key present
44
+ * markAsAnomaly: true || false,
45
+ * skip: true || false,
46
+ * },
47
+ * configuration: { // AnomalyDetectorConfiguration Union: only one key present
48
+ * randomCutForest: { // RandomCutForestConfiguration
49
+ * query: "STRING_VALUE", // required
50
+ * shingleSize: Number("int"),
51
+ * sampleSize: Number("int"),
52
+ * ignoreNearExpectedFromAbove: { // IgnoreNearExpected Union: only one key present
53
+ * amount: Number("double"),
54
+ * ratio: Number("double"),
55
+ * },
56
+ * ignoreNearExpectedFromBelow: {// Union: only one key present
57
+ * amount: Number("double"),
58
+ * ratio: Number("double"),
59
+ * },
60
+ * },
61
+ * },
62
+ * labels: { // PrometheusMetricLabelMap
63
+ * "<keys>": "STRING_VALUE",
64
+ * },
65
+ * clientToken: "STRING_VALUE",
66
+ * tags: { // TagMap
67
+ * "<keys>": "STRING_VALUE",
68
+ * },
69
+ * };
70
+ * const command = new CreateAnomalyDetectorCommand(input);
71
+ * const response = await client.send(command);
72
+ * // { // CreateAnomalyDetectorResponse
73
+ * // anomalyDetectorId: "STRING_VALUE", // required
74
+ * // arn: "STRING_VALUE", // required
75
+ * // status: { // AnomalyDetectorStatus
76
+ * // statusCode: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATION_FAILED" || "UPDATE_FAILED" || "DELETION_FAILED", // required
77
+ * // statusReason: "STRING_VALUE",
78
+ * // },
79
+ * // tags: { // TagMap
80
+ * // "<keys>": "STRING_VALUE",
81
+ * // },
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param CreateAnomalyDetectorCommandInput - {@link CreateAnomalyDetectorCommandInput}
87
+ * @returns {@link CreateAnomalyDetectorCommandOutput}
88
+ * @see {@link CreateAnomalyDetectorCommandInput} for command's `input` shape.
89
+ * @see {@link CreateAnomalyDetectorCommandOutput} for command's `response` shape.
90
+ * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
91
+ *
92
+ * @throws {@link AccessDeniedException} (client fault)
93
+ * <p>You do not have sufficient access to perform this action.</p>
94
+ *
95
+ * @throws {@link ConflictException} (client fault)
96
+ * <p>The request would cause an inconsistent state.</p>
97
+ *
98
+ * @throws {@link InternalServerException} (server fault)
99
+ * <p>An unexpected error occurred during the processing of the request.</p>
100
+ *
101
+ * @throws {@link ServiceQuotaExceededException} (client fault)
102
+ * <p>Completing the request would cause a service quota to be exceeded.</p>
103
+ *
104
+ * @throws {@link ThrottlingException} (client fault)
105
+ * <p>The request was denied due to request throttling.</p>
106
+ *
107
+ * @throws {@link ValidationException} (client fault)
108
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
109
+ *
110
+ * @throws {@link AmpServiceException}
111
+ * <p>Base exception class for all service exceptions from Amp service.</p>
112
+ *
113
+ *
114
+ * @public
115
+ */
116
+ export declare class CreateAnomalyDetectorCommand extends CreateAnomalyDetectorCommand_base {
117
+ /** @internal type navigation helper, not in runtime. */
118
+ protected static __types: {
119
+ api: {
120
+ input: CreateAnomalyDetectorRequest;
121
+ output: CreateAnomalyDetectorResponse;
122
+ };
123
+ sdk: {
124
+ input: CreateAnomalyDetectorCommandInput;
125
+ output: CreateAnomalyDetectorCommandOutput;
126
+ };
127
+ };
128
+ }
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { DeleteAnomalyDetectorRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteAnomalyDetectorCommand}.
14
+ */
15
+ export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetectorRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteAnomalyDetectorCommand}.
21
+ */
22
+ export interface DeleteAnomalyDetectorCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteAnomalyDetectorCommand_base: {
25
+ new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes an anomaly detector from a workspace. This operation is idempotent.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AmpClient, DeleteAnomalyDetectorCommand } from "@aws-sdk/client-amp"; // ES Modules import
35
+ * // const { AmpClient, DeleteAnomalyDetectorCommand } = require("@aws-sdk/client-amp"); // CommonJS import
36
+ * // import type { AmpClientConfig } from "@aws-sdk/client-amp";
37
+ * const config = {}; // type is AmpClientConfig
38
+ * const client = new AmpClient(config);
39
+ * const input = { // DeleteAnomalyDetectorRequest
40
+ * workspaceId: "STRING_VALUE", // required
41
+ * anomalyDetectorId: "STRING_VALUE", // required
42
+ * clientToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new DeleteAnomalyDetectorCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteAnomalyDetectorCommandInput - {@link DeleteAnomalyDetectorCommandInput}
51
+ * @returns {@link DeleteAnomalyDetectorCommandOutput}
52
+ * @see {@link DeleteAnomalyDetectorCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteAnomalyDetectorCommandOutput} for command's `response` shape.
54
+ * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You do not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The request would cause an inconsistent state.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>An unexpected error occurred during the processing of the request.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The request references a resources that doesn't exist.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
73
+ *
74
+ * @throws {@link AmpServiceException}
75
+ * <p>Base exception class for all service exceptions from Amp service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class DeleteAnomalyDetectorCommand extends DeleteAnomalyDetectorCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: DeleteAnomalyDetectorRequest;
85
+ output: {};
86
+ };
87
+ sdk: {
88
+ input: DeleteAnomalyDetectorCommandInput;
89
+ output: DeleteAnomalyDetectorCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,126 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { DescribeAnomalyDetectorRequest, DescribeAnomalyDetectorResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeAnomalyDetectorCommand}.
14
+ */
15
+ export interface DescribeAnomalyDetectorCommandInput extends DescribeAnomalyDetectorRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeAnomalyDetectorCommand}.
21
+ */
22
+ export interface DescribeAnomalyDetectorCommandOutput extends DescribeAnomalyDetectorResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeAnomalyDetectorCommand_base: {
25
+ new (input: DescribeAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAnomalyDetectorCommandInput, DescribeAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAnomalyDetectorCommandInput, DescribeAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves detailed information about a specific anomaly detector, including its status and configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AmpClient, DescribeAnomalyDetectorCommand } from "@aws-sdk/client-amp"; // ES Modules import
35
+ * // const { AmpClient, DescribeAnomalyDetectorCommand } = require("@aws-sdk/client-amp"); // CommonJS import
36
+ * // import type { AmpClientConfig } from "@aws-sdk/client-amp";
37
+ * const config = {}; // type is AmpClientConfig
38
+ * const client = new AmpClient(config);
39
+ * const input = { // DescribeAnomalyDetectorRequest
40
+ * workspaceId: "STRING_VALUE", // required
41
+ * anomalyDetectorId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DescribeAnomalyDetectorCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DescribeAnomalyDetectorResponse
46
+ * // anomalyDetector: { // AnomalyDetectorDescription
47
+ * // arn: "STRING_VALUE", // required
48
+ * // anomalyDetectorId: "STRING_VALUE", // required
49
+ * // alias: "STRING_VALUE", // required
50
+ * // evaluationIntervalInSeconds: Number("int"),
51
+ * // missingDataAction: { // AnomalyDetectorMissingDataAction Union: only one key present
52
+ * // markAsAnomaly: true || false,
53
+ * // skip: true || false,
54
+ * // },
55
+ * // configuration: { // AnomalyDetectorConfiguration Union: only one key present
56
+ * // randomCutForest: { // RandomCutForestConfiguration
57
+ * // query: "STRING_VALUE", // required
58
+ * // shingleSize: Number("int"),
59
+ * // sampleSize: Number("int"),
60
+ * // ignoreNearExpectedFromAbove: { // IgnoreNearExpected Union: only one key present
61
+ * // amount: Number("double"),
62
+ * // ratio: Number("double"),
63
+ * // },
64
+ * // ignoreNearExpectedFromBelow: {// Union: only one key present
65
+ * // amount: Number("double"),
66
+ * // ratio: Number("double"),
67
+ * // },
68
+ * // },
69
+ * // },
70
+ * // labels: { // PrometheusMetricLabelMap
71
+ * // "<keys>": "STRING_VALUE",
72
+ * // },
73
+ * // status: { // AnomalyDetectorStatus
74
+ * // statusCode: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATION_FAILED" || "UPDATE_FAILED" || "DELETION_FAILED", // required
75
+ * // statusReason: "STRING_VALUE",
76
+ * // },
77
+ * // createdAt: new Date("TIMESTAMP"), // required
78
+ * // modifiedAt: new Date("TIMESTAMP"), // required
79
+ * // tags: { // TagMap
80
+ * // "<keys>": "STRING_VALUE",
81
+ * // },
82
+ * // },
83
+ * // };
84
+ *
85
+ * ```
86
+ *
87
+ * @param DescribeAnomalyDetectorCommandInput - {@link DescribeAnomalyDetectorCommandInput}
88
+ * @returns {@link DescribeAnomalyDetectorCommandOutput}
89
+ * @see {@link DescribeAnomalyDetectorCommandInput} for command's `input` shape.
90
+ * @see {@link DescribeAnomalyDetectorCommandOutput} for command's `response` shape.
91
+ * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
92
+ *
93
+ * @throws {@link AccessDeniedException} (client fault)
94
+ * <p>You do not have sufficient access to perform this action.</p>
95
+ *
96
+ * @throws {@link InternalServerException} (server fault)
97
+ * <p>An unexpected error occurred during the processing of the request.</p>
98
+ *
99
+ * @throws {@link ResourceNotFoundException} (client fault)
100
+ * <p>The request references a resources that doesn't exist.</p>
101
+ *
102
+ * @throws {@link ThrottlingException} (client fault)
103
+ * <p>The request was denied due to request throttling.</p>
104
+ *
105
+ * @throws {@link ValidationException} (client fault)
106
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
107
+ *
108
+ * @throws {@link AmpServiceException}
109
+ * <p>Base exception class for all service exceptions from Amp service.</p>
110
+ *
111
+ *
112
+ * @public
113
+ */
114
+ export declare class DescribeAnomalyDetectorCommand extends DescribeAnomalyDetectorCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: DescribeAnomalyDetectorRequest;
119
+ output: DescribeAnomalyDetectorResponse;
120
+ };
121
+ sdk: {
122
+ input: DescribeAnomalyDetectorCommandInput;
123
+ output: DescribeAnomalyDetectorCommandOutput;
124
+ };
125
+ };
126
+ }