libZSservicesZSamazonka-syntheticsZSamazonka-synthetics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Synthetics.Types.VisualReferenceOutput

Description

 
Synopsis

Documentation

data VisualReferenceOutput Source #

If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run that is used as the baseline for screenshots, and the coordinates of any parts of those screenshots that are ignored during visual monitoring comparison.

Visual monitoring is supported only on canaries running the syn-puppeteer-node-3.2 runtime or later.

See: newVisualReferenceOutput smart constructor.

Constructors

VisualReferenceOutput' 

Fields

  • baseScreenshots :: Maybe [BaseScreenshot]

    An array of screenshots that are used as the baseline for comparisons during visual monitoring.

  • baseCanaryRunId :: Maybe Text

    The ID of the canary run that produced the screenshots that are used as the baseline for visual monitoring comparisons during future runs of this canary.

Instances

Instances details
Eq VisualReferenceOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.VisualReferenceOutput

Read VisualReferenceOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.VisualReferenceOutput

Show VisualReferenceOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.VisualReferenceOutput

Generic VisualReferenceOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.VisualReferenceOutput

Associated Types

type Rep VisualReferenceOutput :: Type -> Type #

NFData VisualReferenceOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.VisualReferenceOutput

Methods

rnf :: VisualReferenceOutput -> () #

Hashable VisualReferenceOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.VisualReferenceOutput

FromJSON VisualReferenceOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.VisualReferenceOutput

type Rep VisualReferenceOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.VisualReferenceOutput

type Rep VisualReferenceOutput = D1 ('MetaData "VisualReferenceOutput" "Amazonka.Synthetics.Types.VisualReferenceOutput" "libZSservicesZSamazonka-syntheticsZSamazonka-synthetics" 'False) (C1 ('MetaCons "VisualReferenceOutput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "baseScreenshots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BaseScreenshot])) :*: S1 ('MetaSel ('Just "baseCanaryRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newVisualReferenceOutput :: VisualReferenceOutput Source #

Create a value of VisualReferenceOutput 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:baseScreenshots:VisualReferenceOutput', visualReferenceOutput_baseScreenshots - An array of screenshots that are used as the baseline for comparisons during visual monitoring.

$sel:baseCanaryRunId:VisualReferenceOutput', visualReferenceOutput_baseCanaryRunId - The ID of the canary run that produced the screenshots that are used as the baseline for visual monitoring comparisons during future runs of this canary.

visualReferenceOutput_baseScreenshots :: Lens' VisualReferenceOutput (Maybe [BaseScreenshot]) Source #

An array of screenshots that are used as the baseline for comparisons during visual monitoring.

visualReferenceOutput_baseCanaryRunId :: Lens' VisualReferenceOutput (Maybe Text) Source #

The ID of the canary run that produced the screenshots that are used as the baseline for visual monitoring comparisons during future runs of this canary.