@aws-sdk/client-rum 3.190.0 → 3.193.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/CHANGELOG.md +19 -0
- package/README.md +7 -7
- package/dist-cjs/RUM.js +105 -0
- package/dist-cjs/RUMClient.js +11 -8
- package/dist-cjs/commands/BatchCreateRumMetricDefinitionsCommand.js +46 -0
- package/dist-cjs/commands/BatchDeleteRumMetricDefinitionsCommand.js +46 -0
- package/dist-cjs/commands/BatchGetRumMetricDefinitionsCommand.js +46 -0
- package/dist-cjs/commands/CreateAppMonitorCommand.js +10 -0
- package/dist-cjs/commands/DeleteAppMonitorCommand.js +10 -0
- package/dist-cjs/commands/DeleteRumMetricsDestinationCommand.js +46 -0
- package/dist-cjs/commands/GetAppMonitorCommand.js +10 -0
- package/dist-cjs/commands/GetAppMonitorDataCommand.js +10 -0
- package/dist-cjs/commands/ListAppMonitorsCommand.js +10 -0
- package/dist-cjs/commands/ListRumMetricsDestinationsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/PutRumEventsCommand.js +10 -0
- package/dist-cjs/commands/PutRumMetricsDestinationCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAppMonitorCommand.js +10 -0
- package/dist-cjs/commands/UpdateRumMetricDefinitionCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +98 -16
- package/dist-cjs/pagination/BatchGetRumMetricDefinitionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListRumMetricsDestinationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +675 -17
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/RUM.js +105 -0
- package/dist-es/RUMClient.js +12 -9
- package/dist-es/commands/BatchCreateRumMetricDefinitionsCommand.js +42 -0
- package/dist-es/commands/BatchDeleteRumMetricDefinitionsCommand.js +42 -0
- package/dist-es/commands/BatchGetRumMetricDefinitionsCommand.js +42 -0
- package/dist-es/commands/CreateAppMonitorCommand.js +10 -0
- package/dist-es/commands/DeleteAppMonitorCommand.js +10 -0
- package/dist-es/commands/DeleteRumMetricsDestinationCommand.js +42 -0
- package/dist-es/commands/GetAppMonitorCommand.js +10 -0
- package/dist-es/commands/GetAppMonitorDataCommand.js +10 -0
- package/dist-es/commands/ListAppMonitorsCommand.js +10 -0
- package/dist-es/commands/ListRumMetricsDestinationsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/PutRumEventsCommand.js +10 -0
- package/dist-es/commands/PutRumMetricsDestinationCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAppMonitorCommand.js +10 -0
- package/dist-es/commands/UpdateRumMetricDefinitionCommand.js +42 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +76 -14
- package/dist-es/pagination/BatchGetRumMetricDefinitionsPaginator.js +32 -0
- package/dist-es/pagination/ListRumMetricsDestinationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +657 -13
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/RUM.d.ts +83 -0
- package/dist-types/RUMClient.d.ts +15 -11
- package/dist-types/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +60 -0
- package/dist-types/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +42 -0
- package/dist-types/commands/BatchGetRumMetricDefinitionsCommand.d.ts +37 -0
- package/dist-types/commands/CreateAppMonitorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAppMonitorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRumMetricsDestinationCommand.d.ts +38 -0
- package/dist-types/commands/GetAppMonitorCommand.d.ts +2 -0
- package/dist-types/commands/GetAppMonitorDataCommand.d.ts +2 -0
- package/dist-types/commands/ListAppMonitorsCommand.d.ts +2 -0
- package/dist-types/commands/ListRumMetricsDestinationsCommand.d.ts +39 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/PutRumEventsCommand.d.ts +2 -0
- package/dist-types/commands/PutRumMetricsDestinationCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAppMonitorCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRumMetricDefinitionCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +719 -57
- package/dist-types/pagination/BatchGetRumMetricDefinitionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRumMetricsDestinationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/RUM.d.ts +119 -0
- package/dist-types/ts3.4/RUMClient.d.ts +59 -10
- package/dist-types/ts3.4/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchGetRumMetricDefinitionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateAppMonitorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAppMonitorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRumMetricsDestinationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetAppMonitorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAppMonitorDataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAppMonitorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRumMetricsDestinationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutRumEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutRumMetricsDestinationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAppMonitorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRumMetricDefinitionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -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/models/models_0.d.ts +170 -18
- package/dist-types/ts3.4/pagination/BatchGetRumMetricDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRumMetricsDestinationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +28 -26
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
DeleteRumMetricsDestinationRequest,
|
|
11
|
+
DeleteRumMetricsDestinationResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
RUMClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../RUMClient";
|
|
18
|
+
export interface DeleteRumMetricsDestinationCommandInput
|
|
19
|
+
extends DeleteRumMetricsDestinationRequest {}
|
|
20
|
+
export interface DeleteRumMetricsDestinationCommandOutput
|
|
21
|
+
extends DeleteRumMetricsDestinationResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class DeleteRumMetricsDestinationCommand extends $Command<
|
|
24
|
+
DeleteRumMetricsDestinationCommandInput,
|
|
25
|
+
DeleteRumMetricsDestinationCommandOutput,
|
|
26
|
+
RUMClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: DeleteRumMetricsDestinationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteRumMetricsDestinationCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: RUMClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
DeleteRumMetricsDestinationCommandInput,
|
|
37
|
+
DeleteRumMetricsDestinationCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class GetAppMonitorCommand extends $Command<
|
|
|
24
25
|
RUMClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: GetAppMonitorCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: GetAppMonitorCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetAppMonitorDataCommand extends $Command<
|
|
|
25
26
|
RUMClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetAppMonitorDataCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetAppMonitorDataCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class ListAppMonitorsCommand extends $Command<
|
|
|
24
25
|
RUMClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: ListAppMonitorsCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: ListAppMonitorsCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ListRumMetricsDestinationsRequest,
|
|
11
|
+
ListRumMetricsDestinationsResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
RUMClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../RUMClient";
|
|
18
|
+
export interface ListRumMetricsDestinationsCommandInput
|
|
19
|
+
extends ListRumMetricsDestinationsRequest {}
|
|
20
|
+
export interface ListRumMetricsDestinationsCommandOutput
|
|
21
|
+
extends ListRumMetricsDestinationsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListRumMetricsDestinationsCommand extends $Command<
|
|
24
|
+
ListRumMetricsDestinationsCommandInput,
|
|
25
|
+
ListRumMetricsDestinationsCommandOutput,
|
|
26
|
+
RUMClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListRumMetricsDestinationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListRumMetricsDestinationsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: RUMClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
ListRumMetricsDestinationsCommandInput,
|
|
37
|
+
ListRumMetricsDestinationsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class ListTagsForResourceCommand extends $Command<
|
|
|
25
26
|
RUMClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: ListTagsForResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListTagsForResourceCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class PutRumEventsCommand extends $Command<
|
|
|
21
22
|
RUMClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: PutRumEventsCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: PutRumEventsCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
PutRumMetricsDestinationRequest,
|
|
11
|
+
PutRumMetricsDestinationResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
RUMClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../RUMClient";
|
|
18
|
+
export interface PutRumMetricsDestinationCommandInput
|
|
19
|
+
extends PutRumMetricsDestinationRequest {}
|
|
20
|
+
export interface PutRumMetricsDestinationCommandOutput
|
|
21
|
+
extends PutRumMetricsDestinationResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class PutRumMetricsDestinationCommand extends $Command<
|
|
24
|
+
PutRumMetricsDestinationCommandInput,
|
|
25
|
+
PutRumMetricsDestinationCommandOutput,
|
|
26
|
+
RUMClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: PutRumMetricsDestinationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: PutRumMetricsDestinationCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: RUMClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
PutRumMetricsDestinationCommandInput,
|
|
37
|
+
PutRumMetricsDestinationCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class TagResourceCommand extends $Command<
|
|
|
21
22
|
RUMClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: TagResourceCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: TagResourceCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class UntagResourceCommand extends $Command<
|
|
|
24
25
|
RUMClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: UntagResourceCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: UntagResourceCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class UpdateAppMonitorCommand extends $Command<
|
|
|
24
25
|
RUMClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: UpdateAppMonitorCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: UpdateAppMonitorCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
UpdateRumMetricDefinitionRequest,
|
|
11
|
+
UpdateRumMetricDefinitionResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
RUMClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../RUMClient";
|
|
18
|
+
export interface UpdateRumMetricDefinitionCommandInput
|
|
19
|
+
extends UpdateRumMetricDefinitionRequest {}
|
|
20
|
+
export interface UpdateRumMetricDefinitionCommandOutput
|
|
21
|
+
extends UpdateRumMetricDefinitionResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateRumMetricDefinitionCommand extends $Command<
|
|
24
|
+
UpdateRumMetricDefinitionCommandInput,
|
|
25
|
+
UpdateRumMetricDefinitionCommandOutput,
|
|
26
|
+
RUMClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateRumMetricDefinitionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateRumMetricDefinitionCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: RUMClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
UpdateRumMetricDefinitionCommandInput,
|
|
37
|
+
UpdateRumMetricDefinitionCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
export * from "./BatchCreateRumMetricDefinitionsCommand";
|
|
2
|
+
export * from "./BatchDeleteRumMetricDefinitionsCommand";
|
|
3
|
+
export * from "./BatchGetRumMetricDefinitionsCommand";
|
|
1
4
|
export * from "./CreateAppMonitorCommand";
|
|
2
5
|
export * from "./DeleteAppMonitorCommand";
|
|
6
|
+
export * from "./DeleteRumMetricsDestinationCommand";
|
|
3
7
|
export * from "./GetAppMonitorCommand";
|
|
4
8
|
export * from "./GetAppMonitorDataCommand";
|
|
5
9
|
export * from "./ListAppMonitorsCommand";
|
|
10
|
+
export * from "./ListRumMetricsDestinationsCommand";
|
|
6
11
|
export * from "./ListTagsForResourceCommand";
|
|
7
12
|
export * from "./PutRumEventsCommand";
|
|
13
|
+
export * from "./PutRumMetricsDestinationCommand";
|
|
8
14
|
export * from "./TagResourceCommand";
|
|
9
15
|
export * from "./UntagResourceCommand";
|
|
10
16
|
export * from "./UpdateAppMonitorCommand";
|
|
17
|
+
export * from "./UpdateRumMetricDefinitionCommand";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EndpointParameters as __EndpointParameters,
|
|
3
|
+
Provider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string>;
|
|
10
|
+
}
|
|
11
|
+
export declare type ClientResolvedEndpointParameters =
|
|
12
|
+
ClientInputEndpointParameters & {
|
|
13
|
+
defaultSigningName: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
16
|
+
options: T & ClientInputEndpointParameters
|
|
17
|
+
) => T &
|
|
18
|
+
ClientInputEndpointParameters & {
|
|
19
|
+
defaultSigningName: string;
|
|
20
|
+
};
|
|
21
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
22
|
+
Region?: string;
|
|
23
|
+
UseDualStack?: boolean;
|
|
24
|
+
UseFIPS?: boolean;
|
|
25
|
+
Endpoint?: string;
|
|
26
|
+
}
|
|
@@ -54,6 +54,40 @@ export interface AppMonitorDetails {
|
|
|
54
54
|
id?: string;
|
|
55
55
|
version?: string;
|
|
56
56
|
}
|
|
57
|
+
export declare enum MetricDestination {
|
|
58
|
+
CloudWatch = "CloudWatch",
|
|
59
|
+
Evidently = "Evidently",
|
|
60
|
+
}
|
|
61
|
+
export interface MetricDefinitionRequest {
|
|
62
|
+
Name: string | undefined;
|
|
63
|
+
ValueKey?: string;
|
|
64
|
+
UnitLabel?: string;
|
|
65
|
+
DimensionKeys?: Record<string, string>;
|
|
66
|
+
EventPattern?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface BatchCreateRumMetricDefinitionsRequest {
|
|
69
|
+
AppMonitorName: string | undefined;
|
|
70
|
+
Destination: MetricDestination | string | undefined;
|
|
71
|
+
DestinationArn?: string;
|
|
72
|
+
MetricDefinitions: MetricDefinitionRequest[] | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface BatchCreateRumMetricDefinitionsError {
|
|
75
|
+
MetricDefinition: MetricDefinitionRequest | undefined;
|
|
76
|
+
ErrorCode: string | undefined;
|
|
77
|
+
ErrorMessage: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export interface MetricDefinition {
|
|
80
|
+
MetricDefinitionId: string | undefined;
|
|
81
|
+
Name: string | undefined;
|
|
82
|
+
ValueKey?: string;
|
|
83
|
+
UnitLabel?: string;
|
|
84
|
+
DimensionKeys?: Record<string, string>;
|
|
85
|
+
EventPattern?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface BatchCreateRumMetricDefinitionsResponse {
|
|
88
|
+
Errors: BatchCreateRumMetricDefinitionsError[] | undefined;
|
|
89
|
+
MetricDefinitions?: MetricDefinition[];
|
|
90
|
+
}
|
|
57
91
|
export declare class ConflictException extends __BaseException {
|
|
58
92
|
readonly name: "ConflictException";
|
|
59
93
|
readonly $fault: "client";
|
|
@@ -61,16 +95,6 @@ export declare class ConflictException extends __BaseException {
|
|
|
61
95
|
resourceType?: string;
|
|
62
96
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
63
97
|
}
|
|
64
|
-
export interface CreateAppMonitorRequest {
|
|
65
|
-
Name: string | undefined;
|
|
66
|
-
Domain: string | undefined;
|
|
67
|
-
Tags?: Record<string, string>;
|
|
68
|
-
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
69
|
-
CwLogEnabled?: boolean;
|
|
70
|
-
}
|
|
71
|
-
export interface CreateAppMonitorResponse {
|
|
72
|
-
Id?: string;
|
|
73
|
-
}
|
|
74
98
|
export declare class InternalServerException extends __BaseException {
|
|
75
99
|
readonly name: "InternalServerException";
|
|
76
100
|
readonly $fault: "server";
|
|
@@ -80,6 +104,15 @@ export declare class InternalServerException extends __BaseException {
|
|
|
80
104
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
81
105
|
);
|
|
82
106
|
}
|
|
107
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
108
|
+
readonly name: "ResourceNotFoundException";
|
|
109
|
+
readonly $fault: "client";
|
|
110
|
+
resourceName: string | undefined;
|
|
111
|
+
resourceType?: string;
|
|
112
|
+
constructor(
|
|
113
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
114
|
+
);
|
|
115
|
+
}
|
|
83
116
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
84
117
|
readonly name: "ServiceQuotaExceededException";
|
|
85
118
|
readonly $fault: "client";
|
|
@@ -107,19 +140,52 @@ export declare class ValidationException extends __BaseException {
|
|
|
107
140
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
108
141
|
);
|
|
109
142
|
}
|
|
143
|
+
export interface BatchDeleteRumMetricDefinitionsRequest {
|
|
144
|
+
AppMonitorName: string | undefined;
|
|
145
|
+
Destination: MetricDestination | string | undefined;
|
|
146
|
+
DestinationArn?: string;
|
|
147
|
+
MetricDefinitionIds: string[] | undefined;
|
|
148
|
+
}
|
|
149
|
+
export interface BatchDeleteRumMetricDefinitionsError {
|
|
150
|
+
MetricDefinitionId: string | undefined;
|
|
151
|
+
ErrorCode: string | undefined;
|
|
152
|
+
ErrorMessage: string | undefined;
|
|
153
|
+
}
|
|
154
|
+
export interface BatchDeleteRumMetricDefinitionsResponse {
|
|
155
|
+
Errors: BatchDeleteRumMetricDefinitionsError[] | undefined;
|
|
156
|
+
MetricDefinitionIds?: string[];
|
|
157
|
+
}
|
|
158
|
+
export interface BatchGetRumMetricDefinitionsRequest {
|
|
159
|
+
AppMonitorName: string | undefined;
|
|
160
|
+
Destination: MetricDestination | string | undefined;
|
|
161
|
+
DestinationArn?: string;
|
|
162
|
+
MaxResults?: number;
|
|
163
|
+
NextToken?: string;
|
|
164
|
+
}
|
|
165
|
+
export interface BatchGetRumMetricDefinitionsResponse {
|
|
166
|
+
MetricDefinitions?: MetricDefinition[];
|
|
167
|
+
NextToken?: string;
|
|
168
|
+
}
|
|
169
|
+
export interface CreateAppMonitorRequest {
|
|
170
|
+
Name: string | undefined;
|
|
171
|
+
Domain: string | undefined;
|
|
172
|
+
Tags?: Record<string, string>;
|
|
173
|
+
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
174
|
+
CwLogEnabled?: boolean;
|
|
175
|
+
}
|
|
176
|
+
export interface CreateAppMonitorResponse {
|
|
177
|
+
Id?: string;
|
|
178
|
+
}
|
|
110
179
|
export interface DeleteAppMonitorRequest {
|
|
111
180
|
Name: string | undefined;
|
|
112
181
|
}
|
|
113
182
|
export interface DeleteAppMonitorResponse {}
|
|
114
|
-
export
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
resourceType?: string;
|
|
119
|
-
constructor(
|
|
120
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
121
|
-
);
|
|
183
|
+
export interface DeleteRumMetricsDestinationRequest {
|
|
184
|
+
AppMonitorName: string | undefined;
|
|
185
|
+
Destination: MetricDestination | string | undefined;
|
|
186
|
+
DestinationArn?: string;
|
|
122
187
|
}
|
|
188
|
+
export interface DeleteRumMetricsDestinationResponse {}
|
|
123
189
|
export interface GetAppMonitorRequest {
|
|
124
190
|
Name: string | undefined;
|
|
125
191
|
}
|
|
@@ -160,6 +226,27 @@ export interface ListAppMonitorsResponse {
|
|
|
160
226
|
NextToken?: string;
|
|
161
227
|
AppMonitorSummaries?: AppMonitorSummary[];
|
|
162
228
|
}
|
|
229
|
+
export interface ListRumMetricsDestinationsRequest {
|
|
230
|
+
AppMonitorName: string | undefined;
|
|
231
|
+
MaxResults?: number;
|
|
232
|
+
NextToken?: string;
|
|
233
|
+
}
|
|
234
|
+
export interface MetricDestinationSummary {
|
|
235
|
+
Destination?: MetricDestination | string;
|
|
236
|
+
DestinationArn?: string;
|
|
237
|
+
IamRoleArn?: string;
|
|
238
|
+
}
|
|
239
|
+
export interface ListRumMetricsDestinationsResponse {
|
|
240
|
+
Destinations?: MetricDestinationSummary[];
|
|
241
|
+
NextToken?: string;
|
|
242
|
+
}
|
|
243
|
+
export interface PutRumMetricsDestinationRequest {
|
|
244
|
+
AppMonitorName: string | undefined;
|
|
245
|
+
Destination: MetricDestination | string | undefined;
|
|
246
|
+
DestinationArn?: string;
|
|
247
|
+
IamRoleArn?: string;
|
|
248
|
+
}
|
|
249
|
+
export interface PutRumMetricsDestinationResponse {}
|
|
163
250
|
export interface UpdateAppMonitorRequest {
|
|
164
251
|
Name: string | undefined;
|
|
165
252
|
Domain?: string;
|
|
@@ -167,6 +254,14 @@ export interface UpdateAppMonitorRequest {
|
|
|
167
254
|
CwLogEnabled?: boolean;
|
|
168
255
|
}
|
|
169
256
|
export interface UpdateAppMonitorResponse {}
|
|
257
|
+
export interface UpdateRumMetricDefinitionRequest {
|
|
258
|
+
AppMonitorName: string | undefined;
|
|
259
|
+
Destination: MetricDestination | string | undefined;
|
|
260
|
+
DestinationArn?: string;
|
|
261
|
+
MetricDefinition: MetricDefinitionRequest | undefined;
|
|
262
|
+
MetricDefinitionId: string | undefined;
|
|
263
|
+
}
|
|
264
|
+
export interface UpdateRumMetricDefinitionResponse {}
|
|
170
265
|
export interface ListTagsForResourceRequest {
|
|
171
266
|
ResourceArn: string | undefined;
|
|
172
267
|
}
|
|
@@ -212,6 +307,36 @@ export declare const AppMonitorFilterSensitiveLog: (obj: AppMonitor) => any;
|
|
|
212
307
|
export declare const AppMonitorDetailsFilterSensitiveLog: (
|
|
213
308
|
obj: AppMonitorDetails
|
|
214
309
|
) => any;
|
|
310
|
+
export declare const MetricDefinitionRequestFilterSensitiveLog: (
|
|
311
|
+
obj: MetricDefinitionRequest
|
|
312
|
+
) => any;
|
|
313
|
+
export declare const BatchCreateRumMetricDefinitionsRequestFilterSensitiveLog: (
|
|
314
|
+
obj: BatchCreateRumMetricDefinitionsRequest
|
|
315
|
+
) => any;
|
|
316
|
+
export declare const BatchCreateRumMetricDefinitionsErrorFilterSensitiveLog: (
|
|
317
|
+
obj: BatchCreateRumMetricDefinitionsError
|
|
318
|
+
) => any;
|
|
319
|
+
export declare const MetricDefinitionFilterSensitiveLog: (
|
|
320
|
+
obj: MetricDefinition
|
|
321
|
+
) => any;
|
|
322
|
+
export declare const BatchCreateRumMetricDefinitionsResponseFilterSensitiveLog: (
|
|
323
|
+
obj: BatchCreateRumMetricDefinitionsResponse
|
|
324
|
+
) => any;
|
|
325
|
+
export declare const BatchDeleteRumMetricDefinitionsRequestFilterSensitiveLog: (
|
|
326
|
+
obj: BatchDeleteRumMetricDefinitionsRequest
|
|
327
|
+
) => any;
|
|
328
|
+
export declare const BatchDeleteRumMetricDefinitionsErrorFilterSensitiveLog: (
|
|
329
|
+
obj: BatchDeleteRumMetricDefinitionsError
|
|
330
|
+
) => any;
|
|
331
|
+
export declare const BatchDeleteRumMetricDefinitionsResponseFilterSensitiveLog: (
|
|
332
|
+
obj: BatchDeleteRumMetricDefinitionsResponse
|
|
333
|
+
) => any;
|
|
334
|
+
export declare const BatchGetRumMetricDefinitionsRequestFilterSensitiveLog: (
|
|
335
|
+
obj: BatchGetRumMetricDefinitionsRequest
|
|
336
|
+
) => any;
|
|
337
|
+
export declare const BatchGetRumMetricDefinitionsResponseFilterSensitiveLog: (
|
|
338
|
+
obj: BatchGetRumMetricDefinitionsResponse
|
|
339
|
+
) => any;
|
|
215
340
|
export declare const CreateAppMonitorRequestFilterSensitiveLog: (
|
|
216
341
|
obj: CreateAppMonitorRequest
|
|
217
342
|
) => any;
|
|
@@ -224,6 +349,12 @@ export declare const DeleteAppMonitorRequestFilterSensitiveLog: (
|
|
|
224
349
|
export declare const DeleteAppMonitorResponseFilterSensitiveLog: (
|
|
225
350
|
obj: DeleteAppMonitorResponse
|
|
226
351
|
) => any;
|
|
352
|
+
export declare const DeleteRumMetricsDestinationRequestFilterSensitiveLog: (
|
|
353
|
+
obj: DeleteRumMetricsDestinationRequest
|
|
354
|
+
) => any;
|
|
355
|
+
export declare const DeleteRumMetricsDestinationResponseFilterSensitiveLog: (
|
|
356
|
+
obj: DeleteRumMetricsDestinationResponse
|
|
357
|
+
) => any;
|
|
227
358
|
export declare const GetAppMonitorRequestFilterSensitiveLog: (
|
|
228
359
|
obj: GetAppMonitorRequest
|
|
229
360
|
) => any;
|
|
@@ -247,12 +378,33 @@ export declare const AppMonitorSummaryFilterSensitiveLog: (
|
|
|
247
378
|
export declare const ListAppMonitorsResponseFilterSensitiveLog: (
|
|
248
379
|
obj: ListAppMonitorsResponse
|
|
249
380
|
) => any;
|
|
381
|
+
export declare const ListRumMetricsDestinationsRequestFilterSensitiveLog: (
|
|
382
|
+
obj: ListRumMetricsDestinationsRequest
|
|
383
|
+
) => any;
|
|
384
|
+
export declare const MetricDestinationSummaryFilterSensitiveLog: (
|
|
385
|
+
obj: MetricDestinationSummary
|
|
386
|
+
) => any;
|
|
387
|
+
export declare const ListRumMetricsDestinationsResponseFilterSensitiveLog: (
|
|
388
|
+
obj: ListRumMetricsDestinationsResponse
|
|
389
|
+
) => any;
|
|
390
|
+
export declare const PutRumMetricsDestinationRequestFilterSensitiveLog: (
|
|
391
|
+
obj: PutRumMetricsDestinationRequest
|
|
392
|
+
) => any;
|
|
393
|
+
export declare const PutRumMetricsDestinationResponseFilterSensitiveLog: (
|
|
394
|
+
obj: PutRumMetricsDestinationResponse
|
|
395
|
+
) => any;
|
|
250
396
|
export declare const UpdateAppMonitorRequestFilterSensitiveLog: (
|
|
251
397
|
obj: UpdateAppMonitorRequest
|
|
252
398
|
) => any;
|
|
253
399
|
export declare const UpdateAppMonitorResponseFilterSensitiveLog: (
|
|
254
400
|
obj: UpdateAppMonitorResponse
|
|
255
401
|
) => any;
|
|
402
|
+
export declare const UpdateRumMetricDefinitionRequestFilterSensitiveLog: (
|
|
403
|
+
obj: UpdateRumMetricDefinitionRequest
|
|
404
|
+
) => any;
|
|
405
|
+
export declare const UpdateRumMetricDefinitionResponseFilterSensitiveLog: (
|
|
406
|
+
obj: UpdateRumMetricDefinitionResponse
|
|
407
|
+
) => any;
|
|
256
408
|
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
257
409
|
obj: ListTagsForResourceRequest
|
|
258
410
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
BatchGetRumMetricDefinitionsCommandInput,
|
|
4
|
+
BatchGetRumMetricDefinitionsCommandOutput,
|
|
5
|
+
} from "../commands/BatchGetRumMetricDefinitionsCommand";
|
|
6
|
+
import { RUMPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateBatchGetRumMetricDefinitions(
|
|
8
|
+
config: RUMPaginationConfiguration,
|
|
9
|
+
input: BatchGetRumMetricDefinitionsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<BatchGetRumMetricDefinitionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRumMetricsDestinationsCommandInput,
|
|
4
|
+
ListRumMetricsDestinationsCommandOutput,
|
|
5
|
+
} from "../commands/ListRumMetricsDestinationsCommand";
|
|
6
|
+
import { RUMPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListRumMetricsDestinations(
|
|
8
|
+
config: RUMPaginationConfiguration,
|
|
9
|
+
input: ListRumMetricsDestinationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListRumMetricsDestinationsCommandOutput>;
|