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 |
- Service Configuration
- Errors
- Waiters
- Operations
- Types
- CanaryRunState
- CanaryRunStateReasonCode
- CanaryState
- CanaryStateReasonCode
- EncryptionMode
- ArtifactConfigInput
- ArtifactConfigOutput
- BaseScreenshot
- Canary
- CanaryCodeInput
- CanaryCodeOutput
- CanaryLastRun
- CanaryRun
- CanaryRunConfigInput
- CanaryRunConfigOutput
- CanaryRunStatus
- CanaryRunTimeline
- CanaryScheduleInput
- CanaryScheduleOutput
- CanaryStatus
- CanaryTimeline
- Group
- GroupSummary
- RuntimeVersion
- S3EncryptionConfig
- VisualReferenceInput
- VisualReferenceOutput
- VpcConfigInput
- VpcConfigOutput
Derived from API version 2017-10-11
of the AWS service descriptions, licensed under Apache 2.0.
Amazon CloudWatch Synthetics
You can use Amazon CloudWatch Synthetics to continually monitor your services. You can create and manage canaries, which are modular, lightweight scripts that monitor your endpoints and APIs from the outside-in. You can set up your canaries to run 24 hours a day, once per minute. The canaries help you check the availability and latency of your web services and troubleshoot anomalies by investigating load time data, screenshots of the UI, logs, and metrics. The canaries seamlessly integrate with CloudWatch ServiceLens to help you trace the causes of impacted nodes in your applications. For more information, see Using ServiceLens to Monitor the Health of Your Applications in the Amazon CloudWatch User Guide.
Before you create and manage canaries, be aware of the security considerations. For more information, see Security Considerations for Synthetics Canaries.
Synopsis
- defaultService :: Service
- _BadRequestException :: AsError a => Fold a ServiceError
- _ConflictException :: AsError a => Fold a ServiceError
- _InternalFailureException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _NotFoundException :: AsError a => Fold a ServiceError
- _RequestEntityTooLargeException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _TooManyRequestsException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- data AssociateResource = AssociateResource' Text Text
- newAssociateResource :: Text -> Text -> AssociateResource
- data AssociateResourceResponse = AssociateResourceResponse' Int
- newAssociateResourceResponse :: Int -> AssociateResourceResponse
- data CreateCanary = CreateCanary' (Maybe ArtifactConfigInput) (Maybe Natural) (Maybe CanaryRunConfigInput) (Maybe Natural) (Maybe (HashMap Text Text)) (Maybe VpcConfigInput) Text CanaryCodeInput Text Text CanaryScheduleInput Text
- newCreateCanary :: Text -> CanaryCodeInput -> Text -> Text -> CanaryScheduleInput -> Text -> CreateCanary
- data CreateCanaryResponse = CreateCanaryResponse' (Maybe Canary) Int
- newCreateCanaryResponse :: Int -> CreateCanaryResponse
- data CreateGroup = CreateGroup' (Maybe (HashMap Text Text)) Text
- newCreateGroup :: Text -> CreateGroup
- data CreateGroupResponse = CreateGroupResponse' (Maybe Group) Int
- newCreateGroupResponse :: Int -> CreateGroupResponse
- data DeleteCanary = DeleteCanary' (Maybe Bool) Text
- newDeleteCanary :: Text -> DeleteCanary
- data DeleteCanaryResponse = DeleteCanaryResponse' Int
- newDeleteCanaryResponse :: Int -> DeleteCanaryResponse
- data DeleteGroup = DeleteGroup' Text
- newDeleteGroup :: Text -> DeleteGroup
- data DeleteGroupResponse = DeleteGroupResponse' Int
- newDeleteGroupResponse :: Int -> DeleteGroupResponse
- data DescribeCanaries = DescribeCanaries' (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe Text)
- newDescribeCanaries :: DescribeCanaries
- data DescribeCanariesResponse = DescribeCanariesResponse' (Maybe [Canary]) (Maybe Text) Int
- newDescribeCanariesResponse :: Int -> DescribeCanariesResponse
- data DescribeCanariesLastRun = DescribeCanariesLastRun' (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe Text)
- newDescribeCanariesLastRun :: DescribeCanariesLastRun
- data DescribeCanariesLastRunResponse = DescribeCanariesLastRunResponse' (Maybe [CanaryLastRun]) (Maybe Text) Int
- newDescribeCanariesLastRunResponse :: Int -> DescribeCanariesLastRunResponse
- data DescribeRuntimeVersions = DescribeRuntimeVersions' (Maybe Natural) (Maybe Text)
- newDescribeRuntimeVersions :: DescribeRuntimeVersions
- data DescribeRuntimeVersionsResponse = DescribeRuntimeVersionsResponse' (Maybe Text) (Maybe [RuntimeVersion]) Int
- newDescribeRuntimeVersionsResponse :: Int -> DescribeRuntimeVersionsResponse
- data DisassociateResource = DisassociateResource' Text Text
- newDisassociateResource :: Text -> Text -> DisassociateResource
- data DisassociateResourceResponse = DisassociateResourceResponse' Int
- newDisassociateResourceResponse :: Int -> DisassociateResourceResponse
- data GetCanary = GetCanary' Text
- newGetCanary :: Text -> GetCanary
- data GetCanaryResponse = GetCanaryResponse' (Maybe Canary) Int
- newGetCanaryResponse :: Int -> GetCanaryResponse
- data GetCanaryRuns = GetCanaryRuns' (Maybe Natural) (Maybe Text) Text
- newGetCanaryRuns :: Text -> GetCanaryRuns
- data GetCanaryRunsResponse = GetCanaryRunsResponse' (Maybe [CanaryRun]) (Maybe Text) Int
- newGetCanaryRunsResponse :: Int -> GetCanaryRunsResponse
- data GetGroup = GetGroup' Text
- newGetGroup :: Text -> GetGroup
- data GetGroupResponse = GetGroupResponse' (Maybe Group) Int
- newGetGroupResponse :: Int -> GetGroupResponse
- data ListAssociatedGroups = ListAssociatedGroups' (Maybe Natural) (Maybe Text) Text
- newListAssociatedGroups :: Text -> ListAssociatedGroups
- data ListAssociatedGroupsResponse = ListAssociatedGroupsResponse' (Maybe [GroupSummary]) (Maybe Text) Int
- newListAssociatedGroupsResponse :: Int -> ListAssociatedGroupsResponse
- data ListGroupResources = ListGroupResources' (Maybe Natural) (Maybe Text) Text
- newListGroupResources :: Text -> ListGroupResources
- data ListGroupResourcesResponse = ListGroupResourcesResponse' (Maybe Text) (Maybe [Text]) Int
- newListGroupResourcesResponse :: Int -> ListGroupResourcesResponse
- data ListGroups = ListGroups' (Maybe Natural) (Maybe Text)
- newListGroups :: ListGroups
- data ListGroupsResponse = ListGroupsResponse' (Maybe [GroupSummary]) (Maybe Text) Int
- newListGroupsResponse :: Int -> ListGroupsResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data StartCanary = StartCanary' Text
- newStartCanary :: Text -> StartCanary
- data StartCanaryResponse = StartCanaryResponse' Int
- newStartCanaryResponse :: Int -> StartCanaryResponse
- data StopCanary = StopCanary' Text
- newStopCanary :: Text -> StopCanary
- data StopCanaryResponse = StopCanaryResponse' Int
- newStopCanaryResponse :: Int -> StopCanaryResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text (NonEmpty Text)
- newUntagResource :: Text -> NonEmpty Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data UpdateCanary = UpdateCanary' (Maybe ArtifactConfigInput) (Maybe Text) (Maybe CanaryCodeInput) (Maybe Text) (Maybe Natural) (Maybe CanaryRunConfigInput) (Maybe Text) (Maybe CanaryScheduleInput) (Maybe Natural) (Maybe VisualReferenceInput) (Maybe VpcConfigInput) Text
- newUpdateCanary :: Text -> UpdateCanary
- data UpdateCanaryResponse = UpdateCanaryResponse' Int
- newUpdateCanaryResponse :: Int -> UpdateCanaryResponse
- newtype CanaryRunState where
- CanaryRunState' { }
- pattern CanaryRunState_FAILED :: CanaryRunState
- pattern CanaryRunState_PASSED :: CanaryRunState
- pattern CanaryRunState_RUNNING :: CanaryRunState
- newtype CanaryRunStateReasonCode where
- newtype CanaryState where
- CanaryState' { }
- pattern CanaryState_CREATING :: CanaryState
- pattern CanaryState_DELETING :: CanaryState
- pattern CanaryState_ERROR :: CanaryState
- pattern CanaryState_READY :: CanaryState
- pattern CanaryState_RUNNING :: CanaryState
- pattern CanaryState_STARTING :: CanaryState
- pattern CanaryState_STOPPED :: CanaryState
- pattern CanaryState_STOPPING :: CanaryState
- pattern CanaryState_UPDATING :: CanaryState
- newtype CanaryStateReasonCode where
- CanaryStateReasonCode' { }
- pattern CanaryStateReasonCode_CREATE_FAILED :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_CREATE_IN_PROGRESS :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_CREATE_PENDING :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_DELETE_FAILED :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_DELETE_IN_PROGRESS :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_INVALID_PERMISSIONS :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_ROLLBACK_COMPLETE :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_ROLLBACK_FAILED :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_SYNC_DELETE_IN_PROGRESS :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_UPDATE_COMPLETE :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_UPDATE_IN_PROGRESS :: CanaryStateReasonCode
- pattern CanaryStateReasonCode_UPDATE_PENDING :: CanaryStateReasonCode
- newtype EncryptionMode where
- EncryptionMode' { }
- pattern EncryptionMode_SSE_KMS :: EncryptionMode
- pattern EncryptionMode_SSE_S3 :: EncryptionMode
- data ArtifactConfigInput = ArtifactConfigInput' (Maybe S3EncryptionConfig)
- newArtifactConfigInput :: ArtifactConfigInput
- data ArtifactConfigOutput = ArtifactConfigOutput' (Maybe S3EncryptionConfig)
- newArtifactConfigOutput :: ArtifactConfigOutput
- data BaseScreenshot = BaseScreenshot' (Maybe [Text]) Text
- newBaseScreenshot :: Text -> BaseScreenshot
- data Canary = Canary' (Maybe ArtifactConfigOutput) (Maybe Text) (Maybe CanaryCodeOutput) (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe CanaryRunConfigOutput) (Maybe Text) (Maybe CanaryScheduleOutput) (Maybe CanaryStatus) (Maybe Natural) (Maybe (HashMap Text Text)) (Maybe CanaryTimeline) (Maybe VisualReferenceOutput) (Maybe VpcConfigOutput)
- newCanary :: Canary
- data CanaryCodeInput = CanaryCodeInput' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Base64) Text
- newCanaryCodeInput :: Text -> CanaryCodeInput
- data CanaryCodeOutput = CanaryCodeOutput' (Maybe Text) (Maybe Text)
- newCanaryCodeOutput :: CanaryCodeOutput
- data CanaryLastRun = CanaryLastRun' (Maybe Text) (Maybe CanaryRun)
- newCanaryLastRun :: CanaryLastRun
- data CanaryRun = CanaryRun' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe CanaryRunStatus) (Maybe CanaryRunTimeline)
- newCanaryRun :: CanaryRun
- data CanaryRunConfigInput = CanaryRunConfigInput' (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Natural) (Maybe Natural)
- newCanaryRunConfigInput :: CanaryRunConfigInput
- data CanaryRunConfigOutput = CanaryRunConfigOutput' (Maybe Bool) (Maybe Natural) (Maybe Natural)
- newCanaryRunConfigOutput :: CanaryRunConfigOutput
- data CanaryRunStatus = CanaryRunStatus' (Maybe CanaryRunState) (Maybe Text) (Maybe CanaryRunStateReasonCode)
- newCanaryRunStatus :: CanaryRunStatus
- data CanaryRunTimeline = CanaryRunTimeline' (Maybe POSIX) (Maybe POSIX)
- newCanaryRunTimeline :: CanaryRunTimeline
- data CanaryScheduleInput = CanaryScheduleInput' (Maybe Natural) Text
- newCanaryScheduleInput :: Text -> CanaryScheduleInput
- data CanaryScheduleOutput = CanaryScheduleOutput' (Maybe Natural) (Maybe Text)
- newCanaryScheduleOutput :: CanaryScheduleOutput
- data CanaryStatus = CanaryStatus' (Maybe CanaryState) (Maybe Text) (Maybe CanaryStateReasonCode)
- newCanaryStatus :: CanaryStatus
- data CanaryTimeline = CanaryTimeline' (Maybe POSIX) (Maybe POSIX) (Maybe POSIX) (Maybe POSIX)
- newCanaryTimeline :: CanaryTimeline
- data Group = Group' (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (HashMap Text Text))
- newGroup :: Group
- data GroupSummary = GroupSummary' (Maybe Text) (Maybe Text) (Maybe Text)
- newGroupSummary :: GroupSummary
- data RuntimeVersion = RuntimeVersion' (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe Text)
- newRuntimeVersion :: RuntimeVersion
- data S3EncryptionConfig = S3EncryptionConfig' (Maybe EncryptionMode) (Maybe Text)
- newS3EncryptionConfig :: S3EncryptionConfig
- data VisualReferenceInput = VisualReferenceInput' (Maybe [BaseScreenshot]) Text
- newVisualReferenceInput :: Text -> VisualReferenceInput
- data VisualReferenceOutput = VisualReferenceOutput' (Maybe Text) (Maybe [BaseScreenshot])
- newVisualReferenceOutput :: VisualReferenceOutput
- data VpcConfigInput = VpcConfigInput' (Maybe [Text]) (Maybe [Text])
- newVpcConfigInput :: VpcConfigInput
- data VpcConfigOutput = VpcConfigOutput' (Maybe [Text]) (Maybe [Text]) (Maybe Text)
- newVpcConfigOutput :: VpcConfigOutput
Service Configuration
defaultService :: Service Source #
API version 2017-10-11
of the Amazon Synthetics SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by Synthetics
.
BadRequestException
_BadRequestException :: AsError a => Fold a ServiceError Source #
The request was not valid.
ConflictException
_ConflictException :: AsError a => Fold a ServiceError Source #
A conflicting operation is already in progress.
InternalFailureException
_InternalFailureException :: AsError a => Fold a ServiceError Source #
An internal failure occurred. Try the operation again.
InternalServerException
_InternalServerException :: AsError a => Fold a ServiceError Source #
An unknown internal error occurred.
NotFoundException
_NotFoundException :: AsError a => Fold a ServiceError Source #
The specified resource was not found.
RequestEntityTooLargeException
_RequestEntityTooLargeException :: AsError a => Fold a ServiceError Source #
One of the input resources is larger than is allowed.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
One of the specified resources was not found.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
The request exceeded a service quota value.
TooManyRequestsException
_TooManyRequestsException :: AsError a => Fold a ServiceError Source #
There were too many simultaneous requests. Try the operation again.
ValidationException
_ValidationException :: AsError a => Fold a ServiceError Source #
A parameter could not be validated.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
AssociateResource
data AssociateResource Source #
See: newAssociateResource
smart constructor.
Instances
:: Text | |
-> Text | |
-> AssociateResource |
Create a value of AssociateResource
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:groupIdentifier:AssociateResource'
, associateResource_groupIdentifier
- Specifies the group. You can specify the group name, the ARN, or the
group ID as the GroupIdentifier
.
$sel:resourceArn:AssociateResource'
, associateResource_resourceArn
- The ARN of the canary that you want to associate with the specified
group.
data AssociateResourceResponse Source #
See: newAssociateResourceResponse
smart constructor.
Instances
newAssociateResourceResponse Source #
Create a value of AssociateResourceResponse
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:httpStatus:AssociateResourceResponse'
, associateResourceResponse_httpStatus
- The response's http status code.
CreateCanary
data CreateCanary Source #
See: newCreateCanary
smart constructor.
Instances
:: Text | |
-> CanaryCodeInput | |
-> Text | |
-> Text | |
-> CanaryScheduleInput | |
-> Text | |
-> CreateCanary |
Create a value of CreateCanary
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:
CreateCanary
, createCanary_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.
CreateCanary
, createCanary_failureRetentionPeriodInDays
- The number of days to retain data about failed runs of this canary. If
you omit this field, the default of 31 days is used. The valid range is
1 to 455 days.
CreateCanary
, createCanary_runConfig
- A structure that contains the configuration for individual canary runs,
such as timeout value and environment variables.
The environment variables keys and values are not encrypted. Do not store sensitive information in this field.
CreateCanary
, createCanary_successRetentionPeriodInDays
- The number of days to retain data about successful runs of this canary.
If you omit this field, the default of 31 days is used. The valid range
is 1 to 455 days.
CreateCanary
, createCanary_tags
- A list of key-value pairs to associate with the canary. You can
associate as many as 50 tags with a canary.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
CreateCanary
, createCanary_vpcConfig
- If this canary is to test an endpoint in a VPC, this structure contains
information about the subnet and security groups of the VPC endpoint.
For more information, see
Running a Canary in a VPC.
CreateCanary
, createCanary_name
- The name for this canary. Be sure to give it a descriptive name that
distinguishes it from other canaries in your account.
Do not include secrets or proprietary information in your canary names. The canary name makes up part of the canary ARN, and the ARN is included in outbound calls over the internet. For more information, see Security Considerations for Synthetics Canaries.
CreateCanary
, createCanary_code
- A structure that includes the entry point from which the canary should
start running your script. If the script is stored in an S3 bucket, the
bucket name, key, and version are also included.
CreateCanary
, createCanary_artifactS3Location
- The location in Amazon S3 where Synthetics stores artifacts from the
test runs of this canary. Artifacts include the log file, screenshots,
and HAR files. The name of the S3 bucket can't include a period (.).
CreateCanary
, createCanary_executionRoleArn
- The ARN of the IAM role to be used to run the canary. This role must
already exist, and must include lambda.amazonaws.com
as a principal in
the trust policy. The role must also have the following permissions:
s3:PutObject
s3:GetBucketLocation
s3:ListAllMyBuckets
cloudwatch:PutMetricData
logs:CreateLogGroup
logs:CreateLogStream
logs:PutLogEvents
CreateCanary
, createCanary_schedule
- A structure that contains information about how often the canary is to
run and when these test runs are to stop.
CreateCanary
, createCanary_runtimeVersion
- Specifies the runtime version to use for the canary. For a list of valid
runtime versions and more information about runtime versions, see
Canary Runtime Versions.
data CreateCanaryResponse Source #
See: newCreateCanaryResponse
smart constructor.
Instances
newCreateCanaryResponse Source #
Create a value of CreateCanaryResponse
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:canary:CreateCanaryResponse'
, createCanaryResponse_canary
- The full details about the canary you have created.
$sel:httpStatus:CreateCanaryResponse'
, createCanaryResponse_httpStatus
- The response's http status code.
CreateGroup
data CreateGroup Source #
See: newCreateGroup
smart constructor.
Instances
Create a value of CreateGroup
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:
CreateGroup
, createGroup_tags
- A list of key-value pairs to associate with the group. You can associate
as many as 50 tags with a group.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
CreateGroup
, createGroup_name
- The name for the group. It can include any Unicode characters.
The names for all groups in your account, across all Regions, must be unique.
data CreateGroupResponse Source #
See: newCreateGroupResponse
smart constructor.
Instances
newCreateGroupResponse Source #
Create a value of CreateGroupResponse
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:group':CreateGroupResponse'
, createGroupResponse_group
- A structure that contains information about the group that was just
created.
$sel:httpStatus:CreateGroupResponse'
, createGroupResponse_httpStatus
- The response's http status code.
DeleteCanary
data DeleteCanary Source #
See: newDeleteCanary
smart constructor.
Instances
Create a value of DeleteCanary
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:deleteLambda:DeleteCanary'
, deleteCanary_deleteLambda
- Specifies whether to also delete the Lambda functions and layers used by
this canary. The default is false.
Type: Boolean
DeleteCanary
, deleteCanary_name
- The name of the canary that you want to delete. To find the names of
your canaries, use
DescribeCanaries.
data DeleteCanaryResponse Source #
See: newDeleteCanaryResponse
smart constructor.
Instances
newDeleteCanaryResponse Source #
Create a value of DeleteCanaryResponse
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:httpStatus:DeleteCanaryResponse'
, deleteCanaryResponse_httpStatus
- The response's http status code.
DeleteGroup
data DeleteGroup Source #
See: newDeleteGroup
smart constructor.
Instances
Create a value of DeleteGroup
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:groupIdentifier:DeleteGroup'
, deleteGroup_groupIdentifier
- Specifies which group to delete. You can specify the group name, the
ARN, or the group ID as the GroupIdentifier
.
data DeleteGroupResponse Source #
See: newDeleteGroupResponse
smart constructor.
Instances
newDeleteGroupResponse Source #
Create a value of DeleteGroupResponse
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:httpStatus:DeleteGroupResponse'
, deleteGroupResponse_httpStatus
- The response's http status code.
DescribeCanaries
data DescribeCanaries Source #
See: newDescribeCanaries
smart constructor.
Instances
newDescribeCanaries :: DescribeCanaries Source #
Create a value of DescribeCanaries
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:maxResults:DescribeCanaries'
, describeCanaries_maxResults
- Specify this parameter to limit how many canaries are returned each time
you use the DescribeCanaries
operation. If you omit this parameter,
the default of 100 is used.
$sel:names:DescribeCanaries'
, describeCanaries_names
- Use this parameter to return only canaries that match the names that you
specify here. You can specify as many as five canary names.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
DescribeCanaries
, describeCanaries_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent operation to retrieve the next set of
results.
data DescribeCanariesResponse Source #
See: newDescribeCanariesResponse
smart constructor.
Instances
newDescribeCanariesResponse Source #
Create a value of DescribeCanariesResponse
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:canaries:DescribeCanariesResponse'
, describeCanariesResponse_canaries
- Returns an array. Each item in the array contains the full information
about one canary.
DescribeCanaries
, describeCanariesResponse_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent DescribeCanaries
operation to retrieve the
next set of results.
$sel:httpStatus:DescribeCanariesResponse'
, describeCanariesResponse_httpStatus
- The response's http status code.
DescribeCanariesLastRun
data DescribeCanariesLastRun Source #
See: newDescribeCanariesLastRun
smart constructor.
Instances
newDescribeCanariesLastRun :: DescribeCanariesLastRun Source #
Create a value of DescribeCanariesLastRun
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:maxResults:DescribeCanariesLastRun'
, describeCanariesLastRun_maxResults
- Specify this parameter to limit how many runs are returned each time you
use the DescribeLastRun
operation. If you omit this parameter, the
default of 100 is used.
$sel:names:DescribeCanariesLastRun'
, describeCanariesLastRun_names
- Use this parameter to return only canaries that match the names that you
specify here. You can specify as many as five canary names.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use the Names
parameter if you are logged on to a
user or role that has an IAM policy that restricts which canaries that
you are allowed to view. For more information, see
Limiting a user to viewing specific canaries.
DescribeCanariesLastRun
, describeCanariesLastRun_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent DescribeCanariesLastRun
operation to
retrieve the next set of results.
data DescribeCanariesLastRunResponse Source #
See: newDescribeCanariesLastRunResponse
smart constructor.
Instances
newDescribeCanariesLastRunResponse Source #
Create a value of DescribeCanariesLastRunResponse
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:canariesLastRun:DescribeCanariesLastRunResponse'
, describeCanariesLastRunResponse_canariesLastRun
- An array that contains the information from the most recent run of each
canary.
DescribeCanariesLastRun
, describeCanariesLastRunResponse_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent DescribeCanariesLastRun
operation to
retrieve the next set of results.
$sel:httpStatus:DescribeCanariesLastRunResponse'
, describeCanariesLastRunResponse_httpStatus
- The response's http status code.
DescribeRuntimeVersions
data DescribeRuntimeVersions Source #
See: newDescribeRuntimeVersions
smart constructor.
Instances
newDescribeRuntimeVersions :: DescribeRuntimeVersions Source #
Create a value of DescribeRuntimeVersions
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:maxResults:DescribeRuntimeVersions'
, describeRuntimeVersions_maxResults
- Specify this parameter to limit how many runs are returned each time you
use the DescribeRuntimeVersions
operation. If you omit this parameter,
the default of 100 is used.
DescribeRuntimeVersions
, describeRuntimeVersions_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent DescribeRuntimeVersions
operation to
retrieve the next set of results.
data DescribeRuntimeVersionsResponse Source #
See: newDescribeRuntimeVersionsResponse
smart constructor.
Instances
newDescribeRuntimeVersionsResponse Source #
Create a value of DescribeRuntimeVersionsResponse
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:
DescribeRuntimeVersions
, describeRuntimeVersionsResponse_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent DescribeRuntimeVersions
operation to
retrieve the next set of results.
$sel:runtimeVersions:DescribeRuntimeVersionsResponse'
, describeRuntimeVersionsResponse_runtimeVersions
- An array of objects that display the details about each Synthetics
canary runtime version.
$sel:httpStatus:DescribeRuntimeVersionsResponse'
, describeRuntimeVersionsResponse_httpStatus
- The response's http status code.
DisassociateResource
data DisassociateResource Source #
See: newDisassociateResource
smart constructor.
Instances
newDisassociateResource Source #
:: Text | |
-> Text | |
-> DisassociateResource |
Create a value of DisassociateResource
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:groupIdentifier:DisassociateResource'
, disassociateResource_groupIdentifier
- Specifies the group. You can specify the group name, the ARN, or the
group ID as the GroupIdentifier
.
$sel:resourceArn:DisassociateResource'
, disassociateResource_resourceArn
- The ARN of the canary that you want to remove from the specified group.
data DisassociateResourceResponse Source #
See: newDisassociateResourceResponse
smart constructor.
Instances
newDisassociateResourceResponse Source #
Create a value of DisassociateResourceResponse
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:httpStatus:DisassociateResourceResponse'
, disassociateResourceResponse_httpStatus
- The response's http status code.
GetCanary
See: newGetCanary
smart constructor.
Instances
Create a value of GetCanary
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:
GetCanary
, getCanary_name
- The name of the canary that you want details for.
data GetCanaryResponse Source #
See: newGetCanaryResponse
smart constructor.
Instances
Create a value of GetCanaryResponse
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:canary:GetCanaryResponse'
, getCanaryResponse_canary
- A structure that contains the full information about the canary.
$sel:httpStatus:GetCanaryResponse'
, getCanaryResponse_httpStatus
- The response's http status code.
GetCanaryRuns
data GetCanaryRuns Source #
See: newGetCanaryRuns
smart constructor.
Instances
Create a value of GetCanaryRuns
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:maxResults:GetCanaryRuns'
, getCanaryRuns_maxResults
- Specify this parameter to limit how many runs are returned each time you
use the GetCanaryRuns
operation. If you omit this parameter, the
default of 100 is used.
GetCanaryRuns
, getCanaryRuns_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent GetCanaryRuns
operation to retrieve the
next set of results.
GetCanaryRuns
, getCanaryRuns_name
- The name of the canary that you want to see runs for.
data GetCanaryRunsResponse Source #
See: newGetCanaryRunsResponse
smart constructor.
Instances
newGetCanaryRunsResponse Source #
Create a value of GetCanaryRunsResponse
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:canaryRuns:GetCanaryRunsResponse'
, getCanaryRunsResponse_canaryRuns
- An array of structures. Each structure contains the details of one of
the retrieved canary runs.
GetCanaryRuns
, getCanaryRunsResponse_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent GetCanaryRuns
operation to retrieve the
next set of results.
$sel:httpStatus:GetCanaryRunsResponse'
, getCanaryRunsResponse_httpStatus
- The response's http status code.
GetGroup
See: newGetGroup
smart constructor.
Instances
ToHeaders GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup | |
ToPath GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup toPath :: GetGroup -> ByteString # | |
ToQuery GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup toQuery :: GetGroup -> QueryString # | |
AWSRequest GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup type AWSResponse GetGroup # request :: (Service -> Service) -> GetGroup -> Request GetGroup # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetGroup -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetGroup))) # | |
Generic GetGroup Source # | |
Read GetGroup Source # | |
Show GetGroup Source # | |
NFData GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup | |
Eq GetGroup Source # | |
Hashable GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup | |
type AWSResponse GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup | |
type Rep GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup |
Create a value of GetGroup
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:groupIdentifier:GetGroup'
, getGroup_groupIdentifier
- Specifies the group to return information for. You can specify the group
name, the ARN, or the group ID as the GroupIdentifier
.
data GetGroupResponse Source #
See: newGetGroupResponse
smart constructor.
Instances
Create a value of GetGroupResponse
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:group':GetGroupResponse'
, getGroupResponse_group
- A structure that contains information about the group.
$sel:httpStatus:GetGroupResponse'
, getGroupResponse_httpStatus
- The response's http status code.
ListAssociatedGroups
data ListAssociatedGroups Source #
See: newListAssociatedGroups
smart constructor.
Instances
newListAssociatedGroups Source #
Create a value of ListAssociatedGroups
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:maxResults:ListAssociatedGroups'
, listAssociatedGroups_maxResults
- Specify this parameter to limit how many groups are returned each time
you use the ListAssociatedGroups
operation. If you omit this
parameter, the default of 20 is used.
ListAssociatedGroups
, listAssociatedGroups_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent operation to retrieve the next set of
results.
$sel:resourceArn:ListAssociatedGroups'
, listAssociatedGroups_resourceArn
- The ARN of the canary that you want to view groups for.
data ListAssociatedGroupsResponse Source #
See: newListAssociatedGroupsResponse
smart constructor.
Instances
newListAssociatedGroupsResponse Source #
Create a value of ListAssociatedGroupsResponse
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:groups:ListAssociatedGroupsResponse'
, listAssociatedGroupsResponse_groups
- An array of structures that contain information about the groups that
this canary is associated with.
ListAssociatedGroups
, listAssociatedGroupsResponse_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent ListAssociatedGroups
operation to retrieve
the next set of results.
$sel:httpStatus:ListAssociatedGroupsResponse'
, listAssociatedGroupsResponse_httpStatus
- The response's http status code.
ListGroupResources
data ListGroupResources Source #
See: newListGroupResources
smart constructor.
Instances
newListGroupResources Source #
Create a value of ListGroupResources
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:maxResults:ListGroupResources'
, listGroupResources_maxResults
- Specify this parameter to limit how many canary ARNs are returned each
time you use the ListGroupResources
operation. If you omit this
parameter, the default of 20 is used.
ListGroupResources
, listGroupResources_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent operation to retrieve the next set of
results.
$sel:groupIdentifier:ListGroupResources'
, listGroupResources_groupIdentifier
- Specifies the group to return information for. You can specify the group
name, the ARN, or the group ID as the GroupIdentifier
.
data ListGroupResourcesResponse Source #
See: newListGroupResourcesResponse
smart constructor.
Instances
newListGroupResourcesResponse Source #
Create a value of ListGroupResourcesResponse
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:
ListGroupResources
, listGroupResourcesResponse_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent ListGroupResources
operation to retrieve
the next set of results.
$sel:resources:ListGroupResourcesResponse'
, listGroupResourcesResponse_resources
- An array of ARNs. These ARNs are for the canaries that are associated
with the group.
$sel:httpStatus:ListGroupResourcesResponse'
, listGroupResourcesResponse_httpStatus
- The response's http status code.
ListGroups
data ListGroups Source #
See: newListGroups
smart constructor.
ListGroups' (Maybe Natural) (Maybe Text) |
Instances
newListGroups :: ListGroups Source #
Create a value of ListGroups
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:maxResults:ListGroups'
, listGroups_maxResults
- Specify this parameter to limit how many groups are returned each time
you use the ListGroups
operation. If you omit this parameter, the
default of 20 is used.
ListGroups
, listGroups_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent operation to retrieve the next set of
results.
data ListGroupsResponse Source #
See: newListGroupsResponse
smart constructor.
Instances
newListGroupsResponse Source #
Create a value of ListGroupsResponse
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:groups:ListGroupsResponse'
, listGroupsResponse_groups
- An array of structures that each contain information about one group.
ListGroups
, listGroupsResponse_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent ListGroups
operation to retrieve the next
set of results.
$sel:httpStatus:ListGroupsResponse'
, listGroupsResponse_httpStatus
- The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
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:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The ARN of the canary or group that you want to view tags for.
The ARN format of a canary is
arn:aws:synthetics:
Region
:
account-id
:canary:
canary-name
.
The ARN format of a group is
arn:aws:synthetics:
Region
:
account-id
:group:
group-name
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:
ListTagsForResourceResponse
, listTagsForResourceResponse_tags
- The list of tag keys and values associated with the resource that you
specified.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
StartCanary
data StartCanary Source #
See: newStartCanary
smart constructor.
Instances
Create a value of StartCanary
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:
StartCanary
, startCanary_name
- The name of the canary that you want to run. To find canary names, use
DescribeCanaries.
data StartCanaryResponse Source #
See: newStartCanaryResponse
smart constructor.
Instances
newStartCanaryResponse Source #
Create a value of StartCanaryResponse
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:httpStatus:StartCanaryResponse'
, startCanaryResponse_httpStatus
- The response's http status code.
StopCanary
data StopCanary Source #
See: newStopCanary
smart constructor.
Instances
:: Text | |
-> StopCanary |
Create a value of StopCanary
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:
StopCanary
, stopCanary_name
- The name of the canary that you want to stop. To find the names of your
canaries, use
ListCanaries.
data StopCanaryResponse Source #
See: newStopCanaryResponse
smart constructor.
Instances
newStopCanaryResponse Source #
Create a value of StopCanaryResponse
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:httpStatus:StopCanaryResponse'
, stopCanaryResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
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:resourceArn:TagResource'
, tagResource_resourceArn
- The ARN of the canary or group that you're adding tags to.
The ARN format of a canary is
arn:aws:synthetics:
Region
:
account-id
:canary:
canary-name
.
The ARN format of a group is
arn:aws:synthetics:
Region
:
account-id
:group:
group-name
TagResource
, tagResource_tags
- The list of key-value pairs to associate with the resource.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
Create a value of TagResourceResponse
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:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
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:resourceArn:UntagResource'
, untagResource_resourceArn
- The ARN of the canary or group that you're removing tags from.
The ARN format of a canary is
arn:aws:synthetics:
Region
:
account-id
:canary:
canary-name
.
The ARN format of a group is
arn:aws:synthetics:
Region
:
account-id
:group:
group-name
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The list of tag keys to remove from the resource.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
UpdateCanary
data UpdateCanary Source #
See: newUpdateCanary
smart constructor.
Instances
Create a value of UpdateCanary
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:
UpdateCanary
, updateCanary_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.
UpdateCanary
, updateCanary_artifactS3Location
- The location in Amazon S3 where Synthetics stores artifacts from the
test runs of this canary. Artifacts include the log file, screenshots,
and HAR files. The name of the S3 bucket can't include a period (.).
UpdateCanary
, updateCanary_code
- A structure that includes the entry point from which the canary should
start running your script. If the script is stored in an S3 bucket, the
bucket name, key, and version are also included.
UpdateCanary
, updateCanary_executionRoleArn
- The ARN of the IAM role to be used to run the canary. This role must
already exist, and must include lambda.amazonaws.com
as a principal in
the trust policy. The role must also have the following permissions:
s3:PutObject
s3:GetBucketLocation
s3:ListAllMyBuckets
cloudwatch:PutMetricData
logs:CreateLogGroup
logs:CreateLogStream
logs:CreateLogStream
UpdateCanary
, updateCanary_failureRetentionPeriodInDays
- The number of days to retain data about failed runs of this canary.
UpdateCanary
, updateCanary_runConfig
- A structure that contains the timeout value that is used for each
individual run of the canary.
The environment variables keys and values are not encrypted. Do not store sensitive information in this field.
UpdateCanary
, updateCanary_runtimeVersion
- Specifies the runtime version to use for the canary. For a list of valid
runtime versions and for more information about runtime versions, see
Canary Runtime Versions.
UpdateCanary
, updateCanary_schedule
- A structure that contains information about how often the canary is to
run, and when these runs are to stop.
UpdateCanary
, updateCanary_successRetentionPeriodInDays
- The number of days to retain data about successful runs of this canary.
UpdateCanary
, updateCanary_visualReference
- Defines the screenshots to use as the baseline for comparisons during
visual monitoring comparisons during future runs of this canary. If you
omit this parameter, no changes are made to any baseline screenshots
that the canary might be using already.
Visual monitoring is supported only on canaries running the syn-puppeteer-node-3.2 runtime or later. For more information, see Visual monitoring and Visual monitoring blueprint
UpdateCanary
, updateCanary_vpcConfig
- If this canary is to test an endpoint in a VPC, this structure contains
information about the subnet and security groups of the VPC endpoint.
For more information, see
Running a Canary in a VPC.
UpdateCanary
, updateCanary_name
- The name of the canary that you want to update. To find the names of
your canaries, use
DescribeCanaries.
You cannot change the name of a canary that has already been created.
data UpdateCanaryResponse Source #
See: newUpdateCanaryResponse
smart constructor.
Instances
newUpdateCanaryResponse Source #
Create a value of UpdateCanaryResponse
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:httpStatus:UpdateCanaryResponse'
, updateCanaryResponse_httpStatus
- The response's http status code.
Types
CanaryRunState
newtype CanaryRunState Source #
pattern CanaryRunState_FAILED :: CanaryRunState | |
pattern CanaryRunState_PASSED :: CanaryRunState | |
pattern CanaryRunState_RUNNING :: CanaryRunState |
Instances
CanaryRunStateReasonCode
newtype CanaryRunStateReasonCode Source #
pattern CanaryRunStateReasonCode_CANARY_FAILURE :: CanaryRunStateReasonCode | |
pattern CanaryRunStateReasonCode_EXECUTION_FAILURE :: CanaryRunStateReasonCode |
Instances
CanaryState
newtype CanaryState Source #
pattern CanaryState_CREATING :: CanaryState | |
pattern CanaryState_DELETING :: CanaryState | |
pattern CanaryState_ERROR :: CanaryState | |
pattern CanaryState_READY :: CanaryState | |
pattern CanaryState_RUNNING :: CanaryState | |
pattern CanaryState_STARTING :: CanaryState | |
pattern CanaryState_STOPPED :: CanaryState | |
pattern CanaryState_STOPPING :: CanaryState | |
pattern CanaryState_UPDATING :: CanaryState |
Instances
CanaryStateReasonCode
newtype CanaryStateReasonCode Source #
Instances
EncryptionMode
newtype EncryptionMode Source #
pattern EncryptionMode_SSE_KMS :: EncryptionMode | |
pattern EncryptionMode_SSE_S3 :: EncryptionMode |
Instances
ArtifactConfigInput
data ArtifactConfigInput 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.
See: newArtifactConfigInput
smart constructor.
Instances
newArtifactConfigInput :: ArtifactConfigInput Source #
Create a value of ArtifactConfigInput
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:s3Encryption:ArtifactConfigInput'
, artifactConfigInput_s3Encryption
- A structure that contains the configuration of the encryption-at-rest
settings for artifacts that the canary uploads to Amazon S3. Artifact
encryption functionality is available only for canaries that use
Synthetics runtime version syn-nodejs-puppeteer-3.3 or later. For more
information, see
Encrypting canary artifacts
ArtifactConfigOutput
data 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.
See: newArtifactConfigOutput
smart constructor.
Instances
newArtifactConfigOutput :: ArtifactConfigOutput Source #
Create a value of ArtifactConfigOutput
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:s3Encryption:ArtifactConfigOutput'
, artifactConfigOutput_s3Encryption
- A structure that contains the configuration of encryption settings for
canary artifacts that are stored in Amazon S3.
BaseScreenshot
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.
BaseScreenshot' (Maybe [Text]) Text |
Instances
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.
Canary
This structure contains all information about one canary in your account.
See: newCanary
smart constructor.
Canary' (Maybe ArtifactConfigOutput) (Maybe Text) (Maybe CanaryCodeOutput) (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe CanaryRunConfigOutput) (Maybe Text) (Maybe CanaryScheduleOutput) (Maybe CanaryStatus) (Maybe Natural) (Maybe (HashMap Text Text)) (Maybe CanaryTimeline) (Maybe VisualReferenceOutput) (Maybe VpcConfigOutput) |
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.
CanaryCodeInput
data CanaryCodeInput Source #
Use this structure to input your script code for the canary. This
structure contains the Lambda handler with the location where the canary
should start running the script. If the script is stored in an S3
bucket, the bucket name, key, and version are also included. If the
script was passed into the canary directly, the script code is contained
in the value of Zipfile
.
See: newCanaryCodeInput
smart constructor.
Instances
Create a value of CanaryCodeInput
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:s3Bucket:CanaryCodeInput'
, canaryCodeInput_s3Bucket
- If your canary script is located in S3, specify the bucket name here. Do
not include s3://
as the start of the bucket name.
$sel:s3Key:CanaryCodeInput'
, canaryCodeInput_s3Key
- The S3 key of your script. For more information, see
Working with Amazon S3 Objects.
$sel:s3Version:CanaryCodeInput'
, canaryCodeInput_s3Version
- The S3 version ID of your script.
$sel:zipFile:CanaryCodeInput'
, canaryCodeInput_zipFile
- If you input your canary script directly into the canary instead of
referring to an S3 location, the value of this parameter is the
base64-encoded contents of the .zip file that contains the script. It
must be smaller than 225 Kb.
For large canary scripts, we recommend that you use an S3 location
instead of inputting it directly with this parameter.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:handler:CanaryCodeInput'
, canaryCodeInput_handler
- The entry point to use for the source code when running the canary. For
canaries that use the syn-python-selenium-1.0
runtime or a
syn-nodejs.puppeteer
runtime earlier than syn-nodejs.puppeteer-3.4
,
the handler must be specified as
fileName
.handler
. For
syn-python-selenium-1.1
, syn-nodejs.puppeteer-3.4
, and later
runtimes, the handler can be specified as
fileName
.
functionName
, or you can specify a folder where
canary scripts reside as
folder
/
fileName
.
functionName
.
CanaryCodeOutput
data CanaryCodeOutput Source #
This structure contains information about the canary's Lambda handler and where its code is stored by CloudWatch Synthetics.
See: newCanaryCodeOutput
smart constructor.
Instances
newCanaryCodeOutput :: CanaryCodeOutput Source #
Create a value of CanaryCodeOutput
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:handler:CanaryCodeOutput'
, canaryCodeOutput_handler
- The entry point to use for the source code when running the canary.
$sel:sourceLocationArn:CanaryCodeOutput'
, canaryCodeOutput_sourceLocationArn
- The ARN of the Lambda layer where Synthetics stores the canary script
code.
CanaryLastRun
data CanaryLastRun Source #
This structure contains information about the most recent run of a single canary.
See: newCanaryLastRun
smart constructor.
Instances
newCanaryLastRun :: CanaryLastRun Source #
Create a value of CanaryLastRun
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:canaryName:CanaryLastRun'
, canaryLastRun_canaryName
- The name of the canary.
$sel:lastRun:CanaryLastRun'
, canaryLastRun_lastRun
- The results from this canary's most recent run.
CanaryRun
This structure contains the details about one run of one canary.
See: newCanaryRun
smart constructor.
CanaryRun' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe CanaryRunStatus) (Maybe CanaryRunTimeline) |
Instances
newCanaryRun :: CanaryRun Source #
Create a value of CanaryRun
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:artifactS3Location:CanaryRun'
, canaryRun_artifactS3Location
- The location where the canary stored artifacts from the run. Artifacts
include the log file, screenshots, and HAR files.
$sel:id:CanaryRun'
, canaryRun_id
- A unique ID that identifies this canary run.
$sel:name:CanaryRun'
, canaryRun_name
- The name of the canary.
$sel:status:CanaryRun'
, canaryRun_status
- The status of this run.
$sel:timeline:CanaryRun'
, canaryRun_timeline
- A structure that contains the start and end times of this run.
CanaryRunConfigInput
data CanaryRunConfigInput Source #
A structure that contains input information for a canary run.
See: newCanaryRunConfigInput
smart constructor.
Instances
newCanaryRunConfigInput :: CanaryRunConfigInput Source #
Create a value of CanaryRunConfigInput
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:activeTracing:CanaryRunConfigInput'
, canaryRunConfigInput_activeTracing
- Specifies whether this canary is to use active X-Ray tracing when it
runs. Active tracing enables this canary run to be displayed in the
ServiceLens and X-Ray service maps even if the canary does not hit an
endpoint that has X-Ray tracing enabled. Using X-Ray tracing incurs
charges. For more information, see
Canaries and X-Ray tracing.
You can enable active tracing only for canaries that use version
syn-nodejs-2.0
or later for their canary runtime.
$sel:environmentVariables:CanaryRunConfigInput'
, canaryRunConfigInput_environmentVariables
- Specifies the keys and values to use for any environment variables used
in the canary script. Use the following format:
{ "key1" : "value1", "key2" : "value2", ...}
Keys must start with a letter and be at least two characters. The total size of your environment variables cannot exceed 4 KB. You can't specify any Lambda reserved environment variables as the keys for your environment variables. For more information about reserved keys, see Runtime environment variables.
The environment variables keys and values are not encrypted. Do not store sensitive information in this field.
$sel:memoryInMB:CanaryRunConfigInput'
, canaryRunConfigInput_memoryInMB
- The maximum amount of memory available to the canary while it is
running, in MB. This value must be a multiple of 64.
$sel:timeoutInSeconds:CanaryRunConfigInput'
, canaryRunConfigInput_timeoutInSeconds
- How long the canary is allowed to run before it must stop. You can't
set this time to be longer than the frequency of the runs of this
canary.
If you omit this field, the frequency of the canary is used as this value, up to a maximum of 14 minutes.
CanaryRunConfigOutput
data CanaryRunConfigOutput Source #
A structure that contains information about a canary run.
See: newCanaryRunConfigOutput
smart constructor.
Instances
newCanaryRunConfigOutput :: CanaryRunConfigOutput Source #
Create a value of CanaryRunConfigOutput
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:activeTracing:CanaryRunConfigOutput'
, canaryRunConfigOutput_activeTracing
- Displays whether this canary run used active X-Ray tracing.
$sel:memoryInMB:CanaryRunConfigOutput'
, canaryRunConfigOutput_memoryInMB
- The maximum amount of memory available to the canary while it is
running, in MB. This value must be a multiple of 64.
$sel:timeoutInSeconds:CanaryRunConfigOutput'
, canaryRunConfigOutput_timeoutInSeconds
- How long the canary is allowed to run before it must stop.
CanaryRunStatus
data CanaryRunStatus Source #
This structure contains the status information about a canary run.
See: newCanaryRunStatus
smart constructor.
Instances
newCanaryRunStatus :: CanaryRunStatus Source #
Create a value of CanaryRunStatus
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:state:CanaryRunStatus'
, canaryRunStatus_state
- The current state of the run.
$sel:stateReason:CanaryRunStatus'
, canaryRunStatus_stateReason
- If run of the canary failed, this field contains the reason for the
error.
$sel:stateReasonCode:CanaryRunStatus'
, canaryRunStatus_stateReasonCode
- If this value is CANARY_FAILURE
, an exception occurred in the canary
code. If this value is EXECUTION_FAILURE
, an exception occurred in
CloudWatch Synthetics.
CanaryRunTimeline
data CanaryRunTimeline Source #
This structure contains the start and end times of a single canary run.
See: newCanaryRunTimeline
smart constructor.
Instances
newCanaryRunTimeline :: CanaryRunTimeline Source #
Create a value of CanaryRunTimeline
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:completed:CanaryRunTimeline'
, canaryRunTimeline_completed
- The end time of the run.
$sel:started:CanaryRunTimeline'
, canaryRunTimeline_started
- The start time of the run.
CanaryScheduleInput
data CanaryScheduleInput Source #
This structure specifies how often a canary is to make runs and the date and time when it should stop making runs.
See: newCanaryScheduleInput
smart constructor.
Instances
newCanaryScheduleInput Source #
Create a value of CanaryScheduleInput
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:durationInSeconds:CanaryScheduleInput'
, canaryScheduleInput_durationInSeconds
- How long, in seconds, for the canary to continue making regular runs
according to the schedule in the Expression
value. If you specify 0,
the canary continues making runs until you stop it. If you omit this
field, the default of 0 is used.
$sel:expression:CanaryScheduleInput'
, canaryScheduleInput_expression
- A rate
expression or a cron
expression that defines how often the
canary is to run.
For a rate expression, The syntax is rate(
number unit
)
. unit
can be minute
, minutes
, or hour
.
For example, rate(1 minute)
runs the canary once a minute,
rate(10 minutes)
runs it once every 10 minutes, and rate(1 hour)
runs it once every hour. You can specify a frequency between
rate(1 minute)
and rate(1 hour)
.
Specifying rate(0 minute)
or rate(0 hour)
is a special value that
causes the canary to run only once when it is started.
Use cron(
expression
)
to specify a cron expression. You can't
schedule a canary to wait for more than a year before running. For
information about the syntax for cron expressions, see
Scheduling canary runs using cron.
CanaryScheduleOutput
data CanaryScheduleOutput Source #
How long, in seconds, for the canary to continue making regular runs
according to the schedule in the Expression
value.
See: newCanaryScheduleOutput
smart constructor.
Instances
newCanaryScheduleOutput :: CanaryScheduleOutput Source #
Create a value of CanaryScheduleOutput
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:durationInSeconds:CanaryScheduleOutput'
, canaryScheduleOutput_durationInSeconds
- How long, in seconds, for the canary to continue making regular runs
after it was created. The runs are performed according to the schedule
in the Expression
value.
$sel:expression:CanaryScheduleOutput'
, canaryScheduleOutput_expression
- A rate
expression or a cron
expression that defines how often the
canary is to run.
For a rate expression, The syntax is rate(
number unit
)
. unit
can be minute
, minutes
, or hour
.
For example, rate(1 minute)
runs the canary once a minute,
rate(10 minutes)
runs it once every 10 minutes, and rate(1 hour)
runs it once every hour. You can specify a frequency between
rate(1 minute)
and rate(1 hour)
.
Specifying rate(0 minute)
or rate(0 hour)
is a special value that
causes the canary to run only once when it is started.
Use cron(
expression
)
to specify a cron expression. For
information about the syntax for cron expressions, see
Scheduling canary runs using cron.
CanaryStatus
data CanaryStatus Source #
A structure that contains the current state of the canary.
See: newCanaryStatus
smart constructor.
Instances
newCanaryStatus :: CanaryStatus Source #
Create a value of CanaryStatus
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:state:CanaryStatus'
, canaryStatus_state
- The current state of the canary.
$sel:stateReason:CanaryStatus'
, canaryStatus_stateReason
- If the canary has insufficient permissions to run, this field provides
more details.
$sel:stateReasonCode:CanaryStatus'
, canaryStatus_stateReasonCode
- If the canary cannot run or has failed, this field displays the reason.
CanaryTimeline
data CanaryTimeline Source #
This structure contains information about when the canary was created and modified.
See: newCanaryTimeline
smart constructor.
Instances
newCanaryTimeline :: CanaryTimeline Source #
Create a value of CanaryTimeline
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:CanaryTimeline'
, canaryTimeline_created
- The date and time the canary was created.
$sel:lastModified:CanaryTimeline'
, canaryTimeline_lastModified
- The date and time the canary was most recently modified.
$sel:lastStarted:CanaryTimeline'
, canaryTimeline_lastStarted
- The date and time that the canary's most recent run started.
$sel:lastStopped:CanaryTimeline'
, canaryTimeline_lastStopped
- The date and time that the canary's most recent run ended.
Group
This structure contains information about one group.
See: newGroup
smart constructor.
Group' (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (HashMap Text Text)) |
Instances
Create a value of Group
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:arn:Group'
, group_arn
- The ARN of the group.
$sel:createdTime:Group'
, group_createdTime
- The date and time that the group was created.
$sel:id:Group'
, group_id
- The unique ID of the group.
$sel:lastModifiedTime:Group'
, group_lastModifiedTime
- The date and time that the group was most recently updated.
$sel:name:Group'
, group_name
- The name of the group.
$sel:tags:Group'
, group_tags
- The list of key-value pairs that are associated with the canary.
GroupSummary
data GroupSummary Source #
A structure containing some information about a group.
See: newGroupSummary
smart constructor.
Instances
newGroupSummary :: GroupSummary Source #
Create a value of GroupSummary
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:arn:GroupSummary'
, groupSummary_arn
- The ARN of the group.
$sel:id:GroupSummary'
, groupSummary_id
- The unique ID of the group.
$sel:name:GroupSummary'
, groupSummary_name
- The name of the group.
RuntimeVersion
data RuntimeVersion Source #
This structure contains information about one canary runtime version. For more information about runtime versions, see Canary Runtime Versions.
See: newRuntimeVersion
smart constructor.
Instances
newRuntimeVersion :: RuntimeVersion Source #
Create a value of RuntimeVersion
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:deprecationDate:RuntimeVersion'
, runtimeVersion_deprecationDate
- If this runtime version is deprecated, this value is the date of
deprecation.
$sel:description:RuntimeVersion'
, runtimeVersion_description
- A description of the runtime version, created by Amazon.
$sel:releaseDate:RuntimeVersion'
, runtimeVersion_releaseDate
- The date that the runtime version was released.
$sel:versionName:RuntimeVersion'
, runtimeVersion_versionName
- The name of the runtime version. For a list of valid runtime versions,
see
Canary Runtime Versions.
S3EncryptionConfig
data S3EncryptionConfig Source #
A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary uploads to Amazon S3.
For more information, see Encrypting canary artifacts
See: newS3EncryptionConfig
smart constructor.
Instances
newS3EncryptionConfig :: S3EncryptionConfig Source #
Create a value of S3EncryptionConfig
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:encryptionMode:S3EncryptionConfig'
, s3EncryptionConfig_encryptionMode
- The encryption method to use for artifacts created by this canary.
Specify SSE_S3
to use server-side encryption (SSE) with an Amazon
S3-managed key. Specify SSE-KMS
to use server-side encryption with a
customer-managed KMS key.
If you omit this parameter, an Amazon Web Services-managed KMS key is used.
$sel:kmsKeyArn:S3EncryptionConfig'
, s3EncryptionConfig_kmsKeyArn
- The ARN of the customer-managed KMS key to use, if you specify SSE-KMS
for EncryptionMode
VisualReferenceInput
data VisualReferenceInput Source #
An object that specifies what screenshots to use as a baseline for visual monitoring by this canary. It can optionally also specify parts of the screenshots to ignore during the visual monitoring comparison.
Visual monitoring is supported only on canaries running the syn-puppeteer-node-3.2 runtime or later. For more information, see Visual monitoring and Visual monitoring blueprint
See: newVisualReferenceInput
smart constructor.
Instances
newVisualReferenceInput Source #
Create a value of VisualReferenceInput
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:VisualReferenceInput'
, visualReferenceInput_baseScreenshots
- An array of screenshots that will be used as the baseline for visual
monitoring in future runs of this canary. If there is a screenshot that
you don't want to be used for visual monitoring, remove it from this
array.
$sel:baseCanaryRunId:VisualReferenceInput'
, visualReferenceInput_baseCanaryRunId
- Specifies which canary run to use the screenshots from as the baseline
for future visual monitoring with this canary. Valid values are
nextrun
to use the screenshots from the next run after this update is
made, lastrun
to use the screenshots from the most recent run before
this update was made, or the value of Id
in the
CanaryRun
from any past run of this canary.
VisualReferenceOutput
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.
Instances
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:baseCanaryRunId:VisualReferenceOutput'
, visualReferenceOutput_baseCanaryRunId
- The ID of the canary run that produced the baseline screenshots that are
used for visual monitoring comparisons by this canary.
$sel:baseScreenshots:VisualReferenceOutput'
, visualReferenceOutput_baseScreenshots
- An array of screenshots that are used as the baseline for comparisons
during visual monitoring.
VpcConfigInput
data VpcConfigInput Source #
If this canary is to test an endpoint in a VPC, this structure contains information about the subnets and security groups of the VPC endpoint. For more information, see Running a Canary in a VPC.
See: newVpcConfigInput
smart constructor.
VpcConfigInput' (Maybe [Text]) (Maybe [Text]) |
Instances
newVpcConfigInput :: VpcConfigInput Source #
Create a value of VpcConfigInput
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:securityGroupIds:VpcConfigInput'
, vpcConfigInput_securityGroupIds
- The IDs of the security groups for this canary.
$sel:subnetIds:VpcConfigInput'
, vpcConfigInput_subnetIds
- The IDs of the subnets where this canary is to run.
VpcConfigOutput
data VpcConfigOutput Source #
If this canary is to test an endpoint in a VPC, this structure contains information about the subnets and security groups of the VPC endpoint. For more information, see Running a Canary in a VPC.
See: newVpcConfigOutput
smart constructor.
Instances
newVpcConfigOutput :: VpcConfigOutput Source #
Create a value of VpcConfigOutput
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:securityGroupIds:VpcConfigOutput'
, vpcConfigOutput_securityGroupIds
- The IDs of the security groups for this canary.
$sel:subnetIds:VpcConfigOutput'
, vpcConfigOutput_subnetIds
- The IDs of the subnets where this canary is to run.
$sel:vpcId:VpcConfigOutput'
, vpcConfigOutput_vpcId
- The IDs of the VPC where this canary is to run.