Learn R Programming

paws (version 0.2.0)

cloudwatchrum: CloudWatch RUM

Description

With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about your web application performance from actual user sessions in real time. The data collected includes page load times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and also see breakdowns by the browsers and devices that your customers use.

 <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error messages, stack traces, and user sessions. You can also use RUM to understand the range of end-user impact including the number of users, geolocations, and browsers used.</p> 

Usage

cloudwatchrum(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

  • access_key_id: AWS access key ID

  • secret_access_key: AWS secret access key

  • session_token: AWS temporary session token

  • profile: The name of a profile to use. If not given, then the default profile is used.

  • anonymous: Set anonymous credentials.

  • endpoint: The complete URL to use for the constructed client.

  • region: The AWS Region used in instantiating the client.

  • close_connection: Immediately close all HTTP connections.

  • timeout: The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

  • s3_force_path_style: Set this to true to force the request to use path-style addressing, i.e., http://s3.amazonaws.com/BUCKET/KEY.

Service syntax

svc <- cloudwatchrum(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string",
      anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical"
  )
)

Operations

create_app_monitorCreates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that data to RUM
delete_app_monitorDeletes an existing app monitor
get_app_monitorRetrieves the complete configuration information for one app monitor
get_app_monitor_dataRetrieves 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
list_app_monitorsReturns a list of the Amazon CloudWatch RUM app monitors in the account
list_tags_for_resourceDisplays the tags associated with a CloudWatch RUM resource
put_rum_eventsSends telemetry events about your application performance and user behavior to CloudWatch RUM
tag_resourceAssigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource
untag_resourceRemoves one or more tags from the specified resource
update_app_monitorUpdates the configuration of an existing app monitor

Examples

Run this code
if (FALSE) {
svc <- cloudwatchrum()
svc$create_app_monitor(
  Foo = 123
)
}

Run the code above in your browser using DataLab