Values.StartCanaryDryRunRequestSourceUse this operation to start a dry run for a canary that has already been created
type nonrec t = {name : CanaryName.t;The name of the canary that you want to dry run. To find canary names, use DescribeCanaries.
*)code : CanaryCodeInput.t option;runtimeVersion : String_.t option;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.
*)runConfig : CanaryRunConfigInput.t option;vpcConfig : VpcConfigInput.t option;executionRoleArn : RoleArn.t option;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:
*)successRetentionPeriodInDays : MaxSize1024.t option;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. This setting affects the range of information returned by GetCanaryRuns, as well as the range of information displayed in the Synthetics console.
*)failureRetentionPeriodInDays : MaxSize1024.t option;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. This setting affects the range of information returned by GetCanaryRuns, as well as the range of information displayed in the Synthetics console.
*)visualReference : VisualReferenceInput.t option;artifactS3Location : String_.t option;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 Amazon S3 bucket can't include a period (.).
*)artifactConfig : ArtifactConfigInput.t option;provisionedResourceCleanup : ProvisionedResourceCleanupSetting.t option;Specifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted. If you omit this parameter, the default of AUTOMATIC is used, which means that the Lambda functions and layers will be deleted when the canary is deleted. If the value of this parameter is OFF, then the value of the DeleteLambda parameter of the DeleteCanary operation determines whether the Lambda functions and layers will be deleted.
*)browserConfigs : BrowserConfigs.t option;A structure that specifies the browser type to use for a canary run. CloudWatch Synthetics supports running canaries on both CHROME and FIREFOX browsers. If not specified, browserConfigs defaults to Chrome.
*)visualReferences : VisualReferences.t option;A list of visual reference configurations for the canary, one for each browser type that the canary is configured to run on. Visual references are used for visual monitoring comparisons. syn-nodejs-puppeteer-11.0 and above, and syn-nodejs-playwright-3.0 and above, only supports visualReferences. visualReference field is not supported. Versions older than syn-nodejs-puppeteer-11.0 supports both visualReference and visualReferences for backward compatibility. It is recommended to use visualReferences for consistency and future compatibility.
*)}val make :
?code:??? ->
?runtimeVersion:??? ->
?runConfig:??? ->
?vpcConfig:??? ->
?executionRoleArn:??? ->
?successRetentionPeriodInDays:??? ->
?failureRetentionPeriodInDays:??? ->
?visualReference:??? ->
?artifactS3Location:??? ->
?artifactConfig:??? ->
?provisionedResourceCleanup:??? ->
?browserConfigs:??? ->
?visualReferences:??? ->
name:CanaryName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of MaxSize1024.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `List of
[> `String of
BaseScreenshotConfigIgnoreCoordinate.t ]
list
| `String of String_.t ])
list ]
list
| `String of String_.t ])
list ]
list
| `String of CanaryName.t
| `Structure of
(string
* [> `Blob of Blob.t
| `Boolean of NullableBoolean.t
| `Enum of string
| `Integer of MaxFifteenMinutesInSeconds.t
| `List of
[> `String of BlueprintType.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of BaseScreenshotConfigIgnoreCoordinate.t ]
list
| `String of String_.t ])
list ]
list
| `Map of
([> `String of EnvironmentVariableName.t ]
* [> `String of EnvironmentVariableValue.t ])
list
| `String of String_.t
| `Structure of
(string * [> `Enum of string | `String of KmsKeyArn.t ]) list ])
list ])
list ]