Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Canary = Canary' {
- artifactConfig :: Maybe ArtifactConfigOutput
- artifactS3Location :: Maybe Text
- code :: Maybe CanaryCodeOutput
- engineArn :: Maybe Text
- executionRoleArn :: Maybe Text
- failureRetentionPeriodInDays :: Maybe Natural
- id :: Maybe Text
- name :: Maybe Text
- runConfig :: Maybe CanaryRunConfigOutput
- runtimeVersion :: Maybe Text
- schedule :: Maybe CanaryScheduleOutput
- status :: Maybe CanaryStatus
- successRetentionPeriodInDays :: Maybe Natural
- tags :: Maybe (HashMap Text Text)
- timeline :: Maybe CanaryTimeline
- visualReference :: Maybe VisualReferenceOutput
- vpcConfig :: Maybe VpcConfigOutput
- newCanary :: Canary
- canary_artifactConfig :: Lens' Canary (Maybe ArtifactConfigOutput)
- canary_artifactS3Location :: Lens' Canary (Maybe Text)
- canary_code :: Lens' Canary (Maybe CanaryCodeOutput)
- canary_engineArn :: Lens' Canary (Maybe Text)
- canary_executionRoleArn :: Lens' Canary (Maybe Text)
- canary_failureRetentionPeriodInDays :: Lens' Canary (Maybe Natural)
- canary_id :: Lens' Canary (Maybe Text)
- canary_name :: Lens' Canary (Maybe Text)
- canary_runConfig :: Lens' Canary (Maybe CanaryRunConfigOutput)
- canary_runtimeVersion :: Lens' Canary (Maybe Text)
- canary_schedule :: Lens' Canary (Maybe CanaryScheduleOutput)
- canary_status :: Lens' Canary (Maybe CanaryStatus)
- canary_successRetentionPeriodInDays :: Lens' Canary (Maybe Natural)
- canary_tags :: Lens' Canary (Maybe (HashMap Text Text))
- canary_timeline :: Lens' Canary (Maybe CanaryTimeline)
- canary_visualReference :: Lens' Canary (Maybe VisualReferenceOutput)
- canary_vpcConfig :: Lens' Canary (Maybe VpcConfigOutput)
Documentation
This structure contains all information about one canary in your account.
See: newCanary
smart constructor.
Canary' | |
|
Instances
Create a value of Canary
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:artifactConfig:Canary'
, canary_artifactConfig
- A structure that contains the configuration for canary artifacts,
including the encryption-at-rest settings for artifacts that the canary
uploads to Amazon S3.
$sel:artifactS3Location:Canary'
, canary_artifactS3Location
- The location in Amazon S3 where Synthetics stores artifacts from the
runs of this canary. Artifacts include the log file, screenshots, and
HAR files.
$sel:code:Canary'
, canary_code
- Undocumented member.
$sel:engineArn:Canary'
, canary_engineArn
- The ARN of the Lambda function that is used as your canary's engine.
For more information about Lambda ARN format, see
Resources and Conditions for Lambda Actions.
$sel:executionRoleArn:Canary'
, canary_executionRoleArn
- The ARN of the IAM role used to run the canary. This role must include
lambda.amazonaws.com
as a principal in the trust policy.
$sel:failureRetentionPeriodInDays:Canary'
, canary_failureRetentionPeriodInDays
- The number of days to retain data about failed runs of this canary.
$sel:id:Canary'
, canary_id
- The unique ID of this canary.
$sel:name:Canary'
, canary_name
- The name of the canary.
$sel:runConfig:Canary'
, canary_runConfig
- Undocumented member.
$sel:runtimeVersion:Canary'
, canary_runtimeVersion
- Specifies the runtime version to use for the canary. For more
information about runtime versions, see
Canary Runtime Versions.
$sel:schedule:Canary'
, canary_schedule
- A structure that contains information about how often the canary is to
run, and when these runs are to stop.
$sel:status:Canary'
, canary_status
- A structure that contains information about the canary's status.
$sel:successRetentionPeriodInDays:Canary'
, canary_successRetentionPeriodInDays
- The number of days to retain data about successful runs of this canary.
$sel:tags:Canary'
, canary_tags
- The list of key-value pairs that are associated with the canary.
$sel:timeline:Canary'
, canary_timeline
- A structure that contains information about when the canary was created,
modified, and most recently run.
$sel:visualReference:Canary'
, canary_visualReference
- If this canary performs visual monitoring by comparing screenshots, this
structure contains the ID of the canary run to use as the baseline for
screenshots, and the coordinates of any parts of the screen to ignore
during the visual monitoring comparison.
$sel:vpcConfig:Canary'
, canary_vpcConfig
- Undocumented member.
canary_artifactConfig :: Lens' Canary (Maybe ArtifactConfigOutput) Source #
A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
canary_artifactS3Location :: Lens' Canary (Maybe Text) Source #
The location in Amazon S3 where Synthetics stores artifacts from the runs of this canary. Artifacts include the log file, screenshots, and HAR files.
canary_code :: Lens' Canary (Maybe CanaryCodeOutput) Source #
Undocumented member.
canary_engineArn :: Lens' Canary (Maybe Text) Source #
The ARN of the Lambda function that is used as your canary's engine. For more information about Lambda ARN format, see Resources and Conditions for Lambda Actions.
canary_executionRoleArn :: Lens' Canary (Maybe Text) Source #
The ARN of the IAM role used to run the canary. This role must include
lambda.amazonaws.com
as a principal in the trust policy.
canary_failureRetentionPeriodInDays :: Lens' Canary (Maybe Natural) Source #
The number of days to retain data about failed runs of this canary.
canary_runConfig :: Lens' Canary (Maybe CanaryRunConfigOutput) Source #
Undocumented member.
canary_runtimeVersion :: Lens' Canary (Maybe Text) Source #
Specifies the runtime version to use for the canary. For more information about runtime versions, see Canary Runtime Versions.
canary_schedule :: Lens' Canary (Maybe CanaryScheduleOutput) Source #
A structure that contains information about how often the canary is to run, and when these runs are to stop.
canary_status :: Lens' Canary (Maybe CanaryStatus) Source #
A structure that contains information about the canary's status.
canary_successRetentionPeriodInDays :: Lens' Canary (Maybe Natural) Source #
The number of days to retain data about successful runs of this canary.
canary_tags :: Lens' Canary (Maybe (HashMap Text Text)) Source #
The list of key-value pairs that are associated with the canary.
canary_timeline :: Lens' Canary (Maybe CanaryTimeline) Source #
A structure that contains information about when the canary was created, modified, and most recently run.
canary_visualReference :: Lens' Canary (Maybe VisualReferenceOutput) Source #
If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
canary_vpcConfig :: Lens' Canary (Maybe VpcConfigOutput) Source #
Undocumented member.