amazonka-rum-2.0: Amazon CloudWatch RUM SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rum.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-05-10 of the Amazon CloudWatch RUM SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You don't have sufficient permissions to perform this action.

_ConflictException :: AsError a => Fold a ServiceError Source #

This operation attempted to create a resource that already exists.

_InternalServerException :: AsError a => Fold a ServiceError Source #

Internal service exception.

_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #

This request exceeds a service quota.

_ThrottlingException :: AsError a => Fold a ServiceError Source #

The request was throttled because of quota limits.

_ValidationException :: AsError a => Fold a ServiceError Source #

One of the arguments for the request is not valid.

CustomEventsStatus

newtype CustomEventsStatus Source #

Instances

Instances details
FromJSON CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

FromJSONKey CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

ToJSON CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

ToJSONKey CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

ToByteString CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

ToHeader CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

ToLog CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

ToQuery CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

FromText CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

ToText CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

FromXML CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

ToXML CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

Generic CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

Associated Types

type Rep CustomEventsStatus :: Type -> Type #

Read CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

Show CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

NFData CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

Methods

rnf :: CustomEventsStatus -> () #

Eq CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

Ord CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

Hashable CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

type Rep CustomEventsStatus Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEventsStatus

type Rep CustomEventsStatus = D1 ('MetaData "CustomEventsStatus" "Amazonka.Rum.Types.CustomEventsStatus" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'True) (C1 ('MetaCons "CustomEventsStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCustomEventsStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MetricDestination

newtype MetricDestination Source #

Instances

Instances details
FromJSON MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

FromJSONKey MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

ToJSON MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

ToJSONKey MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

ToByteString MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

ToHeader MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

ToLog MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

ToQuery MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

FromText MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

ToText MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

FromXML MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

ToXML MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

Generic MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

Associated Types

type Rep MetricDestination :: Type -> Type #

Read MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

Show MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

NFData MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

Methods

rnf :: MetricDestination -> () #

Eq MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

Ord MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

Hashable MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

type Rep MetricDestination Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestination

type Rep MetricDestination = D1 ('MetaData "MetricDestination" "Amazonka.Rum.Types.MetricDestination" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'True) (C1 ('MetaCons "MetricDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMetricDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StateEnum

newtype StateEnum Source #

Constructors

StateEnum' 

Fields

Bundled Patterns

pattern StateEnum_ACTIVE :: StateEnum 
pattern StateEnum_CREATED :: StateEnum 
pattern StateEnum_DELETING :: StateEnum 

Instances

Instances details
FromJSON StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

FromJSONKey StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

ToJSON StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

ToJSONKey StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

ToByteString StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

Methods

toBS :: StateEnum -> ByteString #

ToHeader StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

ToLog StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

ToQuery StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

FromText StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

ToText StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

Methods

toText :: StateEnum -> Text #

FromXML StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

ToXML StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

Methods

toXML :: StateEnum -> XML #

Generic StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

Associated Types

type Rep StateEnum :: Type -> Type #

Read StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

Show StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

NFData StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

Methods

rnf :: StateEnum -> () #

Eq StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

Ord StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

Hashable StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

type Rep StateEnum Source # 
Instance details

Defined in Amazonka.Rum.Types.StateEnum

type Rep StateEnum = D1 ('MetaData "StateEnum" "Amazonka.Rum.Types.StateEnum" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'True) (C1 ('MetaCons "StateEnum'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStateEnum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Telemetry

newtype Telemetry Source #

Constructors

Telemetry' 

Fields

Bundled Patterns

pattern Telemetry_Errors :: Telemetry 
pattern Telemetry_Http :: Telemetry 
pattern Telemetry_Performance :: Telemetry 

Instances

Instances details
FromJSON Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

FromJSONKey Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

ToJSON Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

ToJSONKey Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

ToByteString Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

Methods

toBS :: Telemetry -> ByteString #

ToHeader Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

ToLog Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

ToQuery Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

FromText Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

ToText Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

Methods

toText :: Telemetry -> Text #

FromXML Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

ToXML Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

Methods

toXML :: Telemetry -> XML #

Generic Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

Associated Types

type Rep Telemetry :: Type -> Type #

Read Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

Show Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

NFData Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

Methods

rnf :: Telemetry -> () #

Eq Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

Ord Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

Hashable Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

type Rep Telemetry Source # 
Instance details

Defined in Amazonka.Rum.Types.Telemetry

type Rep Telemetry = D1 ('MetaData "Telemetry" "Amazonka.Rum.Types.Telemetry" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'True) (C1 ('MetaCons "Telemetry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTelemetry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AppMonitor

data AppMonitor Source #

A RUM app monitor 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.

See: newAppMonitor smart constructor.

Constructors

AppMonitor' 

Fields

Instances

Instances details
FromJSON AppMonitor Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitor

Generic AppMonitor Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitor

Associated Types

type Rep AppMonitor :: Type -> Type #

Read AppMonitor Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitor

Show AppMonitor Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitor

NFData AppMonitor Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitor

Methods

rnf :: AppMonitor -> () #

Eq AppMonitor Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitor

Hashable AppMonitor Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitor

type Rep AppMonitor Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitor

newAppMonitor :: AppMonitor Source #

Create a value of AppMonitor with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:appMonitorConfiguration:AppMonitor', appMonitor_appMonitorConfiguration - A structure that contains much of the configuration data for the app monitor.

$sel:created:AppMonitor', appMonitor_created - The date and time that this app monitor was created.

$sel:customEvents:AppMonitor', appMonitor_customEvents - Specifies whether this app monitor allows the web client to define and send custom events.

For more information about custom events, see Send custom events.

$sel:dataStorage:AppMonitor', appMonitor_dataStorage - A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.

$sel:domain:AppMonitor', appMonitor_domain - The top-level internet domain name for which your application has administrative authority.

$sel:id:AppMonitor', appMonitor_id - The unique ID of this app monitor.

$sel:lastModified:AppMonitor', appMonitor_lastModified - The date and time of the most recent changes to this app monitor's configuration.

$sel:name:AppMonitor', appMonitor_name - The name of the app monitor.

$sel:state:AppMonitor', appMonitor_state - The current state of the app monitor.

$sel:tags:AppMonitor', appMonitor_tags - The list of tag keys and values associated with this app monitor.

appMonitor_appMonitorConfiguration :: Lens' AppMonitor (Maybe AppMonitorConfiguration) Source #

A structure that contains much of the configuration data for the app monitor.

appMonitor_created :: Lens' AppMonitor (Maybe Text) Source #

The date and time that this app monitor was created.

appMonitor_customEvents :: Lens' AppMonitor (Maybe CustomEvents) Source #

Specifies whether this app monitor allows the web client to define and send custom events.

For more information about custom events, see Send custom events.

appMonitor_dataStorage :: Lens' AppMonitor (Maybe DataStorage) Source #

A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.

appMonitor_domain :: Lens' AppMonitor (Maybe Text) Source #

The top-level internet domain name for which your application has administrative authority.

appMonitor_id :: Lens' AppMonitor (Maybe Text) Source #

The unique ID of this app monitor.

appMonitor_lastModified :: Lens' AppMonitor (Maybe Text) Source #

The date and time of the most recent changes to this app monitor's configuration.

appMonitor_name :: Lens' AppMonitor (Maybe Text) Source #

The name of the app monitor.

appMonitor_state :: Lens' AppMonitor (Maybe StateEnum) Source #

The current state of the app monitor.

appMonitor_tags :: Lens' AppMonitor (Maybe (HashMap Text Text)) Source #

The list of tag keys and values associated with this app monitor.

AppMonitorConfiguration

data AppMonitorConfiguration Source #

This structure contains much of the configuration data for the app monitor.

See: newAppMonitorConfiguration smart constructor.

Constructors

AppMonitorConfiguration' 

Fields

  • allowCookies :: Maybe Bool

    If you set this to true, the RUM web client sets two cookies, a session cookie and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.

  • enableXRay :: Maybe Bool

    If you set this to true, RUM enables X-Ray tracing for the user sessions that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the X-Ray console and the CloudWatch ServiceLens console. For more information, see What is X-Ray?

  • excludedPages :: Maybe [Text]

    A list of URLs in your website or application to exclude from RUM data collection.

    You can't include both ExcludedPages and IncludedPages in the same operation.

  • favoritePages :: Maybe [Text]

    A list of pages in your application that are to be displayed with a "favorite" icon in the CloudWatch RUM console.

  • guestRoleArn :: Maybe Text

    The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.

  • identityPoolId :: Maybe Text

    The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.

  • includedPages :: Maybe [Text]

    If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.

    You can't include both ExcludedPages and IncludedPages in the same operation.

  • sessionSampleRate :: Maybe Double

    Specifies the portion of user sessions to use for RUM data collection. Choosing a higher portion gives you more data but also incurs more costs.

    The range for this value is 0 to 1 inclusive. Setting this to 1 means that 100% of user sessions are sampled, and setting it to 0.1 means that 10% of user sessions are sampled.

    If you omit this parameter, the default of 0.1 is used, and 10% of sessions will be sampled.

  • telemetries :: Maybe [Telemetry]

    An array that lists the types of telemetry data that this app monitor is to collect.

    • errors indicates that RUM collects data about unhandled JavaScript errors raised by your application.
    • performance indicates that RUM collects performance data about how your application and its resources are loaded and rendered. This includes Core Web Vitals.
    • http indicates that RUM collects data about HTTP errors thrown by your application.

Instances

Instances details
FromJSON AppMonitorConfiguration Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorConfiguration

ToJSON AppMonitorConfiguration Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorConfiguration

Generic AppMonitorConfiguration Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorConfiguration

Associated Types

type Rep AppMonitorConfiguration :: Type -> Type #

Read AppMonitorConfiguration Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorConfiguration

Show AppMonitorConfiguration Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorConfiguration

NFData AppMonitorConfiguration Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorConfiguration

Methods

rnf :: AppMonitorConfiguration -> () #

Eq AppMonitorConfiguration Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorConfiguration

Hashable AppMonitorConfiguration Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorConfiguration

type Rep AppMonitorConfiguration Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorConfiguration

type Rep AppMonitorConfiguration = D1 ('MetaData "AppMonitorConfiguration" "Amazonka.Rum.Types.AppMonitorConfiguration" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "AppMonitorConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "allowCookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "enableXRay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "excludedPages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "favoritePages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "guestRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "includedPages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "sessionSampleRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "telemetries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Telemetry])))))))

newAppMonitorConfiguration :: AppMonitorConfiguration Source #

Create a value of AppMonitorConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:allowCookies:AppMonitorConfiguration', appMonitorConfiguration_allowCookies - If you set this to true, the RUM web client sets two cookies, a session cookie and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.

$sel:enableXRay:AppMonitorConfiguration', appMonitorConfiguration_enableXRay - If you set this to true, RUM enables X-Ray tracing for the user sessions that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the X-Ray console and the CloudWatch ServiceLens console. For more information, see What is X-Ray?

$sel:excludedPages:AppMonitorConfiguration', appMonitorConfiguration_excludedPages - A list of URLs in your website or application to exclude from RUM data collection.

You can't include both ExcludedPages and IncludedPages in the same operation.

$sel:favoritePages:AppMonitorConfiguration', appMonitorConfiguration_favoritePages - A list of pages in your application that are to be displayed with a "favorite" icon in the CloudWatch RUM console.

$sel:guestRoleArn:AppMonitorConfiguration', appMonitorConfiguration_guestRoleArn - The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.

$sel:identityPoolId:AppMonitorConfiguration', appMonitorConfiguration_identityPoolId - The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.

$sel:includedPages:AppMonitorConfiguration', appMonitorConfiguration_includedPages - If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.

You can't include both ExcludedPages and IncludedPages in the same operation.

$sel:sessionSampleRate:AppMonitorConfiguration', appMonitorConfiguration_sessionSampleRate - Specifies the portion of user sessions to use for RUM data collection. Choosing a higher portion gives you more data but also incurs more costs.

The range for this value is 0 to 1 inclusive. Setting this to 1 means that 100% of user sessions are sampled, and setting it to 0.1 means that 10% of user sessions are sampled.

If you omit this parameter, the default of 0.1 is used, and 10% of sessions will be sampled.

$sel:telemetries:AppMonitorConfiguration', appMonitorConfiguration_telemetries - An array that lists the types of telemetry data that this app monitor is to collect.

  • errors indicates that RUM collects data about unhandled JavaScript errors raised by your application.
  • performance indicates that RUM collects performance data about how your application and its resources are loaded and rendered. This includes Core Web Vitals.
  • http indicates that RUM collects data about HTTP errors thrown by your application.

appMonitorConfiguration_allowCookies :: Lens' AppMonitorConfiguration (Maybe Bool) Source #

If you set this to true, the RUM web client sets two cookies, a session cookie and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.

appMonitorConfiguration_enableXRay :: Lens' AppMonitorConfiguration (Maybe Bool) Source #

If you set this to true, RUM enables X-Ray tracing for the user sessions that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the X-Ray console and the CloudWatch ServiceLens console. For more information, see What is X-Ray?

appMonitorConfiguration_excludedPages :: Lens' AppMonitorConfiguration (Maybe [Text]) Source #

A list of URLs in your website or application to exclude from RUM data collection.

You can't include both ExcludedPages and IncludedPages in the same operation.

appMonitorConfiguration_favoritePages :: Lens' AppMonitorConfiguration (Maybe [Text]) Source #

A list of pages in your application that are to be displayed with a "favorite" icon in the CloudWatch RUM console.

appMonitorConfiguration_guestRoleArn :: Lens' AppMonitorConfiguration (Maybe Text) Source #

The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.

appMonitorConfiguration_identityPoolId :: Lens' AppMonitorConfiguration (Maybe Text) Source #

The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.

appMonitorConfiguration_includedPages :: Lens' AppMonitorConfiguration (Maybe [Text]) Source #

If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.

You can't include both ExcludedPages and IncludedPages in the same operation.

appMonitorConfiguration_sessionSampleRate :: Lens' AppMonitorConfiguration (Maybe Double) Source #

Specifies the portion of user sessions to use for RUM data collection. Choosing a higher portion gives you more data but also incurs more costs.

The range for this value is 0 to 1 inclusive. Setting this to 1 means that 100% of user sessions are sampled, and setting it to 0.1 means that 10% of user sessions are sampled.

If you omit this parameter, the default of 0.1 is used, and 10% of sessions will be sampled.

appMonitorConfiguration_telemetries :: Lens' AppMonitorConfiguration (Maybe [Telemetry]) Source #

An array that lists the types of telemetry data that this app monitor is to collect.

  • errors indicates that RUM collects data about unhandled JavaScript errors raised by your application.
  • performance indicates that RUM collects performance data about how your application and its resources are loaded and rendered. This includes Core Web Vitals.
  • http indicates that RUM collects data about HTTP errors thrown by your application.

AppMonitorDetails

data AppMonitorDetails Source #

A structure that contains information about the RUM app monitor.

See: newAppMonitorDetails smart constructor.

Constructors

AppMonitorDetails' 

Fields

Instances

Instances details
ToJSON AppMonitorDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorDetails

Generic AppMonitorDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorDetails

Associated Types

type Rep AppMonitorDetails :: Type -> Type #

Read AppMonitorDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorDetails

Show AppMonitorDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorDetails

NFData AppMonitorDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorDetails

Methods

rnf :: AppMonitorDetails -> () #

Eq AppMonitorDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorDetails

Hashable AppMonitorDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorDetails

type Rep AppMonitorDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorDetails

type Rep AppMonitorDetails = D1 ('MetaData "AppMonitorDetails" "Amazonka.Rum.Types.AppMonitorDetails" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "AppMonitorDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAppMonitorDetails :: AppMonitorDetails Source #

Create a value of AppMonitorDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:id:AppMonitorDetails', appMonitorDetails_id - The unique ID of the app monitor.

$sel:name:AppMonitorDetails', appMonitorDetails_name - The name of the app monitor.

$sel:version:AppMonitorDetails', appMonitorDetails_version - The version of the app monitor.

appMonitorDetails_id :: Lens' AppMonitorDetails (Maybe Text) Source #

The unique ID of the app monitor.

appMonitorDetails_version :: Lens' AppMonitorDetails (Maybe Text) Source #

The version of the app monitor.

AppMonitorSummary

data AppMonitorSummary Source #

A structure that includes some data about app monitors and their settings.

See: newAppMonitorSummary smart constructor.

Constructors

AppMonitorSummary' 

Fields

Instances

Instances details
FromJSON AppMonitorSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorSummary

Generic AppMonitorSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorSummary

Associated Types

type Rep AppMonitorSummary :: Type -> Type #

Read AppMonitorSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorSummary

Show AppMonitorSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorSummary

NFData AppMonitorSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorSummary

Methods

rnf :: AppMonitorSummary -> () #

Eq AppMonitorSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorSummary

Hashable AppMonitorSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorSummary

type Rep AppMonitorSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.AppMonitorSummary

type Rep AppMonitorSummary = D1 ('MetaData "AppMonitorSummary" "Amazonka.Rum.Types.AppMonitorSummary" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "AppMonitorSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "created") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateEnum))))))

newAppMonitorSummary :: AppMonitorSummary Source #

Create a value of AppMonitorSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:created:AppMonitorSummary', appMonitorSummary_created - The date and time that the app monitor was created.

$sel:id:AppMonitorSummary', appMonitorSummary_id - The unique ID of this app monitor.

$sel:lastModified:AppMonitorSummary', appMonitorSummary_lastModified - The date and time of the most recent changes to this app monitor's configuration.

$sel:name:AppMonitorSummary', appMonitorSummary_name - The name of this app monitor.

$sel:state:AppMonitorSummary', appMonitorSummary_state - The current state of this app monitor.

appMonitorSummary_created :: Lens' AppMonitorSummary (Maybe Text) Source #

The date and time that the app monitor was created.

appMonitorSummary_id :: Lens' AppMonitorSummary (Maybe Text) Source #

The unique ID of this app monitor.

appMonitorSummary_lastModified :: Lens' AppMonitorSummary (Maybe Text) Source #

The date and time of the most recent changes to this app monitor's configuration.

appMonitorSummary_name :: Lens' AppMonitorSummary (Maybe Text) Source #

The name of this app monitor.

appMonitorSummary_state :: Lens' AppMonitorSummary (Maybe StateEnum) Source #

The current state of this app monitor.

BatchCreateRumMetricDefinitionsError

data BatchCreateRumMetricDefinitionsError Source #

A structure that defines one error caused by a BatchCreateRumMetricsDefinitions operation.

See: newBatchCreateRumMetricDefinitionsError smart constructor.

Constructors

BatchCreateRumMetricDefinitionsError' 

Fields

Instances

Instances details
FromJSON BatchCreateRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchCreateRumMetricDefinitionsError

Generic BatchCreateRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchCreateRumMetricDefinitionsError

Read BatchCreateRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchCreateRumMetricDefinitionsError

Show BatchCreateRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchCreateRumMetricDefinitionsError

NFData BatchCreateRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchCreateRumMetricDefinitionsError

Eq BatchCreateRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchCreateRumMetricDefinitionsError

Hashable BatchCreateRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchCreateRumMetricDefinitionsError

type Rep BatchCreateRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchCreateRumMetricDefinitionsError

type Rep BatchCreateRumMetricDefinitionsError = D1 ('MetaData "BatchCreateRumMetricDefinitionsError" "Amazonka.Rum.Types.BatchCreateRumMetricDefinitionsError" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "BatchCreateRumMetricDefinitionsError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricDefinitionRequest))))

BatchDeleteRumMetricDefinitionsError

data BatchDeleteRumMetricDefinitionsError Source #

A structure that defines one error caused by a BatchCreateRumMetricsDefinitions operation.

See: newBatchDeleteRumMetricDefinitionsError smart constructor.

Constructors

BatchDeleteRumMetricDefinitionsError' 

Fields

Instances

Instances details
FromJSON BatchDeleteRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchDeleteRumMetricDefinitionsError

Generic BatchDeleteRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchDeleteRumMetricDefinitionsError

Read BatchDeleteRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchDeleteRumMetricDefinitionsError

Show BatchDeleteRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchDeleteRumMetricDefinitionsError

NFData BatchDeleteRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchDeleteRumMetricDefinitionsError

Eq BatchDeleteRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchDeleteRumMetricDefinitionsError

Hashable BatchDeleteRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchDeleteRumMetricDefinitionsError

type Rep BatchDeleteRumMetricDefinitionsError Source # 
Instance details

Defined in Amazonka.Rum.Types.BatchDeleteRumMetricDefinitionsError

type Rep BatchDeleteRumMetricDefinitionsError = D1 ('MetaData "BatchDeleteRumMetricDefinitionsError" "Amazonka.Rum.Types.BatchDeleteRumMetricDefinitionsError" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "BatchDeleteRumMetricDefinitionsError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

CustomEvents

data CustomEvents Source #

A structure that contains information about custom events for this app monitor.

See: newCustomEvents smart constructor.

Constructors

CustomEvents' 

Fields

  • status :: Maybe CustomEventsStatus

    Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED.

Instances

Instances details
FromJSON CustomEvents Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEvents

ToJSON CustomEvents Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEvents

Generic CustomEvents Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEvents

Associated Types

type Rep CustomEvents :: Type -> Type #

Read CustomEvents Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEvents

Show CustomEvents Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEvents

NFData CustomEvents Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEvents

Methods

rnf :: CustomEvents -> () #

Eq CustomEvents Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEvents

Hashable CustomEvents Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEvents

type Rep CustomEvents Source # 
Instance details

Defined in Amazonka.Rum.Types.CustomEvents

type Rep CustomEvents = D1 ('MetaData "CustomEvents" "Amazonka.Rum.Types.CustomEvents" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "CustomEvents'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomEventsStatus))))

newCustomEvents :: CustomEvents Source #

Create a value of CustomEvents with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:CustomEvents', customEvents_status - Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED.

customEvents_status :: Lens' CustomEvents (Maybe CustomEventsStatus) Source #

Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED.

CwLog

data CwLog Source #

A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.

See: newCwLog smart constructor.

Constructors

CwLog' 

Fields

  • cwLogEnabled :: Maybe Bool

    Indicated whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs.

  • cwLogGroup :: Maybe Text

    The name of the log group where the copies are stored.

Instances

Instances details
FromJSON CwLog Source # 
Instance details

Defined in Amazonka.Rum.Types.CwLog

Generic CwLog Source # 
Instance details

Defined in Amazonka.Rum.Types.CwLog

Associated Types

type Rep CwLog :: Type -> Type #

Methods

from :: CwLog -> Rep CwLog x #

to :: Rep CwLog x -> CwLog #

Read CwLog Source # 
Instance details

Defined in Amazonka.Rum.Types.CwLog

Show CwLog Source # 
Instance details

Defined in Amazonka.Rum.Types.CwLog

Methods

showsPrec :: Int -> CwLog -> ShowS #

show :: CwLog -> String #

showList :: [CwLog] -> ShowS #

NFData CwLog Source # 
Instance details

Defined in Amazonka.Rum.Types.CwLog

Methods

rnf :: CwLog -> () #

Eq CwLog Source # 
Instance details

Defined in Amazonka.Rum.Types.CwLog

Methods

(==) :: CwLog -> CwLog -> Bool #

(/=) :: CwLog -> CwLog -> Bool #

Hashable CwLog Source # 
Instance details

Defined in Amazonka.Rum.Types.CwLog

Methods

hashWithSalt :: Int -> CwLog -> Int #

hash :: CwLog -> Int #

type Rep CwLog Source # 
Instance details

Defined in Amazonka.Rum.Types.CwLog

type Rep CwLog = D1 ('MetaData "CwLog" "Amazonka.Rum.Types.CwLog" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "CwLog'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cwLogEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cwLogGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCwLog :: CwLog Source #

Create a value of CwLog with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cwLogEnabled:CwLog', cwLog_cwLogEnabled - Indicated whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs.

$sel:cwLogGroup:CwLog', cwLog_cwLogGroup - The name of the log group where the copies are stored.

cwLog_cwLogEnabled :: Lens' CwLog (Maybe Bool) Source #

Indicated whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs.

cwLog_cwLogGroup :: Lens' CwLog (Maybe Text) Source #

The name of the log group where the copies are stored.

DataStorage

data DataStorage Source #

A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.

See: newDataStorage smart constructor.

Constructors

DataStorage' 

Fields

  • cwLog :: Maybe CwLog

    A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.

Instances

Instances details
FromJSON DataStorage Source # 
Instance details

Defined in Amazonka.Rum.Types.DataStorage

Generic DataStorage Source # 
Instance details

Defined in Amazonka.Rum.Types.DataStorage

Associated Types

type Rep DataStorage :: Type -> Type #

Read DataStorage Source # 
Instance details

Defined in Amazonka.Rum.Types.DataStorage

Show DataStorage Source # 
Instance details

Defined in Amazonka.Rum.Types.DataStorage

NFData DataStorage Source # 
Instance details

Defined in Amazonka.Rum.Types.DataStorage

Methods

rnf :: DataStorage -> () #

Eq DataStorage Source # 
Instance details

Defined in Amazonka.Rum.Types.DataStorage

Hashable DataStorage Source # 
Instance details

Defined in Amazonka.Rum.Types.DataStorage

type Rep DataStorage Source # 
Instance details

Defined in Amazonka.Rum.Types.DataStorage

type Rep DataStorage = D1 ('MetaData "DataStorage" "Amazonka.Rum.Types.DataStorage" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "DataStorage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cwLog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CwLog))))

newDataStorage :: DataStorage Source #

Create a value of DataStorage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cwLog:DataStorage', dataStorage_cwLog - A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.

dataStorage_cwLog :: Lens' DataStorage (Maybe CwLog) Source #

A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.

MetricDefinition

data MetricDefinition Source #

A structure that displays the definition of one extended metric that RUM sends to CloudWatch or CloudWatch Evidently. For more information, see Additional metrics that you can send to CloudWatch and CloudWatch Evidently.

See: newMetricDefinition smart constructor.

Constructors

MetricDefinition' 

Fields

  • dimensionKeys :: Maybe (HashMap Text Text)

    This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch The value of this field is used only if the metric destination is CloudWatch. If the metric destination is Evidently, the value of DimensionKeys is ignored.

  • eventPattern :: Maybe Text

    The pattern that defines the metric. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.

    If the metrics destination is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.

  • unitLabel :: Maybe Text

    Use this field only if you are sending this metric to CloudWatch. It defines the CloudWatch metric unit that this metric is measured in.

  • valueKey :: Maybe Text

    The field within the event object that the metric value is sourced from.

  • metricDefinitionId :: Text

    The ID of this metric definition.

  • name :: Text

    The name of the metric that is defined in this structure.

Instances

Instances details
FromJSON MetricDefinition Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinition

Generic MetricDefinition Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinition

Associated Types

type Rep MetricDefinition :: Type -> Type #

Read MetricDefinition Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinition

Show MetricDefinition Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinition

NFData MetricDefinition Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinition

Methods

rnf :: MetricDefinition -> () #

Eq MetricDefinition Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinition

Hashable MetricDefinition Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinition

type Rep MetricDefinition Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinition

type Rep MetricDefinition = D1 ('MetaData "MetricDefinition" "Amazonka.Rum.Types.MetricDefinition" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "MetricDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dimensionKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "eventPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "unitLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "valueKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "metricDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newMetricDefinition Source #

Create a value of MetricDefinition with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensionKeys:MetricDefinition', metricDefinition_dimensionKeys - This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch The value of this field is used only if the metric destination is CloudWatch. If the metric destination is Evidently, the value of DimensionKeys is ignored.

$sel:eventPattern:MetricDefinition', metricDefinition_eventPattern - The pattern that defines the metric. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.

If the metrics destination is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.

$sel:unitLabel:MetricDefinition', metricDefinition_unitLabel - Use this field only if you are sending this metric to CloudWatch. It defines the CloudWatch metric unit that this metric is measured in.

$sel:valueKey:MetricDefinition', metricDefinition_valueKey - The field within the event object that the metric value is sourced from.

$sel:metricDefinitionId:MetricDefinition', metricDefinition_metricDefinitionId - The ID of this metric definition.

$sel:name:MetricDefinition', metricDefinition_name - The name of the metric that is defined in this structure.

metricDefinition_dimensionKeys :: Lens' MetricDefinition (Maybe (HashMap Text Text)) Source #

This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch The value of this field is used only if the metric destination is CloudWatch. If the metric destination is Evidently, the value of DimensionKeys is ignored.

metricDefinition_eventPattern :: Lens' MetricDefinition (Maybe Text) Source #

The pattern that defines the metric. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.

If the metrics destination is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.

metricDefinition_unitLabel :: Lens' MetricDefinition (Maybe Text) Source #

Use this field only if you are sending this metric to CloudWatch. It defines the CloudWatch metric unit that this metric is measured in.

metricDefinition_valueKey :: Lens' MetricDefinition (Maybe Text) Source #

The field within the event object that the metric value is sourced from.

metricDefinition_name :: Lens' MetricDefinition Text Source #

The name of the metric that is defined in this structure.

MetricDefinitionRequest

data MetricDefinitionRequest Source #

Use this structure to define one extended metric that RUM will send to CloudWatch or CloudWatch Evidently. For more information, see Additional metrics that you can send to CloudWatch and CloudWatch Evidently.

Only certain combinations of values for Name, ValueKey, and EventPattern are valid. In addition to what is displayed in the list below, the EventPattern can also include information used by the DimensionKeys field.

  • If Name is PerformanceNavigationDuration, then ValueKeymust be event_details.duration and the EventPattern must include {"event_type":["com.amazon.rum.performance_navigation_event"]}
  • If Name is PerformanceResourceDuration, then ValueKeymust be event_details.duration and the EventPattern must include {"event_type":["com.amazon.rum.performance_resource_event"]}
  • If Name is NavigationSatisfiedTransaction, then ValueKeymust be null and the EventPattern must include { "event_type": ["com.amazon.rum.performance_navigation_event"], "event_details": { "duration": [{ "numeric": [">",2000] }] } }
  • If Name is NavigationToleratedTransaction, then ValueKeymust be null and the EventPattern must include { "event_type": ["com.amazon.rum.performance_navigation_event"], "event_details": { "duration": [{ "numeric": [">=",2000,"<"8000] }] } }
  • If Name is NavigationFrustratedTransaction, then ValueKeymust be null and the EventPattern must include { "event_type": ["com.amazon.rum.performance_navigation_event"], "event_details": { "duration": [{ "numeric": [">=",8000] }] } }
  • If Name is WebVitalsCumulativeLayoutShift, then ValueKeymust be event_details.value and the EventPattern must include {"event_type":["com.amazon.rum.cumulative_layout_shift_event"]}
  • If Name is WebVitalsFirstInputDelay, then ValueKeymust be event_details.value and the EventPattern must include {"event_type":["com.amazon.rum.first_input_delay_event"]}
  • If Name is WebVitalsLargestContentfulPaint, then ValueKeymust be event_details.value and the EventPattern must include {"event_type":["com.amazon.rum.largest_contentful_paint_event"]}
  • If Name is JsErrorCount, then ValueKeymust be null and the EventPattern must include {"event_type":["com.amazon.rum.js_error_event"]}
  • If Name is HttpErrorCount, then ValueKeymust be null and the EventPattern must include {"event_type":["com.amazon.rum.http_event"]}
  • If Name is SessionCount, then ValueKeymust be null and the EventPattern must include {"event_type":["com.amazon.rum.session_start_event"]}

See: newMetricDefinitionRequest smart constructor.

Constructors

MetricDefinitionRequest' 

Fields

  • dimensionKeys :: Maybe (HashMap Text Text)

    Use this field only if you are sending the metric to CloudWatch.

    This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. Valid values for the entries in this field are the following:

    • "metadata.pageId": "PageId"
    • "metadata.browserName": "BrowserName"
    • "metadata.deviceType": "DeviceType"
    • "metadata.osName": "OSName"
    • "metadata.countryCode": "CountryCode"
    • "event_details.fileType": "FileType"

    All dimensions listed in this field must also be included in EventPattern.

  • eventPattern :: Maybe Text

    The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.

    When you define extended metrics, the metric definition is not valid if EventPattern is omitted.

    Example event patterns:

    • '{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }'
    • '{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }'
    • '{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }'

    If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.

  • unitLabel :: Maybe Text

    The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit.

  • valueKey :: Maybe Text

    The field within the event object that the metric value is sourced from.

    If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.

    If this metric is sent to CloudWatch Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.

  • name :: Text

    The name for the metric that is defined in this structure. Valid values are the following:

    • PerformanceNavigationDuration
    • PerformanceResourceDuration
    • NavigationSatisfiedTransaction
    • NavigationToleratedTransaction
    • NavigationFrustratedTransaction
    • WebVitalsCumulativeLayoutShift
    • WebVitalsFirstInputDelay
    • WebVitalsLargestContentfulPaint
    • JsErrorCount
    • HttpErrorCount
    • SessionCount

Instances

Instances details
FromJSON MetricDefinitionRequest Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinitionRequest

ToJSON MetricDefinitionRequest Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinitionRequest

Generic MetricDefinitionRequest Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinitionRequest

Associated Types

type Rep MetricDefinitionRequest :: Type -> Type #

Read MetricDefinitionRequest Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinitionRequest

Show MetricDefinitionRequest Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinitionRequest

NFData MetricDefinitionRequest Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinitionRequest

Methods

rnf :: MetricDefinitionRequest -> () #

Eq MetricDefinitionRequest Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinitionRequest

Hashable MetricDefinitionRequest Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinitionRequest

type Rep MetricDefinitionRequest Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDefinitionRequest

type Rep MetricDefinitionRequest = D1 ('MetaData "MetricDefinitionRequest" "Amazonka.Rum.Types.MetricDefinitionRequest" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "MetricDefinitionRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dimensionKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "eventPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "unitLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "valueKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newMetricDefinitionRequest Source #

Create a value of MetricDefinitionRequest with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensionKeys:MetricDefinitionRequest', metricDefinitionRequest_dimensionKeys - Use this field only if you are sending the metric to CloudWatch.

This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. Valid values for the entries in this field are the following:

  • "metadata.pageId": "PageId"
  • "metadata.browserName": "BrowserName"
  • "metadata.deviceType": "DeviceType"
  • "metadata.osName": "OSName"
  • "metadata.countryCode": "CountryCode"
  • "event_details.fileType": "FileType"

All dimensions listed in this field must also be included in EventPattern.

$sel:eventPattern:MetricDefinitionRequest', metricDefinitionRequest_eventPattern - The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.

When you define extended metrics, the metric definition is not valid if EventPattern is omitted.

Example event patterns:

  • '{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }'
  • '{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }'
  • '{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }'

If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.

$sel:unitLabel:MetricDefinitionRequest', metricDefinitionRequest_unitLabel - The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit.

$sel:valueKey:MetricDefinitionRequest', metricDefinitionRequest_valueKey - The field within the event object that the metric value is sourced from.

If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.

If this metric is sent to CloudWatch Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.

$sel:name:MetricDefinitionRequest', metricDefinitionRequest_name - The name for the metric that is defined in this structure. Valid values are the following:

  • PerformanceNavigationDuration
  • PerformanceResourceDuration
  • NavigationSatisfiedTransaction
  • NavigationToleratedTransaction
  • NavigationFrustratedTransaction
  • WebVitalsCumulativeLayoutShift
  • WebVitalsFirstInputDelay
  • WebVitalsLargestContentfulPaint
  • JsErrorCount
  • HttpErrorCount
  • SessionCount

metricDefinitionRequest_dimensionKeys :: Lens' MetricDefinitionRequest (Maybe (HashMap Text Text)) Source #

Use this field only if you are sending the metric to CloudWatch.

This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. Valid values for the entries in this field are the following:

  • "metadata.pageId": "PageId"
  • "metadata.browserName": "BrowserName"
  • "metadata.deviceType": "DeviceType"
  • "metadata.osName": "OSName"
  • "metadata.countryCode": "CountryCode"
  • "event_details.fileType": "FileType"

All dimensions listed in this field must also be included in EventPattern.

metricDefinitionRequest_eventPattern :: Lens' MetricDefinitionRequest (Maybe Text) Source #

The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.

When you define extended metrics, the metric definition is not valid if EventPattern is omitted.

Example event patterns:

  • '{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }'
  • '{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }'
  • '{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }'

If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.

metricDefinitionRequest_unitLabel :: Lens' MetricDefinitionRequest (Maybe Text) Source #

The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit.

metricDefinitionRequest_valueKey :: Lens' MetricDefinitionRequest (Maybe Text) Source #

The field within the event object that the metric value is sourced from.

If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.

If this metric is sent to CloudWatch Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.

metricDefinitionRequest_name :: Lens' MetricDefinitionRequest Text Source #

The name for the metric that is defined in this structure. Valid values are the following:

  • PerformanceNavigationDuration
  • PerformanceResourceDuration
  • NavigationSatisfiedTransaction
  • NavigationToleratedTransaction
  • NavigationFrustratedTransaction
  • WebVitalsCumulativeLayoutShift
  • WebVitalsFirstInputDelay
  • WebVitalsLargestContentfulPaint
  • JsErrorCount
  • HttpErrorCount
  • SessionCount

MetricDestinationSummary

data MetricDestinationSummary Source #

A structure that displays information about one destination that CloudWatch RUM sends extended metrics to.

See: newMetricDestinationSummary smart constructor.

Constructors

MetricDestinationSummary' 

Fields

  • destination :: Maybe MetricDestination

    Specifies whether the destination is CloudWatch or Evidently.

  • destinationArn :: Maybe Text

    If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.

  • iamRoleArn :: Maybe Text

    This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.

Instances

Instances details
FromJSON MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Generic MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Associated Types

type Rep MetricDestinationSummary :: Type -> Type #

Read MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Show MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

NFData MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Eq MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Hashable MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

type Rep MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

type Rep MetricDestinationSummary = D1 ('MetaData "MetricDestinationSummary" "Amazonka.Rum.Types.MetricDestinationSummary" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "MetricDestinationSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricDestination)) :*: (S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newMetricDestinationSummary :: MetricDestinationSummary Source #

Create a value of MetricDestinationSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:destination:MetricDestinationSummary', metricDestinationSummary_destination - Specifies whether the destination is CloudWatch or Evidently.

$sel:destinationArn:MetricDestinationSummary', metricDestinationSummary_destinationArn - If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.

$sel:iamRoleArn:MetricDestinationSummary', metricDestinationSummary_iamRoleArn - This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.

metricDestinationSummary_destination :: Lens' MetricDestinationSummary (Maybe MetricDestination) Source #

Specifies whether the destination is CloudWatch or Evidently.

metricDestinationSummary_destinationArn :: Lens' MetricDestinationSummary (Maybe Text) Source #

If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.

metricDestinationSummary_iamRoleArn :: Lens' MetricDestinationSummary (Maybe Text) Source #

This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.

QueryFilter

data QueryFilter Source #

A structure that defines a key and values that you can use to filter the results. The only performance events that are returned are those that have values matching the ones that you specify in one of your QueryFilter structures.

For example, you could specify Browser as the Name and specify Chrome,Firefox as the Values to return events generated only from those browsers.

Specifying Invert as the Name works as a "not equal to" filter. For example, specify Invert as the Name and specify Chrome as the value to return all events except events from user sessions with the Chrome browser.

See: newQueryFilter smart constructor.

Constructors

QueryFilter' 

Fields

  • name :: Maybe Text

    The name of a key to search for. The filter returns only the events that match the Name and Values that you specify.

    Valid values for Name are Browser | Device | Country | Page | OS | EventType | Invert

  • values :: Maybe [Text]

    The values of the Name that are to be be included in the returned results.

Instances

Instances details
ToJSON QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Generic QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Associated Types

type Rep QueryFilter :: Type -> Type #

Read QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Show QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

NFData QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Methods

rnf :: QueryFilter -> () #

Eq QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Hashable QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

type Rep QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

type Rep QueryFilter = D1 ('MetaData "QueryFilter" "Amazonka.Rum.Types.QueryFilter" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "QueryFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newQueryFilter :: QueryFilter Source #

Create a value of QueryFilter with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:QueryFilter', queryFilter_name - The name of a key to search for. The filter returns only the events that match the Name and Values that you specify.

Valid values for Name are Browser | Device | Country | Page | OS | EventType | Invert

$sel:values:QueryFilter', queryFilter_values - The values of the Name that are to be be included in the returned results.

queryFilter_name :: Lens' QueryFilter (Maybe Text) Source #

The name of a key to search for. The filter returns only the events that match the Name and Values that you specify.

Valid values for Name are Browser | Device | Country | Page | OS | EventType | Invert

queryFilter_values :: Lens' QueryFilter (Maybe [Text]) Source #

The values of the Name that are to be be included in the returned results.

RumEvent

data RumEvent Source #

A structure that contains the information for one performance event that RUM collects from a user session with your application.

See: newRumEvent smart constructor.

Constructors

RumEvent' 

Fields

  • metadata :: Maybe Text

    Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.

  • details :: Text

    A string containing details about the event.

  • id :: Text

    A unique ID for this event.

  • timestamp :: POSIX

    The exact time that this event occurred.

  • type' :: Text

    The JSON schema that denotes the type of event this is, such as a page load or a new session.

Instances

Instances details
ToJSON RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Generic RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Associated Types

type Rep RumEvent :: Type -> Type #

Methods

from :: RumEvent -> Rep RumEvent x #

to :: Rep RumEvent x -> RumEvent #

Read RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Show RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

NFData RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Methods

rnf :: RumEvent -> () #

Eq RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Hashable RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Methods

hashWithSalt :: Int -> RumEvent -> Int #

hash :: RumEvent -> Int #

type Rep RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

newRumEvent Source #

Create a value of RumEvent with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:metadata:RumEvent', rumEvent_metadata - Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.

$sel:details:RumEvent', rumEvent_details - A string containing details about the event.

$sel:id:RumEvent', rumEvent_id - A unique ID for this event.

$sel:timestamp:RumEvent', rumEvent_timestamp - The exact time that this event occurred.

$sel:type':RumEvent', rumEvent_type - The JSON schema that denotes the type of event this is, such as a page load or a new session.

rumEvent_metadata :: Lens' RumEvent (Maybe Text) Source #

Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.

rumEvent_details :: Lens' RumEvent Text Source #

A string containing details about the event.

rumEvent_id :: Lens' RumEvent Text Source #

A unique ID for this event.

rumEvent_timestamp :: Lens' RumEvent UTCTime Source #

The exact time that this event occurred.

rumEvent_type :: Lens' RumEvent Text Source #

The JSON schema that denotes the type of event this is, such as a page load or a new session.

TimeRange

data TimeRange Source #

A structure that defines the time range that you want to retrieve results from.

See: newTimeRange smart constructor.

Constructors

TimeRange' 

Fields

  • before :: Maybe Integer

    The end of the time range to retrieve performance events from. If you omit this, the time range extends to the time that this operation is performed.

  • after :: Integer

    The beginning of the time range to retrieve performance events from.

Instances

Instances details
ToJSON TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Generic TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Associated Types

type Rep TimeRange :: Type -> Type #

Read TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Show TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

NFData TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Methods

rnf :: TimeRange -> () #

Eq TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Hashable TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

type Rep TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

type Rep TimeRange = D1 ('MetaData "TimeRange" "Amazonka.Rum.Types.TimeRange" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "TimeRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "before") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "after") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))

newTimeRange Source #

Create a value of TimeRange with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:before:TimeRange', timeRange_before - The end of the time range to retrieve performance events from. If you omit this, the time range extends to the time that this operation is performed.

$sel:after:TimeRange', timeRange_after - The beginning of the time range to retrieve performance events from.

timeRange_before :: Lens' TimeRange (Maybe Integer) Source #

The end of the time range to retrieve performance events from. If you omit this, the time range extends to the time that this operation is performed.

timeRange_after :: Lens' TimeRange Integer Source #

The beginning of the time range to retrieve performance events from.

UserDetails

data UserDetails Source #

A structure that contains information about the user session that this batch of events was collected from.

See: newUserDetails smart constructor.

Constructors

UserDetails' 

Fields

  • sessionId :: Maybe Text

    The session ID that the performance events are from.

  • userId :: Maybe Text

    The ID of the user for this user session. This ID is generated by RUM and does not include any personally identifiable information about the user.

Instances

Instances details
ToJSON UserDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.UserDetails

Generic UserDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.UserDetails

Associated Types

type Rep UserDetails :: Type -> Type #

Read UserDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.UserDetails

Show UserDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.UserDetails

NFData UserDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.UserDetails

Methods

rnf :: UserDetails -> () #

Eq UserDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.UserDetails

Hashable UserDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.UserDetails

type Rep UserDetails Source # 
Instance details

Defined in Amazonka.Rum.Types.UserDetails

type Rep UserDetails = D1 ('MetaData "UserDetails" "Amazonka.Rum.Types.UserDetails" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "UserDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newUserDetails :: UserDetails Source #

Create a value of UserDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sessionId:UserDetails', userDetails_sessionId - The session ID that the performance events are from.

$sel:userId:UserDetails', userDetails_userId - The ID of the user for this user session. This ID is generated by RUM and does not include any personally identifiable information about the user.

userDetails_sessionId :: Lens' UserDetails (Maybe Text) Source #

The session ID that the performance events are from.

userDetails_userId :: Lens' UserDetails (Maybe Text) Source #

The ID of the user for this user session. This ID is generated by RUM and does not include any personally identifiable information about the user.