Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Canary = Canary' {
- status :: Maybe CanaryStatus
- successRetentionPeriodInDays :: Maybe Natural
- schedule :: Maybe CanaryScheduleOutput
- artifactS3Location :: Maybe Text
- runConfig :: Maybe CanaryRunConfigOutput
- executionRoleArn :: Maybe Text
- runtimeVersion :: Maybe Text
- failureRetentionPeriodInDays :: Maybe Natural
- artifactConfig :: Maybe ArtifactConfigOutput
- vpcConfig :: Maybe VpcConfigOutput
- visualReference :: Maybe VisualReferenceOutput
- name :: Maybe Text
- id :: Maybe Text
- code :: Maybe CanaryCodeOutput
- timeline :: Maybe CanaryTimeline
- engineArn :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- newCanary :: Canary
- canary_status :: Lens' Canary (Maybe CanaryStatus)
- canary_successRetentionPeriodInDays :: Lens' Canary (Maybe Natural)
- canary_schedule :: Lens' Canary (Maybe CanaryScheduleOutput)
- canary_artifactS3Location :: Lens' Canary (Maybe Text)
- canary_runConfig :: Lens' Canary (Maybe CanaryRunConfigOutput)
- canary_executionRoleArn :: Lens' Canary (Maybe Text)
- canary_runtimeVersion :: Lens' Canary (Maybe Text)
- canary_failureRetentionPeriodInDays :: Lens' Canary (Maybe Natural)
- canary_artifactConfig :: Lens' Canary (Maybe ArtifactConfigOutput)
- canary_vpcConfig :: Lens' Canary (Maybe VpcConfigOutput)
- canary_visualReference :: Lens' Canary (Maybe VisualReferenceOutput)
- canary_name :: Lens' Canary (Maybe Text)
- canary_id :: Lens' Canary (Maybe Text)
- canary_code :: Lens' Canary (Maybe CanaryCodeOutput)
- canary_timeline :: Lens' Canary (Maybe CanaryTimeline)
- canary_engineArn :: Lens' Canary (Maybe Text)
- canary_tags :: Lens' Canary (Maybe (HashMap Text Text))
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: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: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: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:runConfig:Canary'
, canary_runConfig
- Undocumented member.
$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:runtimeVersion:Canary'
, canary_runtimeVersion
- Specifies the runtime version to use for the canary. For more
information about runtime versions, see
Canary Runtime Versions.
$sel:failureRetentionPeriodInDays:Canary'
, canary_failureRetentionPeriodInDays
- The number of days to retain data about failed runs of this canary.
$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:vpcConfig:Canary'
, canary_vpcConfig
- Undocumented member.
$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:name:Canary'
, canary_name
- The name of the canary.
$sel:id:Canary'
, canary_id
- The unique ID of this canary.
$sel:code:Canary'
, canary_code
- Undocumented member.
$sel:timeline:Canary'
, canary_timeline
- A structure that contains information about when the canary was created,
modified, and most recently run.
$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:tags:Canary'
, canary_tags
- The list of key-value pairs that are associated with the canary.
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_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_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_runConfig :: Lens' Canary (Maybe CanaryRunConfigOutput) Source #
Undocumented member.
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_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_failureRetentionPeriodInDays :: Lens' Canary (Maybe Natural) Source #
The number of days to retain data about failed runs of this canary.
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_vpcConfig :: Lens' Canary (Maybe VpcConfigOutput) Source #
Undocumented member.
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_code :: Lens' Canary (Maybe CanaryCodeOutput) Source #
Undocumented member.
canary_timeline :: Lens' Canary (Maybe CanaryTimeline) Source #
A structure that contains information about when the canary was created, modified, and most recently run.
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.