@aws-sdk/client-rum 3.758.0 → 3.769.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 (30) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +318 -23
  3. package/dist-es/RUM.js +6 -0
  4. package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
  5. package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
  6. package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +52 -0
  9. package/dist-es/protocols/Aws_restJson1.js +154 -1
  10. package/dist-types/RUM.d.ts +21 -0
  11. package/dist-types/RUMClient.d.ts +5 -2
  12. package/dist-types/commands/CreateAppMonitorCommand.d.ts +10 -1
  13. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +96 -0
  14. package/dist-types/commands/GetAppMonitorCommand.d.ts +9 -0
  15. package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
  16. package/dist-types/commands/PutResourcePolicyCommand.d.ts +102 -0
  17. package/dist-types/commands/PutRumEventsCommand.d.ts +1 -0
  18. package/dist-types/commands/UpdateAppMonitorCommand.d.ts +9 -0
  19. package/dist-types/commands/index.d.ts +3 -0
  20. package/dist-types/models/models_0.d.ts +236 -1
  21. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  22. package/dist-types/ts3.4/RUM.d.ts +51 -0
  23. package/dist-types/ts3.4/RUMClient.d.ts +18 -0
  24. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +81 -1
  29. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  30. package/package.json +1 -1
@@ -19,6 +19,10 @@ import {
19
19
  DeleteAppMonitorCommandInput,
20
20
  DeleteAppMonitorCommandOutput,
21
21
  } from "./commands/DeleteAppMonitorCommand";
