|
5 | 5 | "endpointPrefix":"synthetics",
|
6 | 6 | "jsonVersion":"1.1",
|
7 | 7 | "protocol":"rest-json",
|
| 8 | + "protocols":["rest-json"], |
8 | 9 | "serviceAbbreviation":"Synthetics",
|
9 | 10 | "serviceFullName":"Synthetics",
|
10 | 11 | "serviceId":"synthetics",
|
11 | 12 | "signatureVersion":"v4",
|
12 | 13 | "signingName":"synthetics",
|
13 |
| - "uid":"synthetics-2017-10-11" |
| 14 | + "uid":"synthetics-2017-10-11", |
| 15 | + "auth":["aws.auth#sigv4"] |
14 | 16 | },
|
15 | 17 | "operations":{
|
16 | 18 | "AssociateResource":{
|
|
75 | 77 | {"shape":"ResourceNotFoundException"},
|
76 | 78 | {"shape":"ConflictException"}
|
77 | 79 | ],
|
78 |
| - "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-SharpDrop-Alarm-<i>MyCanaryName</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>MyCanaryName</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>MyCanaryName</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 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>" |
79 | 81 | },
|
80 | 82 | "DeleteGroup":{
|
81 | 83 | "name":"DeleteGroup",
|
|
507 | 509 | "type":"string",
|
508 | 510 | "max":2048,
|
509 | 511 | "min":1,
|
510 |
| - "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:canary:[0-9a-z_\\-]{1,21}" |
| 512 | + "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:canary:[0-9a-z_\\-]{1,255}" |
511 | 513 | },
|
512 | 514 | "CanaryCodeInput":{
|
513 | 515 | "type":"structure",
|
|
534 | 536 | "documentation":"<p>The entry point to use for the source code when running the canary. For canaries that use the <code>syn-python-selenium-1.0</code> runtime or a <code>syn-nodejs.puppeteer</code> runtime earlier than <code>syn-nodejs.puppeteer-3.4</code>, the handler must be specified as <code> <i>fileName</i>.handler</code>. For <code>syn-python-selenium-1.1</code>, <code>syn-nodejs.puppeteer-3.4</code>, and later runtimes, the handler can be specified as <code> <i>fileName</i>.<i>functionName</i> </code>, or you can specify a folder where canary scripts reside as <code> <i>folder</i>/<i>fileName</i>.<i>functionName</i> </code>.</p>"
|
535 | 537 | }
|
536 | 538 | },
|
537 |
| - "documentation":"<p>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 <code>Zipfile</code>. </p>" |
| 539 | + "documentation":"<p>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 <code>Zipfile</code>. </p> <p>If you are uploading your canary scripts with an Amazon S3 bucket, your zip file should include your script in a certain folder structure.</p> <ul> <li> <p>For Node.js canaries, the folder structure must be <code>nodejs/node_modules/<i>myCanaryFilename.js</i> </code> For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_WritingCanary_Nodejs.html#CloudWatch_Synthetics_Canaries_package\">Packaging your Node.js canary files</a> </p> </li> <li> <p>For Python canaries, the folder structure must be <code>python/<i>myCanaryFilename.p</i> </code> or <code>python/<i>myFolder/myCanaryFilename.py</i> </code> For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_WritingCanary_Python.html#CloudWatch_Synthetics_Canaries_WritingCanary_Python_package\">Packaging your Python canary files</a> </p> </li> </ul>" |
538 | 540 | },
|
539 | 541 | "CanaryCodeOutput":{
|
540 | 542 | "type":"structure",
|
|
566 | 568 | },
|
567 | 569 | "CanaryName":{
|
568 | 570 | "type":"string",
|
569 |
| - "max":21, |
| 571 | + "max":255, |
570 | 572 | "min":1,
|
571 | 573 | "pattern":"^[0-9a-z_\\-]+$"
|
572 | 574 | },
|
|
853 | 855 | "shape":"VpcConfigInput",
|
854 | 856 | "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html\"> Running a Canary in a VPC</a>.</p>"
|
855 | 857 | },
|
| 858 | + "ResourcesToReplicateTags":{ |
| 859 | + "shape":"ResourceList", |
| 860 | + "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 | + }, |
856 | 862 | "Tags":{
|
857 | 863 | "shape":"TagMap",
|
858 |
| - "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>" |
| 864 | + "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>" |
859 | 865 | },
|
860 | 866 | "ArtifactConfig":{
|
861 | 867 | "shape":"ArtifactConfigInput",
|
|
986 | 992 | },
|
987 | 993 | "MaxResults":{
|
988 | 994 | "shape":"MaxCanaryResults",
|
989 |
| - "documentation":"<p>Specify this parameter to limit how many canaries are returned each time you use the <code>DescribeCanaries</code> operation. If you omit this parameter, the default of 100 is used.</p>" |
| 995 | + "documentation":"<p>Specify this parameter to limit how many canaries are returned each time you use the <code>DescribeCanaries</code> operation. If you omit this parameter, the default of 20 is used.</p>" |
990 | 996 | },
|
991 | 997 | "Names":{
|
992 | 998 | "shape":"DescribeCanariesNameFilter",
|
|
1427 | 1433 | "min":1,
|
1428 | 1434 | "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:(canary|group):[0-9a-z_\\-]+"
|
1429 | 1435 | },
|
| 1436 | + "ResourceList":{ |
| 1437 | + "type":"list", |
| 1438 | + "member":{"shape":"ResourceToTag"}, |
| 1439 | + "max":1, |
| 1440 | + "min":1 |
| 1441 | + }, |
1430 | 1442 | "ResourceNotFoundException":{
|
1431 | 1443 | "type":"structure",
|
1432 | 1444 | "members":{
|
|
1436 | 1448 | "error":{"httpStatusCode":404},
|
1437 | 1449 | "exception":true
|
1438 | 1450 | },
|
| 1451 | + "ResourceToTag":{ |
| 1452 | + "type":"string", |
| 1453 | + "enum":["lambda-function"] |
| 1454 | + }, |
1439 | 1455 | "RoleArn":{
|
1440 | 1456 | "type":"string",
|
1441 | 1457 | "max":2048,
|
|
0 commit comments