Values.CreateCanaryResponseSourceCreates a canary. Canaries are scripts that monitor your endpoints and APIs from the outside-in. 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. You can set up a canary to run continuously or just once. Do not use CreateCanary to modify an existing canary. Use UpdateCanary instead. To create canaries, you must have the CloudWatchSyntheticsFullAccess policy. If you are creating a new IAM role for the canary, you also need the iam:CreateRole, iam:CreatePolicy and iam:AttachRolePolicy permissions. For more information, see Necessary Roles and Permissions. Do not include secrets or proprietary information in your canary names. The canary name makes up part of the Amazon Resource Name (ARN) for the canary, and the ARN is included in outbound calls over the internet. For more information, see Security Considerations for Synthetics Canaries.
type nonrec error = [ | `InternalServerException of InternalServerException.t| `RequestEntityTooLargeException of RequestEntityTooLargeException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `RequestEntityTooLargeException of RequestEntityTooLargeException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `RequestEntityTooLargeException of RequestEntityTooLargeException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `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 FunctionArn.t ])
list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ])
list
| `String of UUID.t
| `Structure of
(string
* [> `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
| `Long of MaxOneYearInSeconds.t
| `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `Integer of MaxRetries.t
| `String of KmsKeyArn.t ])
list
| `Timestamp of Timestamp.t ])
list ])
list ])
list ]