@aws-sdk/client-amp 3.1037.0 → 3.1039.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 +3 -3
- package/dist-es/waiters/waitForAnomalyDetectorDeleted.js +1 -1
- package/dist-es/waiters/waitForScraperActive.js +1 -1
- package/dist-es/waiters/waitForScraperDeleted.js +2 -2
- package/dist-es/waiters/waitForWorkspaceActive.js +1 -1
- package/dist-es/waiters/waitForWorkspaceDeleted.js +2 -2
- package/dist-types/Amp.d.ts +7 -6
- package/dist-types/ts3.4/Amp.d.ts +7 -6
- package/dist-types/ts3.4/waiters/waitForAnomalyDetectorActive.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForAnomalyDetectorDeleted.d.ts +10 -3
- package/dist-types/ts3.4/waiters/waitForScraperActive.d.ts +7 -3
- package/dist-types/ts3.4/waiters/waitForScraperDeleted.d.ts +8 -3
- package/dist-types/ts3.4/waiters/waitForWorkspaceActive.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForWorkspaceDeleted.d.ts +10 -3
- package/dist-types/waiters/waitForAnomalyDetectorActive.d.ts +4 -3
- package/dist-types/waiters/waitForAnomalyDetectorDeleted.d.ts +5 -3
- package/dist-types/waiters/waitForScraperActive.d.ts +4 -3
- package/dist-types/waiters/waitForScraperDeleted.d.ts +5 -3
- package/dist-types/waiters/waitForWorkspaceActive.d.ts +4 -3
- package/dist-types/waiters/waitForWorkspaceDeleted.d.ts +5 -3
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -715,7 +715,7 @@ const checkState$4 = async (client, input) => {
|
|
|
715
715
|
}
|
|
716
716
|
catch (exception) {
|
|
717
717
|
reason = exception;
|
|
718
|
-
if (exception.name
|
|
718
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
719
719
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
720
720
|
}
|
|
721
721
|
}
|
|
@@ -787,7 +787,7 @@ const checkState$2 = async (client, input) => {
|
|
|
787
787
|
}
|
|
788
788
|
catch (exception) {
|
|
789
789
|
reason = exception;
|
|
790
|
-
if (exception.name
|
|
790
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
791
791
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
792
792
|
}
|
|
793
793
|
}
|
|
@@ -868,7 +868,7 @@ const checkState = async (client, input) => {
|
|
|
868
868
|
}
|
|
869
869
|
catch (exception) {
|
|
870
870
|
reason = exception;
|
|
871
|
-
if (exception.name
|
|
871
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
872
872
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
873
873
|
}
|
|
874
874
|
}
|
|
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
|
|
|
17
17
|
}
|
|
18
18
|
catch (exception) {
|
|
19
19
|
reason = exception;
|
|
20
|
-
if (exception.name
|
|
20
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeScraperCommand } from "../commands/DescribeScraperCommand";
|
|
2
|
+
import { DescribeScraperCommand, } from "../commands/DescribeScraperCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeScraperCommand } from "../commands/DescribeScraperCommand";
|
|
2
|
+
import { DescribeScraperCommand, } from "../commands/DescribeScraperCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
|
|
|
17
17
|
}
|
|
18
18
|
catch (exception) {
|
|
19
19
|
reason = exception;
|
|
20
|
-
if (exception.name
|
|
20
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeWorkspaceCommand } from "../commands/DescribeWorkspaceCommand";
|
|
2
|
+
import { DescribeWorkspaceCommand, } from "../commands/DescribeWorkspaceCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeWorkspaceCommand } from "../commands/DescribeWorkspaceCommand";
|
|
2
|
+
import { DescribeWorkspaceCommand, } from "../commands/DescribeWorkspaceCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
|
|
|
17
17
|
}
|
|
18
18
|
catch (exception) {
|
|
19
19
|
reason = exception;
|
|
20
|
-
if (exception.name
|
|
20
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
22
22
|
}
|
|
23
23
|
}
|
package/dist-types/Amp.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ import { type UpdateScraperCommandInput, type UpdateScraperCommandOutput } from
|
|
|
45
45
|
import { type UpdateScraperLoggingConfigurationCommandInput, type UpdateScraperLoggingConfigurationCommandOutput } from "./commands/UpdateScraperLoggingConfigurationCommand";
|
|
46
46
|
import { type UpdateWorkspaceAliasCommandInput, type UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
47
47
|
import { type UpdateWorkspaceConfigurationCommandInput, type UpdateWorkspaceConfigurationCommandOutput } from "./commands/UpdateWorkspaceConfigurationCommand";
|
|
48
|
+
import type { ResourceNotFoundException } from "./models/errors";
|
|
48
49
|
export interface Amp {
|
|
49
50
|
/**
|
|
50
51
|
* @see {@link CreateAlertManagerDefinitionCommand}
|
|
@@ -347,37 +348,37 @@ export interface Amp {
|
|
|
347
348
|
* @param args - command input.
|
|
348
349
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
349
350
|
*/
|
|
350
|
-
waitUntilAnomalyDetectorActive(args: DescribeAnomalyDetectorCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult
|
|
351
|
+
waitUntilAnomalyDetectorActive(args: DescribeAnomalyDetectorCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult<DescribeAnomalyDetectorCommandOutput>>;
|
|
351
352
|
/**
|
|
352
353
|
* @see {@link DescribeAnomalyDetectorCommand}
|
|
353
354
|
* @param args - command input.
|
|
354
355
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
355
356
|
*/
|
|
356
|
-
waitUntilAnomalyDetectorDeleted(args: DescribeAnomalyDetectorCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult
|
|
357
|
+
waitUntilAnomalyDetectorDeleted(args: DescribeAnomalyDetectorCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
357
358
|
/**
|
|
358
359
|
* @see {@link DescribeScraperCommand}
|
|
359
360
|
* @param args - command input.
|
|
360
361
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
361
362
|
*/
|
|
362
|
-
waitUntilScraperActive(args: DescribeScraperCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult
|
|
363
|
+
waitUntilScraperActive(args: DescribeScraperCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult<DescribeScraperCommandOutput>>;
|
|
363
364
|
/**
|
|
364
365
|
* @see {@link DescribeScraperCommand}
|
|
365
366
|
* @param args - command input.
|
|
366
367
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
367
368
|
*/
|
|
368
|
-
waitUntilScraperDeleted(args: DescribeScraperCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult
|
|
369
|
+
waitUntilScraperDeleted(args: DescribeScraperCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
369
370
|
/**
|
|
370
371
|
* @see {@link DescribeWorkspaceCommand}
|
|
371
372
|
* @param args - command input.
|
|
372
373
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
373
374
|
*/
|
|
374
|
-
waitUntilWorkspaceActive(args: DescribeWorkspaceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult
|
|
375
|
+
waitUntilWorkspaceActive(args: DescribeWorkspaceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult<DescribeWorkspaceCommandOutput>>;
|
|
375
376
|
/**
|
|
376
377
|
* @see {@link DescribeWorkspaceCommand}
|
|
377
378
|
* @param args - command input.
|
|
378
379
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
379
380
|
*/
|
|
380
|
-
waitUntilWorkspaceDeleted(args: DescribeWorkspaceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult
|
|
381
|
+
waitUntilWorkspaceDeleted(args: DescribeWorkspaceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Amp>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
381
382
|
}
|
|
382
383
|
/**
|
|
383
384
|
* <p>Amazon Managed Service for Prometheus is a serverless, Prometheus-compatible monitoring service for container metrics that makes it easier to securely monitor container environments at scale. With Amazon Managed Service for Prometheus, you can use the same open-source Prometheus data model and query language that you use today to monitor the performance of your containerized workloads, and also enjoy improved scalability, availability, and security without having to manage the underlying infrastructure.</p> <p>For more information about Amazon Managed Service for Prometheus, see the <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/what-is-Amazon-Managed-Service-Prometheus.html">Amazon Managed Service for Prometheus</a> User Guide.</p> <p>Amazon Managed Service for Prometheus includes two APIs.</p> <ul> <li> <p>Use the Amazon Web Services API described in this guide to manage Amazon Managed Service for Prometheus resources, such as workspaces, rule groups, and alert managers.</p> </li> <li> <p>Use the <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-APIReference.html#AMP-APIReference-Prometheus-Compatible-Apis">Prometheus-compatible API</a> to work within your Prometheus workspace.</p> </li> </ul>
|
|
@@ -182,6 +182,7 @@ import {
|
|
|
182
182
|
UpdateWorkspaceConfigurationCommandInput,
|
|
183
183
|
UpdateWorkspaceConfigurationCommandOutput,
|
|
184
184
|
} from "./commands/UpdateWorkspaceConfigurationCommand";
|
|
185
|
+
import { ResourceNotFoundException } from "./models/errors";
|
|
185
186
|
export interface Amp {
|
|
186
187
|
createAlertManagerDefinition(
|
|
187
188
|
args: CreateAlertManagerDefinitionCommandInput,
|
|
@@ -819,7 +820,7 @@ export interface Amp {
|
|
|
819
820
|
WaiterConfiguration<Amp>,
|
|
820
821
|
Exclude<keyof WaiterConfiguration<Amp>, "client">
|
|
821
822
|
>
|
|
822
|
-
): Promise<WaiterResult
|
|
823
|
+
): Promise<WaiterResult<DescribeAnomalyDetectorCommandOutput>>;
|
|
823
824
|
waitUntilAnomalyDetectorDeleted(
|
|
824
825
|
args: DescribeAnomalyDetectorCommandInput,
|
|
825
826
|
waiterConfig:
|
|
@@ -828,7 +829,7 @@ export interface Amp {
|
|
|
828
829
|
WaiterConfiguration<Amp>,
|
|
829
830
|
Exclude<keyof WaiterConfiguration<Amp>, "client">
|
|
830
831
|
>
|
|
831
|
-
): Promise<WaiterResult
|
|
832
|
+
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
832
833
|
waitUntilScraperActive(
|
|
833
834
|
args: DescribeScraperCommandInput,
|
|
834
835
|
waiterConfig:
|
|
@@ -837,7 +838,7 @@ export interface Amp {
|
|
|
837
838
|
WaiterConfiguration<Amp>,
|
|
838
839
|
Exclude<keyof WaiterConfiguration<Amp>, "client">
|
|
839
840
|
>
|
|
840
|
-
): Promise<WaiterResult
|
|
841
|
+
): Promise<WaiterResult<DescribeScraperCommandOutput>>;
|
|
841
842
|
waitUntilScraperDeleted(
|
|
842
843
|
args: DescribeScraperCommandInput,
|
|
843
844
|
waiterConfig:
|
|
@@ -846,7 +847,7 @@ export interface Amp {
|
|
|
846
847
|
WaiterConfiguration<Amp>,
|
|
847
848
|
Exclude<keyof WaiterConfiguration<Amp>, "client">
|
|
848
849
|
>
|
|
849
|
-
): Promise<WaiterResult
|
|
850
|
+
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
850
851
|
waitUntilWorkspaceActive(
|
|
851
852
|
args: DescribeWorkspaceCommandInput,
|
|
852
853
|
waiterConfig:
|
|
@@ -855,7 +856,7 @@ export interface Amp {
|
|
|
855
856
|
WaiterConfiguration<Amp>,
|
|
856
857
|
Exclude<keyof WaiterConfiguration<Amp>, "client">
|
|
857
858
|
>
|
|
858
|
-
): Promise<WaiterResult
|
|
859
|
+
): Promise<WaiterResult<DescribeWorkspaceCommandOutput>>;
|
|
859
860
|
waitUntilWorkspaceDeleted(
|
|
860
861
|
args: DescribeWorkspaceCommandInput,
|
|
861
862
|
waiterConfig:
|
|
@@ -864,6 +865,6 @@ export interface Amp {
|
|
|
864
865
|
WaiterConfiguration<Amp>,
|
|
865
866
|
Exclude<keyof WaiterConfiguration<Amp>, "client">
|
|
866
867
|
>
|
|
867
|
-
): Promise<WaiterResult
|
|
868
|
+
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
868
869
|
}
|
|
869
870
|
export declare class Amp extends AmpClient implements Amp {}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { AmpClient } from "../AmpClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DescribeAnomalyDetectorCommandInput,
|
|
5
|
+
DescribeAnomalyDetectorCommandOutput,
|
|
6
|
+
} from "../commands/DescribeAnomalyDetectorCommand";
|
|
7
|
+
import { AmpServiceException } from "../models/AmpServiceException";
|
|
4
8
|
export declare const waitForAnomalyDetectorActive: (
|
|
5
9
|
params: WaiterConfiguration<AmpClient>,
|
|
6
10
|
input: DescribeAnomalyDetectorCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeAnomalyDetectorCommandOutput | AmpServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilAnomalyDetectorActive: (
|
|
9
15
|
params: WaiterConfiguration<AmpClient>,
|
|
10
16
|
input: DescribeAnomalyDetectorCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeAnomalyDetectorCommandOutput>>;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { AmpClient } from "../AmpClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DescribeAnomalyDetectorCommandInput,
|
|
5
|
+
DescribeAnomalyDetectorCommandOutput,
|
|
6
|
+
} from "../commands/DescribeAnomalyDetectorCommand";
|
|
7
|
+
import { AmpServiceException } from "../models/AmpServiceException";
|
|
8
|
+
import { ResourceNotFoundException } from "../models/errors";
|
|
4
9
|
export declare const waitForAnomalyDetectorDeleted: (
|
|
5
10
|
params: WaiterConfiguration<AmpClient>,
|
|
6
11
|
input: DescribeAnomalyDetectorCommandInput
|
|
7
|
-
) => Promise<
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<DescribeAnomalyDetectorCommandOutput | AmpServiceException>
|
|
14
|
+
>;
|
|
8
15
|
export declare const waitUntilAnomalyDetectorDeleted: (
|
|
9
16
|
params: WaiterConfiguration<AmpClient>,
|
|
10
17
|
input: DescribeAnomalyDetectorCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
18
|
+
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { AmpClient } from "../AmpClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DescribeScraperCommandInput,
|
|
5
|
+
DescribeScraperCommandOutput,
|
|
6
|
+
} from "../commands/DescribeScraperCommand";
|
|
7
|
+
import { AmpServiceException } from "../models/AmpServiceException";
|
|
4
8
|
export declare const waitForScraperActive: (
|
|
5
9
|
params: WaiterConfiguration<AmpClient>,
|
|
6
10
|
input: DescribeScraperCommandInput
|
|
7
|
-
) => Promise<WaiterResult
|
|
11
|
+
) => Promise<WaiterResult<DescribeScraperCommandOutput | AmpServiceException>>;
|
|
8
12
|
export declare const waitUntilScraperActive: (
|
|
9
13
|
params: WaiterConfiguration<AmpClient>,
|
|
10
14
|
input: DescribeScraperCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
15
|
+
) => Promise<WaiterResult<DescribeScraperCommandOutput>>;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { AmpClient } from "../AmpClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DescribeScraperCommandInput,
|
|
5
|
+
DescribeScraperCommandOutput,
|
|
6
|
+
} from "../commands/DescribeScraperCommand";
|
|
7
|
+
import { AmpServiceException } from "../models/AmpServiceException";
|
|
8
|
+
import { ResourceNotFoundException } from "../models/errors";
|
|
4
9
|
export declare const waitForScraperDeleted: (
|
|
5
10
|
params: WaiterConfiguration<AmpClient>,
|
|
6
11
|
input: DescribeScraperCommandInput
|
|
7
|
-
) => Promise<WaiterResult
|
|
12
|
+
) => Promise<WaiterResult<DescribeScraperCommandOutput | AmpServiceException>>;
|
|
8
13
|
export declare const waitUntilScraperDeleted: (
|
|
9
14
|
params: WaiterConfiguration<AmpClient>,
|
|
10
15
|
input: DescribeScraperCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
16
|
+
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { AmpClient } from "../AmpClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DescribeWorkspaceCommandInput,
|
|
5
|
+
DescribeWorkspaceCommandOutput,
|
|
6
|
+
} from "../commands/DescribeWorkspaceCommand";
|
|
7
|
+
import { AmpServiceException } from "../models/AmpServiceException";
|
|
4
8
|
export declare const waitForWorkspaceActive: (
|
|
5
9
|
params: WaiterConfiguration<AmpClient>,
|
|
6
10
|
input: DescribeWorkspaceCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeWorkspaceCommandOutput | AmpServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilWorkspaceActive: (
|
|
9
15
|
params: WaiterConfiguration<AmpClient>,
|
|
10
16
|
input: DescribeWorkspaceCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeWorkspaceCommandOutput>>;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { AmpClient } from "../AmpClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DescribeWorkspaceCommandInput,
|
|
5
|
+
DescribeWorkspaceCommandOutput,
|
|
6
|
+
} from "../commands/DescribeWorkspaceCommand";
|
|
7
|
+
import { AmpServiceException } from "../models/AmpServiceException";
|
|
8
|
+
import { ResourceNotFoundException } from "../models/errors";
|
|
4
9
|
export declare const waitForWorkspaceDeleted: (
|
|
5
10
|
params: WaiterConfiguration<AmpClient>,
|
|
6
11
|
input: DescribeWorkspaceCommandInput
|
|
7
|
-
) => Promise<
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<DescribeWorkspaceCommandOutput | AmpServiceException>
|
|
14
|
+
>;
|
|
8
15
|
export declare const waitUntilWorkspaceDeleted: (
|
|
9
16
|
params: WaiterConfiguration<AmpClient>,
|
|
10
17
|
input: DescribeWorkspaceCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
18
|
+
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { AmpClient } from "../AmpClient";
|
|
3
|
-
import { type DescribeAnomalyDetectorCommandInput } from "../commands/DescribeAnomalyDetectorCommand";
|
|
3
|
+
import { type DescribeAnomalyDetectorCommandInput, type DescribeAnomalyDetectorCommandOutput } from "../commands/DescribeAnomalyDetectorCommand";
|
|
4
|
+
import type { AmpServiceException } from "../models/AmpServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until the anomaly detector reaches ACTIVE status
|
|
6
7
|
* @deprecated Use waitUntilAnomalyDetectorActive instead. waitForAnomalyDetectorActive does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForAnomalyDetectorActive: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForAnomalyDetectorActive: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult<DescribeAnomalyDetectorCommandOutput | AmpServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until the anomaly detector reaches ACTIVE status
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeAnomalyDetectorCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilAnomalyDetectorActive: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilAnomalyDetectorActive: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult<DescribeAnomalyDetectorCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { AmpClient } from "../AmpClient";
|
|
3
|
-
import { type DescribeAnomalyDetectorCommandInput } from "../commands/DescribeAnomalyDetectorCommand";
|
|
3
|
+
import { type DescribeAnomalyDetectorCommandInput, type DescribeAnomalyDetectorCommandOutput } from "../commands/DescribeAnomalyDetectorCommand";
|
|
4
|
+
import type { AmpServiceException } from "../models/AmpServiceException";
|
|
5
|
+
import type { ResourceNotFoundException } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
* Wait until the anomaly detector reaches DELETED status
|
|
6
8
|
* @deprecated Use waitUntilAnomalyDetectorDeleted instead. waitForAnomalyDetectorDeleted does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForAnomalyDetectorDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForAnomalyDetectorDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult<DescribeAnomalyDetectorCommandOutput | AmpServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
* Wait until the anomaly detector reaches DELETED status
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to DescribeAnomalyDetectorCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilAnomalyDetectorDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilAnomalyDetectorDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { AmpClient } from "../AmpClient";
|
|
3
|
-
import { type DescribeScraperCommandInput } from "../commands/DescribeScraperCommand";
|
|
3
|
+
import { type DescribeScraperCommandInput, type DescribeScraperCommandOutput } from "../commands/DescribeScraperCommand";
|
|
4
|
+
import type { AmpServiceException } from "../models/AmpServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until a scraper reaches ACTIVE status
|
|
6
7
|
* @deprecated Use waitUntilScraperActive instead. waitForScraperActive does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForScraperActive: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForScraperActive: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult<DescribeScraperCommandOutput | AmpServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until a scraper reaches ACTIVE status
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeScraperCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilScraperActive: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilScraperActive: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult<DescribeScraperCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { AmpClient } from "../AmpClient";
|
|
3
|
-
import { type DescribeScraperCommandInput } from "../commands/DescribeScraperCommand";
|
|
3
|
+
import { type DescribeScraperCommandInput, type DescribeScraperCommandOutput } from "../commands/DescribeScraperCommand";
|
|
4
|
+
import type { AmpServiceException } from "../models/AmpServiceException";
|
|
5
|
+
import type { ResourceNotFoundException } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
* Wait until a scraper reaches DELETED status
|
|
6
8
|
* @deprecated Use waitUntilScraperDeleted instead. waitForScraperDeleted does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForScraperDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForScraperDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult<DescribeScraperCommandOutput | AmpServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
* Wait until a scraper reaches DELETED status
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to DescribeScraperCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilScraperDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilScraperDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { AmpClient } from "../AmpClient";
|
|
3
|
-
import { type DescribeWorkspaceCommandInput } from "../commands/DescribeWorkspaceCommand";
|
|
3
|
+
import { type DescribeWorkspaceCommandInput, type DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
|
|
4
|
+
import type { AmpServiceException } from "../models/AmpServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until a workspace reaches ACTIVE status
|
|
6
7
|
* @deprecated Use waitUntilWorkspaceActive instead. waitForWorkspaceActive does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForWorkspaceActive: (params: WaiterConfiguration<AmpClient>, input: DescribeWorkspaceCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForWorkspaceActive: (params: WaiterConfiguration<AmpClient>, input: DescribeWorkspaceCommandInput) => Promise<WaiterResult<DescribeWorkspaceCommandOutput | AmpServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until a workspace reaches ACTIVE status
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeWorkspaceCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilWorkspaceActive: (params: WaiterConfiguration<AmpClient>, input: DescribeWorkspaceCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilWorkspaceActive: (params: WaiterConfiguration<AmpClient>, input: DescribeWorkspaceCommandInput) => Promise<WaiterResult<DescribeWorkspaceCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { AmpClient } from "../AmpClient";
|
|
3
|
-
import { type DescribeWorkspaceCommandInput } from "../commands/DescribeWorkspaceCommand";
|
|
3
|
+
import { type DescribeWorkspaceCommandInput, type DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
|
|
4
|
+
import type { AmpServiceException } from "../models/AmpServiceException";
|
|
5
|
+
import type { ResourceNotFoundException } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
* Wait until a workspace reaches DELETED status
|
|
6
8
|
* @deprecated Use waitUntilWorkspaceDeleted instead. waitForWorkspaceDeleted does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForWorkspaceDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeWorkspaceCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForWorkspaceDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeWorkspaceCommandInput) => Promise<WaiterResult<DescribeWorkspaceCommandOutput | AmpServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
* Wait until a workspace reaches DELETED status
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to DescribeWorkspaceCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilWorkspaceDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeWorkspaceCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilWorkspaceDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeWorkspaceCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amp",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1039.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-amp",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.7",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.38",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.37",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.23",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.17",
|
|
36
36
|
"@smithy/core": "^3.23.17",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
41
41
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
42
|
-
"@smithy/middleware-retry": "^4.5.
|
|
42
|
+
"@smithy/middleware-retry": "^4.5.7",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.20",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.14",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
56
56
|
"@smithy/util-endpoints": "^3.4.2",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.14",
|
|
58
|
-
"@smithy/util-retry": "^4.3.
|
|
58
|
+
"@smithy/util-retry": "^4.3.6",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.2",
|
|
60
|
-
"@smithy/util-waiter": "^4.
|
|
60
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|