|
77 | 77 | {"shape":"ResourceNotFoundException"},
|
78 | 78 | {"shape":"ConflictException"}
|
79 | 79 | ],
|
80 |
| - "documentation":"<p>Permanently deletes the specified canary.</p> <p>If you specify <code>DeleteLambda</code> to <code>true</code>, CloudWatch Synthetics also deletes the Lambda functions and layers that are used by the canary.</p> <p>Other resources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following:</p> <ul> <li> <p>The CloudWatch alarms created for this canary. These alarms have a name of <code>Synthetics-Alarm-<i>first-198-characters-of-canary-name</i>-<i>canaryId</i>-<i>alarm number</i> </code> </p> </li> <li> <p>Amazon S3 objects and buckets, such as the canary's artifact location.</p> </li> <li> <p>IAM roles created for the canary. If they were created in the console, these roles have the name <code> role/service-role/CloudWatchSyntheticsRole-<i>First-21-Characters-of-CanaryName</i> </code> </p> </li> <li> <p>CloudWatch Logs log groups created for the canary. These logs groups have the name <code>/aws/lambda/cwsyn-<i>First-21-Characters-of-CanaryName</i> </code> </p> </li> </ul> <p>Before you delete a canary, you might want to use <code>GetCanary</code> to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.</p>" |
| 80 | + "documentation":"<p>Permanently deletes the specified canary.</p> <p>If the canary's <code>ProvisionedResourceCleanup</code> field is set to <code>AUTOMATIC</code> or you specify <code>DeleteLambda</code> in this operation as <code>true</code>, CloudWatch Synthetics also deletes the Lambda functions and layers that are used by the canary.</p> <p>Other resources used and created by the canary are not automatically deleted. After you delete a canary, you should also delete the following:</p> <ul> <li> <p>The CloudWatch alarms created for this canary. These alarms have a name of <code>Synthetics-Alarm-<i>first-198-characters-of-canary-name</i>-<i>canaryId</i>-<i>alarm number</i> </code> </p> </li> <li> <p>Amazon S3 objects and buckets, such as the canary's artifact location.</p> </li> <li> <p>IAM roles created for the canary. If they were created in the console, these roles have the name <code> role/service-role/CloudWatchSyntheticsRole-<i>First-21-Characters-of-CanaryName</i> </code> </p> </li> <li> <p>CloudWatch Logs log groups created for the canary. These logs groups have the name <code>/aws/lambda/cwsyn-<i>First-21-Characters-of-CanaryName</i> </code> </p> </li> </ul> <p>Before you delete a canary, you might want to use <code>GetCanary</code> to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.</p>" |
81 | 81 | },
|
82 | 82 | "DeleteGroup":{
|
83 | 83 | "name":"DeleteGroup",
|
|
494 | 494 | "shape":"VisualReferenceOutput",
|
495 | 495 | "documentation":"<p>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.</p>"
|
496 | 496 | },
|
| 497 | + "ProvisionedResourceCleanup":{ |
| 498 | + "shape":"ProvisionedResourceCleanupSetting", |
| 499 | + "documentation":"<p>Specifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted. If it is <code>AUTOMATIC</code>, the Lambda functions and layers will be deleted when the canary is deleted.</p> <p>If the value of this parameter is <code>OFF</code>, then the value of the <code>DeleteLambda</code> parameter of the <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html\">DeleteCanary</a> operation determines whether the Lambda functions and layers will be deleted.</p>" |
| 500 | + }, |
497 | 501 | "Tags":{
|
498 | 502 | "shape":"TagMap",
|
499 | 503 | "documentation":"<p>The list of key-value pairs that are associated with the canary.</p>"
|
|
859 | 863 | "shape":"ResourceList",
|
860 | 864 | "documentation":"<p>To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this parameter with the value <code>lambda-function</code>.</p> <p>If you specify this parameter and don't specify any tags in the <code>Tags</code> parameter, the canary creation fails.</p>"
|
861 | 865 | },
|
| 866 | + "ProvisionedResourceCleanup":{ |
| 867 | + "shape":"ProvisionedResourceCleanupSetting", |
| 868 | + "documentation":"<p>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 <code>AUTOMATIC</code> is used, which means that the Lambda functions and layers will be deleted when the canary is deleted.</p> <p>If the value of this parameter is <code>OFF</code>, then the value of the <code>DeleteLambda</code> parameter of the <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html\">DeleteCanary</a> operation determines whether the Lambda functions and layers will be deleted.</p>" |
| 869 | + }, |
862 | 870 | "Tags":{
|
863 | 871 | "shape":"TagMap",
|
864 | 872 | "documentation":"<p>A list of key-value pairs to associate with the canary. You can associate as many as 50 tags with a canary.</p> <p>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.</p> <p>To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this parameter with the value <code>lambda-function</code>.</p>"
|
|
913 | 921 | },
|
914 | 922 | "DeleteLambda":{
|
915 | 923 | "shape":"boolean",
|
916 |
| - "documentation":"<p>Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.</p> <p>Type: Boolean</p>", |
| 924 | + "documentation":"<p>Specifies whether to also delete the Lambda functions and layers used by this canary. The default is <code>false</code>.</p> <p>Your setting for this parameter is used only if the canary doesn't have <code>AUTOMATIC</code> for its <code>ProvisionedResourceCleanup</code> field. If that field is set to <code>AUTOMATIC</code>, then the Lambda functions and layers will be deleted when this canary is deleted. </p> <p>Type: Boolean</p>", |
917 | 925 | "location":"querystring",
|
918 | 926 | "locationName":"deleteLambda"
|
919 | 927 | }
|
|
1418 | 1426 | "min":1,
|
1419 | 1427 | "pattern":"^.+$"
|
1420 | 1428 | },
|
| 1429 | + "ProvisionedResourceCleanupSetting":{ |
| 1430 | + "type":"string", |
| 1431 | + "enum":[ |
| 1432 | + "AUTOMATIC", |
| 1433 | + "OFF" |
| 1434 | + ] |
| 1435 | + }, |
1421 | 1436 | "RequestEntityTooLargeException":{
|
1422 | 1437 | "type":"structure",
|
1423 | 1438 | "members":{
|
|
1709 | 1724 | "ArtifactConfig":{
|
1710 | 1725 | "shape":"ArtifactConfigInput",
|
1711 | 1726 | "documentation":"<p>A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.</p>"
|
| 1727 | + }, |
| 1728 | + "ProvisionedResourceCleanup":{ |
| 1729 | + "shape":"ProvisionedResourceCleanupSetting", |
| 1730 | + "documentation":"<p>Specifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted.</p> <p>If the value of this parameter is <code>OFF</code>, then the value of the <code>DeleteLambda</code> parameter of the <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html\">DeleteCanary</a> operation determines whether the Lambda functions and layers will be deleted.</p>" |
1712 | 1731 | }
|
1713 | 1732 | }
|
1714 | 1733 | },
|
|
0 commit comments