1{
2    "smithy": "1.0",
3    "metadata": {
4        "suppressions": [
5            {
6                "id": "HttpMethodSemantics",
7                "namespace": "*"
8            },
9            {
10                "id": "HttpResponseCodeSemantics",
11                "namespace": "*"
12            },
13            {
14                "id": "PaginatedTrait",
15                "namespace": "*"
16            },
17            {
18                "id": "HttpHeaderTrait",
19                "namespace": "*"
20            },
21            {
22                "id": "HttpUriConflict",
23                "namespace": "*"
24            },
25            {
26                "id": "Service",
27                "namespace": "*"
28            }
29        ]
30    },
31    "shapes": {
32        "com.amazonaws.synthetics#Blob": {
33            "type": "blob",
34            "traits": {
35                "smithy.api#length": {
36                    "min": 1,
37                    "max": 10000000
38                }
39            }
40        },
41        "com.amazonaws.synthetics#Canaries": {
42            "type": "list",
43            "member": {
44                "target": "com.amazonaws.synthetics#Canary"
45            }
46        },
47        "com.amazonaws.synthetics#CanariesLastRun": {
48            "type": "list",
49            "member": {
50                "target": "com.amazonaws.synthetics#CanaryLastRun"
51            }
52        },
53        "com.amazonaws.synthetics#Canary": {
54            "type": "structure",
55            "members": {
56                "Id": {
57                    "target": "com.amazonaws.synthetics#UUID",
58                    "traits": {
59                        "smithy.api#documentation": "<p>The unique ID of this canary.</p>"
60                    }
61                },
62                "Name": {
63                    "target": "com.amazonaws.synthetics#CanaryName",
64                    "traits": {
65                        "smithy.api#documentation": "<p>The name of the canary.</p>"
66                    }
67                },
68                "Code": {
69                    "target": "com.amazonaws.synthetics#CanaryCodeOutput"
70                },
71                "ExecutionRoleArn": {
72                    "target": "com.amazonaws.synthetics#RoleArn",
73                    "traits": {
74                        "smithy.api#documentation": "<p>The ARN of the IAM role used to run the canary. This role must include <code>lambda.amazonaws.com</code> as a principal in the trust\n         policy.</p>"
75                    }
76                },
77                "Schedule": {
78                    "target": "com.amazonaws.synthetics#CanaryScheduleOutput",
79                    "traits": {
80                        "smithy.api#documentation": "<p>A structure that contains information about how often the canary is to run, and when\n         these runs are to stop.</p>"
81                    }
82                },
83                "RunConfig": {
84                    "target": "com.amazonaws.synthetics#CanaryRunConfigOutput"
85                },
86                "SuccessRetentionPeriodInDays": {
87                    "target": "com.amazonaws.synthetics#MaxSize1024",
88                    "traits": {
89                        "smithy.api#documentation": "<p>The number of days to retain data about successful runs of this canary.</p>"
90                    }
91                },
92                "FailureRetentionPeriodInDays": {
93                    "target": "com.amazonaws.synthetics#MaxSize1024",
94                    "traits": {
95                        "smithy.api#documentation": "<p>The number of days to retain data about failed runs of this canary.</p>"
96                    }
97                },
98                "Status": {
99                    "target": "com.amazonaws.synthetics#CanaryStatus",
100                    "traits": {
101                        "smithy.api#documentation": "<p>A structure that contains information about the canary's status.</p>"
102                    }
103                },
104                "Timeline": {
105                    "target": "com.amazonaws.synthetics#CanaryTimeline",
106                    "traits": {
107                        "smithy.api#documentation": "<p>A structure that contains information about when the canary was created, modified, and\n         most recently run.</p>"
108                    }
109                },
110                "ArtifactS3Location": {
111                    "target": "com.amazonaws.synthetics#String",
112                    "traits": {
113                        "smithy.api#documentation": "<p>The location in Amazon S3 where Synthetics stores artifacts from the runs of this\n         canary. Artifacts include the log file, screenshots, and HAR files.</p>"
114                    }
115                },
116                "EngineArn": {
117                    "target": "com.amazonaws.synthetics#FunctionArn",
118                    "traits": {
119                        "smithy.api#documentation": "<p>The ARN of the Lambda function that is used as your canary's engine. For more information \n         about Lambda ARN format, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/lambda-api-permissions-ref.html\">Resources and Conditions for Lambda Actions</a>.</p>"
120                    }
121                },
122                "RuntimeVersion": {
123                    "target": "com.amazonaws.synthetics#String",
124                    "traits": {
125                        "smithy.api#documentation": "<p>Specifies the runtime version to use for the canary. For more information about\n         runtime versions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html\">\n            Canary Runtime Versions</a>.</p>"
126                    }
127                },
128                "VpcConfig": {
129                    "target": "com.amazonaws.synthetics#VpcConfigOutput"
130                },
131                "Tags": {
132                    "target": "com.amazonaws.synthetics#TagMap",
133                    "traits": {
134                        "smithy.api#documentation": "<p>The list of key-value pairs that are associated with the canary.</p>"
135                    }
136                }
137            },
138            "traits": {
139                "smithy.api#documentation": "<p>This structure contains all information about one canary in your account.</p>"
140            }
141        },
142        "com.amazonaws.synthetics#CanaryArn": {
143            "type": "string",
144            "traits": {
145                "smithy.api#length": {
146                    "min": 1,
147                    "max": 2048
148                },
149                "smithy.api#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}"
150            }
151        },
152        "com.amazonaws.synthetics#CanaryCodeInput": {
153            "type": "structure",
154            "members": {
155                "S3Bucket": {
156                    "target": "com.amazonaws.synthetics#String",
157                    "traits": {
158                        "smithy.api#documentation": "<p>If your canary script is located in S3, specify the full bucket name here. The bucket\n         must already exist. Specify the full bucket name, including <code>s3://</code> as the \n         start of the bucket name.</p>"
159                    }
160                },
161                "S3Key": {
162                    "target": "com.amazonaws.synthetics#String",
163                    "traits": {
164                        "smithy.api#documentation": "<p>The S3 key of your script. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingObjects.html\">Working with Amazon S3 Objects</a>.</p>"
165                    }
166                },
167                "S3Version": {
168                    "target": "com.amazonaws.synthetics#String",
169                    "traits": {
170                        "smithy.api#documentation": "<p>The S3 version ID of your script.</p>"
171                    }
172                },
173                "ZipFile": {
174                    "target": "com.amazonaws.synthetics#Blob",
175                    "traits": {
176                        "smithy.api#documentation": "<p>If you input your canary script directly into the canary instead of referring to an S3\n         location, the value of this parameter is the .zip file that contains the script. It can be\n         up to 5 MB.</p>"
177                    }
178                },
179                "Handler": {
180                    "target": "com.amazonaws.synthetics#String",
181                    "traits": {
182                        "smithy.api#documentation": "<p>The entry point to use for the source code when running the canary. This value must end\n         with the string <code>.handler</code>.</p>",
183                        "smithy.api#required": {}
184                    }
185                }
186            },
187            "traits": {
188                "smithy.api#documentation": "<p>Use this structure to input your script code for the canary. This structure contains the\n         Lambda handler with the location where the canary should start running the script. If the\n         script is stored in an S3 bucket, the bucket name, key, and version are also included. If\n         the script was passed into the canary directly, the script code is contained in the value\n         of <code>Zipfile</code>. </p>"
189            }
190        },
191        "com.amazonaws.synthetics#CanaryCodeOutput": {
192            "type": "structure",
193            "members": {
194                "SourceLocationArn": {
195                    "target": "com.amazonaws.synthetics#String",
196                    "traits": {
197                        "smithy.api#documentation": "<p>The ARN of the Lambda layer where Synthetics stores the canary script code.</p>"
198                    }
199                },
200                "Handler": {
201                    "target": "com.amazonaws.synthetics#String",
202                    "traits": {
203                        "smithy.api#documentation": "<p>The entry point to use for the source code when running the canary.</p>"
204                    }
205                }
206            },
207            "traits": {
208                "smithy.api#documentation": "<p>This structure contains information about the canary's Lambda handler and \n      where its code is stored by CloudWatch Synthetics.</p>"
209            }
210        },
211        "com.amazonaws.synthetics#CanaryLastRun": {
212            "type": "structure",
213            "members": {
214                "CanaryName": {
215                    "target": "com.amazonaws.synthetics#CanaryName",
216                    "traits": {
217                        "smithy.api#documentation": "<p>The name of the canary.</p>"
218                    }
219                },
220                "LastRun": {
221                    "target": "com.amazonaws.synthetics#CanaryRun",
222                    "traits": {
223                        "smithy.api#documentation": "<p>The results from this canary's most recent run.</p>"
224                    }
225                }
226            },
227            "traits": {
228                "smithy.api#documentation": "<p>This structure contains information about the most recent run of a single canary.</p>"
229            }
230        },
231        "com.amazonaws.synthetics#CanaryName": {
232            "type": "string",
233            "traits": {
234                "smithy.api#length": {
235                    "min": 1,
236                    "max": 21
237                },
238                "smithy.api#pattern": "^[0-9a-z_\\-]+$"
239            }
240        },
241        "com.amazonaws.synthetics#CanaryRun": {
242            "type": "structure",
243            "members": {
244                "Id": {
245                    "target": "com.amazonaws.synthetics#UUID",
246                    "traits": {
247                        "smithy.api#documentation": "<p>A unique ID that identifies this canary run.</p>"
248                    }
249                },
250                "Name": {
251                    "target": "com.amazonaws.synthetics#CanaryName",
252                    "traits": {
253                        "smithy.api#documentation": "<p>The name of the canary.</p>"
254                    }
255                },
256                "Status": {
257                    "target": "com.amazonaws.synthetics#CanaryRunStatus",
258                    "traits": {
259                        "smithy.api#documentation": "<p>The status of this run.</p>"
260                    }
261                },
262                "Timeline": {
263                    "target": "com.amazonaws.synthetics#CanaryRunTimeline",
264                    "traits": {
265                        "smithy.api#documentation": "<p>A structure that contains the start and end times of this run.</p>"
266                    }
267                },
268                "ArtifactS3Location": {
269                    "target": "com.amazonaws.synthetics#String",
270                    "traits": {
271                        "smithy.api#documentation": "<p>The location where the canary stored artifacts from the run. Artifacts include \n         the log file, screenshots, and HAR files.</p>"
272                    }
273                }
274            },
275            "traits": {
276                "smithy.api#documentation": "<p>This structure contains the details about one run of one canary.</p>"
277            }
278        },
279        "com.amazonaws.synthetics#CanaryRunConfigInput": {
280            "type": "structure",
281            "members": {
282                "TimeoutInSeconds": {
283                    "target": "com.amazonaws.synthetics#MaxFifteenMinutesInSeconds",
284                    "traits": {
285                        "smithy.api#documentation": "<p>How long the canary is allowed to run before it must stop. You can't set this time to be longer\n         than the frequency of the runs of this canary.</p>\n         <p>If you omit this field, the\n         frequency of the canary is used as this value, up to a maximum of 14 minutes.</p>"
286                    }
287                },
288                "MemoryInMB": {
289                    "target": "com.amazonaws.synthetics#MaxSize3008",
290                    "traits": {
291                        "smithy.api#documentation": "<p>The maximum amount of memory available to the canary while it is running, in MB. This value must be a multiple of 64.</p>"
292                    }
293                },
294                "ActiveTracing": {
295                    "target": "com.amazonaws.synthetics#NullableBoolean",
296                    "traits": {
297                        "smithy.api#documentation": "<p>Specifies whether this canary is to use active AWS X-Ray tracing when it runs. Active tracing \n         enables\n      this canary run to be displayed in the ServiceLens and X-Ray service maps even if the canary does \n      not hit an endpoint that has X-ray tracing enabled. Using X-Ray tracing incurs charges.\n      For more information, see  <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_tracing.html\">\n         Canaries and X-Ray tracing</a>.</p>\n         <p>You can enable active tracing only for canaries that use version <code>syn-nodejs-2.0</code> \n      or later for their canary runtime.</p>"
298                    }
299                },
300                "EnvironmentVariables": {
301                    "target": "com.amazonaws.synthetics#EnvironmentVariablesMap",
302                    "traits": {
303                        "smithy.api#documentation": "<p>Specifies the keys and values to use for any environment variables\n      used in the canary script. Use the following format:</p>\n         <p>{ \"key1\" : \"value1\", \"key2\" : \"value2\", ...}</p>\n         <p>Keys must start with a letter and be at least two characters. The total size\n         of your environment variables cannot exceed 4 KB. You can't specify any Lambda\n         reserved environment variables as the keys for your environment variables. For \n         more information about reserved keys, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime\">\n            Runtime environment variables</a>.</p>"
304                    }
305                }
306            },
307            "traits": {
308                "smithy.api#documentation": "<p>A structure that contains input information for a canary run.</p>"
309            }
310        },
311        "com.amazonaws.synthetics#CanaryRunConfigOutput": {
312            "type": "structure",
313            "members": {
314                "TimeoutInSeconds": {
315                    "target": "com.amazonaws.synthetics#MaxFifteenMinutesInSeconds",
316                    "traits": {
317                        "smithy.api#documentation": "<p>How long the canary is allowed to run before it must stop.</p>"
318                    }
319                },
320                "MemoryInMB": {
321                    "target": "com.amazonaws.synthetics#MaxSize3008",
322                    "traits": {
323                        "smithy.api#documentation": "<p>The maximum amount of memory available to the canary while it is running, in MB. This value\n         must be a multiple of 64.</p>"
324                    }
325                },
326                "ActiveTracing": {
327                    "target": "com.amazonaws.synthetics#NullableBoolean",
328                    "traits": {
329                        "smithy.api#documentation": "<p>Displays whether this canary run used active AWS X-Ray tracing. </p>"
330                    }
331                }
332            },
333            "traits": {
334                "smithy.api#documentation": "<p>A structure that contains information about a canary run.</p>"
335            }
336        },
337        "com.amazonaws.synthetics#CanaryRunState": {
338            "type": "string",
339            "traits": {
340                "smithy.api#enum": [
341                    {
342                        "value": "RUNNING",
343                        "name": "RUNNING"
344                    },
345                    {
346                        "value": "PASSED",
347                        "name": "PASSED"
348                    },
349                    {
350                        "value": "FAILED",
351                        "name": "FAILED"
352                    }
353                ]
354            }
355        },
356        "com.amazonaws.synthetics#CanaryRunStateReasonCode": {
357            "type": "string",
358            "traits": {
359                "smithy.api#enum": [
360                    {
361                        "value": "CANARY_FAILURE",
362                        "name": "CANARY_FAILURE"
363                    },
364                    {
365                        "value": "EXECUTION_FAILURE",
366                        "name": "EXECUTION_FAILURE"
367                    }
368                ]
369            }
370        },
371        "com.amazonaws.synthetics#CanaryRunStatus": {
372            "type": "structure",
373            "members": {
374                "State": {
375                    "target": "com.amazonaws.synthetics#CanaryRunState",
376                    "traits": {
377                        "smithy.api#documentation": "<p>The current state of the run.</p>"
378                    }
379                },
380                "StateReason": {
381                    "target": "com.amazonaws.synthetics#String",
382                    "traits": {
383                        "smithy.api#documentation": "<p>If run of the canary failed, this field contains the reason for the error.</p>"
384                    }
385                },
386                "StateReasonCode": {
387                    "target": "com.amazonaws.synthetics#CanaryRunStateReasonCode",
388                    "traits": {
389                        "smithy.api#documentation": "<p>If this value is <code>CANARY_FAILURE</code>, an exception occurred in the \n         canary code. If this value is <code>EXECUTION_FAILURE</code>, an exception occurred in \n         CloudWatch Synthetics.</p>"
390                    }
391                }
392            },
393            "traits": {
394                "smithy.api#documentation": "<p>This structure contains the status information about a canary run.</p>"
395            }
396        },
397        "com.amazonaws.synthetics#CanaryRunTimeline": {
398            "type": "structure",
399            "members": {
400                "Started": {
401                    "target": "com.amazonaws.synthetics#Timestamp",
402                    "traits": {
403                        "smithy.api#documentation": "<p>The start time of the run.</p>"
404                    }
405                },
406                "Completed": {
407                    "target": "com.amazonaws.synthetics#Timestamp",
408                    "traits": {
409                        "smithy.api#documentation": "<p>The end time of the run.</p>"
410                    }
411                }
412            },
413            "traits": {
414                "smithy.api#documentation": "<p>This structure contains the start and end times of a single canary run.</p>"
415            }
416        },
417        "com.amazonaws.synthetics#CanaryRuns": {
418            "type": "list",
419            "member": {
420                "target": "com.amazonaws.synthetics#CanaryRun"
421            }
422        },
423        "com.amazonaws.synthetics#CanaryScheduleInput": {
424            "type": "structure",
425            "members": {
426                "Expression": {
427                    "target": "com.amazonaws.synthetics#String",
428                    "traits": {
429                        "smithy.api#documentation": "<p>A rate expression that defines how often the canary is to run. The syntax is\n               <code>rate(<i>number unit</i>)</code>. <i>unit</i>\n         can be <code>minute</code>, <code>minutes</code>, or <code>hour</code>. </p>\n         <p>For example, <code>rate(1 minute)</code> runs the canary once a minute, <code>rate(10 minutes)</code> runs it once every \n      10 minutes, and <code>rate(1 hour)</code> runs it once every hour. You can\n         specify a frequency between <code>rate(1 minute)</code> and <code>rate(1 hour)</code>.</p>\n         <p>Specifying <code>rate(0 minute)</code> or <code>rate(0 hour)</code> is a special value \n         that causes the \n         canary to run only once when it is started.</p>",
430                        "smithy.api#required": {}
431                    }
432                },
433                "DurationInSeconds": {
434                    "target": "com.amazonaws.synthetics#MaxOneYearInSeconds",
435                    "traits": {
436                        "smithy.api#documentation": "<p>How long, in seconds, for the canary to continue making regular runs according to\n         the schedule in the <code>Expression</code> value. If you specify 0, the canary continues\n         making runs until you stop it. If you omit this field, the default of 0 is used.</p>"
437                    }
438                }
439            },
440            "traits": {
441                "smithy.api#documentation": "<p>This structure specifies how often a canary is to make runs and the date and time\n         when it should stop making runs.</p>"
442            }
443        },
444        "com.amazonaws.synthetics#CanaryScheduleOutput": {
445            "type": "structure",
446            "members": {
447                "Expression": {
448                    "target": "com.amazonaws.synthetics#String",
449                    "traits": {
450                        "smithy.api#documentation": "<p>A rate expression that defines how often the canary is to run. The syntax is\n         <code>rate(<i>number unit</i>)</code>. <i>unit</i>\n         can be <code>minute</code>, <code>minutes</code>, or <code>hour</code>. </p>\n         <p>For example, <code>rate(1 minute)</code> runs the canary once a minute, <code>rate(10 minutes)</code> runs it once every \n         10 minutes, and <code>rate(1 hour)</code> runs it once every hour.</p>\n         <p>Specifying <code>rate(0 minute)</code> or <code>rate(0 hour)</code> is a special value \n         that causes the \n         canary to run only once when it is started.</p>"
451                    }
452                },
453                "DurationInSeconds": {
454                    "target": "com.amazonaws.synthetics#MaxOneYearInSeconds",
455                    "traits": {
456                        "smithy.api#documentation": "<p>How long, in seconds, for the canary to continue making regular runs after it \n         was created. The runs are performed according to the schedule in the \n         <code>Expression</code> value.</p>"
457                    }
458                }
459            },
460            "traits": {
461                "smithy.api#documentation": "<p>How long, in seconds, for the canary to continue making regular runs according to the schedule in the \n         <code>Expression</code> value.</p>"
462            }
463        },
464        "com.amazonaws.synthetics#CanaryState": {
465            "type": "string",
466            "traits": {
467                "smithy.api#enum": [
468                    {
469                        "value": "CREATING",
470                        "name": "CREATING"
471                    },
472                    {
473                        "value": "READY",
474                        "name": "READY"
475                    },
476                    {
477                        "value": "STARTING",
478                        "name": "STARTING"
479                    },
480                    {
481                        "value": "RUNNING",
482                        "name": "RUNNING"
483                    },
484                    {
485                        "value": "UPDATING",
486                        "name": "UPDATING"
487                    },
488                    {
489                        "value": "STOPPING",
490                        "name": "STOPPING"
491                    },
492                    {
493                        "value": "STOPPED",
494                        "name": "STOPPED"
495                    },
496                    {
497                        "value": "ERROR",
498                        "name": "ERROR"
499                    },
500                    {
501                        "value": "DELETING",
502                        "name": "DELETING"
503                    }
504                ]
505            }
506        },
507        "com.amazonaws.synthetics#CanaryStateReasonCode": {
508            "type": "string",
509            "traits": {
510                "smithy.api#enum": [
511                    {
512                        "value": "INVALID_PERMISSIONS",
513                        "name": "INVALID_PERMISSIONS"
514                    }
515                ]
516            }
517        },
518        "com.amazonaws.synthetics#CanaryStatus": {
519            "type": "structure",
520            "members": {
521                "State": {
522                    "target": "com.amazonaws.synthetics#CanaryState",
523                    "traits": {
524                        "smithy.api#documentation": "<p>The current state of the canary.</p>"
525                    }
526                },
527                "StateReason": {
528                    "target": "com.amazonaws.synthetics#String",
529                    "traits": {
530                        "smithy.api#documentation": "<p>If the canary has insufficient permissions to run, this field provides more details.</p>"
531                    }
532                },
533                "StateReasonCode": {
534                    "target": "com.amazonaws.synthetics#CanaryStateReasonCode",
535                    "traits": {
536                        "smithy.api#documentation": "<p>If the canary cannot run or has failed, this field displays the reason.</p>"
537                    }
538                }
539            },
540            "traits": {
541                "smithy.api#documentation": "<p>A structure that contains the current state of the canary.</p>"
542            }
543        },
544        "com.amazonaws.synthetics#CanaryTimeline": {
545            "type": "structure",
546            "members": {
547                "Created": {
548                    "target": "com.amazonaws.synthetics#Timestamp",
549                    "traits": {
550                        "smithy.api#documentation": "<p>The date and time the canary was created.</p>"
551                    }
552                },
553                "LastModified": {
554                    "target": "com.amazonaws.synthetics#Timestamp",
555                    "traits": {
556                        "smithy.api#documentation": "<p>The date and time the canary was most recently modified.</p>"
557                    }
558                },
559                "LastStarted": {
560                    "target": "com.amazonaws.synthetics#Timestamp",
561                    "traits": {
562                        "smithy.api#documentation": "<p>The date and time that the canary's most recent run started.</p>"
563                    }
564                },
565                "LastStopped": {
566                    "target": "com.amazonaws.synthetics#Timestamp",
567                    "traits": {
568                        "smithy.api#documentation": "<p>The date and time that the canary's most recent run ended.</p>"
569                    }
570                }
571            },
572            "traits": {
573                "smithy.api#documentation": "<p>This structure contains information about when the canary was created and modified.</p>"
574            }
575        },
576        "com.amazonaws.synthetics#ConflictException": {
577            "type": "structure",
578            "members": {
579                "Message": {
580                    "target": "com.amazonaws.synthetics#ErrorMessage"
581                }
582            },
583            "traits": {
584                "smithy.api#documentation": "<p>A conflicting operation is already in progress.</p>",
585                "smithy.api#error": "client",
586                "smithy.api#httpError": 409
587            }
588        },
589        "com.amazonaws.synthetics#CreateCanary": {
590            "type": "operation",
591            "input": {
592                "target": "com.amazonaws.synthetics#CreateCanaryRequest"
593            },
594            "output": {
595                "target": "com.amazonaws.synthetics#CreateCanaryResponse"
596            },
597            "errors": [
598                {
599                    "target": "com.amazonaws.synthetics#InternalServerException"
600                },
601                {
602                    "target": "com.amazonaws.synthetics#ValidationException"
603                }
604            ],
605            "traits": {
606                "smithy.api#documentation": "<p>Creates a canary. Canaries are scripts that monitor your endpoints and APIs from the\n         outside-in. Canaries help you check the availability and latency of your web services and\n         troubleshoot anomalies by investigating load time data, screenshots of the UI, logs, and\n         metrics. You can set up a canary to run continuously or just once. </p>\n         <p>Do not use <code>CreateCanary</code> to modify an existing canary. Use <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_UpdateCanary.html\">UpdateCanary</a> instead.</p>\n         <p>To create canaries, you must have the <code>CloudWatchSyntheticsFullAccess</code> policy.\n         If you are creating a new IAM role for the canary, you also need the\n         the <code>iam:CreateRole</code>, <code>iam:CreatePolicy</code> and\n            <code>iam:AttachRolePolicy</code> permissions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Roles\">Necessary\n            Roles and Permissions</a>.</p>\n         <p>Do not include secrets or proprietary information in your canary names. The canary name\n         makes up part of the Amazon Resource Name (ARN) for the canary, and the ARN is included in\n         outbound calls over the internet. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/servicelens_canaries_security.html\">Security\n            Considerations for Synthetics Canaries</a>.</p>",
607                "smithy.api#http": {
608                    "method": "POST",
609                    "uri": "/canary",
610                    "code": 200
611                }
612            }
613        },
614        "com.amazonaws.synthetics#CreateCanaryRequest": {
615            "type": "structure",
616            "members": {
617                "Name": {
618                    "target": "com.amazonaws.synthetics#CanaryName",
619                    "traits": {
620                        "smithy.api#documentation": "<p>The name for this canary. Be sure to give it a descriptive name \n         that distinguishes it from other canaries in your account.</p>\n         <p>Do not include secrets or proprietary information in your canary names. The canary name\n         makes up part of the canary ARN, and the ARN is included in outbound calls over the\n         internet. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/servicelens_canaries_security.html\">Security\n            Considerations for Synthetics Canaries</a>.</p>",
621                        "smithy.api#required": {}
622                    }
623                },
624                "Code": {
625                    "target": "com.amazonaws.synthetics#CanaryCodeInput",
626                    "traits": {
627                        "smithy.api#documentation": "<p>A structure that includes the entry point from which the canary should start\n         running your script. If the script is stored in \n         an S3 bucket, the bucket name, key, and version are also included.\n      </p>",
628                        "smithy.api#required": {}
629                    }
630                },
631                "ArtifactS3Location": {
632                    "target": "com.amazonaws.synthetics#String",
633                    "traits": {
634                        "smithy.api#documentation": "<p>The location in Amazon S3 where Synthetics stores artifacts from the test runs of this\n         canary. Artifacts include the log file, screenshots, and HAR files.</p>",
635                        "smithy.api#required": {}
636                    }
637                },
638                "ExecutionRoleArn": {
639                    "target": "com.amazonaws.synthetics#RoleArn",
640                    "traits": {
641                        "smithy.api#documentation": "<p>The ARN of the IAM role to be used to run the canary. This role must already exist, \n         and must include <code>lambda.amazonaws.com</code> as a principal in the trust\n         policy. The role must also have the following permissions:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>s3:PutObject</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>s3:GetBucketLocation</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>s3:ListAllMyBuckets</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>cloudwatch:PutMetricData</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>logs:CreateLogGroup</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>logs:CreateLogStream</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>logs:PutLogEvents</code>\n               </p>\n            </li>\n         </ul>",
642                        "smithy.api#required": {}
643                    }
644                },
645                "Schedule": {
646                    "target": "com.amazonaws.synthetics#CanaryScheduleInput",
647                    "traits": {
648                        "smithy.api#documentation": "<p>A structure that contains information about how often the canary is to run and when\n         these test runs are to stop.</p>",
649                        "smithy.api#required": {}
650                    }
651                },
652                "RunConfig": {
653                    "target": "com.amazonaws.synthetics#CanaryRunConfigInput",
654                    "traits": {
655                        "smithy.api#documentation": "<p>A structure that contains the configuration for individual canary runs, \n         such as timeout value.</p>"
656                    }
657                },
658                "SuccessRetentionPeriodInDays": {
659                    "target": "com.amazonaws.synthetics#MaxSize1024",
660                    "traits": {
661                        "smithy.api#documentation": "<p>The number of days to retain data about successful runs of this canary. If you omit \n         this field, the default of 31 days is used. The valid range is 1 to 455 days.</p>"
662                    }
663                },
664                "FailureRetentionPeriodInDays": {
665                    "target": "com.amazonaws.synthetics#MaxSize1024",
666                    "traits": {
667                        "smithy.api#documentation": "<p>The number of days to retain data about failed runs of this canary. If you omit \n         this field, the default of 31 days is used. The valid range is 1 to 455 days.</p>"
668                    }
669                },
670                "RuntimeVersion": {
671                    "target": "com.amazonaws.synthetics#String",
672                    "traits": {
673                        "smithy.api#documentation": "<p>Specifies the runtime version to use for the canary. For a list of valid\n         runtime versions and more information about\n         runtime versions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html\">\n            Canary Runtime Versions</a>.</p>",
674                        "smithy.api#required": {}
675                    }
676                },
677                "VpcConfig": {
678                    "target": "com.amazonaws.synthetics#VpcConfigInput",
679                    "traits": {
680                        "smithy.api#documentation": "<p>If this canary is to test an endpoint in a VPC, this structure contains\n      information about the subnet and security groups of the VPC endpoint. \n      For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html\">\n         Running a Canary in a VPC</a>.</p>"
681                    }
682                },
683                "Tags": {
684                    "target": "com.amazonaws.synthetics#TagMap",
685                    "traits": {
686                        "smithy.api#documentation": "<p>A list of key-value pairs to associate with the canary. \n         You can associate as many as 50 tags with a canary.</p>\n         <p>Tags can help you organize and categorize your\n         resources. You can also use them to scope user permissions, by \n         granting a user permission to access or change only the resources that have\n         certain tag values.</p>"
687                    }
688                }
689            }
690        },
691        "com.amazonaws.synthetics#CreateCanaryResponse": {
692            "type": "structure",
693            "members": {
694                "Canary": {
695                    "target": "com.amazonaws.synthetics#Canary",
696                    "traits": {
697                        "smithy.api#documentation": "<p>The full details about the canary you have created.</p>"
698                    }
699                }
700            }
701        },
702        "com.amazonaws.synthetics#DeleteCanary": {
703            "type": "operation",
704            "input": {
705                "target": "com.amazonaws.synthetics#DeleteCanaryRequest"
706            },
707            "output": {
708                "target": "com.amazonaws.synthetics#DeleteCanaryResponse"
709            },
710            "errors": [
711                {
712                    "target": "com.amazonaws.synthetics#ConflictException"
713                },
714                {
715                    "target": "com.amazonaws.synthetics#InternalServerException"
716                },
717                {
718                    "target": "com.amazonaws.synthetics#ResourceNotFoundException"
719                },
720                {
721                    "target": "com.amazonaws.synthetics#ValidationException"
722                }
723            ],
724            "traits": {
725                "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>",
726                "smithy.api#http": {
727                    "method": "DELETE",
728                    "uri": "/canary/{Name}",
729                    "code": 200
730                }
731            }
732        },
733        "com.amazonaws.synthetics#DeleteCanaryRequest": {
734            "type": "structure",
735            "members": {
736                "Name": {
737                    "target": "com.amazonaws.synthetics#CanaryName",
738                    "traits": {
739                        "smithy.api#documentation": "<p>The name of the canary that you want to delete. To find the names of your canaries, use <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html\">DescribeCanaries</a>.</p>",
740                        "smithy.api#httpLabel": {},
741                        "smithy.api#required": {}
742                    }
743                }
744            }
745        },
746        "com.amazonaws.synthetics#DeleteCanaryResponse": {
747            "type": "structure",
748            "members": {}
749        },
750        "com.amazonaws.synthetics#DescribeCanaries": {
751            "type": "operation",
752            "input": {
753                "target": "com.amazonaws.synthetics#DescribeCanariesRequest"
754            },
755            "output": {
756                "target": "com.amazonaws.synthetics#DescribeCanariesResponse"
757            },
758            "errors": [
759                {
760                    "target": "com.amazonaws.synthetics#InternalServerException"
761                },
762                {
763                    "target": "com.amazonaws.synthetics#ValidationException"
764                }
765            ],
766            "traits": {
767                "smithy.api#documentation": "<p>This operation returns a list of the canaries in your account, along with full details\n      about each canary.</p>\n        <p>This operation does not have resource-level authorization, so if a user is able to use\n            <code>DescribeCanaries</code>, the user can see all of the canaries in the account. A\n         deny policy can only be used to restrict access to all canaries. It cannot be used on\n         specific resources. </p>",
768                "smithy.api#http": {
769                    "method": "POST",
770                    "uri": "/canaries",
771                    "code": 200
772                },
773                "smithy.api#paginated": {
774                    "inputToken": "NextToken",
775                    "outputToken": "NextToken",
776                    "pageSize": "MaxResults"
777                }
778            }
779        },
780        "com.amazonaws.synthetics#DescribeCanariesLastRun": {
781            "type": "operation",
782            "input": {
783                "target": "com.amazonaws.synthetics#DescribeCanariesLastRunRequest"
784            },
785            "output": {
786                "target": "com.amazonaws.synthetics#DescribeCanariesLastRunResponse"
787            },
788            "errors": [
789                {
790                    "target": "com.amazonaws.synthetics#InternalServerException"
791                },
792                {
793                    "target": "com.amazonaws.synthetics#ValidationException"
794                }
795            ],
796            "traits": {
797                "smithy.api#documentation": "<p>Use this operation to see information from the most recent run of each canary that you have created.</p>",
798                "smithy.api#http": {
799                    "method": "POST",
800                    "uri": "/canaries/last-run",
801                    "code": 200
802                },
803                "smithy.api#paginated": {
804                    "inputToken": "NextToken",
805                    "outputToken": "NextToken",
806                    "pageSize": "MaxResults"
807                }
808            }
809        },
810        "com.amazonaws.synthetics#DescribeCanariesLastRunRequest": {
811            "type": "structure",
812            "members": {
813                "NextToken": {
814                    "target": "com.amazonaws.synthetics#Token",
815                    "traits": {
816                        "smithy.api#documentation": "<p>A token that indicates that there is more data\n         available. You can use this token in a subsequent <code>DescribeCanaries</code> operation to retrieve the next \n         set of results.</p>"
817                    }
818                },
819                "MaxResults": {
820                    "target": "com.amazonaws.synthetics#MaxSize100",
821                    "traits": {
822                        "smithy.api#documentation": "<p>Specify this parameter to limit how many runs are returned each time you use\n         the <code>DescribeLastRun</code> operation. If you omit this parameter, the default of 100 is used.</p>"
823                    }
824                }
825            }
826        },
827        "com.amazonaws.synthetics#DescribeCanariesLastRunResponse": {
828            "type": "structure",
829            "members": {
830                "CanariesLastRun": {
831                    "target": "com.amazonaws.synthetics#CanariesLastRun",
832                    "traits": {
833                        "smithy.api#documentation": "<p>An array that contains the information from the most recent run of each\n         canary.</p>"
834                    }
835                },
836                "NextToken": {
837                    "target": "com.amazonaws.synthetics#Token",
838                    "traits": {
839                        "smithy.api#documentation": "<p>A token that indicates that there is more data\n         available. You can use this token in a subsequent <code>DescribeCanariesLastRun</code> operation to retrieve the next \n         set of results.</p>"
840                    }
841                }
842            }
843        },
844        "com.amazonaws.synthetics#DescribeCanariesRequest": {
845            "type": "structure",
846            "members": {
847                "NextToken": {
848                    "target": "com.amazonaws.synthetics#Token",
849                    "traits": {
850                        "smithy.api#documentation": "<p>A token that indicates that there is more data\n         available. You can use this token in a subsequent operation to retrieve the next \n         set of results.</p>"
851                    }
852                },
853                "MaxResults": {
854                    "target": "com.amazonaws.synthetics#MaxCanaryResults",
855                    "traits": {
856                        "smithy.api#documentation": "<p>Specify this parameter to limit how many canaries are returned each time you use\n      the <code>DescribeCanaries</code> operation. If you omit this parameter, the default of 100 is used.</p>"
857                    }
858                }
859            }
860        },
861        "com.amazonaws.synthetics#DescribeCanariesResponse": {
862            "type": "structure",
863            "members": {
864                "Canaries": {
865                    "target": "com.amazonaws.synthetics#Canaries",
866                    "traits": {
867                        "smithy.api#documentation": "<p>Returns an array. Each item in the array contains the full information about\n         one canary.</p>"
868                    }
869                },
870                "NextToken": {
871                    "target": "com.amazonaws.synthetics#Token",
872                    "traits": {
873                        "smithy.api#documentation": "<p>A token that indicates that there is more data\n         available. You can use this token in a subsequent <code>DescribeCanaries</code> operation to retrieve the next \n         set of results.</p>"
874                    }
875                }
876            }
877        },
878        "com.amazonaws.synthetics#DescribeRuntimeVersions": {
879            "type": "operation",
880            "input": {
881                "target": "com.amazonaws.synthetics#DescribeRuntimeVersionsRequest"
882            },
883            "output": {
884                "target": "com.amazonaws.synthetics#DescribeRuntimeVersionsResponse"
885            },
886            "errors": [
887                {
888                    "target": "com.amazonaws.synthetics#InternalServerException"
889                },
890                {
891                    "target": "com.amazonaws.synthetics#ValidationException"
892                }
893            ],
894            "traits": {
895                "smithy.api#documentation": "<p>Returns a list of Synthetics canary runtime versions. For more information, \n         see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html\">\n            Canary Runtime Versions</a>.</p>",
896                "smithy.api#http": {
897                    "method": "POST",
898                    "uri": "/runtime-versions",
899                    "code": 200
900                },
901                "smithy.api#paginated": {
902                    "inputToken": "NextToken",
903                    "outputToken": "NextToken",
904                    "pageSize": "MaxResults"
905                }
906            }
907        },
908        "com.amazonaws.synthetics#DescribeRuntimeVersionsRequest": {
909            "type": "structure",
910            "members": {
911                "NextToken": {
912                    "target": "com.amazonaws.synthetics#Token",
913                    "traits": {
914                        "smithy.api#documentation": "<p>A token that indicates that there is more data\n         available. You can use this token in a subsequent <code>DescribeRuntimeVersions</code> operation to retrieve the next \n         set of results.</p>"
915                    }
916                },
917                "MaxResults": {
918                    "target": "com.amazonaws.synthetics#MaxSize100",
919                    "traits": {
920                        "smithy.api#documentation": "<p>Specify this parameter to limit how many runs are returned each time you use\n         the <code>DescribeRuntimeVersions</code> operation. If you omit this parameter, the default of 100 is used.</p>"
921                    }
922                }
923            }
924        },
925        "com.amazonaws.synthetics#DescribeRuntimeVersionsResponse": {
926            "type": "structure",
927            "members": {
928                "RuntimeVersions": {
929                    "target": "com.amazonaws.synthetics#RuntimeVersionList",
930                    "traits": {
931                        "smithy.api#documentation": "<p>An array of objects that display the details about each Synthetics canary runtime\n         version.</p>"
932                    }
933                },
934                "NextToken": {
935                    "target": "com.amazonaws.synthetics#Token",
936                    "traits": {
937                        "smithy.api#documentation": "<p>A token that indicates that there is more data\n         available. You can use this token in a subsequent <code>DescribeRuntimeVersions</code> operation to retrieve the next \n         set of results.</p>"
938                    }
939                }
940            }
941        },
942        "com.amazonaws.synthetics#EnvironmentVariableName": {
943            "type": "string",
944            "traits": {
945                "smithy.api#pattern": "[a-zA-Z]([a-zA-Z0-9_])+"
946            }
947        },
948        "com.amazonaws.synthetics#EnvironmentVariableValue": {
949            "type": "string"
950        },
951        "com.amazonaws.synthetics#EnvironmentVariablesMap": {
952            "type": "map",
953            "key": {
954                "target": "com.amazonaws.synthetics#EnvironmentVariableName"
955            },
956            "value": {
957                "target": "com.amazonaws.synthetics#EnvironmentVariableValue"
958            }
959        },
960        "com.amazonaws.synthetics#ErrorMessage": {
961            "type": "string"
962        },
963        "com.amazonaws.synthetics#FunctionArn": {
964            "type": "string",
965            "traits": {
966                "smithy.api#length": {
967                    "min": 1,
968                    "max": 2048
969                },
970                "smithy.api#pattern": "arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
971            }
972        },
973        "com.amazonaws.synthetics#GetCanary": {
974            "type": "operation",
975            "input": {
976                "target": "com.amazonaws.synthetics#GetCanaryRequest"
977            },
978            "output": {
979                "target": "com.amazonaws.synthetics#GetCanaryResponse"
980            },
981            "errors": [
982                {
983                    "target": "com.amazonaws.synthetics#InternalServerException"
984                },
985                {
986                    "target": "com.amazonaws.synthetics#ValidationException"
987                }
988            ],
989            "traits": {
990                "smithy.api#documentation": "<p>Retrieves complete information about one canary. You must specify\n      the name of the canary that you want. To get a list of canaries\n      and their names, use <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html\">DescribeCanaries</a>.</p>",
991                "smithy.api#http": {
992                    "method": "GET",
993                    "uri": "/canary/{Name}",
994                    "code": 200
995                }
996            }
997        },
998        "com.amazonaws.synthetics#GetCanaryRequest": {
999            "type": "structure",
1000            "members": {
1001                "Name": {
1002                    "target": "com.amazonaws.synthetics#CanaryName",
1003                    "traits": {
1004                        "smithy.api#documentation": "<p>The name of the canary that you want details for.</p>",
1005                        "smithy.api#httpLabel": {},
1006                        "smithy.api#required": {}
1007                    }
1008                }
1009            }
1010        },
1011        "com.amazonaws.synthetics#GetCanaryResponse": {
1012            "type": "structure",
1013            "members": {
1014                "Canary": {
1015                    "target": "com.amazonaws.synthetics#Canary",
1016                    "traits": {
1017                        "smithy.api#documentation": "<p>A strucure that contains the full information about the canary.</p>"
1018                    }
1019                }
1020            }
1021        },
1022        "com.amazonaws.synthetics#GetCanaryRuns": {
1023            "type": "operation",
1024            "input": {
1025                "target": "com.amazonaws.synthetics#GetCanaryRunsRequest"
1026            },
1027            "output": {
1028                "target": "com.amazonaws.synthetics#GetCanaryRunsResponse"
1029            },
1030            "errors": [
1031                {
1032                    "target": "com.amazonaws.synthetics#InternalServerException"
1033                },
1034                {
1035                    "target": "com.amazonaws.synthetics#ResourceNotFoundException"
1036                },
1037                {
1038                    "target": "com.amazonaws.synthetics#ValidationException"
1039                }
1040            ],
1041            "traits": {
1042                "smithy.api#documentation": "<p>Retrieves a list of runs for a specified canary.</p>",
1043                "smithy.api#http": {
1044                    "method": "POST",
1045                    "uri": "/canary/{Name}/runs",
1046                    "code": 200
1047                },
1048                "smithy.api#paginated": {
1049                    "inputToken": "NextToken",
1050                    "outputToken": "NextToken",
1051                    "pageSize": "MaxResults"
1052                }
1053            }
1054        },
1055        "com.amazonaws.synthetics#GetCanaryRunsRequest": {
1056            "type": "structure",
1057            "members": {
1058                "Name": {
1059                    "target": "com.amazonaws.synthetics#CanaryName",
1060                    "traits": {
1061                        "smithy.api#documentation": "<p>The name of the canary that you want to see runs for.</p>",
1062                        "smithy.api#httpLabel": {},
1063                        "smithy.api#required": {}
1064                    }
1065                },
1066                "NextToken": {
1067                    "target": "com.amazonaws.synthetics#Token",
1068                    "traits": {
1069                        "smithy.api#documentation": "<p>A token that indicates that there is more data\n         available. You can use this token in a subsequent <code>GetCanaryRuns</code> operation to retrieve the next \n         set of results.</p>"
1070                    }
1071                },
1072                "MaxResults": {
1073                    "target": "com.amazonaws.synthetics#MaxSize100",
1074                    "traits": {
1075                        "smithy.api#documentation": "<p>Specify this parameter to limit how many runs are returned each time you use\n         the <code>GetCanaryRuns</code> operation. If you omit this parameter, the default of 100 is used.</p>"
1076                    }
1077                }
1078            }
1079        },
1080        "com.amazonaws.synthetics#GetCanaryRunsResponse": {
1081            "type": "structure",
1082            "members": {
1083                "CanaryRuns": {
1084                    "target": "com.amazonaws.synthetics#CanaryRuns",
1085                    "traits": {
1086                        "smithy.api#documentation": "<p>An array of structures. Each structure contains the details of one of the \n         retrieved canary runs.</p>"
1087                    }
1088                },
1089                "NextToken": {
1090                    "target": "com.amazonaws.synthetics#Token",
1091                    "traits": {
1092                        "smithy.api#documentation": "<p>A token that indicates that there is more data\n         available. You can use this token in a subsequent <code>GetCanaryRuns</code> \n         operation to retrieve the next \n         set of results.</p>"
1093                    }
1094                }
1095            }
1096        },
1097        "com.amazonaws.synthetics#InternalServerException": {
1098            "type": "structure",
1099            "members": {
1100                "Message": {
1101                    "target": "com.amazonaws.synthetics#ErrorMessage"
1102                }
1103            },
1104            "traits": {
1105                "smithy.api#documentation": "<p>An unknown internal error occurred.</p>",
1106                "smithy.api#error": "server",
1107                "smithy.api#httpError": 500
1108            }
1109        },
1110        "com.amazonaws.synthetics#ListTagsForResource": {
1111            "type": "operation",
1112            "input": {
1113                "target": "com.amazonaws.synthetics#ListTagsForResourceRequest"
1114            },
1115            "output": {
1116                "target": "com.amazonaws.synthetics#ListTagsForResourceResponse"
1117            },
1118            "errors": [
1119                {
1120                    "target": "com.amazonaws.synthetics#InternalServerException"
1121                },
1122                {
1123                    "target": "com.amazonaws.synthetics#ResourceNotFoundException"
1124                },
1125                {
1126                    "target": "com.amazonaws.synthetics#ValidationException"
1127                }
1128            ],
1129            "traits": {
1130                "smithy.api#documentation": "<p>Displays the tags associated with a canary.</p>",
1131                "smithy.api#http": {
1132                    "method": "GET",
1133                    "uri": "/tags/{ResourceArn}",
1134                    "code": 200
1135                }
1136            }
1137        },
1138        "com.amazonaws.synthetics#ListTagsForResourceRequest": {
1139            "type": "structure",
1140            "members": {
1141                "ResourceArn": {
1142                    "target": "com.amazonaws.synthetics#CanaryArn",
1143                    "traits": {
1144                        "smithy.api#documentation": "<p>The ARN of the canary that you want to view tags for.</p>\n         <p>The ARN format of a canary is\n               <code>arn:aws:synthetics:<i>Region</i>:<i>account-id</i>:canary:<i>canary-name</i>\n            </code>.</p>",
1145                        "smithy.api#httpLabel": {},
1146                        "smithy.api#required": {}
1147                    }
1148                }
1149            }
1150        },
1151        "com.amazonaws.synthetics#ListTagsForResourceResponse": {
1152            "type": "structure",
1153            "members": {
1154                "Tags": {
1155                    "target": "com.amazonaws.synthetics#TagMap",
1156                    "traits": {
1157                        "smithy.api#documentation": "<p>The list of tag keys and values associated with the canary that you specified.</p>"
1158                    }
1159                }
1160            }
1161        },
1162        "com.amazonaws.synthetics#MaxCanaryResults": {
1163            "type": "integer",
1164            "traits": {
1165                "smithy.api#box": {},
1166                "smithy.api#range": {
1167                    "min": 1,
1168                    "max": 20
1169                }
1170            }
1171        },
1172        "com.amazonaws.synthetics#MaxFifteenMinutesInSeconds": {
1173            "type": "integer",
1174            "traits": {
1175                "smithy.api#box": {},
1176                "smithy.api#range": {
1177                    "min": 3,
1178                    "max": 840
1179                }
1180            }
1181        },
1182        "com.amazonaws.synthetics#MaxOneYearInSeconds": {
1183            "type": "long",
1184            "traits": {
1185                "smithy.api#box": {},
1186                "smithy.api#range": {
1187                    "min": 0,
1188                    "max": 31622400
1189                }
1190            }
1191        },
1192        "com.amazonaws.synthetics#MaxSize100": {
1193            "type": "integer",
1194            "traits": {
1195                "smithy.api#box": {},
1196                "smithy.api#range": {
1197                    "min": 1,
1198                    "max": 100
1199                }
1200            }
1201        },
1202        "com.amazonaws.synthetics#MaxSize1024": {
1203            "type": "integer",
1204            "traits": {
1205                "smithy.api#box": {},
1206                "smithy.api#range": {
1207                    "min": 1,
1208                    "max": 1024
1209                }
1210            }
1211        },
1212        "com.amazonaws.synthetics#MaxSize3008": {
1213            "type": "integer",
1214            "traits": {
1215                "smithy.api#box": {},
1216                "smithy.api#range": {
1217                    "min": 960,
1218                    "max": 3008
1219                }
1220            }
1221        },
1222        "com.amazonaws.synthetics#NullableBoolean": {
1223            "type": "boolean",
1224            "traits": {
1225                "smithy.api#box": {}
1226            }
1227        },
1228        "com.amazonaws.synthetics#ResourceNotFoundException": {
1229            "type": "structure",
1230            "members": {
1231                "Message": {
1232                    "target": "com.amazonaws.synthetics#ErrorMessage"
1233                }
1234            },
1235            "traits": {
1236                "smithy.api#documentation": "<p>One of the specified resources was not found.</p>",
1237                "smithy.api#error": "client",
1238                "smithy.api#httpError": 404
1239            }
1240        },
1241        "com.amazonaws.synthetics#RoleArn": {
1242            "type": "string",
1243            "traits": {
1244                "smithy.api#length": {
1245                    "min": 1,
1246                    "max": 2048
1247                },
1248                "smithy.api#pattern": "arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+"
1249            }
1250        },
1251        "com.amazonaws.synthetics#RuntimeVersion": {
1252            "type": "structure",
1253            "members": {
1254                "VersionName": {
1255                    "target": "com.amazonaws.synthetics#String",
1256                    "traits": {
1257                        "smithy.api#documentation": "<p>The name of the runtime version. For a list of valid runtime versions, \n         see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html\">\n            Canary Runtime Versions</a>.</p>"
1258                    }
1259                },
1260                "Description": {
1261                    "target": "com.amazonaws.synthetics#String",
1262                    "traits": {
1263                        "smithy.api#documentation": "<p>A description of the runtime version, created by Amazon.</p>"
1264                    }
1265                },
1266                "ReleaseDate": {
1267                    "target": "com.amazonaws.synthetics#Timestamp",
1268                    "traits": {
1269                        "smithy.api#documentation": "<p>The date that the runtime version was released.</p>"
1270                    }
1271                },
1272                "DeprecationDate": {
1273                    "target": "com.amazonaws.synthetics#Timestamp",
1274                    "traits": {
1275                        "smithy.api#documentation": "<p>If this runtime version is deprecated, this value is the date of deprecation.</p>"
1276                    }
1277                }
1278            },
1279            "traits": {
1280                "smithy.api#documentation": "<p>This structure contains information about one canary runtime version. For more information about\n         runtime versions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html\">\n            Canary Runtime Versions</a>.</p>"
1281            }
1282        },
1283        "com.amazonaws.synthetics#RuntimeVersionList": {
1284            "type": "list",
1285            "member": {
1286                "target": "com.amazonaws.synthetics#RuntimeVersion"
1287            }
1288        },
1289        "com.amazonaws.synthetics#SecurityGroupId": {
1290            "type": "string"
1291        },
1292        "com.amazonaws.synthetics#SecurityGroupIds": {
1293            "type": "list",
1294            "member": {
1295                "target": "com.amazonaws.synthetics#SecurityGroupId"
1296            },
1297            "traits": {
1298                "smithy.api#length": {
1299                    "min": 0,
1300                    "max": 5
1301                }
1302            }
1303        },
1304        "com.amazonaws.synthetics#StartCanary": {
1305            "type": "operation",
1306            "input": {
1307                "target": "com.amazonaws.synthetics#StartCanaryRequest"
1308            },
1309            "output": {
1310                "target": "com.amazonaws.synthetics#StartCanaryResponse"
1311            },
1312            "errors": [
1313                {
1314                    "target": "com.amazonaws.synthetics#ConflictException"
1315                },
1316                {
1317                    "target": "com.amazonaws.synthetics#InternalServerException"
1318                },
1319                {
1320                    "target": "com.amazonaws.synthetics#ResourceNotFoundException"
1321                },
1322                {
1323                    "target": "com.amazonaws.synthetics#ValidationException"
1324                }
1325            ],
1326            "traits": {
1327                "smithy.api#documentation": "<p>Use this operation to run a canary that has already been created.  \n         The frequency of the canary runs is determined by the value of the canary's <code>Schedule</code>. To see a canary's schedule, \n         use <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanary.html\">GetCanary</a>.</p>",
1328                "smithy.api#http": {
1329                    "method": "POST",
1330                    "uri": "/canary/{Name}/start",
1331                    "code": 200
1332                }
1333            }
1334        },
1335        "com.amazonaws.synthetics#StartCanaryRequest": {
1336            "type": "structure",
1337            "members": {
1338                "Name": {
1339                    "target": "com.amazonaws.synthetics#CanaryName",
1340                    "traits": {
1341                        "smithy.api#documentation": "<p>The name of the canary that you want to run. To find\n         canary names, use <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html\">DescribeCanaries</a>.</p>",
1342                        "smithy.api#httpLabel": {},
1343                        "smithy.api#required": {}
1344                    }
1345                }
1346            }
1347        },
1348        "com.amazonaws.synthetics#StartCanaryResponse": {
1349            "type": "structure",
1350            "members": {}
1351        },
1352        "com.amazonaws.synthetics#StopCanary": {
1353            "type": "operation",
1354            "input": {
1355                "target": "com.amazonaws.synthetics#StopCanaryRequest"
1356            },
1357            "output": {
1358                "target": "com.amazonaws.synthetics#StopCanaryResponse"
1359            },
1360            "errors": [
1361                {
1362                    "target": "com.amazonaws.synthetics#ConflictException"
1363                },
1364                {
1365                    "target": "com.amazonaws.synthetics#InternalServerException"
1366                },
1367                {
1368                    "target": "com.amazonaws.synthetics#ResourceNotFoundException"
1369                },
1370                {
1371                    "target": "com.amazonaws.synthetics#ValidationException"
1372                }
1373            ],
1374            "traits": {
1375                "smithy.api#documentation": "<p>Stops the canary to prevent all future runs. If the canary is currently running,\n         Synthetics stops waiting for the current run of the specified canary to complete. The\n        run that is in progress completes on its own, publishes metrics, and uploads artifacts, but\n         it is not recorded in Synthetics as a completed run.</p>\n         <p>You can use <code>StartCanary</code> to start it running again \n         with the canary’s current schedule at any point in the future.  </p>",
1376                "smithy.api#http": {
1377                    "method": "POST",
1378                    "uri": "/canary/{Name}/stop",
1379                    "code": 200
1380                }
1381            }
1382        },
1383        "com.amazonaws.synthetics#StopCanaryRequest": {
1384            "type": "structure",
1385            "members": {
1386                "Name": {
1387                    "target": "com.amazonaws.synthetics#CanaryName",
1388                    "traits": {
1389                        "smithy.api#documentation": "<p>The name of the canary that you want to stop. To find the names of your \n         canaries, use <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html\">DescribeCanaries</a>.</p>",
1390                        "smithy.api#httpLabel": {},
1391                        "smithy.api#required": {}
1392                    }
1393                }
1394            }
1395        },
1396        "com.amazonaws.synthetics#StopCanaryResponse": {
1397            "type": "structure",
1398            "members": {}
1399        },
1400        "com.amazonaws.synthetics#String": {
1401            "type": "string",
1402            "traits": {
1403                "smithy.api#length": {
1404                    "min": 1,
1405                    "max": 1024
1406                }
1407            }
1408        },
1409        "com.amazonaws.synthetics#SubnetId": {
1410            "type": "string"
1411        },
1412        "com.amazonaws.synthetics#SubnetIds": {
1413            "type": "list",
1414            "member": {
1415                "target": "com.amazonaws.synthetics#SubnetId"
1416            },
1417            "traits": {
1418                "smithy.api#length": {
1419                    "min": 0,
1420                    "max": 16
1421                }
1422            }
1423        },
1424        "com.amazonaws.synthetics#Synthetics": {
1425            "type": "service",
1426            "version": "2017-10-11",
1427            "operations": [
1428                {
1429                    "target": "com.amazonaws.synthetics#CreateCanary"
1430                },
1431                {
1432                    "target": "com.amazonaws.synthetics#DeleteCanary"
1433                },
1434                {
1435                    "target": "com.amazonaws.synthetics#DescribeCanaries"
1436                },
1437                {
1438                    "target": "com.amazonaws.synthetics#DescribeCanariesLastRun"
1439                },
1440                {
1441                    "target": "com.amazonaws.synthetics#DescribeRuntimeVersions"
1442                },
1443                {
1444                    "target": "com.amazonaws.synthetics#GetCanary"
1445                },
1446                {
1447                    "target": "com.amazonaws.synthetics#GetCanaryRuns"
1448                },
1449                {
1450                    "target": "com.amazonaws.synthetics#ListTagsForResource"
1451                },
1452                {
1453                    "target": "com.amazonaws.synthetics#StartCanary"
1454                },
1455                {
1456                    "target": "com.amazonaws.synthetics#StopCanary"
1457                },
1458                {
1459                    "target": "com.amazonaws.synthetics#TagResource"
1460                },
1461                {
1462                    "target": "com.amazonaws.synthetics#UntagResource"
1463                },
1464                {
1465                    "target": "com.amazonaws.synthetics#UpdateCanary"
1466                }
1467            ],
1468            "traits": {
1469                "aws.api#service": {
1470                    "sdkId": "synthetics",
1471                    "arnNamespace": "synthetics",
1472                    "cloudFormationName": "Synthetics",
1473                    "cloudTrailEventSource": "synthetics.amazonaws.com",
1474                    "endpointPrefix": "synthetics"
1475                },
1476                "aws.auth#sigv4": {
1477                    "name": "synthetics"
1478                },
1479                "aws.protocols#restJson1": {},
1480                "smithy.api#documentation": "<fullname>Amazon CloudWatch Synthetics</fullname>\n         <p>You can use Amazon CloudWatch Synthetics to continually monitor your services. You can\n         create and manage <i>canaries</i>, which are modular, lightweight scripts \n         that monitor your endpoints and APIs\n            from the outside-in. You can set up your canaries to run\n         24 hours a day, once per minute. The canaries help you check the availability and latency\n         of your web services and troubleshoot anomalies by investigating load time data,\n         screenshots of the UI, logs, and metrics. The canaries seamlessly integrate with CloudWatch\n         ServiceLens to help you trace the causes of impacted nodes in your applications. For more\n         information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ServiceLens.html\">Using ServiceLens to Monitor\n            the Health of Your Applications</a> in the <i>Amazon CloudWatch User\n            Guide</i>.</p>\n      \n         <p>Before you create and manage canaries, be aware of the security considerations. For more\n         information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/servicelens_canaries_security.html\">Security\n            Considerations for Synthetics Canaries</a>.</p>",
1481                "smithy.api#title": "Synthetics"
1482            }
1483        },
1484        "com.amazonaws.synthetics#TagKey": {
1485            "type": "string",
1486            "traits": {
1487                "smithy.api#length": {
1488                    "min": 1,
1489                    "max": 128
1490                },
1491                "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$"
1492            }
1493        },
1494        "com.amazonaws.synthetics#TagKeyList": {
1495            "type": "list",
1496            "member": {
1497                "target": "com.amazonaws.synthetics#TagKey"
1498            },
1499            "traits": {
1500                "smithy.api#length": {
1501                    "min": 1,
1502                    "max": 50
1503                }
1504            }
1505        },
1506        "com.amazonaws.synthetics#TagMap": {
1507            "type": "map",
1508            "key": {
1509                "target": "com.amazonaws.synthetics#TagKey"
1510            },
1511            "value": {
1512                "target": "com.amazonaws.synthetics#TagValue"
1513            },
1514            "traits": {
1515                "smithy.api#length": {
1516                    "min": 1,
1517                    "max": 50
1518                }
1519            }
1520        },
1521        "com.amazonaws.synthetics#TagResource": {
1522            "type": "operation",
1523            "input": {
1524                "target": "com.amazonaws.synthetics#TagResourceRequest"
1525            },
1526            "output": {
1527                "target": "com.amazonaws.synthetics#TagResourceResponse"
1528            },
1529            "errors": [
1530                {
1531                    "target": "com.amazonaws.synthetics#InternalServerException"
1532                },
1533                {
1534                    "target": "com.amazonaws.synthetics#ResourceNotFoundException"
1535                },
1536                {
1537                    "target": "com.amazonaws.synthetics#ValidationException"
1538                }
1539            ],
1540            "traits": {
1541                "smithy.api#documentation": "<p>Assigns one or more tags (key-value pairs) to the specified canary. </p>\n         <p>Tags can help you organize and categorize your\n         resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with\n         certain tag values.</p>\n         <p>Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.</p>\n         <p>You can use the <code>TagResource</code> action with a canary that already has tags. If you specify a new tag key for the alarm, \n         this tag is appended to the list of tags associated\n         with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces\n         the previous value for that tag.</p>\n         <p>You can associate as many as 50 tags with a canary.</p>",
1542                "smithy.api#http": {
1543                    "method": "POST",
1544                    "uri": "/tags/{ResourceArn}",
1545                    "code": 200
1546                }
1547            }
1548        },
1549        "com.amazonaws.synthetics#TagResourceRequest": {
1550            "type": "structure",
1551            "members": {
1552                "ResourceArn": {
1553                    "target": "com.amazonaws.synthetics#CanaryArn",
1554                    "traits": {
1555                        "smithy.api#documentation": "<p>The ARN of the canary that you're adding tags to.</p>\n         <p>The ARN format of a canary is\n               <code>arn:aws:synthetics:<i>Region</i>:<i>account-id</i>:canary:<i>canary-name</i>\n            </code>.</p>",
1556                        "smithy.api#httpLabel": {},
1557                        "smithy.api#required": {}
1558                    }
1559                },
1560                "Tags": {
1561                    "target": "com.amazonaws.synthetics#TagMap",
1562                    "traits": {
1563                        "smithy.api#documentation": "<p>The list of key-value pairs to associate with the canary.</p>",
1564                        "smithy.api#required": {}
1565                    }
1566                }
1567            }
1568        },
1569        "com.amazonaws.synthetics#TagResourceResponse": {
1570            "type": "structure",
1571            "members": {}
1572        },
1573        "com.amazonaws.synthetics#TagValue": {
1574            "type": "string",
1575            "traits": {
1576                "smithy.api#length": {
1577                    "min": 0,
1578                    "max": 256
1579                }
1580            }
1581        },
1582        "com.amazonaws.synthetics#Timestamp": {
1583            "type": "timestamp"
1584        },
1585        "com.amazonaws.synthetics#Token": {
1586            "type": "string",
1587            "traits": {
1588                "smithy.api#length": {
1589                    "min": 4,
1590                    "max": 252
1591                }
1592            }
1593        },
1594        "com.amazonaws.synthetics#UUID": {
1595            "type": "string",
1596            "traits": {
1597                "smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
1598            }
1599        },
1600        "com.amazonaws.synthetics#UntagResource": {
1601            "type": "operation",
1602            "input": {
1603                "target": "com.amazonaws.synthetics#UntagResourceRequest"
1604            },
1605            "output": {
1606                "target": "com.amazonaws.synthetics#UntagResourceResponse"
1607            },
1608            "errors": [
1609                {
1610                    "target": "com.amazonaws.synthetics#InternalServerException"
1611                },
1612                {
1613                    "target": "com.amazonaws.synthetics#ResourceNotFoundException"
1614                },
1615                {
1616                    "target": "com.amazonaws.synthetics#ValidationException"
1617                }
1618            ],
1619            "traits": {
1620                "smithy.api#documentation": "<p>Removes one or more tags from the specified canary.</p>",
1621                "smithy.api#http": {
1622                    "method": "DELETE",
1623                    "uri": "/tags/{ResourceArn}",
1624                    "code": 200
1625                }
1626            }
1627        },
1628        "com.amazonaws.synthetics#UntagResourceRequest": {
1629            "type": "structure",
1630            "members": {
1631                "ResourceArn": {
1632                    "target": "com.amazonaws.synthetics#CanaryArn",
1633                    "traits": {
1634                        "smithy.api#documentation": "<p>The ARN of the canary that you're removing tags from.</p>\n         <p>The ARN format of a canary is\n               <code>arn:aws:synthetics:<i>Region</i>:<i>account-id</i>:canary:<i>canary-name</i>\n            </code>.</p>",
1635                        "smithy.api#httpLabel": {},
1636                        "smithy.api#required": {}
1637                    }
1638                },
1639                "TagKeys": {
1640                    "target": "com.amazonaws.synthetics#TagKeyList",
1641                    "traits": {
1642                        "smithy.api#documentation": "<p>The list of tag keys to remove from the resource.</p>",
1643                        "smithy.api#httpQuery": "tagKeys",
1644                        "smithy.api#required": {}
1645                    }
1646                }
1647            }
1648        },
1649        "com.amazonaws.synthetics#UntagResourceResponse": {
1650            "type": "structure",
1651            "members": {}
1652        },
1653        "com.amazonaws.synthetics#UpdateCanary": {
1654            "type": "operation",
1655            "input": {
1656                "target": "com.amazonaws.synthetics#UpdateCanaryRequest"
1657            },
1658            "output": {
1659                "target": "com.amazonaws.synthetics#UpdateCanaryResponse"
1660            },
1661            "errors": [
1662                {
1663                    "target": "com.amazonaws.synthetics#ConflictException"
1664                },
1665                {
1666                    "target": "com.amazonaws.synthetics#InternalServerException"
1667                },
1668                {
1669                    "target": "com.amazonaws.synthetics#ResourceNotFoundException"
1670                },
1671                {
1672                    "target": "com.amazonaws.synthetics#ValidationException"
1673                }
1674            ],
1675            "traits": {
1676                "smithy.api#documentation": "<p>Use this operation to change the settings of a canary that has \n         already been created.</p>\n         <p>You can't use this operation to update the tags of an existing canary. To \n         change the tags of an existing canary, use\n         <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_TagResource.html\">TagResource</a>.</p>",
1677                "smithy.api#http": {
1678                    "method": "PATCH",
1679                    "uri": "/canary/{Name}",
1680                    "code": 200
1681                }
1682            }
1683        },
1684        "com.amazonaws.synthetics#UpdateCanaryRequest": {
1685            "type": "structure",
1686            "members": {
1687                "Name": {
1688                    "target": "com.amazonaws.synthetics#CanaryName",
1689                    "traits": {
1690                        "smithy.api#documentation": "<p>The name of the canary that you want to update. To find the names of your \n         canaries, use <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html\">DescribeCanaries</a>.</p>\n         <p>You cannot change the name of a canary that has already been created.</p>",
1691                        "smithy.api#httpLabel": {},
1692                        "smithy.api#required": {}
1693                    }
1694                },
1695                "Code": {
1696                    "target": "com.amazonaws.synthetics#CanaryCodeInput",
1697                    "traits": {
1698                        "smithy.api#documentation": "<p>A structure that includes the entry point from which the canary should start\n         running your script. If the script is stored in \n         an S3 bucket, the bucket name, key, and version are also included.\n      </p>"
1699                    }
1700                },
1701                "ExecutionRoleArn": {
1702                    "target": "com.amazonaws.synthetics#RoleArn",
1703                    "traits": {
1704                        "smithy.api#documentation": "<p>The ARN of the IAM role to be used to run the canary. This role must already exist, \n         and must include <code>lambda.amazonaws.com</code> as a principal in the trust\n         policy. The role must also have the following permissions:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>s3:PutObject</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>s3:GetBucketLocation</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>s3:ListAllMyBuckets</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>cloudwatch:PutMetricData</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>logs:CreateLogGroup</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>logs:CreateLogStream</code>\n               </p>\n            </li>\n            <li>\n               <p>\n                  <code>logs:CreateLogStream</code>\n               </p>\n            </li>\n         </ul>"
1705                    }
1706                },
1707                "RuntimeVersion": {
1708                    "target": "com.amazonaws.synthetics#String",
1709                    "traits": {
1710                        "smithy.api#documentation": "<p>Specifies the runtime version to use for the canary.  \n         For a list of valid runtime versions and for more information about\n         runtime versions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html\">\n            Canary Runtime Versions</a>.</p>"
1711                    }
1712                },
1713                "Schedule": {
1714                    "target": "com.amazonaws.synthetics#CanaryScheduleInput",
1715                    "traits": {
1716                        "smithy.api#documentation": "<p>A structure that contains information about how often the canary is to run, and when\n         these runs are to stop.</p>"
1717                    }
1718                },
1719                "RunConfig": {
1720                    "target": "com.amazonaws.synthetics#CanaryRunConfigInput",
1721                    "traits": {
1722                        "smithy.api#documentation": "<p>A structure that contains the timeout value that is used for each individual run of the \n         canary.</p>"
1723                    }
1724                },
1725                "SuccessRetentionPeriodInDays": {
1726                    "target": "com.amazonaws.synthetics#MaxSize1024",
1727                    "traits": {
1728                        "smithy.api#documentation": "<p>The number of days to retain data about successful runs of this canary.</p>"
1729                    }
1730                },
1731                "FailureRetentionPeriodInDays": {
1732                    "target": "com.amazonaws.synthetics#MaxSize1024",
1733                    "traits": {
1734                        "smithy.api#documentation": "<p>The number of days to retain data about failed runs of this canary.</p>"
1735                    }
1736                },
1737                "VpcConfig": {
1738                    "target": "com.amazonaws.synthetics#VpcConfigInput",
1739                    "traits": {
1740                        "smithy.api#documentation": "<p>If this canary is to test an endpoint in a VPC, this structure contains\n         information about the subnet and security groups of the VPC endpoint. \n         For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html\">\n            Running a Canary in a VPC</a>.</p>"
1741                    }
1742                }
1743            }
1744        },
1745        "com.amazonaws.synthetics#UpdateCanaryResponse": {
1746            "type": "structure",
1747            "members": {}
1748        },
1749        "com.amazonaws.synthetics#ValidationException": {
1750            "type": "structure",
1751            "members": {
1752                "Message": {
1753                    "target": "com.amazonaws.synthetics#ErrorMessage"
1754                }
1755            },
1756            "traits": {
1757                "smithy.api#documentation": "<p>A parameter could not be validated.</p>",
1758                "smithy.api#error": "client",
1759                "smithy.api#httpError": 400
1760            }
1761        },
1762        "com.amazonaws.synthetics#VpcConfigInput": {
1763            "type": "structure",
1764            "members": {
1765                "SubnetIds": {
1766                    "target": "com.amazonaws.synthetics#SubnetIds",
1767                    "traits": {
1768                        "smithy.api#documentation": "<p>The IDs of the subnets where this canary is to run.</p>"
1769                    }
1770                },
1771                "SecurityGroupIds": {
1772                    "target": "com.amazonaws.synthetics#SecurityGroupIds",
1773                    "traits": {
1774                        "smithy.api#documentation": "<p>The IDs of the security groups for this canary.</p>"
1775                    }
1776                }
1777            },
1778            "traits": {
1779                "smithy.api#documentation": "<p>If this canary is to test an endpoint in a VPC, this structure contains\n         information about the subnets and security groups of the VPC endpoint. \n         For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html\">\n            Running a Canary in a VPC</a>.</p>"
1780            }
1781        },
1782        "com.amazonaws.synthetics#VpcConfigOutput": {
1783            "type": "structure",
1784            "members": {
1785                "VpcId": {
1786                    "target": "com.amazonaws.synthetics#VpcId",
1787                    "traits": {
1788                        "smithy.api#documentation": "<p>The IDs of the VPC where this canary is to run.</p>"
1789                    }
1790                },
1791                "SubnetIds": {
1792                    "target": "com.amazonaws.synthetics#SubnetIds",
1793                    "traits": {
1794                        "smithy.api#documentation": "<p>The IDs of the subnets where this canary is to run.</p>"
1795                    }
1796                },
1797                "SecurityGroupIds": {
1798                    "target": "com.amazonaws.synthetics#SecurityGroupIds",
1799                    "traits": {
1800                        "smithy.api#documentation": "<p>The IDs of the security groups for this canary.</p>"
1801                    }
1802                }
1803            },
1804            "traits": {
1805                "smithy.api#documentation": "<p>If this canary is to test an endpoint in a VPC, this structure contains\n         information about the subnets and security groups of the VPC endpoint. \n         For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html\">\n            Running a Canary in a VPC</a>.</p>"
1806            }
1807        },
1808        "com.amazonaws.synthetics#VpcId": {
1809            "type": "string"
1810        }
1811    }
1812}
1813