amazonka-synthetics-2.0: Amazon Synthetics 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.Synthetics.Types.BaseScreenshot

Description

 
Synopsis

Documentation

data BaseScreenshot Source #

A structure representing a screenshot that is used as a baseline during visual monitoring comparisons made by the canary.

See: newBaseScreenshot smart constructor.

Constructors

BaseScreenshot' 

Fields

  • ignoreCoordinates :: Maybe [Text]

    Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more information, see Editing or deleting a canary

  • screenshotName :: Text

    The name of the screenshot. This is generated the first time the canary is run after the UpdateCanary operation that specified for this canary to perform visual monitoring.

Instances

Instances details
FromJSON BaseScreenshot Source # 
Instance details

Defined in Amazonka.Synthetics.Types.BaseScreenshot

ToJSON BaseScreenshot Source # 
Instance details

Defined in Amazonka.Synthetics.Types.BaseScreenshot

Generic BaseScreenshot Source # 
Instance details

Defined in Amazonka.Synthetics.Types.BaseScreenshot

Associated Types

type Rep BaseScreenshot :: Type -> Type #

Read BaseScreenshot Source # 
Instance details

Defined in Amazonka.Synthetics.Types.BaseScreenshot

Show BaseScreenshot Source # 
Instance details

Defined in Amazonka.Synthetics.Types.BaseScreenshot

NFData BaseScreenshot Source # 
Instance details

Defined in Amazonka.Synthetics.Types.BaseScreenshot

Methods

rnf :: BaseScreenshot -> () #

Eq BaseScreenshot Source # 
Instance details

Defined in Amazonka.Synthetics.Types.BaseScreenshot

Hashable BaseScreenshot Source # 
Instance details

Defined in Amazonka.Synthetics.Types.BaseScreenshot

type Rep BaseScreenshot Source # 
Instance details

Defined in Amazonka.Synthetics.Types.BaseScreenshot

type Rep BaseScreenshot = D1 ('MetaData "BaseScreenshot" "Amazonka.Synthetics.Types.BaseScreenshot" "amazonka-synthetics-2.0-3I8gICXDswl2F1HDbijRHZ" 'False) (C1 ('MetaCons "BaseScreenshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ignoreCoordinates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "screenshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newBaseScreenshot Source #

Create a value of BaseScreenshot 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:ignoreCoordinates:BaseScreenshot', baseScreenshot_ignoreCoordinates - Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more information, see Editing or deleting a canary

$sel:screenshotName:BaseScreenshot', baseScreenshot_screenshotName - The name of the screenshot. This is generated the first time the canary is run after the UpdateCanary operation that specified for this canary to perform visual monitoring.

baseScreenshot_ignoreCoordinates :: Lens' BaseScreenshot (Maybe [Text]) Source #

Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more information, see Editing or deleting a canary

baseScreenshot_screenshotName :: Lens' BaseScreenshot Text Source #

The name of the screenshot. This is generated the first time the canary is run after the UpdateCanary operation that specified for this canary to perform visual monitoring.