@aws-sdk/client-rum 3.686.0 → 3.691.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.
|
@@ -44,25 +44,25 @@ export interface AppMonitorConfiguration {
|
|
|
44
44
|
* that is used to authorize the sending of data to RUM.</p>
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
|
-
IdentityPoolId?: string;
|
|
47
|
+
IdentityPoolId?: string | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* <p>A list of URLs in your website or application to exclude from RUM data collection.</p>
|
|
50
50
|
* <p>You can't include both <code>ExcludedPages</code> and <code>IncludedPages</code> in the same operation.</p>
|
|
51
51
|
* @public
|
|
52
52
|
*/
|
|
53
|
-
ExcludedPages?: string[];
|
|
53
|
+
ExcludedPages?: string[] | undefined;
|
|
54
54
|
/**
|
|
55
55
|
* <p>If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. </p>
|
|
56
56
|
* <p>You can't include both <code>ExcludedPages</code> and <code>IncludedPages</code> in the same operation.</p>
|
|
57
57
|
* @public
|
|
58
58
|
*/
|
|
59
|
-
IncludedPages?: string[];
|
|
59
|
+
IncludedPages?: string[] | undefined;
|
|
60
60
|
/**
|
|
61
61
|
* <p>A list of pages in your application that are to be displayed with a "favorite" icon
|
|
62
62
|
* in the CloudWatch RUM console.</p>
|
|
63
63
|
* @public
|
|
64
64
|
*/
|
|
65
|
-
FavoritePages?: string[];
|
|
65
|
+
FavoritePages?: string[] | undefined;
|
|
66
66
|
/**
|
|
67
67
|
* <p>Specifies the portion of user sessions to use for RUM data collection. Choosing a higher portion gives you
|
|
68
68
|
* more data but also incurs more costs.</p>
|
|
@@ -71,7 +71,7 @@ export interface AppMonitorConfiguration {
|
|
|
71
71
|
* <p>If you omit this parameter, the default of 0.1 is used, and 10% of sessions will be sampled.</p>
|
|
72
72
|
* @public
|
|
73
73
|
*/
|
|
74
|
-
SessionSampleRate?: number;
|
|
74
|
+
SessionSampleRate?: number | undefined;
|
|
75
75
|
/**
|
|
76
76
|
* <p>The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool
|
|
77
77
|
* that is used to authorize the sending of data to RUM.</p>
|
|
@@ -96,7 +96,7 @@ export interface AppMonitorConfiguration {
|
|
|
96
96
|
* </note>
|
|
97
97
|
* @public
|
|
98
98
|
*/
|
|
99
|
-
GuestRoleArn?: string;
|
|
99
|
+
GuestRoleArn?: string | undefined;
|
|
100
100
|
/**
|
|
101
101
|
* <p>If you set this to <code>true</code>, the RUM web client sets two cookies, a session
|
|
102
102
|
* cookie and a user cookie. The cookies allow the RUM web client to collect data relating to
|
|
@@ -104,7 +104,7 @@ export interface AppMonitorConfiguration {
|
|
|
104
104
|
* sequence of events. Cookies are stored in the top-level domain of the current page.</p>
|
|
105
105
|
* @public
|
|
106
106
|
*/
|
|
107
|
-
AllowCookies?: boolean;
|
|
107
|
+
AllowCookies?: boolean | undefined;
|
|
108
108
|
/**
|
|
109
109
|
* <p>An array that lists the types of telemetry data that this app monitor is to collect.</p>
|
|
110
110
|
* <ul>
|
|
@@ -125,7 +125,7 @@ export interface AppMonitorConfiguration {
|
|
|
125
125
|
* </ul>
|
|
126
126
|
* @public
|
|
127
127
|
*/
|
|
128
|
-
Telemetries?: Telemetry[];
|
|
128
|
+
Telemetries?: Telemetry[] | undefined;
|
|
129
129
|
/**
|
|
130
130
|
* <p>If you set this to <code>true</code>, RUM enables X-Ray tracing for
|
|
131
131
|
* the user sessions that RUM samples. RUM adds an X-Ray trace header to allowed
|
|
@@ -135,7 +135,7 @@ export interface AppMonitorConfiguration {
|
|
|
135
135
|
* </p>
|
|
136
136
|
* @public
|
|
137
137
|
*/
|
|
138
|
-
EnableXRay?: boolean;
|
|
138
|
+
EnableXRay?: boolean | undefined;
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
141
|
* @public
|
|
@@ -159,7 +159,7 @@ export interface CustomEvents {
|
|
|
159
159
|
* custom events. The default is for custom events to be <code>DISABLED</code>.</p>
|
|
160
160
|
* @public
|
|
161
161
|
*/
|
|
162
|
-
Status?: CustomEventsStatus;
|
|
162
|
+
Status?: CustomEventsStatus | undefined;
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
165
|
* <p>A structure that contains the information about whether the app monitor stores copies of the data
|
|
@@ -172,12 +172,12 @@ export interface CwLog {
|
|
|
172
172
|
* that RUM collects in CloudWatch Logs.</p>
|
|
173
173
|
* @public
|
|
174
174
|
*/
|
|
175
|
-
CwLogEnabled?: boolean;
|
|
175
|
+
CwLogEnabled?: boolean | undefined;
|
|
176
176
|
/**
|
|
177
177
|
* <p>The name of the log group where the copies are stored.</p>
|
|
178
178
|
* @public
|
|
179
179
|
*/
|
|
180
|
-
CwLogGroup?: string;
|
|
180
|
+
CwLogGroup?: string | undefined;
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
183
|
* <p>A structure that contains information about whether this app monitor stores a copy of
|
|
@@ -190,7 +190,7 @@ export interface DataStorage {
|
|
|
190
190
|
* that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.</p>
|
|
191
191
|
* @public
|
|
192
192
|
*/
|
|
193
|
-
CwLog?: CwLog;
|
|
193
|
+
CwLog?: CwLog | undefined;
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
* @public
|
|
@@ -216,48 +216,48 @@ export interface AppMonitor {
|
|
|
216
216
|
* <p>The name of the app monitor.</p>
|
|
217
217
|
* @public
|
|
218
218
|
*/
|
|
219
|
-
Name?: string;
|
|
219
|
+
Name?: string | undefined;
|
|
220
220
|
/**
|
|
221
221
|
* <p>The top-level internet domain name for which your application has administrative authority.</p>
|
|
222
222
|
* @public
|
|
223
223
|
*/
|
|
224
|
-
Domain?: string;
|
|
224
|
+
Domain?: string | undefined;
|
|
225
225
|
/**
|
|
226
226
|
* <p>The unique ID of this app monitor.</p>
|
|
227
227
|
* @public
|
|
228
228
|
*/
|
|
229
|
-
Id?: string;
|
|
229
|
+
Id?: string | undefined;
|
|
230
230
|
/**
|
|
231
231
|
* <p>The date and time that this app monitor was created.</p>
|
|
232
232
|
* @public
|
|
233
233
|
*/
|
|
234
|
-
Created?: string;
|
|
234
|
+
Created?: string | undefined;
|
|
235
235
|
/**
|
|
236
236
|
* <p>The date and time of the most recent changes to this app monitor's configuration.</p>
|
|
237
237
|
* @public
|
|
238
238
|
*/
|
|
239
|
-
LastModified?: string;
|
|
239
|
+
LastModified?: string | undefined;
|
|
240
240
|
/**
|
|
241
241
|
* <p>The list of tag keys and values associated with this app monitor.</p>
|
|
242
242
|
* @public
|
|
243
243
|
*/
|
|
244
|
-
Tags?: Record<string, string
|
|
244
|
+
Tags?: Record<string, string> | undefined;
|
|
245
245
|
/**
|
|
246
246
|
* <p>The current state of the app monitor.</p>
|
|
247
247
|
* @public
|
|
248
248
|
*/
|
|
249
|
-
State?: StateEnum;
|
|
249
|
+
State?: StateEnum | undefined;
|
|
250
250
|
/**
|
|
251
251
|
* <p>A structure that contains much of the configuration data for the app monitor.</p>
|
|
252
252
|
* @public
|
|
253
253
|
*/
|
|
254
|
-
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
254
|
+
AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
|
|
255
255
|
/**
|
|
256
256
|
* <p>A structure that contains information about whether this app monitor stores a copy of
|
|
257
257
|
* the telemetry data that RUM collects using CloudWatch Logs.</p>
|
|
258
258
|
* @public
|
|
259
259
|
*/
|
|
260
|
-
DataStorage?: DataStorage;
|
|
260
|
+
DataStorage?: DataStorage | undefined;
|
|
261
261
|
/**
|
|
262
262
|
* <p>Specifies whether this app monitor allows the web client to define and send
|
|
263
263
|
* custom events.</p>
|
|
@@ -265,7 +265,7 @@ export interface AppMonitor {
|
|
|
265
265
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html">Send custom events</a>.</p>
|
|
266
266
|
* @public
|
|
267
267
|
*/
|
|
268
|
-
CustomEvents?: CustomEvents;
|
|
268
|
+
CustomEvents?: CustomEvents | undefined;
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
271
271
|
* <p>A structure that contains information about the RUM app monitor.</p>
|
|
@@ -276,17 +276,17 @@ export interface AppMonitorDetails {
|
|
|
276
276
|
* <p>The name of the app monitor.</p>
|
|
277
277
|
* @public
|
|
278
278
|
*/
|
|
279
|
-
name?: string;
|
|
279
|
+
name?: string | undefined;
|
|
280
280
|
/**
|
|
281
281
|
* <p>The unique ID of the app monitor.</p>
|
|
282
282
|
* @public
|
|
283
283
|
*/
|
|
284
|
-
id?: string;
|
|
284
|
+
id?: string | undefined;
|
|
285
285
|
/**
|
|
286
286
|
* <p>The version of the app monitor.</p>
|
|
287
287
|
* @public
|
|
288
288
|
*/
|
|
289
|
-
version?: string;
|
|
289
|
+
version?: string | undefined;
|
|
290
290
|
}
|
|
291
291
|
/**
|
|
292
292
|
* @public
|
|
@@ -617,13 +617,13 @@ export interface MetricDefinitionRequest {
|
|
|
617
617
|
* Evidently raw. Evidently will handle data extraction from the event.</p>
|
|
618
618
|
* @public
|
|
619
619
|
*/
|
|
620
|
-
ValueKey?: string;
|
|
620
|
+
ValueKey?: string | undefined;
|
|
621
621
|
/**
|
|
622
622
|
* <p>The CloudWatch metric unit to use for this metric. If you omit this field, the metric
|
|
623
623
|
* is recorded with no unit.</p>
|
|
624
624
|
* @public
|
|
625
625
|
*/
|
|
626
|
-
UnitLabel?: string;
|
|
626
|
+
UnitLabel?: string | undefined;
|
|
627
627
|
/**
|
|
628
628
|
* <p>Use this field only if you are sending the metric to CloudWatch.</p>
|
|
629
629
|
* <p>This field is a map of field paths to dimension names. It defines the dimensions to associate with this
|
|
@@ -665,7 +665,7 @@ export interface MetricDefinitionRequest {
|
|
|
665
665
|
* must also be included in <code>EventPattern</code>.</p>
|
|
666
666
|
* @public
|
|
667
667
|
*/
|
|
668
|
-
DimensionKeys?: Record<string, string
|
|
668
|
+
DimensionKeys?: Record<string, string> | undefined;
|
|
669
669
|
/**
|
|
670
670
|
* <p>The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session
|
|
671
671
|
* against the pattern, and events that match the pattern are sent to the metric destination.</p>
|
|
@@ -717,14 +717,14 @@ export interface MetricDefinitionRequest {
|
|
|
717
717
|
* in <code>DimensionKeys</code>, then the metric is published with the specified dimensions. </p>
|
|
718
718
|
* @public
|
|
719
719
|
*/
|
|
720
|
-
EventPattern?: string;
|
|
720
|
+
EventPattern?: string | undefined;
|
|
721
721
|
/**
|
|
722
722
|
* <p>If this structure is for a custom metric instead of an extended metrics, use this parameter to define the
|
|
723
723
|
* metric namespace for that custom metric. Do not specify this parameter if this structure is for an extended metric.</p>
|
|
724
724
|
* <p>You cannot use any string that starts with <code>AWS/</code> for your namespace.</p>
|
|
725
725
|
* @public
|
|
726
726
|
*/
|
|
727
|
-
Namespace?: string;
|
|
727
|
+
Namespace?: string | undefined;
|
|
728
728
|
}
|
|
729
729
|
/**
|
|
730
730
|
* @public
|
|
@@ -751,7 +751,7 @@ export interface BatchCreateRumMetricDefinitionsRequest {
|
|
|
751
751
|
* experiment as a valid destination. For more information, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html">PutRumMetricsDestination</a>.</p>
|
|
752
752
|
* @public
|
|
753
753
|
*/
|
|
754
|
-
DestinationArn?: string;
|
|
754
|
+
DestinationArn?: string | undefined;
|
|
755
755
|
/**
|
|
756
756
|
* <p>An array of structures which define the metrics that you want to send.</p>
|
|
757
757
|
* @public
|
|
@@ -803,20 +803,20 @@ export interface MetricDefinition {
|
|
|
803
803
|
* <p>The field within the event object that the metric value is sourced from.</p>
|
|
804
804
|
* @public
|
|
805
805
|
*/
|
|
806
|
-
ValueKey?: string;
|
|
806
|
+
ValueKey?: string | undefined;
|
|
807
807
|
/**
|
|
808
808
|
* <p>Use this field only if you are sending this metric to CloudWatch. It defines
|
|
809
809
|
* the CloudWatch metric unit that this metric is measured in. </p>
|
|
810
810
|
* @public
|
|
811
811
|
*/
|
|
812
|
-
UnitLabel?: string;
|
|
812
|
+
UnitLabel?: string | undefined;
|
|
813
813
|
/**
|
|
814
814
|
* <p>This field is a map of field paths to dimension names. It defines the dimensions to associate with this
|
|
815
815
|
* metric in CloudWatch The value of this field is used only if the metric destination is <code>CloudWatch</code>.
|
|
816
816
|
* If the metric destination is <code>Evidently</code>, the value of <code>DimensionKeys</code> is ignored.</p>
|
|
817
817
|
* @public
|
|
818
818
|
*/
|
|
819
|
-
DimensionKeys?: Record<string, string
|
|
819
|
+
DimensionKeys?: Record<string, string> | undefined;
|
|
820
820
|
/**
|
|
821
821
|
* <p>The pattern that defines the metric. RUM checks events that happen in a user's session
|
|
822
822
|
* against the pattern, and events that match the pattern are sent to the metric destination.</p>
|
|
@@ -825,13 +825,13 @@ export interface MetricDefinition {
|
|
|
825
825
|
* also matches a value in <code>DimensionKeys</code>, then the metric is published with the specified dimensions. </p>
|
|
826
826
|
* @public
|
|
827
827
|
*/
|
|
828
|
-
EventPattern?: string;
|
|
828
|
+
EventPattern?: string | undefined;
|
|
829
829
|
/**
|
|
830
830
|
* <p>If this metric definition is for a custom metric instead of an extended metric, this field displays
|
|
831
831
|
* the metric namespace that the custom metric is published to.</p>
|
|
832
832
|
* @public
|
|
833
833
|
*/
|
|
834
|
-
Namespace?: string;
|
|
834
|
+
Namespace?: string | undefined;
|
|
835
835
|
}
|
|
836
836
|
/**
|
|
837
837
|
* @public
|
|
@@ -846,7 +846,7 @@ export interface BatchCreateRumMetricDefinitionsResponse {
|
|
|
846
846
|
* <p>An array of structures that define the extended metrics.</p>
|
|
847
847
|
* @public
|
|
848
848
|
*/
|
|
849
|
-
MetricDefinitions?: MetricDefinition[];
|
|
849
|
+
MetricDefinitions?: MetricDefinition[] | undefined;
|
|
850
850
|
}
|
|
851
851
|
/**
|
|
852
852
|
* <p>This operation attempted to create a resource that already exists.</p>
|
|
@@ -864,7 +864,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
864
864
|
* <p>The type of the resource that is associated with the error.</p>
|
|
865
865
|
* @public
|
|
866
866
|
*/
|
|
867
|
-
resourceType?: string;
|
|
867
|
+
resourceType?: string | undefined;
|
|
868
868
|
/**
|
|
869
869
|
* @internal
|
|
870
870
|
*/
|
|
@@ -882,7 +882,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
882
882
|
* <p>The value of a parameter in the request caused an error.</p>
|
|
883
883
|
* @public
|
|
884
884
|
*/
|
|
885
|
-
retryAfterSeconds?: number;
|
|
885
|
+
retryAfterSeconds?: number | undefined;
|
|
886
886
|
/**
|
|
887
887
|
* @internal
|
|
888
888
|
*/
|
|
@@ -904,7 +904,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
904
904
|
* <p>The type of the resource that is associated with the error.</p>
|
|
905
905
|
* @public
|
|
906
906
|
*/
|
|
907
|
-
resourceType?: string;
|
|
907
|
+
resourceType?: string | undefined;
|
|
908
908
|
/**
|
|
909
909
|
* @internal
|
|
910
910
|
*/
|
|
@@ -936,17 +936,17 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
936
936
|
* <p>The ID of the service that is associated with the error.</p>
|
|
937
937
|
* @public
|
|
938
938
|
*/
|
|
939
|
-
serviceCode?: string;
|
|
939
|
+
serviceCode?: string | undefined;
|
|
940
940
|
/**
|
|
941
941
|
* <p>The ID of the service quota that was exceeded.</p>
|
|
942
942
|
* @public
|
|
943
943
|
*/
|
|
944
|
-
quotaCode?: string;
|
|
944
|
+
quotaCode?: string | undefined;
|
|
945
945
|
/**
|
|
946
946
|
* <p>The value of a parameter in the request caused an error.</p>
|
|
947
947
|
* @public
|
|
948
948
|
*/
|
|
949
|
-
retryAfterSeconds?: number;
|
|
949
|
+
retryAfterSeconds?: number | undefined;
|
|
950
950
|
/**
|
|
951
951
|
* @internal
|
|
952
952
|
*/
|
|
@@ -988,7 +988,7 @@ export interface BatchDeleteRumMetricDefinitionsRequest {
|
|
|
988
988
|
* the ARN of the Evidently experiment that was receiving the metrics that are being deleted.</p>
|
|
989
989
|
* @public
|
|
990
990
|
*/
|
|
991
|
-
DestinationArn?: string;
|
|
991
|
+
DestinationArn?: string | undefined;
|
|
992
992
|
/**
|
|
993
993
|
* <p>An array of structures which define the metrics that you want to stop sending.</p>
|
|
994
994
|
* @public
|
|
@@ -1031,7 +1031,7 @@ export interface BatchDeleteRumMetricDefinitionsResponse {
|
|
|
1031
1031
|
* <p>The IDs of the metric definitions that were deleted.</p>
|
|
1032
1032
|
* @public
|
|
1033
1033
|
*/
|
|
1034
|
-
MetricDefinitionIds?: string[];
|
|
1034
|
+
MetricDefinitionIds?: string[] | undefined;
|
|
1035
1035
|
}
|
|
1036
1036
|
/**
|
|
1037
1037
|
* @public
|
|
@@ -1055,7 +1055,7 @@ export interface BatchGetRumMetricDefinitionsRequest {
|
|
|
1055
1055
|
* specifies the ARN of the Evidently experiment that corresponds to the destination.</p>
|
|
1056
1056
|
* @public
|
|
1057
1057
|
*/
|
|
1058
|
-
DestinationArn?: string;
|
|
1058
|
+
DestinationArn?: string | undefined;
|
|
1059
1059
|
/**
|
|
1060
1060
|
* <p>The maximum number of results to return in one operation. The default is 50. The maximum that you can
|
|
1061
1061
|
* specify is 100.</p>
|
|
@@ -1063,12 +1063,12 @@ export interface BatchGetRumMetricDefinitionsRequest {
|
|
|
1063
1063
|
* <code>NextToken</code> value. </p>
|
|
1064
1064
|
* @public
|
|
1065
1065
|
*/
|
|
1066
|
-
MaxResults?: number;
|
|
1066
|
+
MaxResults?: number | undefined;
|
|
1067
1067
|
/**
|
|
1068
1068
|
* <p>Use the token returned by the previous operation to request the next page of results.</p>
|
|
1069
1069
|
* @public
|
|
1070
1070
|
*/
|
|
1071
|
-
NextToken?: string;
|
|
1071
|
+
NextToken?: string | undefined;
|
|
1072
1072
|
}
|
|
1073
1073
|
/**
|
|
1074
1074
|
* @public
|
|
@@ -1079,13 +1079,13 @@ export interface BatchGetRumMetricDefinitionsResponse {
|
|
|
1079
1079
|
* app monitor to the specified destination.</p>
|
|
1080
1080
|
* @public
|
|
1081
1081
|
*/
|
|
1082
|
-
MetricDefinitions?: MetricDefinition[];
|
|
1082
|
+
MetricDefinitions?: MetricDefinition[] | undefined;
|
|
1083
1083
|
/**
|
|
1084
1084
|
* <p>A token that you can use in a subsequent operation to
|
|
1085
1085
|
* retrieve the next set of results.</p>
|
|
1086
1086
|
* @public
|
|
1087
1087
|
*/
|
|
1088
|
-
NextToken?: string;
|
|
1088
|
+
NextToken?: string | undefined;
|
|
1089
1089
|
}
|
|
1090
1090
|
/**
|
|
1091
1091
|
* @public
|
|
@@ -1111,7 +1111,7 @@ export interface CreateAppMonitorRequest {
|
|
|
1111
1111
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
1112
1112
|
* @public
|
|
1113
1113
|
*/
|
|
1114
|
-
Tags?: Record<string, string
|
|
1114
|
+
Tags?: Record<string, string> | undefined;
|
|
1115
1115
|
/**
|
|
1116
1116
|
* <p>A structure that contains much of the configuration data for the app monitor. If you are using
|
|
1117
1117
|
* Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the
|
|
@@ -1122,7 +1122,7 @@ export interface CreateAppMonitorRequest {
|
|
|
1122
1122
|
* <p>If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.</p>
|
|
1123
1123
|
* @public
|
|
1124
1124
|
*/
|
|
1125
|
-
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
1125
|
+
AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
|
|
1126
1126
|
/**
|
|
1127
1127
|
* <p>Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM
|
|
1128
1128
|
* sends a copy of this telemetry data to Amazon CloudWatch Logs
|
|
@@ -1131,7 +1131,7 @@ export interface CreateAppMonitorRequest {
|
|
|
1131
1131
|
* <p>If you omit this parameter, the default is <code>false</code>.</p>
|
|
1132
1132
|
* @public
|
|
1133
1133
|
*/
|
|
1134
|
-
CwLogEnabled?: boolean;
|
|
1134
|
+
CwLogEnabled?: boolean | undefined;
|
|
1135
1135
|
/**
|
|
1136
1136
|
* <p>Specifies whether this app monitor allows the web client to define and send
|
|
1137
1137
|
* custom events. If you omit this parameter, custom events are <code>DISABLED</code>.</p>
|
|
@@ -1139,7 +1139,7 @@ export interface CreateAppMonitorRequest {
|
|
|
1139
1139
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html">Send custom events</a>.</p>
|
|
1140
1140
|
* @public
|
|
1141
1141
|
*/
|
|
1142
|
-
CustomEvents?: CustomEvents;
|
|
1142
|
+
CustomEvents?: CustomEvents | undefined;
|
|
1143
1143
|
}
|
|
1144
1144
|
/**
|
|
1145
1145
|
* @public
|
|
@@ -1149,7 +1149,7 @@ export interface CreateAppMonitorResponse {
|
|
|
1149
1149
|
* <p>The unique ID of the new app monitor.</p>
|
|
1150
1150
|
* @public
|
|
1151
1151
|
*/
|
|
1152
|
-
Id?: string;
|
|
1152
|
+
Id?: string | undefined;
|
|
1153
1153
|
}
|
|
1154
1154
|
/**
|
|
1155
1155
|
* @public
|
|
@@ -1186,7 +1186,7 @@ export interface DeleteRumMetricsDestinationRequest {
|
|
|
1186
1186
|
* specifies the ARN of the Evidently experiment that corresponds to the destination to delete.</p>
|
|
1187
1187
|
* @public
|
|
1188
1188
|
*/
|
|
1189
|
-
DestinationArn?: string;
|
|
1189
|
+
DestinationArn?: string | undefined;
|
|
1190
1190
|
}
|
|
1191
1191
|
/**
|
|
1192
1192
|
* @public
|
|
@@ -1211,7 +1211,7 @@ export interface GetAppMonitorResponse {
|
|
|
1211
1211
|
* <p>A structure containing all the configuration information for the app monitor.</p>
|
|
1212
1212
|
* @public
|
|
1213
1213
|
*/
|
|
1214
|
-
AppMonitor?: AppMonitor;
|
|
1214
|
+
AppMonitor?: AppMonitor | undefined;
|
|
1215
1215
|
}
|
|
1216
1216
|
/**
|
|
1217
1217
|
* <p>A structure that defines a key and values that you can use to filter the results. The
|
|
@@ -1237,12 +1237,12 @@ export interface QueryFilter {
|
|
|
1237
1237
|
* </p>
|
|
1238
1238
|
* @public
|
|
1239
1239
|
*/
|
|
1240
|
-
Name?: string;
|
|
1240
|
+
Name?: string | undefined;
|
|
1241
1241
|
/**
|
|
1242
1242
|
* <p>The values of the <code>Name</code> that are to be be included in the returned results.</p>
|
|
1243
1243
|
* @public
|
|
1244
1244
|
*/
|
|
1245
|
-
Values?: string[];
|
|
1245
|
+
Values?: string[] | undefined;
|
|
1246
1246
|
}
|
|
1247
1247
|
/**
|
|
1248
1248
|
* <p>A structure that defines the time range that you want to retrieve results from.</p>
|
|
@@ -1259,7 +1259,7 @@ export interface TimeRange {
|
|
|
1259
1259
|
* range extends to the time that this operation is performed.</p>
|
|
1260
1260
|
* @public
|
|
1261
1261
|
*/
|
|
1262
|
-
Before?: number;
|
|
1262
|
+
Before?: number | undefined;
|
|
1263
1263
|
}
|
|
1264
1264
|
/**
|
|
1265
1265
|
* @public
|
|
@@ -1280,17 +1280,17 @@ export interface GetAppMonitorDataRequest {
|
|
|
1280
1280
|
* more sets of key-value pairs that you specify.</p>
|
|
1281
1281
|
* @public
|
|
1282
1282
|
*/
|
|
1283
|
-
Filters?: QueryFilter[];
|
|
1283
|
+
Filters?: QueryFilter[] | undefined;
|
|
1284
1284
|
/**
|
|
1285
1285
|
* <p>The maximum number of results to return in one operation. </p>
|
|
1286
1286
|
* @public
|
|
1287
1287
|
*/
|
|
1288
|
-
MaxResults?: number;
|
|
1288
|
+
MaxResults?: number | undefined;
|
|
1289
1289
|
/**
|
|
1290
1290
|
* <p>Use the token returned by the previous operation to request the next page of results.</p>
|
|
1291
1291
|
* @public
|
|
1292
1292
|
*/
|
|
1293
|
-
NextToken?: string;
|
|
1293
|
+
NextToken?: string | undefined;
|
|
1294
1294
|
}
|
|
1295
1295
|
/**
|
|
1296
1296
|
* @public
|
|
@@ -1300,13 +1300,13 @@ export interface GetAppMonitorDataResponse {
|
|
|
1300
1300
|
* <p>The events that RUM collected that match your request.</p>
|
|
1301
1301
|
* @public
|
|
1302
1302
|
*/
|
|
1303
|
-
Events?: string[];
|
|
1303
|
+
Events?: string[] | undefined;
|
|
1304
1304
|
/**
|
|
1305
1305
|
* <p>A token that you can use in a subsequent operation to retrieve the next set of
|
|
1306
1306
|
* results.</p>
|
|
1307
1307
|
* @public
|
|
1308
1308
|
*/
|
|
1309
|
-
NextToken?: string;
|
|
1309
|
+
NextToken?: string | undefined;
|
|
1310
1310
|
}
|
|
1311
1311
|
/**
|
|
1312
1312
|
* @public
|
|
@@ -1317,12 +1317,12 @@ export interface ListAppMonitorsRequest {
|
|
|
1317
1317
|
* specify is 100.</p>
|
|
1318
1318
|
* @public
|
|
1319
1319
|
*/
|
|
1320
|
-
MaxResults?: number;
|
|
1320
|
+
MaxResults?: number | undefined;
|
|
1321
1321
|
/**
|
|
1322
1322
|
* <p>Use the token returned by the previous operation to request the next page of results.</p>
|
|
1323
1323
|
* @public
|
|
1324
1324
|
*/
|
|
1325
|
-
NextToken?: string;
|
|
1325
|
+
NextToken?: string | undefined;
|
|
1326
1326
|
}
|
|
1327
1327
|
/**
|
|
1328
1328
|
* <p>A structure that includes some data about app monitors and their settings.</p>
|
|
@@ -1333,27 +1333,27 @@ export interface AppMonitorSummary {
|
|
|
1333
1333
|
* <p>The name of this app monitor.</p>
|
|
1334
1334
|
* @public
|
|
1335
1335
|
*/
|
|
1336
|
-
Name?: string;
|
|
1336
|
+
Name?: string | undefined;
|
|
1337
1337
|
/**
|
|
1338
1338
|
* <p>The unique ID of this app monitor.</p>
|
|
1339
1339
|
* @public
|
|
1340
1340
|
*/
|
|
1341
|
-
Id?: string;
|
|
1341
|
+
Id?: string | undefined;
|
|
1342
1342
|
/**
|
|
1343
1343
|
* <p>The date and time that the app monitor was created.</p>
|
|
1344
1344
|
* @public
|
|
1345
1345
|
*/
|
|
1346
|
-
Created?: string;
|
|
1346
|
+
Created?: string | undefined;
|
|
1347
1347
|
/**
|
|
1348
1348
|
* <p>The date and time of the most recent changes to this app monitor's configuration.</p>
|
|
1349
1349
|
* @public
|
|
1350
1350
|
*/
|
|
1351
|
-
LastModified?: string;
|
|
1351
|
+
LastModified?: string | undefined;
|
|
1352
1352
|
/**
|
|
1353
1353
|
* <p>The current state of this app monitor.</p>
|
|
1354
1354
|
* @public
|
|
1355
1355
|
*/
|
|
1356
|
-
State?: StateEnum;
|
|
1356
|
+
State?: StateEnum | undefined;
|
|
1357
1357
|
}
|
|
1358
1358
|
/**
|
|
1359
1359
|
* @public
|
|
@@ -1364,12 +1364,12 @@ export interface ListAppMonitorsResponse {
|
|
|
1364
1364
|
* results.</p>
|
|
1365
1365
|
* @public
|
|
1366
1366
|
*/
|
|
1367
|
-
NextToken?: string;
|
|
1367
|
+
NextToken?: string | undefined;
|
|
1368
1368
|
/**
|
|
1369
1369
|
* <p>An array of structures that contain information about the returned app monitors.</p>
|
|
1370
1370
|
* @public
|
|
1371
1371
|
*/
|
|
1372
|
-
AppMonitorSummaries?: AppMonitorSummary[];
|
|
1372
|
+
AppMonitorSummaries?: AppMonitorSummary[] | undefined;
|
|
1373
1373
|
}
|
|
1374
1374
|
/**
|
|
1375
1375
|
* @public
|
|
@@ -1387,12 +1387,12 @@ export interface ListRumMetricsDestinationsRequest {
|
|
|
1387
1387
|
* <code>NextToken</code> value. </p>
|
|
1388
1388
|
* @public
|
|
1389
1389
|
*/
|
|
1390
|
-
MaxResults?: number;
|
|
1390
|
+
MaxResults?: number | undefined;
|
|
1391
1391
|
/**
|
|
1392
1392
|
* <p>Use the token returned by the previous operation to request the next page of results.</p>
|
|
1393
1393
|
* @public
|
|
1394
1394
|
*/
|
|
1395
|
-
NextToken?: string;
|
|
1395
|
+
NextToken?: string | undefined;
|
|
1396
1396
|
}
|
|
1397
1397
|
/**
|
|
1398
1398
|
* <p>A structure that displays information about one destination that CloudWatch RUM sends
|
|
@@ -1404,19 +1404,19 @@ export interface MetricDestinationSummary {
|
|
|
1404
1404
|
* <p>Specifies whether the destination is <code>CloudWatch</code> or <code>Evidently</code>.</p>
|
|
1405
1405
|
* @public
|
|
1406
1406
|
*/
|
|
1407
|
-
Destination?: MetricDestination;
|
|
1407
|
+
Destination?: MetricDestination | undefined;
|
|
1408
1408
|
/**
|
|
1409
1409
|
* <p>If the destination is <code>Evidently</code>, this specifies the ARN of the Evidently experiment that receives
|
|
1410
1410
|
* the metrics.</p>
|
|
1411
1411
|
* @public
|
|
1412
1412
|
*/
|
|
1413
|
-
DestinationArn?: string;
|
|
1413
|
+
DestinationArn?: string | undefined;
|
|
1414
1414
|
/**
|
|
1415
1415
|
* <p>This field appears only when the destination is <code>Evidently</code>. It specifies
|
|
1416
1416
|
* the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.</p>
|
|
1417
1417
|
* @public
|
|
1418
1418
|
*/
|
|
1419
|
-
IamRoleArn?: string;
|
|
1419
|
+
IamRoleArn?: string | undefined;
|
|
1420
1420
|
}
|
|
1421
1421
|
/**
|
|
1422
1422
|
* @public
|
|
@@ -1427,13 +1427,13 @@ export interface ListRumMetricsDestinationsResponse {
|
|
|
1427
1427
|
* you specified.</p>
|
|
1428
1428
|
* @public
|
|
1429
1429
|
*/
|
|
1430
|
-
Destinations?: MetricDestinationSummary[];
|
|
1430
|
+
Destinations?: MetricDestinationSummary[] | undefined;
|
|
1431
1431
|
/**
|
|
1432
1432
|
* <p>A token that you can use in a subsequent operation to
|
|
1433
1433
|
* retrieve the next set of results.</p>
|
|
1434
1434
|
* @public
|
|
1435
1435
|
*/
|
|
1436
|
-
NextToken?: string;
|
|
1436
|
+
NextToken?: string | undefined;
|
|
1437
1437
|
}
|
|
1438
1438
|
/**
|
|
1439
1439
|
* @public
|
|
@@ -1457,7 +1457,7 @@ export interface PutRumMetricsDestinationRequest {
|
|
|
1457
1457
|
* the ARN of the Evidently experiment that will receive the extended metrics.</p>
|
|
1458
1458
|
* @public
|
|
1459
1459
|
*/
|
|
1460
|
-
DestinationArn?: string;
|
|
1460
|
+
DestinationArn?: string | undefined;
|
|
1461
1461
|
/**
|
|
1462
1462
|
* <p>This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is
|
|
1463
1463
|
* <code>CloudWatch</code>, don't use this parameter.</p>
|
|
@@ -1471,7 +1471,7 @@ export interface PutRumMetricsDestinationRequest {
|
|
|
1471
1471
|
* permissions.</p>
|
|
1472
1472
|
* @public
|
|
1473
1473
|
*/
|
|
1474
|
-
IamRoleArn?: string;
|
|
1474
|
+
IamRoleArn?: string | undefined;
|
|
1475
1475
|
}
|
|
1476
1476
|
/**
|
|
1477
1477
|
* @public
|
|
@@ -1491,7 +1491,7 @@ export interface UpdateAppMonitorRequest {
|
|
|
1491
1491
|
* <p>The top-level internet domain name for which your application has administrative authority.</p>
|
|
1492
1492
|
* @public
|
|
1493
1493
|
*/
|
|
1494
|
-
Domain?: string;
|
|
1494
|
+
Domain?: string | undefined;
|
|
1495
1495
|
/**
|
|
1496
1496
|
* <p>A structure that contains much of the configuration data for the app monitor. If you are using
|
|
1497
1497
|
* Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the
|
|
@@ -1501,7 +1501,7 @@ export interface UpdateAppMonitorRequest {
|
|
|
1501
1501
|
* to send data to Amazon Web Services</a>.</p>
|
|
1502
1502
|
* @public
|
|
1503
1503
|
*/
|
|
1504
|
-
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
1504
|
+
AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
|
|
1505
1505
|
/**
|
|
1506
1506
|
* <p>Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM
|
|
1507
1507
|
* sends a copy of this telemetry data to Amazon CloudWatch Logs
|
|
@@ -1509,7 +1509,7 @@ export interface UpdateAppMonitorRequest {
|
|
|
1509
1509
|
* Amazon CloudWatch Logs charges.</p>
|
|
1510
1510
|
* @public
|
|
1511
1511
|
*/
|
|
1512
|
-
CwLogEnabled?: boolean;
|
|
1512
|
+
CwLogEnabled?: boolean | undefined;
|
|
1513
1513
|
/**
|
|
1514
1514
|
* <p>Specifies whether this app monitor allows the web client to define and send
|
|
1515
1515
|
* custom events. The default is for custom events to be <code>DISABLED</code>.</p>
|
|
@@ -1517,7 +1517,7 @@ export interface UpdateAppMonitorRequest {
|
|
|
1517
1517
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html">Send custom events</a>.</p>
|
|
1518
1518
|
* @public
|
|
1519
1519
|
*/
|
|
1520
|
-
CustomEvents?: CustomEvents;
|
|
1520
|
+
CustomEvents?: CustomEvents | undefined;
|
|
1521
1521
|
}
|
|
1522
1522
|
/**
|
|
1523
1523
|
* @public
|
|
@@ -1548,7 +1548,7 @@ export interface UpdateRumMetricDefinitionRequest {
|
|
|
1548
1548
|
* experiment as a valid destination. For more information, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html">PutRumMetricsDestination</a>.</p>
|
|
1549
1549
|
* @public
|
|
1550
1550
|
*/
|
|
1551
|
-
DestinationArn?: string;
|
|
1551
|
+
DestinationArn?: string | undefined;
|
|
1552
1552
|
/**
|
|
1553
1553
|
* <p>A structure that contains the new definition that you want to use for this metric.</p>
|
|
1554
1554
|
* @public
|
|
@@ -1617,7 +1617,7 @@ export interface RumEvent {
|
|
|
1617
1617
|
* and document interface.</p>
|
|
1618
1618
|
* @public
|
|
1619
1619
|
*/
|
|
1620
|
-
metadata?: __LazyJsonString | string;
|
|
1620
|
+
metadata?: __LazyJsonString | string | undefined;
|
|
1621
1621
|
/**
|
|
1622
1622
|
* <p>A string containing details about the event.</p>
|
|
1623
1623
|
* @public
|
|
@@ -1634,12 +1634,12 @@ export interface UserDetails {
|
|
|
1634
1634
|
* personally identifiable information about the user.</p>
|
|
1635
1635
|
* @public
|
|
1636
1636
|
*/
|
|
1637
|
-
userId?: string;
|
|
1637
|
+
userId?: string | undefined;
|
|
1638
1638
|
/**
|
|
1639
1639
|
* <p>The session ID that the performance events are from.</p>
|
|
1640
1640
|
* @public
|
|
1641
1641
|
*/
|
|
1642
|
-
sessionId?: string;
|
|
1642
|
+
sessionId?: string | undefined;
|
|
1643
1643
|
}
|
|
1644
1644
|
/**
|
|
1645
1645
|
* @public
|
|
@@ -17,15 +17,15 @@ export declare const Telemetry: {
|
|
|
17
17
|
};
|
|
18
18
|
export type Telemetry = (typeof Telemetry)[keyof typeof Telemetry];
|
|
19
19
|
export interface AppMonitorConfiguration {
|
|
20
|
-
IdentityPoolId?: string;
|
|
21
|
-
ExcludedPages?: string[];
|
|
22
|
-
IncludedPages?: string[];
|
|
23
|
-
FavoritePages?: string[];
|
|
24
|
-
SessionSampleRate?: number;
|
|
25
|
-
GuestRoleArn?: string;
|
|
26
|
-
AllowCookies?: boolean;
|
|
27
|
-
Telemetries?: Telemetry[];
|
|
28
|
-
EnableXRay?: boolean;
|
|
20
|
+
IdentityPoolId?: string | undefined;
|
|
21
|
+
ExcludedPages?: string[] | undefined;
|
|
22
|
+
IncludedPages?: string[] | undefined;
|
|
23
|
+
FavoritePages?: string[] | undefined;
|
|
24
|
+
SessionSampleRate?: number | undefined;
|
|
25
|
+
GuestRoleArn?: string | undefined;
|
|
26
|
+
AllowCookies?: boolean | undefined;
|
|
27
|
+
Telemetries?: Telemetry[] | undefined;
|
|
28
|
+
EnableXRay?: boolean | undefined;
|
|
29
29
|
}
|
|
30
30
|
export declare const CustomEventsStatus: {
|
|
31
31
|
readonly DISABLED: "DISABLED";
|
|
@@ -34,14 +34,14 @@ export declare const CustomEventsStatus: {
|
|
|
34
34
|
export type CustomEventsStatus =
|
|
35
35
|
(typeof CustomEventsStatus)[keyof typeof CustomEventsStatus];
|
|
36
36
|
export interface CustomEvents {
|
|
37
|
-
Status?: CustomEventsStatus;
|
|
37
|
+
Status?: CustomEventsStatus | undefined;
|
|
38
38
|
}
|
|
39
39
|
export interface CwLog {
|
|
40
|
-
CwLogEnabled?: boolean;
|
|
41
|
-
CwLogGroup?: string;
|
|
40
|
+
CwLogEnabled?: boolean | undefined;
|
|
41
|
+
CwLogGroup?: string | undefined;
|
|
42
42
|
}
|
|
43
43
|
export interface DataStorage {
|
|
44
|
-
CwLog?: CwLog;
|
|
44
|
+
CwLog?: CwLog | undefined;
|
|
45
45
|
}
|
|
46
46
|
export declare const StateEnum: {
|
|
47
47
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -50,21 +50,21 @@ export declare const StateEnum: {
|
|
|
50
50
|
};
|
|
51
51
|
export type StateEnum = (typeof StateEnum)[keyof typeof StateEnum];
|
|
52
52
|
export interface AppMonitor {
|
|
53
|
-
Name?: string;
|
|
54
|
-
Domain?: string;
|
|
55
|
-
Id?: string;
|
|
56
|
-
Created?: string;
|
|
57
|
-
LastModified?: string;
|
|
58
|
-
Tags?: Record<string, string
|
|
59
|
-
State?: StateEnum;
|
|
60
|
-
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
61
|
-
DataStorage?: DataStorage;
|
|
62
|
-
CustomEvents?: CustomEvents;
|
|
53
|
+
Name?: string | undefined;
|
|
54
|
+
Domain?: string | undefined;
|
|
55
|
+
Id?: string | undefined;
|
|
56
|
+
Created?: string | undefined;
|
|
57
|
+
LastModified?: string | undefined;
|
|
58
|
+
Tags?: Record<string, string> | undefined;
|
|
59
|
+
State?: StateEnum | undefined;
|
|
60
|
+
AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
|
|
61
|
+
DataStorage?: DataStorage | undefined;
|
|
62
|
+
CustomEvents?: CustomEvents | undefined;
|
|
63
63
|
}
|
|
64
64
|
export interface AppMonitorDetails {
|
|
65
|
-
name?: string;
|
|
66
|
-
id?: string;
|
|
67
|
-
version?: string;
|
|
65
|
+
name?: string | undefined;
|
|
66
|
+
id?: string | undefined;
|
|
67
|
+
version?: string | undefined;
|
|
68
68
|
}
|
|
69
69
|
export declare const MetricDestination: {
|
|
70
70
|
readonly CloudWatch: "CloudWatch";
|
|
@@ -74,16 +74,16 @@ export type MetricDestination =
|
|
|
74
74
|
(typeof MetricDestination)[keyof typeof MetricDestination];
|
|
75
75
|
export interface MetricDefinitionRequest {
|
|
76
76
|
Name: string | undefined;
|
|
77
|
-
ValueKey?: string;
|
|
78
|
-
UnitLabel?: string;
|
|
79
|
-
DimensionKeys?: Record<string, string
|
|
80
|
-
EventPattern?: string;
|
|
81
|
-
Namespace?: string;
|
|
77
|
+
ValueKey?: string | undefined;
|
|
78
|
+
UnitLabel?: string | undefined;
|
|
79
|
+
DimensionKeys?: Record<string, string> | undefined;
|
|
80
|
+
EventPattern?: string | undefined;
|
|
81
|
+
Namespace?: string | undefined;
|
|
82
82
|
}
|
|
83
83
|
export interface BatchCreateRumMetricDefinitionsRequest {
|
|
84
84
|
AppMonitorName: string | undefined;
|
|
85
85
|
Destination: MetricDestination | undefined;
|
|
86
|
-
DestinationArn?: string;
|
|
86
|
+
DestinationArn?: string | undefined;
|
|
87
87
|
MetricDefinitions: MetricDefinitionRequest[] | undefined;
|
|
88
88
|
}
|
|
89
89
|
export interface BatchCreateRumMetricDefinitionsError {
|
|
@@ -94,28 +94,28 @@ export interface BatchCreateRumMetricDefinitionsError {
|
|
|
94
94
|
export interface MetricDefinition {
|
|
95
95
|
MetricDefinitionId: string | undefined;
|
|
96
96
|
Name: string | undefined;
|
|
97
|
-
ValueKey?: string;
|
|
98
|
-
UnitLabel?: string;
|
|
99
|
-
DimensionKeys?: Record<string, string
|
|
100
|
-
EventPattern?: string;
|
|
101
|
-
Namespace?: string;
|
|
97
|
+
ValueKey?: string | undefined;
|
|
98
|
+
UnitLabel?: string | undefined;
|
|
99
|
+
DimensionKeys?: Record<string, string> | undefined;
|
|
100
|
+
EventPattern?: string | undefined;
|
|
101
|
+
Namespace?: string | undefined;
|
|
102
102
|
}
|
|
103
103
|
export interface BatchCreateRumMetricDefinitionsResponse {
|
|
104
104
|
Errors: BatchCreateRumMetricDefinitionsError[] | undefined;
|
|
105
|
-
MetricDefinitions?: MetricDefinition[];
|
|
105
|
+
MetricDefinitions?: MetricDefinition[] | undefined;
|
|
106
106
|
}
|
|
107
107
|
export declare class ConflictException extends __BaseException {
|
|
108
108
|
readonly name: "ConflictException";
|
|
109
109
|
readonly $fault: "client";
|
|
110
110
|
resourceName: string | undefined;
|
|
111
|
-
resourceType?: string;
|
|
111
|
+
resourceType?: string | undefined;
|
|
112
112
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
113
113
|
}
|
|
114
114
|
export declare class InternalServerException extends __BaseException {
|
|
115
115
|
readonly name: "InternalServerException";
|
|
116
116
|
readonly $fault: "server";
|
|
117
117
|
$retryable: {};
|
|
118
|
-
retryAfterSeconds?: number;
|
|
118
|
+
retryAfterSeconds?: number | undefined;
|
|
119
119
|
constructor(
|
|
120
120
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
121
121
|
);
|
|
@@ -124,7 +124,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
124
124
|
readonly name: "ResourceNotFoundException";
|
|
125
125
|
readonly $fault: "client";
|
|
126
126
|
resourceName: string | undefined;
|
|
127
|
-
resourceType?: string;
|
|
127
|
+
resourceType?: string | undefined;
|
|
128
128
|
constructor(
|
|
129
129
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
130
130
|
);
|
|
@@ -142,9 +142,9 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
142
142
|
$retryable: {
|
|
143
143
|
throttling: boolean;
|
|
144
144
|
};
|
|
145
|
-
serviceCode?: string;
|
|
146
|
-
quotaCode?: string;
|
|
147
|
-
retryAfterSeconds?: number;
|
|
145
|
+
serviceCode?: string | undefined;
|
|
146
|
+
quotaCode?: string | undefined;
|
|
147
|
+
retryAfterSeconds?: number | undefined;
|
|
148
148
|
constructor(
|
|
149
149
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
150
150
|
);
|
|
@@ -159,7 +159,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
159
159
|
export interface BatchDeleteRumMetricDefinitionsRequest {
|
|
160
160
|
AppMonitorName: string | undefined;
|
|
161
161
|
Destination: MetricDestination | undefined;
|
|
162
|
-
DestinationArn?: string;
|
|
162
|
+
DestinationArn?: string | undefined;
|
|
163
163
|
MetricDefinitionIds: string[] | undefined;
|
|
164
164
|
}
|
|
165
165
|
export interface BatchDeleteRumMetricDefinitionsError {
|
|
@@ -169,29 +169,29 @@ export interface BatchDeleteRumMetricDefinitionsError {
|
|
|
169
169
|
}
|
|
170
170
|
export interface BatchDeleteRumMetricDefinitionsResponse {
|
|
171
171
|
Errors: BatchDeleteRumMetricDefinitionsError[] | undefined;
|
|
172
|
-
MetricDefinitionIds?: string[];
|
|
172
|
+
MetricDefinitionIds?: string[] | undefined;
|
|
173
173
|
}
|
|
174
174
|
export interface BatchGetRumMetricDefinitionsRequest {
|
|
175
175
|
AppMonitorName: string | undefined;
|
|
176
176
|
Destination: MetricDestination | undefined;
|
|
177
|
-
DestinationArn?: string;
|
|
178
|
-
MaxResults?: number;
|
|
179
|
-
NextToken?: string;
|
|
177
|
+
DestinationArn?: string | undefined;
|
|
178
|
+
MaxResults?: number | undefined;
|
|
179
|
+
NextToken?: string | undefined;
|
|
180
180
|
}
|
|
181
181
|
export interface BatchGetRumMetricDefinitionsResponse {
|
|
182
|
-
MetricDefinitions?: MetricDefinition[];
|
|
183
|
-
NextToken?: string;
|
|
182
|
+
MetricDefinitions?: MetricDefinition[] | undefined;
|
|
183
|
+
NextToken?: string | undefined;
|
|
184
184
|
}
|
|
185
185
|
export interface CreateAppMonitorRequest {
|
|
186
186
|
Name: string | undefined;
|
|
187
187
|
Domain: string | undefined;
|
|
188
|
-
Tags?: Record<string, string
|
|
189
|
-
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
190
|
-
CwLogEnabled?: boolean;
|
|
191
|
-
CustomEvents?: CustomEvents;
|
|
188
|
+
Tags?: Record<string, string> | undefined;
|
|
189
|
+
AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
|
|
190
|
+
CwLogEnabled?: boolean | undefined;
|
|
191
|
+
CustomEvents?: CustomEvents | undefined;
|
|
192
192
|
}
|
|
193
193
|
export interface CreateAppMonitorResponse {
|
|
194
|
-
Id?: string;
|
|
194
|
+
Id?: string | undefined;
|
|
195
195
|
}
|
|
196
196
|
export interface DeleteAppMonitorRequest {
|
|
197
197
|
Name: string | undefined;
|
|
@@ -200,82 +200,82 @@ export interface DeleteAppMonitorResponse {}
|
|
|
200
200
|
export interface DeleteRumMetricsDestinationRequest {
|
|
201
201
|
AppMonitorName: string | undefined;
|
|
202
202
|
Destination: MetricDestination | undefined;
|
|
203
|
-
DestinationArn?: string;
|
|
203
|
+
DestinationArn?: string | undefined;
|
|
204
204
|
}
|
|
205
205
|
export interface DeleteRumMetricsDestinationResponse {}
|
|
206
206
|
export interface GetAppMonitorRequest {
|
|
207
207
|
Name: string | undefined;
|
|
208
208
|
}
|
|
209
209
|
export interface GetAppMonitorResponse {
|
|
210
|
-
AppMonitor?: AppMonitor;
|
|
210
|
+
AppMonitor?: AppMonitor | undefined;
|
|
211
211
|
}
|
|
212
212
|
export interface QueryFilter {
|
|
213
|
-
Name?: string;
|
|
214
|
-
Values?: string[];
|
|
213
|
+
Name?: string | undefined;
|
|
214
|
+
Values?: string[] | undefined;
|
|
215
215
|
}
|
|
216
216
|
export interface TimeRange {
|
|
217
217
|
After: number | undefined;
|
|
218
|
-
Before?: number;
|
|
218
|
+
Before?: number | undefined;
|
|
219
219
|
}
|
|
220
220
|
export interface GetAppMonitorDataRequest {
|
|
221
221
|
Name: string | undefined;
|
|
222
222
|
TimeRange: TimeRange | undefined;
|
|
223
|
-
Filters?: QueryFilter[];
|
|
224
|
-
MaxResults?: number;
|
|
225
|
-
NextToken?: string;
|
|
223
|
+
Filters?: QueryFilter[] | undefined;
|
|
224
|
+
MaxResults?: number | undefined;
|
|
225
|
+
NextToken?: string | undefined;
|
|
226
226
|
}
|
|
227
227
|
export interface GetAppMonitorDataResponse {
|
|
228
|
-
Events?: string[];
|
|
229
|
-
NextToken?: string;
|
|
228
|
+
Events?: string[] | undefined;
|
|
229
|
+
NextToken?: string | undefined;
|
|
230
230
|
}
|
|
231
231
|
export interface ListAppMonitorsRequest {
|
|
232
|
-
MaxResults?: number;
|
|
233
|
-
NextToken?: string;
|
|
232
|
+
MaxResults?: number | undefined;
|
|
233
|
+
NextToken?: string | undefined;
|
|
234
234
|
}
|
|
235
235
|
export interface AppMonitorSummary {
|
|
236
|
-
Name?: string;
|
|
237
|
-
Id?: string;
|
|
238
|
-
Created?: string;
|
|
239
|
-
LastModified?: string;
|
|
240
|
-
State?: StateEnum;
|
|
236
|
+
Name?: string | undefined;
|
|
237
|
+
Id?: string | undefined;
|
|
238
|
+
Created?: string | undefined;
|
|
239
|
+
LastModified?: string | undefined;
|
|
240
|
+
State?: StateEnum | undefined;
|
|
241
241
|
}
|
|
242
242
|
export interface ListAppMonitorsResponse {
|
|
243
|
-
NextToken?: string;
|
|
244
|
-
AppMonitorSummaries?: AppMonitorSummary[];
|
|
243
|
+
NextToken?: string | undefined;
|
|
244
|
+
AppMonitorSummaries?: AppMonitorSummary[] | undefined;
|
|
245
245
|
}
|
|
246
246
|
export interface ListRumMetricsDestinationsRequest {
|
|
247
247
|
AppMonitorName: string | undefined;
|
|
248
|
-
MaxResults?: number;
|
|
249
|
-
NextToken?: string;
|
|
248
|
+
MaxResults?: number | undefined;
|
|
249
|
+
NextToken?: string | undefined;
|
|
250
250
|
}
|
|
251
251
|
export interface MetricDestinationSummary {
|
|
252
|
-
Destination?: MetricDestination;
|
|
253
|
-
DestinationArn?: string;
|
|
254
|
-
IamRoleArn?: string;
|
|
252
|
+
Destination?: MetricDestination | undefined;
|
|
253
|
+
DestinationArn?: string | undefined;
|
|
254
|
+
IamRoleArn?: string | undefined;
|
|
255
255
|
}
|
|
256
256
|
export interface ListRumMetricsDestinationsResponse {
|
|
257
|
-
Destinations?: MetricDestinationSummary[];
|
|
258
|
-
NextToken?: string;
|
|
257
|
+
Destinations?: MetricDestinationSummary[] | undefined;
|
|
258
|
+
NextToken?: string | undefined;
|
|
259
259
|
}
|
|
260
260
|
export interface PutRumMetricsDestinationRequest {
|
|
261
261
|
AppMonitorName: string | undefined;
|
|
262
262
|
Destination: MetricDestination | undefined;
|
|
263
|
-
DestinationArn?: string;
|
|
264
|
-
IamRoleArn?: string;
|
|
263
|
+
DestinationArn?: string | undefined;
|
|
264
|
+
IamRoleArn?: string | undefined;
|
|
265
265
|
}
|
|
266
266
|
export interface PutRumMetricsDestinationResponse {}
|
|
267
267
|
export interface UpdateAppMonitorRequest {
|
|
268
268
|
Name: string | undefined;
|
|
269
|
-
Domain?: string;
|
|
270
|
-
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
271
|
-
CwLogEnabled?: boolean;
|
|
272
|
-
CustomEvents?: CustomEvents;
|
|
269
|
+
Domain?: string | undefined;
|
|
270
|
+
AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
|
|
271
|
+
CwLogEnabled?: boolean | undefined;
|
|
272
|
+
CustomEvents?: CustomEvents | undefined;
|
|
273
273
|
}
|
|
274
274
|
export interface UpdateAppMonitorResponse {}
|
|
275
275
|
export interface UpdateRumMetricDefinitionRequest {
|
|
276
276
|
AppMonitorName: string | undefined;
|
|
277
277
|
Destination: MetricDestination | undefined;
|
|
278
|
-
DestinationArn?: string;
|
|
278
|
+
DestinationArn?: string | undefined;
|
|
279
279
|
MetricDefinition: MetricDefinitionRequest | undefined;
|
|
280
280
|
MetricDefinitionId: string | undefined;
|
|
281
281
|
}
|
|
@@ -291,12 +291,12 @@ export interface RumEvent {
|
|
|
291
291
|
id: string | undefined;
|
|
292
292
|
timestamp: Date | undefined;
|
|
293
293
|
type: string | undefined;
|
|
294
|
-
metadata?: __LazyJsonString | string;
|
|
294
|
+
metadata?: __LazyJsonString | string | undefined;
|
|
295
295
|
details: __LazyJsonString | string | undefined;
|
|
296
296
|
}
|
|
297
297
|
export interface UserDetails {
|
|
298
|
-
userId?: string;
|
|
299
|
-
sessionId?: string;
|
|
298
|
+
userId?: string | undefined;
|
|
299
|
+
sessionId?: string | undefined;
|
|
300
300
|
}
|
|
301
301
|
export interface PutRumEventsRequest {
|
|
302
302
|
Id: 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.691.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,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|