Rum
This page documents function available when using the Rum
module, created with @service Rum
.
Index
Main.Rum.create_app_monitor
Main.Rum.delete_app_monitor
Main.Rum.get_app_monitor
Main.Rum.get_app_monitor_data
Main.Rum.list_app_monitors
Main.Rum.list_tags_for_resource
Main.Rum.put_rum_events
Main.Rum.tag_resource
Main.Rum.untag_resource
Main.Rum.update_app_monitor
Documentation
Main.Rum.create_app_monitor
— Methodcreate_app_monitor(domain, name)
create_app_monitor(domain, name, params::Dict{String,<:Any})
Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that data to RUM. The data includes performance and reliability information such as page load time, client-side errors, and user behavior. You use this operation only to create a new app monitor. To update an existing app monitor, use UpdateAppMonitor instead. After you create an app monitor, sign in to the CloudWatch RUM console to get the JavaScript code snippet to add to your web application. For more information, see How do I find a code snippet that I've already generated?
Arguments
domain
: The top-level internet domain name for which your application has administrative authority.name
: A name for the app monitor.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AppMonitorConfiguration"
: A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include AppMonitorConfiguration, you must set up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services. If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions."CwLogEnabled"
: Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges. If you omit this parameter, the default is false."Tags"
: Assigns one or more tags (key-value pairs) to the app monitor. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters. <p>You can associate as many as 50 tags with an app monitor.</p> <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>
Main.Rum.delete_app_monitor
— Methoddelete_app_monitor(name)
delete_app_monitor(name, params::Dict{String,<:Any})
Deletes an existing app monitor. This immediately stops the collection of data.
Arguments
name
: The name of the app monitor to delete.
Main.Rum.get_app_monitor
— Methodget_app_monitor(name)
get_app_monitor(name, params::Dict{String,<:Any})
Retrieves the complete configuration information for one app monitor.
Arguments
name
: The app monitor to retrieve information for.
Main.Rum.get_app_monitor_data
— Methodget_app_monitor_data(name, time_range)
get_app_monitor_data(name, time_range, params::Dict{String,<:Any})
Retrieves the raw performance events that RUM has collected from your web application, so that you can do your own processing or analysis of this data.
Arguments
name
: The name of the app monitor that collected the data that you want to retrieve.time_range
: A structure that defines the time range that you want to retrieve results from.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Filters"
: An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify."MaxResults"
: The maximum number of results to return in one operation."NextToken"
: Use the token returned by the previous operation to request the next page of results.
Main.Rum.list_app_monitors
— Methodlist_app_monitors()
list_app_monitors(params::Dict{String,<:Any})
Returns a list of the Amazon CloudWatch RUM app monitors in the account.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: The maximum number of results to return in one operation."nextToken"
: Use the token returned by the previous operation to request the next page of results.
Main.Rum.list_tags_for_resource
— Methodlist_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})
Displays the tags associated with a CloudWatch RUM resource.
Arguments
resource_arn
: The ARN of the resource that you want to see the tags of.
Main.Rum.put_rum_events
— Methodput_rum_events(app_monitor_details, batch_id, id, rum_events, user_details)
put_rum_events(app_monitor_details, batch_id, id, rum_events, user_details, params::Dict{String,<:Any})
Sends telemetry events about your application performance and user behavior to CloudWatch RUM. The code snippet that RUM generates for you to add to your application includes PutRumEvents operations to send this data to RUM. Each PutRumEvents operation can send a batch of events from one user session.
Arguments
app_monitor_details
: A structure that contains information about the app monitor that collected this telemetry information.batch_id
: A unique identifier for this batch of RUM event data.id
: The ID of the app monitor that is sending this data.rum_events
: An array of structures that contain the telemetry event data.user_details
: A structure that contains information about the user session that this batch of events was collected from.
Main.Rum.tag_resource
— Methodtag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})
Assigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource. Currently, the only resources that can be tagged app monitors. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters. You can use the TagResource action with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. You can associate as many as 50 tags with a resource. For more information, see Tagging Amazon Web Services resources.
Arguments
resource_arn
: The ARN of the CloudWatch RUM resource that you're adding tags to.tags
: The list of key-value pairs to associate with the resource.
Main.Rum.untag_resource
— Methoduntag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})
Removes one or more tags from the specified resource.
Arguments
resource_arn
: The ARN of the CloudWatch RUM resource that you're removing tags from.tag_keys
: The list of tag keys to remove from the resource.
Main.Rum.update_app_monitor
— Methodupdate_app_monitor(name)
update_app_monitor(name, params::Dict{String,<:Any})
Updates the configuration of an existing app monitor. When you use this operation, only the parts of the app monitor configuration that you specify in this operation are changed. For any parameters that you omit, the existing values are kept. You can't use this operation to change the tags of an existing app monitor. To change the tags of an existing app monitor, use TagResource. To create a new app monitor, use CreateAppMonitor. After you update an app monitor, sign in to the CloudWatch RUM console to get the updated JavaScript code snippet to add to your web application. For more information, see How do I find a code snippet that I've already generated?
Arguments
name
: The name of the app monitor to update.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AppMonitorConfiguration"
: A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include AppMonitorConfiguration, you must set up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services."CwLogEnabled"
: Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges."Domain"
: The top-level internet domain name for which your application has administrative authority.