@aws-sdk/client-rum 3.934.0 → 3.936.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/README.md +1 -8
- package/dist-cjs/index.js +6 -31
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +153 -0
- package/dist-es/models/models_0.js +5 -153
- package/dist-es/schemas/schemas_0.js +7 -5
- package/dist-types/RUM.d.ts +1 -8
- package/dist-types/RUMClient.d.ts +1 -8
- package/dist-types/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +1 -41
- package/dist-types/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +1 -6
- package/dist-types/commands/CreateAppMonitorCommand.d.ts +2 -9
- package/dist-types/commands/DeleteRumMetricsDestinationCommand.d.ts +1 -2
- package/dist-types/commands/GetAppMonitorCommand.d.ts +1 -0
- package/dist-types/commands/GetAppMonitorDataCommand.d.ts +1 -2
- package/dist-types/commands/ListAppMonitorsCommand.d.ts +1 -0
- package/dist-types/commands/ListRumMetricsDestinationsCommand.d.ts +1 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -2
- package/dist-types/commands/PutRumEventsCommand.d.ts +1 -4
- package/dist-types/commands/PutRumMetricsDestinationCommand.d.ts +1 -3
- package/dist-types/commands/TagResourceCommand.d.ts +1 -14
- package/dist-types/commands/UpdateAppMonitorCommand.d.ts +1 -11
- package/dist-types/commands/UpdateRumMetricDefinitionCommand.d.ts +1 -2
- package/dist-types/index.d.ts +3 -9
- package/dist-types/models/errors.d.ts +178 -0
- package/dist-types/models/models_0.d.ts +114 -864
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +98 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -101
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { RUMExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { RUMServiceException } from "./models/RUMServiceException";
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { RUMServiceException as __BaseException } from "./RUMServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ConflictException extends __BaseException {
|
|
11
|
+
readonly name: "ConflictException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
resourceName: string | undefined;
|
|
14
|
+
resourceType?: string | undefined;
|
|
15
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
export declare class InternalServerException extends __BaseException {
|
|
18
|
+
readonly name: "InternalServerException";
|
|
19
|
+
readonly $fault: "server";
|
|
20
|
+
$retryable: {};
|
|
21
|
+
retryAfterSeconds?: number | undefined;
|
|
22
|
+
constructor(
|
|
23
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
readonly name: "ResourceNotFoundException";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
resourceName: string | undefined;
|
|
30
|
+
resourceType?: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
36
|
+
readonly name: "ServiceQuotaExceededException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export declare class ThrottlingException extends __BaseException {
|
|
43
|
+
readonly name: "ThrottlingException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
$retryable: {
|
|
46
|
+
throttling: boolean;
|
|
47
|
+
};
|
|
48
|
+
serviceCode?: string | undefined;
|
|
49
|
+
quotaCode?: string | undefined;
|
|
50
|
+
retryAfterSeconds?: number | undefined;
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export declare class ValidationException extends __BaseException {
|
|
56
|
+
readonly name: "ValidationException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
constructor(
|
|
59
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
63
|
+
readonly name: "InvalidPolicyRevisionIdException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<
|
|
67
|
+
InvalidPolicyRevisionIdException,
|
|
68
|
+
__BaseException
|
|
69
|
+
>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export declare class PolicyNotFoundException extends __BaseException {
|
|
73
|
+
readonly name: "PolicyNotFoundException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
constructor(
|
|
76
|
+
opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
80
|
+
readonly name: "MalformedPolicyDocumentException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
constructor(
|
|
83
|
+
opts: __ExceptionOptionType<
|
|
84
|
+
MalformedPolicyDocumentException,
|
|
85
|
+
__BaseException
|
|
86
|
+
>
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
export declare class PolicySizeLimitExceededException extends __BaseException {
|
|
90
|
+
readonly name: "PolicySizeLimitExceededException";
|
|
91
|
+
readonly $fault: "client";
|
|
92
|
+
constructor(
|
|
93
|
+
opts: __ExceptionOptionType<
|
|
94
|
+
PolicySizeLimitExceededException,
|
|
95
|
+
__BaseException
|
|
96
|
+
>
|
|
97
|
+
);
|
|
98
|
+
}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AutomaticJsonStringConversion as __AutomaticJsonStringConversion,
|
|
3
|
-
ExceptionOptionType as __ExceptionOptionType,
|
|
4
|
-
} from "@smithy/smithy-client";
|
|
5
|
-
import { RUMServiceException as __BaseException } from "./RUMServiceException";
|
|
6
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
-
readonly name: "AccessDeniedException";
|
|
8
|
-
readonly $fault: "client";
|
|
9
|
-
constructor(
|
|
10
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
|
-
);
|
|
12
|
-
}
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
13
2
|
export declare const Telemetry: {
|
|
14
3
|
readonly ERRORS: "errors";
|
|
15
4
|
readonly HTTP: "http";
|
|
@@ -56,6 +45,13 @@ export interface JavaScriptSourceMaps {
|
|
|
56
45
|
export interface DeobfuscationConfiguration {
|
|
57
46
|
JavaScriptSourceMaps?: JavaScriptSourceMaps | undefined;
|
|
58
47
|
}
|
|
48
|
+
export declare const AppMonitorPlatform: {
|
|
49
|
+
readonly ANDROID: "Android";
|
|
50
|
+
readonly IOS: "iOS";
|
|
51
|
+
readonly WEB: "Web";
|
|
52
|
+
};
|
|
53
|
+
export type AppMonitorPlatform =
|
|
54
|
+
(typeof AppMonitorPlatform)[keyof typeof AppMonitorPlatform];
|
|
59
55
|
export declare const StateEnum: {
|
|
60
56
|
readonly ACTIVE: "ACTIVE";
|
|
61
57
|
readonly CREATED: "CREATED";
|
|
@@ -75,6 +71,7 @@ export interface AppMonitor {
|
|
|
75
71
|
DataStorage?: DataStorage | undefined;
|
|
76
72
|
CustomEvents?: CustomEvents | undefined;
|
|
77
73
|
DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
|
|
74
|
+
Platform?: AppMonitorPlatform | undefined;
|
|
78
75
|
}
|
|
79
76
|
export interface AppMonitorDetails {
|
|
80
77
|
name?: string | undefined;
|
|
@@ -119,58 +116,6 @@ export interface BatchCreateRumMetricDefinitionsResponse {
|
|
|
119
116
|
Errors: BatchCreateRumMetricDefinitionsError[] | undefined;
|
|
120
117
|
MetricDefinitions?: MetricDefinition[] | undefined;
|
|
121
118
|
}
|
|
122
|
-
export declare class ConflictException extends __BaseException {
|
|
123
|
-
readonly name: "ConflictException";
|
|
124
|
-
readonly $fault: "client";
|
|
125
|
-
resourceName: string | undefined;
|
|
126
|
-
resourceType?: string | undefined;
|
|
127
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
128
|
-
}
|
|
129
|
-
export declare class InternalServerException extends __BaseException {
|
|
130
|
-
readonly name: "InternalServerException";
|
|
131
|
-
readonly $fault: "server";
|
|
132
|
-
$retryable: {};
|
|
133
|
-
retryAfterSeconds?: number | undefined;
|
|
134
|
-
constructor(
|
|
135
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
139
|
-
readonly name: "ResourceNotFoundException";
|
|
140
|
-
readonly $fault: "client";
|
|
141
|
-
resourceName: string | undefined;
|
|
142
|
-
resourceType?: string | undefined;
|
|
143
|
-
constructor(
|
|
144
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
145
|
-
);
|
|
146
|
-
}
|
|
147
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
148
|
-
readonly name: "ServiceQuotaExceededException";
|
|
149
|
-
readonly $fault: "client";
|
|
150
|
-
constructor(
|
|
151
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
152
|
-
);
|
|
153
|
-
}
|
|
154
|
-
export declare class ThrottlingException extends __BaseException {
|
|
155
|
-
readonly name: "ThrottlingException";
|
|
156
|
-
readonly $fault: "client";
|
|
157
|
-
$retryable: {
|
|
158
|
-
throttling: boolean;
|
|
159
|
-
};
|
|
160
|
-
serviceCode?: string | undefined;
|
|
161
|
-
quotaCode?: string | undefined;
|
|
162
|
-
retryAfterSeconds?: number | undefined;
|
|
163
|
-
constructor(
|
|
164
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
export declare class ValidationException extends __BaseException {
|
|
168
|
-
readonly name: "ValidationException";
|
|
169
|
-
readonly $fault: "client";
|
|
170
|
-
constructor(
|
|
171
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
172
|
-
);
|
|
173
|
-
}
|
|
174
119
|
export interface BatchDeleteRumMetricDefinitionsRequest {
|
|
175
120
|
AppMonitorName: string | undefined;
|
|
176
121
|
Destination: MetricDestination | undefined;
|
|
@@ -206,6 +151,7 @@ export interface CreateAppMonitorRequest {
|
|
|
206
151
|
CwLogEnabled?: boolean | undefined;
|
|
207
152
|
CustomEvents?: CustomEvents | undefined;
|
|
208
153
|
DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
|
|
154
|
+
Platform?: AppMonitorPlatform | undefined;
|
|
209
155
|
}
|
|
210
156
|
export interface CreateAppMonitorResponse {
|
|
211
157
|
Id?: string | undefined;
|
|
@@ -221,23 +167,6 @@ export interface DeleteResourcePolicyRequest {
|
|
|
221
167
|
export interface DeleteResourcePolicyResponse {
|
|
222
168
|
PolicyRevisionId?: string | undefined;
|
|
223
169
|
}
|
|
224
|
-
export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
225
|
-
readonly name: "InvalidPolicyRevisionIdException";
|
|
226
|
-
readonly $fault: "client";
|
|
227
|
-
constructor(
|
|
228
|
-
opts: __ExceptionOptionType<
|
|
229
|
-
InvalidPolicyRevisionIdException,
|
|
230
|
-
__BaseException
|
|
231
|
-
>
|
|
232
|
-
);
|
|
233
|
-
}
|
|
234
|
-
export declare class PolicyNotFoundException extends __BaseException {
|
|
235
|
-
readonly name: "PolicyNotFoundException";
|
|
236
|
-
readonly $fault: "client";
|
|
237
|
-
constructor(
|
|
238
|
-
opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>
|
|
239
|
-
);
|
|
240
|
-
}
|
|
241
170
|
export interface DeleteRumMetricsDestinationRequest {
|
|
242
171
|
AppMonitorName: string | undefined;
|
|
243
172
|
Destination: MetricDestination | undefined;
|
|
@@ -286,6 +215,7 @@ export interface AppMonitorSummary {
|
|
|
286
215
|
Created?: string | undefined;
|
|
287
216
|
LastModified?: string | undefined;
|
|
288
217
|
State?: StateEnum | undefined;
|
|
218
|
+
Platform?: AppMonitorPlatform | undefined;
|
|
289
219
|
}
|
|
290
220
|
export interface ListAppMonitorsResponse {
|
|
291
221
|
NextToken?: string | undefined;
|
|
@@ -305,26 +235,6 @@ export interface ListRumMetricsDestinationsResponse {
|
|
|
305
235
|
Destinations?: MetricDestinationSummary[] | undefined;
|
|
306
236
|
NextToken?: string | undefined;
|
|
307
237
|
}
|
|
308
|
-
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
309
|
-
readonly name: "MalformedPolicyDocumentException";
|
|
310
|
-
readonly $fault: "client";
|
|
311
|
-
constructor(
|
|
312
|
-
opts: __ExceptionOptionType<
|
|
313
|
-
MalformedPolicyDocumentException,
|
|
314
|
-
__BaseException
|
|
315
|
-
>
|
|
316
|
-
);
|
|
317
|
-
}
|
|
318
|
-
export declare class PolicySizeLimitExceededException extends __BaseException {
|
|
319
|
-
readonly name: "PolicySizeLimitExceededException";
|
|
320
|
-
readonly $fault: "client";
|
|
321
|
-
constructor(
|
|
322
|
-
opts: __ExceptionOptionType<
|
|
323
|
-
PolicySizeLimitExceededException,
|
|
324
|
-
__BaseException
|
|
325
|
-
>
|
|
326
|
-
);
|
|
327
|
-
}
|
|
328
238
|
export interface PutResourcePolicyRequest {
|
|
329
239
|
Name: string | undefined;
|
|
330
240
|
PolicyDocument: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rum",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rum Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rum",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|