|
596 | 596 | {
|
597 | 597 | "value": "INVALID_PERMISSIONS",
|
598 | 598 | "name": "INVALID_PERMISSIONS"
|
| 599 | + }, |
| 600 | + { |
| 601 | + "value": "CREATE_PENDING", |
| 602 | + "name": "CREATE_PENDING" |
| 603 | + }, |
| 604 | + { |
| 605 | + "value": "CREATE_IN_PROGRESS", |
| 606 | + "name": "CREATE_IN_PROGRESS" |
| 607 | + }, |
| 608 | + { |
| 609 | + "value": "CREATE_FAILED", |
| 610 | + "name": "CREATE_FAILED" |
| 611 | + }, |
| 612 | + { |
| 613 | + "value": "UPDATE_PENDING", |
| 614 | + "name": "UPDATE_PENDING" |
| 615 | + }, |
| 616 | + { |
| 617 | + "value": "UPDATE_IN_PROGRESS", |
| 618 | + "name": "UPDATE_IN_PROGRESS" |
| 619 | + }, |
| 620 | + { |
| 621 | + "value": "UPDATE_COMPLETE", |
| 622 | + "name": "UPDATE_COMPLETE" |
| 623 | + }, |
| 624 | + { |
| 625 | + "value": "ROLLBACK_COMPLETE", |
| 626 | + "name": "ROLLBACK_COMPLETE" |
| 627 | + }, |
| 628 | + { |
| 629 | + "value": "ROLLBACK_FAILED", |
| 630 | + "name": "ROLLBACK_FAILED" |
| 631 | + }, |
| 632 | + { |
| 633 | + "value": "DELETE_IN_PROGRESS", |
| 634 | + "name": "DELETE_IN_PROGRESS" |
| 635 | + }, |
| 636 | + { |
| 637 | + "value": "DELETE_FAILED", |
| 638 | + "name": "DELETE_FAILED" |
| 639 | + }, |
| 640 | + { |
| 641 | + "value": "SYNC_DELETE_IN_PROGRESS", |
| 642 | + "name": "SYNC_DELETE_IN_PROGRESS" |
599 | 643 | }
|
600 | 644 | ]
|
601 | 645 | }
|
|
826 | 870 | }
|
827 | 871 | ],
|
828 | 872 | "traits": {
|
829 |
| - "smithy.api#documentation": "<p>Permanently deletes the specified canary.</p>\n <p>When you delete a canary, resources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to\n use again, you\n should also delete the following:</p>\n <ul>\n <li>\n <p>The Lambda functions and layers used by this canary. These have the prefix\n <code>cwsyn-<i>MyCanaryName</i>\n </code>.</p>\n </li>\n <li>\n <p>The CloudWatch alarms created for this canary. These alarms have a name of\n <code>Synthetics-SharpDrop-Alarm-<i>MyCanaryName</i>\n </code>.</p>\n </li>\n <li>\n <p>Amazon S3 objects and buckets, such as the canary's artifact location.</p>\n </li>\n <li>\n <p>IAM roles created for the canary. If they were created in the console, these roles\n have the name <code>\n role/service-role/CloudWatchSyntheticsRole-<i>MyCanaryName</i>\n </code>.</p>\n </li>\n <li>\n <p>CloudWatch Logs log groups created for the canary. These logs groups have the name\n <code>/aws/lambda/cwsyn-<i>MyCanaryName</i>\n </code>. </p>\n </li>\n </ul>\n \n <p>Before you delete a canary, you might want to use <code>GetCanary</code> to display\n the information about this canary. Make\n note of the information returned by this operation so that you can delete these resources\n after you delete the canary.</p>", |
| 873 | + "smithy.api#documentation": "<p>Permanently deletes the specified canary.</p>\n <p>If you specify <code>DeleteLambda</code> to <code>true</code>, CloudWatch Synthetics also deletes\n the Lambda functions and layers that are used by the canary.</p>\n <p>Other esources used and created by the canary are not automatically deleted. \n After you delete a canary that you do not intend to\n use again, you\n should also delete the following:</p>\n <ul>\n <li>\n <p>The CloudWatch alarms created for this canary. These alarms have a name of\n <code>Synthetics-SharpDrop-Alarm-<i>MyCanaryName</i>\n </code>.</p>\n </li>\n <li>\n <p>Amazon S3 objects and buckets, such as the canary's artifact location.</p>\n </li>\n <li>\n <p>IAM roles created for the canary. If they were created in the console, these roles\n have the name <code>\n role/service-role/CloudWatchSyntheticsRole-<i>MyCanaryName</i>\n </code>.</p>\n </li>\n <li>\n <p>CloudWatch Logs log groups created for the canary. These logs groups have the name\n <code>/aws/lambda/cwsyn-<i>MyCanaryName</i>\n </code>. </p>\n </li>\n </ul>\n \n <p>Before you delete a canary, you might want to use <code>GetCanary</code> to display\n the information about this canary. Make\n note of the information returned by this operation so that you can delete these resources\n after you delete the canary.</p>", |
830 | 874 | "smithy.api#http": {
|
831 | 875 | "method": "DELETE",
|
832 | 876 | "uri": "/canary/{Name}",
|
|
844 | 888 | "smithy.api#httpLabel": {},
|
845 | 889 | "smithy.api#required": {}
|
846 | 890 | }
|
| 891 | + }, |
| 892 | + "DeleteLambda": { |
| 893 | + "target": "com.amazonaws.synthetics#boolean", |
| 894 | + "traits": { |
| 895 | + "smithy.api#documentation": "<p>Specifies whether to also delete the Lambda functions and layers used by this canary. The default\n is false.</p>\n <p>Type: Boolean</p>", |
| 896 | + "smithy.api#httpQuery": "deleteLambda" |
| 897 | + } |
847 | 898 | }
|
848 | 899 | }
|
849 | 900 | },
|
|
2067 | 2118 | },
|
2068 | 2119 | "com.amazonaws.synthetics#VpcId": {
|
2069 | 2120 | "type": "string"
|
| 2121 | + }, |
| 2122 | + "com.amazonaws.synthetics#boolean": { |
| 2123 | + "type": "boolean" |
2070 | 2124 | }
|
2071 | 2125 | }
|
2072 | 2126 | }
|
0 commit comments