22
+ import {
23
+ DeleteResourcePolicyCommandInput,
24
+ DeleteResourcePolicyCommandOutput,
25
+ } from "./commands/DeleteResourcePolicyCommand";
22
26
  import {
23
27
  DeleteRumMetricsDestinationCommandInput,
24
28
  DeleteRumMetricsDestinationCommandOutput,
@@ -31,6 +35,10 @@ import {
31
35
  GetAppMonitorDataCommandInput,
32
36
  GetAppMonitorDataCommandOutput,
33
37
  } from "./commands/GetAppMonitorDataCommand";
38
+ import {
39
+ GetResourcePolicyCommandInput,
40
+ GetResourcePolicyCommandOutput,
41
+ } from "./commands/GetResourcePolicyCommand";
34
42
  import {
35
43
  ListAppMonitorsCommandInput,
36
44
  ListAppMonitorsCommandOutput,
@@ -43,6 +51,10 @@ import {
43
51
  ListTagsForResourceCommandInput,
44
52
  ListTagsForResourceCommandOutput,
45
53
  } from "./commands/ListTagsForResourceCommand";
54
+ import {
55
+ PutResourcePolicyCommandInput,
56
+ PutResourcePolicyCommandOutput,
57
+ } from "./commands/PutResourcePolicyCommand";
46
58
  import {
47
59
  PutRumEventsCommandInput,
48
60
  PutRumEventsCommandOutput,
@@ -134,6 +146,19 @@ export interface RUM {
134
146
  options: __HttpHandlerOptions,
135
147
  cb: (err: any, data?: DeleteAppMonitorCommandOutput) => void
136
148
  ): void;
149
+ deleteResourcePolicy(
150
+ args: DeleteResourcePolicyCommandInput,
151
+ options?: __HttpHandlerOptions
152
+ ): Promise<DeleteResourcePolicyCommandOutput>;
153
+ deleteResourcePolicy(
154
+ args: DeleteResourcePolicyCommandInput,
155
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
156
+ ): void;
157
+ deleteResourcePolicy(
158
+ args: DeleteResourcePolicyCommandInput,
159
+ options: __HttpHandlerOptions,
160
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
161
+ ): void;
137
162
  deleteRumMetricsDestination(
138
163
  args: DeleteRumMetricsDestinationCommandInput,
139
164
  options?: __HttpHandlerOptions
@@ -173,6 +198,19 @@ export interface RUM {
173
198
  options: __HttpHandlerOptions,
174
199
  cb: (err: any, data?: GetAppMonitorDataCommandOutput) => void
175
200
  ): void;
201
+ getResourcePolicy(
202
+ args: GetResourcePolicyCommandInput,
203
+ options?: __HttpHandlerOptions
204
+ ): Promise<GetResourcePolicyCommandOutput>;
205
+ getResourcePolicy(
206
+ args: GetResourcePolicyCommandInput,
207
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
208
+ ): void;
209
+ getResourcePolicy(
210
+ args: GetResourcePolicyCommandInput,
211
+ options: __HttpHandlerOptions,
212
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
213
+ ): void;
176
214
  listAppMonitors(): Promise<ListAppMonitorsCommandOutput>;
177
215
  listAppMonitors(
178
216
  args: ListAppMonitorsCommandInput,
@@ -213,6 +251,19 @@ export interface RUM {
213
251
  options: __HttpHandlerOptions,
214
252
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
215
253
  ): void;
254
+ putResourcePolicy(
255
+ args: PutResourcePolicyCommandInput,
256
+ options?: __HttpHandlerOptions
257
+ ): Promise<PutResourcePolicyCommandOutput>;
258
+ putResourcePolicy(
259
+ args: PutResourcePolicyCommandInput,
260
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
261
+ ): void;
262
+ putResourcePolicy(
263
+ args: PutResourcePolicyCommandInput,
264
+ options: __HttpHandlerOptions,
265
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
266
+ ): void;
216
267
  putRumEvents(
217
268
  args: PutRumEventsCommandInput,
218
269
  options?: __HttpHandlerOptions
@@ -65,6 +65,10 @@ import {
65
65
  DeleteAppMonitorCommandInput,
66
66
  DeleteAppMonitorCommandOutput,
67
67
  } from "./commands/DeleteAppMonitorCommand";
68
+ import {
69
+ DeleteResourcePolicyCommandInput,
70
+ DeleteResourcePolicyCommandOutput,
71
+ } from "./commands/DeleteResourcePolicyCommand";
68
72
  import {
69
73
  DeleteRumMetricsDestinationCommandInput,
70
74
  DeleteRumMetricsDestinationCommandOutput,
@@ -77,6 +81,10 @@ import {
77
81
  GetAppMonitorDataCommandInput,
78
82
  GetAppMonitorDataCommandOutput,
79
83
  } from "./commands/GetAppMonitorDataCommand";
84
+ import {
85
+ GetResourcePolicyCommandInput,
86
+ GetResourcePolicyCommandOutput,
87
+ } from "./commands/GetResourcePolicyCommand";
80
88
  import {
81
89
  ListAppMonitorsCommandInput,
82
90
  ListAppMonitorsCommandOutput,
@@ -89,6 +97,10 @@ import {
89
97
  ListTagsForResourceCommandInput,
90
98
  ListTagsForResourceCommandOutput,
91
99
  } from "./commands/ListTagsForResourceCommand";
100
+ import {
101
+ PutResourcePolicyCommandInput,
102
+ PutResourcePolicyCommandOutput,
103
+ } from "./commands/PutResourcePolicyCommand";
92
104
  import {
93
105
  PutRumEventsCommandInput,
94
106
  PutRumEventsCommandOutput,
@@ -126,12 +138,15 @@ export type ServiceInputTypes =
126
138
  | BatchGetRumMetricDefinitionsCommandInput
127
139
  | CreateAppMonitorCommandInput
128
140
  | DeleteAppMonitorCommandInput
141
+ | DeleteResourcePolicyCommandInput
129
142
  | DeleteRumMetricsDestinationCommandInput
130
143
  | GetAppMonitorCommandInput
131
144
  | GetAppMonitorDataCommandInput
145
+ | GetResourcePolicyCommandInput
132
146
  | ListAppMonitorsCommandInput
133
147
  | ListRumMetricsDestinationsCommandInput
134
148
  | ListTagsForResourceCommandInput
149
+ | PutResourcePolicyCommandInput
135
150
  | PutRumEventsCommandInput
136
151
  | PutRumMetricsDestinationCommandInput
137
152
  | TagResourceCommandInput
@@ -144,12 +159,15 @@ export type ServiceOutputTypes =
144
159
  | BatchGetRumMetricDefinitionsCommandOutput
145
160
  | CreateAppMonitorCommandOutput
146
161
  | DeleteAppMonitorCommandOutput
162
+ | DeleteResourcePolicyCommandOutput
147
163
  | DeleteRumMetricsDestinationCommandOutput
148
164
  | GetAppMonitorCommandOutput
149
165
  | GetAppMonitorDataCommandOutput
166
+ | GetResourcePolicyCommandOutput
150
167
  | ListAppMonitorsCommandOutput
151
168
  | ListRumMetricsDestinationsCommandOutput
152
169
  | ListTagsForResourceCommandOutput
170
+ | PutResourcePolicyCommandOutput
153
171
  | PutRumEventsCommandOutput
154
172
  | PutRumMetricsDestinationCommandOutput
155
173
  | TagResourceCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteResourcePolicyRequest,
5
+ DeleteResourcePolicyResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RUMClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RUMClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteResourcePolicyCommandInput
15
+ extends DeleteResourcePolicyRequest {}
16
+ export interface DeleteResourcePolicyCommandOutput
17
+ extends DeleteResourcePolicyResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteResourcePolicyCommand_base: {
20
+ new (
21
+ input: DeleteResourcePolicyCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteResourcePolicyCommandInput,
24
+ DeleteResourcePolicyCommandOutput,
25
+ RUMClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DeleteResourcePolicyCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteResourcePolicyCommandInput,
33
+ DeleteResourcePolicyCommandOutput,
34
+ RUMClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteResourcePolicyRequest;
44
+ output: DeleteResourcePolicyResponse;
45
+ };
46
+ sdk: {
47
+ input: DeleteResourcePolicyCommandInput;
48
+ output: DeleteResourcePolicyCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetResourcePolicyRequest,
5
+ GetResourcePolicyResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RUMClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RUMClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetResourcePolicyCommandInput
15
+ extends GetResourcePolicyRequest {}
16
+ export interface GetResourcePolicyCommandOutput
17
+ extends GetResourcePolicyResponse,
18
+ __MetadataBearer {}
19
+ declare const GetResourcePolicyCommand_base: {
20
+ new (
21
+ input: GetResourcePolicyCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetResourcePolicyCommandInput,
24
+ GetResourcePolicyCommandOutput,
25
+ RUMClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetResourcePolicyCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetResourcePolicyCommandInput,
33
+ GetResourcePolicyCommandOutput,
34
+ RUMClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetResourcePolicyRequest;
44
+ output: GetResourcePolicyResponse;
45
+ };
46
+ sdk: {
47
+ input: GetResourcePolicyCommandInput;
48
+ output: GetResourcePolicyCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ PutResourcePolicyRequest,
5
+ PutResourcePolicyResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RUMClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RUMClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface PutResourcePolicyCommandInput
15
+ extends PutResourcePolicyRequest {}
16
+ export interface PutResourcePolicyCommandOutput
17
+ extends PutResourcePolicyResponse,
18
+ __MetadataBearer {}
19
+ declare const PutResourcePolicyCommand_base: {
20
+ new (
21
+ input: PutResourcePolicyCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ PutResourcePolicyCommandInput,
24
+ PutResourcePolicyCommandOutput,
25
+ RUMClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: PutResourcePolicyCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ PutResourcePolicyCommandInput,
33
+ PutResourcePolicyCommandOutput,
34
+ RUMClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: PutResourcePolicyRequest;
44
+ output: PutResourcePolicyResponse;
45
+ };
46
+ sdk: {
47
+ input: PutResourcePolicyCommandInput;
48
+ output: PutResourcePolicyCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -3,12 +3,15 @@ export * from "./BatchDeleteRumMetricDefinitionsCommand";
3
3
  export * from "./BatchGetRumMetricDefinitionsCommand";
4
4
  export * from "./CreateAppMonitorCommand";
5
5
  export * from "./DeleteAppMonitorCommand";
6
+ export * from "./DeleteResourcePolicyCommand";
6
7
  export * from "./DeleteRumMetricsDestinationCommand";
7
8
  export * from "./GetAppMonitorCommand";
8
9
  export * from "./GetAppMonitorDataCommand";
10
+ export * from "./GetResourcePolicyCommand";
9
11
  export * from "./ListAppMonitorsCommand";
10
12
  export * from "./ListRumMetricsDestinationsCommand";
11
13
  export * from "./ListTagsForResourceCommand";
14
+ export * from "./PutResourcePolicyCommand";
12
15
  export * from "./PutRumEventsCommand";
13
16
  export * from "./PutRumMetricsDestinationCommand";
14
17
  export * from "./TagResourceCommand";
@@ -43,6 +43,19 @@ export interface CwLog {
43
43
  export interface DataStorage {
44
44
  CwLog?: CwLog | undefined;
45
45
  }
46
+ export declare const DeobfuscationStatus: {
47
+ readonly DISABLED: "DISABLED";
48
+ readonly ENABLED: "ENABLED";
49
+ };
50
+ export type DeobfuscationStatus =
51
+ (typeof DeobfuscationStatus)[keyof typeof DeobfuscationStatus];
52
+ export interface JavaScriptSourceMaps {
53
+ Status: DeobfuscationStatus | undefined;
54
+ S3Uri?: string | undefined;
55
+ }
56
+ export interface DeobfuscationConfiguration {
57
+ JavaScriptSourceMaps?: JavaScriptSourceMaps | undefined;
58
+ }
46
59
  export declare const StateEnum: {
47
60
  readonly ACTIVE: "ACTIVE";
48
61
  readonly CREATED: "CREATED";
@@ -52,6 +65,7 @@ export type StateEnum = (typeof StateEnum)[keyof typeof StateEnum];
52
65
  export interface AppMonitor {
53
66
  Name?: string | undefined;
54
67
  Domain?: string | undefined;
68
+ DomainList?: string[] | undefined;
55
69
  Id?: string | undefined;
56
70
  Created?: string | undefined;
57
71
  LastModified?: string | undefined;
@@ -60,6 +74,7 @@ export interface AppMonitor {
60
74
  AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
61
75
  DataStorage?: DataStorage | undefined;
62
76
  CustomEvents?: CustomEvents | undefined;
77
+ DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
63
78
  }
64
79
  export interface AppMonitorDetails {
65
80
  name?: string | undefined;
@@ -184,11 +199,13 @@ export interface BatchGetRumMetricDefinitionsResponse {
184
199
  }
185
200
  export interface CreateAppMonitorRequest {
186
201
  Name: string | undefined;
187
- Domain: string | undefined;
202
+ Domain?: string | undefined;
203
+ DomainList?: string[] | undefined;
188
204
  Tags?: Record<string, string> | undefined;
189
205
  AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
190
206
  CwLogEnabled?: boolean | undefined;
191
207
  CustomEvents?: CustomEvents | undefined;
208
+ DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
192
209
  }
193
210
  export interface CreateAppMonitorResponse {
194
211
  Id?: string | undefined;
@@ -197,6 +214,30 @@ export interface DeleteAppMonitorRequest {
197
214
  Name: string | undefined;
198
215
  }
199
216
  export interface DeleteAppMonitorResponse {}
217
+ export interface DeleteResourcePolicyRequest {
218
+ Name: string | undefined;
219
+ PolicyRevisionId?: string | undefined;
220
+ }
221
+ export interface DeleteResourcePolicyResponse {
222
+ PolicyRevisionId?: string | undefined;
223
+ }
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
+ }
200
241
  export interface DeleteRumMetricsDestinationRequest {
201
242
  AppMonitorName: string | undefined;
202
243
  Destination: MetricDestination | undefined;
@@ -228,6 +269,13 @@ export interface GetAppMonitorDataResponse {
228
269
  Events?: string[] | undefined;
229
270
  NextToken?: string | undefined;
230
271
  }
272
+ export interface GetResourcePolicyRequest {
273
+ Name: string | undefined;
274
+ }
275
+ export interface GetResourcePolicyResponse {
276
+ PolicyDocument?: string | undefined;
277
+ PolicyRevisionId?: string | undefined;
278
+ }
231
279
  export interface ListAppMonitorsRequest {
232
280
  MaxResults?: number | undefined;
233
281
  NextToken?: string | undefined;
@@ -257,6 +305,35 @@ export interface ListRumMetricsDestinationsResponse {
257
305
  Destinations?: MetricDestinationSummary[] | undefined;
258
306
  NextToken?: string | undefined;
259
307
  }
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
+ export interface PutResourcePolicyRequest {
329
+ Name: string | undefined;
330
+ PolicyDocument: string | undefined;
331
+ PolicyRevisionId?: string | undefined;
332
+ }
333
+ export interface PutResourcePolicyResponse {
334
+ PolicyDocument?: string | undefined;
335
+ PolicyRevisionId?: string | undefined;
336
+ }
260
337
  export interface PutRumMetricsDestinationRequest {
261
338
  AppMonitorName: string | undefined;
262
339
  Destination: MetricDestination | undefined;
@@ -267,9 +344,11 @@ export interface PutRumMetricsDestinationResponse {}
267
344
  export interface UpdateAppMonitorRequest {
268
345
  Name: string | undefined;
269
346
  Domain?: string | undefined;
347
+ DomainList?: string[] | undefined;
270
348
  AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
271
349
  CwLogEnabled?: boolean | undefined;
272
350
  CustomEvents?: CustomEvents | undefined;
351
+ DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
273
352
  }
274
353
  export interface UpdateAppMonitorResponse {}
275
354
  export interface UpdateRumMetricDefinitionRequest {
@@ -304,6 +383,7 @@ export interface PutRumEventsRequest {
304
383
  AppMonitorDetails: AppMonitorDetails | undefined;
305
384
  UserDetails: UserDetails | undefined;
306
385
  RumEvents: RumEvent[] | undefined;
386
+ Alias?: string | undefined;
307
387
  }
308
388
  export interface PutRumEventsResponse {}
309
389
  export interface TagResourceRequest {
@@ -23,6 +23,10 @@ import {
23
23
  DeleteAppMonitorCommandInput,
24
24
  DeleteAppMonitorCommandOutput,
25
25
  } from "../commands/DeleteAppMonitorCommand";
26
+ import {
27
+ DeleteResourcePolicyCommandInput,
28
+ DeleteResourcePolicyCommandOutput,
29
+ } from "../commands/DeleteResourcePolicyCommand";
26
30
  import {
27
31
  DeleteRumMetricsDestinationCommandInput,
28
32
  DeleteRumMetricsDestinationCommandOutput,
@@ -35,6 +39,10 @@ import {
35
39
  GetAppMonitorDataCommandInput,
36
40
  GetAppMonitorDataCommandOutput,
37
41
  } from "../commands/GetAppMonitorDataCommand";
42
+ import {
43
+ GetResourcePolicyCommandInput,
44
+ GetResourcePolicyCommandOutput,
45
+ } from "../commands/GetResourcePolicyCommand";
38
46
  import {
39
47
  ListAppMonitorsCommandInput,
40
48
  ListAppMonitorsCommandOutput,
@@ -47,6 +55,10 @@ import {
47
55
  ListTagsForResourceCommandInput,
48
56
  ListTagsForResourceCommandOutput,
49
57
  } from "../commands/ListTagsForResourceCommand";
58
+ import {
59
+ PutResourcePolicyCommandInput,
60
+ PutResourcePolicyCommandOutput,
61
+ } from "../commands/PutResourcePolicyCommand";
50
62
  import {
51
63
  PutRumEventsCommandInput,
52
64
  PutRumEventsCommandOutput,
@@ -91,6 +103,10 @@ export declare const se_DeleteAppMonitorCommand: (
91
103
  input: DeleteAppMonitorCommandInput,
92
104
  context: __SerdeContext
93
105
  ) => Promise<__HttpRequest>;
106
+ export declare const se_DeleteResourcePolicyCommand: (
107
+ input: DeleteResourcePolicyCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
94
110
  export declare const se_DeleteRumMetricsDestinationCommand: (
95
111
  input: DeleteRumMetricsDestinationCommandInput,
96
112
  context: __SerdeContext
@@ -103,6 +119,10 @@ export declare const se_GetAppMonitorDataCommand: (
103
119
  input: GetAppMonitorDataCommandInput,
104
120
  context: __SerdeContext
105
121
  ) => Promise<__HttpRequest>;
122
+ export declare const se_GetResourcePolicyCommand: (
123
+ input: GetResourcePolicyCommandInput,
124
+ context: __SerdeContext
125
+ ) => Promise<__HttpRequest>;
106
126
  export declare const se_ListAppMonitorsCommand: (
107
127
  input: ListAppMonitorsCommandInput,
108
128
  context: __SerdeContext
@@ -115,6 +135,10 @@ export declare const se_ListTagsForResourceCommand: (
115
135
  input: ListTagsForResourceCommandInput,
116
136
  context: __SerdeContext
117
137
  ) => Promise<__HttpRequest>;
138
+ export declare const se_PutResourcePolicyCommand: (
139
+ input: PutResourcePolicyCommandInput,
140
+ context: __SerdeContext
141
+ ) => Promise<__HttpRequest>;
118
142
  export declare const se_PutRumEventsCommand: (
119
143
  input: PutRumEventsCommandInput,
120
144
  context: __SerdeContext
@@ -159,6 +183,10 @@ export declare const de_DeleteAppMonitorCommand: (
159
183
  output: __HttpResponse,
160
184
  context: __SerdeContext
161
185
  ) => Promise<DeleteAppMonitorCommandOutput>;
186
+ export declare const de_DeleteResourcePolicyCommand: (
187
+ output: __HttpResponse,
188
+ context: __SerdeContext
189
+ ) => Promise<DeleteResourcePolicyCommandOutput>;
162
190
  export declare const de_DeleteRumMetricsDestinationCommand: (
163
191
  output: __HttpResponse,
164
192
  context: __SerdeContext
@@ -171,6 +199,10 @@ export declare const de_GetAppMonitorDataCommand: (
171
199
  output: __HttpResponse,
172
200
  context: __SerdeContext
173
201
  ) => Promise<GetAppMonitorDataCommandOutput>;
202
+ export declare const de_GetResourcePolicyCommand: (
203
+ output: __HttpResponse,
204
+ context: __SerdeContext
205
+ ) => Promise<GetResourcePolicyCommandOutput>;
174
206
  export declare const de_ListAppMonitorsCommand: (
175
207
  output: __HttpResponse,
176
208
  context: __SerdeContext
@@ -183,6 +215,10 @@ export declare const de_ListTagsForResourceCommand: (
183
215
  output: __HttpResponse,
184
216
  context: __SerdeContext
185
217
  ) => Promise<ListTagsForResourceCommandOutput>;
218
+ export declare const de_PutResourcePolicyCommand: (
219
+ output: __HttpResponse,
220
+ context: __SerdeContext
221
+ ) => Promise<PutResourcePolicyCommandOutput>;
186
222
  export declare const de_PutRumEventsCommand: (
187
223
  output: __HttpResponse,
188
224
  context: __SerdeContext
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.758.0",
4
+ "version": "3.769.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",