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.dlm#Action": {
33            "type": "structure",
34            "members": {
35                "Name": {
36                    "target": "com.amazonaws.dlm#ActionName",
37                    "traits": {
38                        "smithy.api#documentation": "<p>A descriptive name for the action.</p>",
39                        "smithy.api#required": {}
40                    }
41                },
42                "CrossRegionCopy": {
43                    "target": "com.amazonaws.dlm#CrossRegionCopyActionList",
44                    "traits": {
45                        "smithy.api#documentation": "<p>The rule for copying shared snapshots across Regions.</p>",
46                        "smithy.api#required": {}
47                    }
48                }
49            },
50            "traits": {
51                "smithy.api#documentation": "<p>Specifies an action for an event-based policy.</p>"
52            }
53        },
54        "com.amazonaws.dlm#ActionList": {
55            "type": "list",
56            "member": {
57                "target": "com.amazonaws.dlm#Action"
58            },
59            "traits": {
60                "smithy.api#length": {
61                    "min": 1,
62                    "max": 1
63                }
64            }
65        },
66        "com.amazonaws.dlm#ActionName": {
67            "type": "string",
68            "traits": {
69                "smithy.api#length": {
70                    "min": 0,
71                    "max": 120
72                },
73                "smithy.api#pattern": "[0-9A-Za-z _-]+"
74            }
75        },
76        "com.amazonaws.dlm#AvailabilityZone": {
77            "type": "string",
78            "traits": {
79                "smithy.api#length": {
80                    "min": 0,
81                    "max": 16
82                },
83                "smithy.api#pattern": "([a-z]+-){2,3}\\d[a-z]"
84            }
85        },
86        "com.amazonaws.dlm#AvailabilityZoneList": {
87            "type": "list",
88            "member": {
89                "target": "com.amazonaws.dlm#AvailabilityZone"
90            },
91            "traits": {
92                "smithy.api#length": {
93                    "min": 1,
94                    "max": 10
95                }
96            }
97        },
98        "com.amazonaws.dlm#AwsAccountId": {
99            "type": "string",
100            "traits": {
101                "smithy.api#length": {
102                    "min": 12,
103                    "max": 12
104                },
105                "smithy.api#pattern": "^[0-9]{12}$"
106            }
107        },
108        "com.amazonaws.dlm#CmkArn": {
109            "type": "string",
110            "traits": {
111                "smithy.api#length": {
112                    "min": 0,
113                    "max": 2048
114                },
115                "smithy.api#pattern": "arn:aws(-[a-z]{1,3}){0,2}:kms:([a-z]+-){2,3}\\d:\\d+:key/.*"
116            }
117        },
118        "com.amazonaws.dlm#CopyTags": {
119            "type": "boolean"
120        },
121        "com.amazonaws.dlm#CopyTagsNullable": {
122            "type": "boolean"
123        },
124        "com.amazonaws.dlm#Count": {
125            "type": "integer",
126            "traits": {
127                "smithy.api#range": {
128                    "min": 1,
129                    "max": 1000
130                }
131            }
132        },
133        "com.amazonaws.dlm#CreateLifecyclePolicy": {
134            "type": "operation",
135            "input": {
136                "target": "com.amazonaws.dlm#CreateLifecyclePolicyRequest"
137            },
138            "output": {
139                "target": "com.amazonaws.dlm#CreateLifecyclePolicyResponse"
140            },
141            "errors": [
142                {
143                    "target": "com.amazonaws.dlm#InternalServerException"
144                },
145                {
146                    "target": "com.amazonaws.dlm#InvalidRequestException"
147                },
148                {
149                    "target": "com.amazonaws.dlm#LimitExceededException"
150                }
151            ],
152            "traits": {
153                "smithy.api#documentation": "<p>Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle policies.</p>",
154                "smithy.api#http": {
155                    "method": "POST",
156                    "uri": "/policies",
157                    "code": 200
158                }
159            }
160        },
161        "com.amazonaws.dlm#CreateLifecyclePolicyRequest": {
162            "type": "structure",
163            "members": {
164                "ExecutionRoleArn": {
165                    "target": "com.amazonaws.dlm#ExecutionRoleArn",
166                    "traits": {
167                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>",
168                        "smithy.api#required": {}
169                    }
170                },
171                "Description": {
172                    "target": "com.amazonaws.dlm#PolicyDescription",
173                    "traits": {
174                        "smithy.api#documentation": "<p>A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.</p>",
175                        "smithy.api#required": {}
176                    }
177                },
178                "State": {
179                    "target": "com.amazonaws.dlm#SettablePolicyStateValues",
180                    "traits": {
181                        "smithy.api#documentation": "<p>The desired activation state of the lifecycle policy after creation.</p>",
182                        "smithy.api#required": {}
183                    }
184                },
185                "PolicyDetails": {
186                    "target": "com.amazonaws.dlm#PolicyDetails",
187                    "traits": {
188                        "smithy.api#documentation": "<p>The configuration details of the lifecycle policy.</p>",
189                        "smithy.api#required": {}
190                    }
191                },
192                "Tags": {
193                    "target": "com.amazonaws.dlm#TagMap",
194                    "traits": {
195                        "smithy.api#documentation": "<p>The tags to apply to the lifecycle policy during creation.</p>"
196                    }
197                }
198            }
199        },
200        "com.amazonaws.dlm#CreateLifecyclePolicyResponse": {
201            "type": "structure",
202            "members": {
203                "PolicyId": {
204                    "target": "com.amazonaws.dlm#PolicyId",
205                    "traits": {
206                        "smithy.api#documentation": "<p>The identifier of the lifecycle policy.</p>"
207                    }
208                }
209            }
210        },
211        "com.amazonaws.dlm#CreateRule": {
212            "type": "structure",
213            "members": {
214                "Interval": {
215                    "target": "com.amazonaws.dlm#Interval",
216                    "traits": {
217                        "smithy.api#documentation": "<p>The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.</p>"
218                    }
219                },
220                "IntervalUnit": {
221                    "target": "com.amazonaws.dlm#IntervalUnitValues",
222                    "traits": {
223                        "smithy.api#documentation": "<p>The interval unit.</p>"
224                    }
225                },
226                "Times": {
227                    "target": "com.amazonaws.dlm#TimesList",
228                    "traits": {
229                        "smithy.api#documentation": "<p>The time, in UTC, to start the operation. The supported format is hh:mm.</p> <p>The operation occurs within a one-hour window following the specified time. If you do not specify a time, Amazon DLM selects a time within the next 24 hours.</p>"
230                    }
231                },
232                "CronExpression": {
233                    "target": "com.amazonaws.dlm#CronExpression",
234                    "traits": {
235                        "smithy.api#documentation": "<p>The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions\">Cron expressions</a> in the <i>Amazon CloudWatch User Guide</i>.</p>"
236                    }
237                }
238            },
239            "traits": {
240                "smithy.api#documentation": "<p>Specifies when to create snapshots of EBS volumes.</p> <p>You must specify either a Cron expression or an interval, interval unit, and start time. You cannot specify both.</p>"
241            }
242        },
243        "com.amazonaws.dlm#CronExpression": {
244            "type": "string",
245            "traits": {
246                "smithy.api#length": {
247                    "min": 17,
248                    "max": 106
249                },
250                "smithy.api#pattern": "cron\\([^\\n]{11,100}\\)"
251            }
252        },
253        "com.amazonaws.dlm#CrossRegionCopyAction": {
254            "type": "structure",
255            "members": {
256                "Target": {
257                    "target": "com.amazonaws.dlm#Target",
258                    "traits": {
259                        "smithy.api#documentation": "<p>The target Region.</p>",
260                        "smithy.api#required": {}
261                    }
262                },
263                "EncryptionConfiguration": {
264                    "target": "com.amazonaws.dlm#EncryptionConfiguration",
265                    "traits": {
266                        "smithy.api#documentation": "<p>The encryption settings for the copied snapshot.</p>",
267                        "smithy.api#required": {}
268                    }
269                },
270                "RetainRule": {
271                    "target": "com.amazonaws.dlm#CrossRegionCopyRetainRule"
272                }
273            },
274            "traits": {
275                "smithy.api#documentation": "<p>Specifies a rule for copying shared snapshots across Regions.</p>"
276            }
277        },
278        "com.amazonaws.dlm#CrossRegionCopyActionList": {
279            "type": "list",
280            "member": {
281                "target": "com.amazonaws.dlm#CrossRegionCopyAction"
282            },
283            "traits": {
284                "smithy.api#length": {
285                    "min": 0,
286                    "max": 3
287                }
288            }
289        },
290        "com.amazonaws.dlm#CrossRegionCopyRetainRule": {
291            "type": "structure",
292            "members": {
293                "Interval": {
294                    "target": "com.amazonaws.dlm#Interval",
295                    "traits": {
296                        "smithy.api#documentation": "<p>The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.</p>"
297                    }
298                },
299                "IntervalUnit": {
300                    "target": "com.amazonaws.dlm#RetentionIntervalUnitValues",
301                    "traits": {
302                        "smithy.api#documentation": "<p>The unit of time for time-based retention.</p>"
303                    }
304                }
305            },
306            "traits": {
307                "smithy.api#documentation": "<p>Specifies the retention rule for cross-Region snapshot copies.</p>"
308            }
309        },
310        "com.amazonaws.dlm#CrossRegionCopyRule": {
311            "type": "structure",
312            "members": {
313                "TargetRegion": {
314                    "target": "com.amazonaws.dlm#TargetRegion",
315                    "traits": {
316                        "smithy.api#documentation": "<p>The target Region.</p>",
317                        "smithy.api#required": {}
318                    }
319                },
320                "Encrypted": {
321                    "target": "com.amazonaws.dlm#Encrypted",
322                    "traits": {
323                        "smithy.api#documentation": "<p>To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.</p>",
324                        "smithy.api#required": {}
325                    }
326                },
327                "CmkArn": {
328                    "target": "com.amazonaws.dlm#CmkArn",
329                    "traits": {
330                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this parameter is not specified, your AWS managed CMK for EBS is used.</p>"
331                    }
332                },
333                "CopyTags": {
334                    "target": "com.amazonaws.dlm#CopyTagsNullable",
335                    "traits": {
336                        "smithy.api#documentation": "<p>Copy all user-defined tags from the source snapshot to the copied snapshot.</p>"
337                    }
338                },
339                "RetainRule": {
340                    "target": "com.amazonaws.dlm#CrossRegionCopyRetainRule",
341                    "traits": {
342                        "smithy.api#documentation": "<p>The retention rule.</p>"
343                    }
344                }
345            },
346            "traits": {
347                "smithy.api#documentation": "<p>Specifies a rule for cross-Region snapshot copies.</p>"
348            }
349        },
350        "com.amazonaws.dlm#CrossRegionCopyRules": {
351            "type": "list",
352            "member": {
353                "target": "com.amazonaws.dlm#CrossRegionCopyRule"
354            },
355            "traits": {
356                "smithy.api#length": {
357                    "min": 0,
358                    "max": 3
359                }
360            }
361        },
362        "com.amazonaws.dlm#DLM": {
363            "type": "service",
364            "version": "2018-01-12",
365            "operations": [
366                {
367                    "target": "com.amazonaws.dlm#CreateLifecyclePolicy"
368                },
369                {
370                    "target": "com.amazonaws.dlm#DeleteLifecyclePolicy"
371                },
372                {
373                    "target": "com.amazonaws.dlm#GetLifecyclePolicies"
374                },
375                {
376                    "target": "com.amazonaws.dlm#GetLifecyclePolicy"
377                },
378                {
379                    "target": "com.amazonaws.dlm#ListTagsForResource"
380                },
381                {
382                    "target": "com.amazonaws.dlm#TagResource"
383                },
384                {
385                    "target": "com.amazonaws.dlm#UntagResource"
386                },
387                {
388                    "target": "com.amazonaws.dlm#UpdateLifecyclePolicy"
389                }
390            ],
391            "traits": {
392                "aws.api#service": {
393                    "sdkId": "DLM",
394                    "arnNamespace": "dlm",
395                    "cloudFormationName": "DLM",
396                    "cloudTrailEventSource": "dlm.amazonaws.com",
397                    "endpointPrefix": "dlm"
398                },
399                "aws.auth#sigv4": {
400                    "name": "dlm"
401                },
402                "aws.protocols#restJson1": {},
403                "smithy.api#documentation": "<fullname>Amazon Data Lifecycle Manager</fullname> <p>With Amazon Data Lifecycle Manager, you can manage the lifecycle of your AWS resources. You create lifecycle policies, which are used to automate operations on the specified resources.</p> <p>Amazon DLM supports Amazon EBS volumes and snapshots. For information about using Amazon DLM with Amazon EBS, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html\">Automating the Amazon EBS Snapshot Lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p>",
404                "smithy.api#title": "Amazon Data Lifecycle Manager"
405            }
406        },
407        "com.amazonaws.dlm#DeleteLifecyclePolicy": {
408            "type": "operation",
409            "input": {
410                "target": "com.amazonaws.dlm#DeleteLifecyclePolicyRequest"
411            },
412            "output": {
413                "target": "com.amazonaws.dlm#DeleteLifecyclePolicyResponse"
414            },
415            "errors": [
416                {
417                    "target": "com.amazonaws.dlm#InternalServerException"
418                },
419                {
420                    "target": "com.amazonaws.dlm#LimitExceededException"
421                },
422                {
423                    "target": "com.amazonaws.dlm#ResourceNotFoundException"
424                }
425            ],
426            "traits": {
427                "smithy.api#documentation": "<p>Deletes the specified lifecycle policy and halts the automated operations that the policy specified.</p>",
428                "smithy.api#http": {
429                    "method": "DELETE",
430                    "uri": "/policies/{PolicyId}",
431                    "code": 200
432                }
433            }
434        },
435        "com.amazonaws.dlm#DeleteLifecyclePolicyRequest": {
436            "type": "structure",
437            "members": {
438                "PolicyId": {
439                    "target": "com.amazonaws.dlm#PolicyId",
440                    "traits": {
441                        "smithy.api#documentation": "<p>The identifier of the lifecycle policy.</p>",
442                        "smithy.api#httpLabel": {},
443                        "smithy.api#required": {}
444                    }
445                }
446            }
447        },
448        "com.amazonaws.dlm#DeleteLifecyclePolicyResponse": {
449            "type": "structure",
450            "members": {}
451        },
452        "com.amazonaws.dlm#DescriptionRegex": {
453            "type": "string",
454            "traits": {
455                "smithy.api#length": {
456                    "min": 0,
457                    "max": 1000
458                },
459                "smithy.api#pattern": "[\\p{all}]*"
460            }
461        },
462        "com.amazonaws.dlm#Encrypted": {
463            "type": "boolean"
464        },
465        "com.amazonaws.dlm#EncryptionConfiguration": {
466            "type": "structure",
467            "members": {
468                "Encrypted": {
469                    "target": "com.amazonaws.dlm#Encrypted",
470                    "traits": {
471                        "smithy.api#documentation": "<p>To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.</p>",
472                        "smithy.api#required": {}
473                    }
474                },
475                "CmkArn": {
476                    "target": "com.amazonaws.dlm#CmkArn",
477                    "traits": {
478                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this parameter is not specified, your AWS managed CMK for EBS is used.</p>"
479                    }
480                }
481            },
482            "traits": {
483                "smithy.api#documentation": "<p>Specifies the encryption settings for shared snapshots that are copied across Regions.</p>"
484            }
485        },
486        "com.amazonaws.dlm#ErrorCode": {
487            "type": "string"
488        },
489        "com.amazonaws.dlm#ErrorMessage": {
490            "type": "string"
491        },
492        "com.amazonaws.dlm#EventParameters": {
493            "type": "structure",
494            "members": {
495                "EventType": {
496                    "target": "com.amazonaws.dlm#EventTypeValues",
497                    "traits": {
498                        "smithy.api#documentation": "<p>The type of event. Currently, only snapshot sharing events are supported.</p>",
499                        "smithy.api#required": {}
500                    }
501                },
502                "SnapshotOwner": {
503                    "target": "com.amazonaws.dlm#SnapshotOwnerList",
504                    "traits": {
505                        "smithy.api#documentation": "<p>The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account.</p>",
506                        "smithy.api#required": {}
507                    }
508                },
509                "DescriptionRegex": {
510                    "target": "com.amazonaws.dlm#DescriptionRegex",
511                    "traits": {
512                        "smithy.api#documentation": "<p>The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.</p> <p>For example, specifying <code>^.*Created for policy: policy-1234567890abcdef0.*$</code> configures the policy to run only if snapshots created by policy <code>policy-1234567890abcdef0</code> are shared with your account.</p>",
513                        "smithy.api#required": {}
514                    }
515                }
516            },
517            "traits": {
518                "smithy.api#documentation": "<p>Specifies an event that triggers an event-based policy.</p>"
519            }
520        },
521        "com.amazonaws.dlm#EventSource": {
522            "type": "structure",
523            "members": {
524                "Type": {
525                    "target": "com.amazonaws.dlm#EventSourceValues",
526                    "traits": {
527                        "smithy.api#documentation": "<p>The source of the event. Currently only managed AWS CloudWatch Events rules are supported.</p>",
528                        "smithy.api#required": {}
529                    }
530                },
531                "Parameters": {
532                    "target": "com.amazonaws.dlm#EventParameters",
533                    "traits": {
534                        "smithy.api#documentation": "<p>Information about the event.</p>"
535                    }
536                }
537            },
538            "traits": {
539                "smithy.api#documentation": "<p>Specifies an event that triggers an event-based policy.</p>"
540            }
541        },
542        "com.amazonaws.dlm#EventSourceValues": {
543            "type": "string",
544            "traits": {
545                "smithy.api#enum": [
546                    {
547                        "value": "MANAGED_CWE",
548                        "name": "MANAGED_CWE"
549                    }
550                ]
551            }
552        },
553        "com.amazonaws.dlm#EventTypeValues": {
554            "type": "string",
555            "traits": {
556                "smithy.api#enum": [
557                    {
558                        "value": "shareSnapshot",
559                        "name": "shareSnapshot"
560                    }
561                ]
562            }
563        },
564        "com.amazonaws.dlm#ExcludeBootVolume": {
565            "type": "boolean"
566        },
567        "com.amazonaws.dlm#ExecutionRoleArn": {
568            "type": "string",
569            "traits": {
570                "smithy.api#length": {
571                    "min": 0,
572                    "max": 2048
573                },
574                "smithy.api#pattern": "arn:aws(-[a-z]{1,3}){0,2}:iam::\\d+:role/.*"
575            }
576        },
577        "com.amazonaws.dlm#FastRestoreRule": {
578            "type": "structure",
579            "members": {
580                "Count": {
581                    "target": "com.amazonaws.dlm#Count",
582                    "traits": {
583                        "smithy.api#documentation": "<p>The number of snapshots to be enabled with fast snapshot restore.</p>"
584                    }
585                },
586                "Interval": {
587                    "target": "com.amazonaws.dlm#Interval",
588                    "traits": {
589                        "smithy.api#documentation": "<p>The amount of time to enable fast snapshot restore. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.</p>"
590                    }
591                },
592                "IntervalUnit": {
593                    "target": "com.amazonaws.dlm#RetentionIntervalUnitValues",
594                    "traits": {
595                        "smithy.api#documentation": "<p>The unit of time for enabling fast snapshot restore.</p>"
596                    }
597                },
598                "AvailabilityZones": {
599                    "target": "com.amazonaws.dlm#AvailabilityZoneList",
600                    "traits": {
601                        "smithy.api#documentation": "<p>The Availability Zones in which to enable fast snapshot restore.</p>",
602                        "smithy.api#required": {}
603                    }
604                }
605            },
606            "traits": {
607                "smithy.api#documentation": "<p>Specifies a rule for enabling fast snapshot restore. You can enable fast snapshot restore based on either a count or a time interval.</p>"
608            }
609        },
610        "com.amazonaws.dlm#GetLifecyclePolicies": {
611            "type": "operation",
612            "input": {
613                "target": "com.amazonaws.dlm#GetLifecyclePoliciesRequest"
614            },
615            "output": {
616                "target": "com.amazonaws.dlm#GetLifecyclePoliciesResponse"
617            },
618            "errors": [
619                {
620                    "target": "com.amazonaws.dlm#InternalServerException"
621                },
622                {
623                    "target": "com.amazonaws.dlm#InvalidRequestException"
624                },
625                {
626                    "target": "com.amazonaws.dlm#LimitExceededException"
627                },
628                {
629                    "target": "com.amazonaws.dlm#ResourceNotFoundException"
630                }
631            ],
632            "traits": {
633                "smithy.api#documentation": "<p>Gets summary information about all or the specified data lifecycle policies.</p> <p>To get complete information about a policy, use <a>GetLifecyclePolicy</a>.</p>",
634                "smithy.api#http": {
635                    "method": "GET",
636                    "uri": "/policies",
637                    "code": 200
638                }
639            }
640        },
641        "com.amazonaws.dlm#GetLifecyclePoliciesRequest": {
642            "type": "structure",
643            "members": {
644                "PolicyIds": {
645                    "target": "com.amazonaws.dlm#PolicyIdList",
646                    "traits": {
647                        "smithy.api#documentation": "<p>The identifiers of the data lifecycle policies.</p>",
648                        "smithy.api#httpQuery": "policyIds"
649                    }
650                },
651                "State": {
652                    "target": "com.amazonaws.dlm#GettablePolicyStateValues",
653                    "traits": {
654                        "smithy.api#documentation": "<p>The activation state.</p>",
655                        "smithy.api#httpQuery": "state"
656                    }
657                },
658                "ResourceTypes": {
659                    "target": "com.amazonaws.dlm#ResourceTypeValuesList",
660                    "traits": {
661                        "smithy.api#documentation": "<p>The resource type.</p>",
662                        "smithy.api#httpQuery": "resourceTypes"
663                    }
664                },
665                "TargetTags": {
666                    "target": "com.amazonaws.dlm#TargetTagsFilterList",
667                    "traits": {
668                        "smithy.api#documentation": "<p>The target tag for a policy.</p> <p>Tags are strings in the format <code>key=value</code>.</p>",
669                        "smithy.api#httpQuery": "targetTags"
670                    }
671                },
672                "TagsToAdd": {
673                    "target": "com.amazonaws.dlm#TagsToAddFilterList",
674                    "traits": {
675                        "smithy.api#documentation": "<p>The tags to add to objects created by the policy.</p> <p>Tags are strings in the format <code>key=value</code>.</p> <p>These user-defined tags are added in addition to the AWS-added lifecycle tags.</p>",
676                        "smithy.api#httpQuery": "tagsToAdd"
677                    }
678                }
679            }
680        },
681        "com.amazonaws.dlm#GetLifecyclePoliciesResponse": {
682            "type": "structure",
683            "members": {
684                "Policies": {
685                    "target": "com.amazonaws.dlm#LifecyclePolicySummaryList",
686                    "traits": {
687                        "smithy.api#documentation": "<p>Summary information about the lifecycle policies.</p>"
688                    }
689                }
690            }
691        },
692        "com.amazonaws.dlm#GetLifecyclePolicy": {
693            "type": "operation",
694            "input": {
695                "target": "com.amazonaws.dlm#GetLifecyclePolicyRequest"
696            },
697            "output": {
698                "target": "com.amazonaws.dlm#GetLifecyclePolicyResponse"
699            },
700            "errors": [
701                {
702                    "target": "com.amazonaws.dlm#InternalServerException"
703                },
704                {
705                    "target": "com.amazonaws.dlm#LimitExceededException"
706                },
707                {
708                    "target": "com.amazonaws.dlm#ResourceNotFoundException"
709                }
710            ],
711            "traits": {
712                "smithy.api#documentation": "<p>Gets detailed information about the specified lifecycle policy.</p>",
713                "smithy.api#http": {
714                    "method": "GET",
715                    "uri": "/policies/{PolicyId}",
716                    "code": 200
717                }
718            }
719        },
720        "com.amazonaws.dlm#GetLifecyclePolicyRequest": {
721            "type": "structure",
722            "members": {
723                "PolicyId": {
724                    "target": "com.amazonaws.dlm#PolicyId",
725                    "traits": {
726                        "smithy.api#documentation": "<p>The identifier of the lifecycle policy.</p>",
727                        "smithy.api#httpLabel": {},
728                        "smithy.api#required": {}
729                    }
730                }
731            }
732        },
733        "com.amazonaws.dlm#GetLifecyclePolicyResponse": {
734            "type": "structure",
735            "members": {
736                "Policy": {
737                    "target": "com.amazonaws.dlm#LifecyclePolicy",
738                    "traits": {
739                        "smithy.api#documentation": "<p>Detailed information about the lifecycle policy.</p>"
740                    }
741                }
742            }
743        },
744        "com.amazonaws.dlm#GettablePolicyStateValues": {
745            "type": "string",
746            "traits": {
747                "smithy.api#enum": [
748                    {
749                        "value": "ENABLED",
750                        "name": "ENABLED"
751                    },
752                    {
753                        "value": "DISABLED",
754                        "name": "DISABLED"
755                    },
756                    {
757                        "value": "ERROR",
758                        "name": "ERROR"
759                    }
760                ]
761            }
762        },
763        "com.amazonaws.dlm#InternalServerException": {
764            "type": "structure",
765            "members": {
766                "Message": {
767                    "target": "com.amazonaws.dlm#ErrorMessage"
768                },
769                "Code": {
770                    "target": "com.amazonaws.dlm#ErrorCode"
771                }
772            },
773            "traits": {
774                "smithy.api#documentation": "<p>The service failed in an unexpected way.</p>",
775                "smithy.api#error": "server",
776                "smithy.api#httpError": 500
777            }
778        },
779        "com.amazonaws.dlm#Interval": {
780            "type": "integer",
781            "traits": {
782                "smithy.api#range": {
783                    "min": 1
784                }
785            }
786        },
787        "com.amazonaws.dlm#IntervalUnitValues": {
788            "type": "string",
789            "traits": {
790                "smithy.api#enum": [
791                    {
792                        "value": "HOURS",
793                        "name": "HOURS"
794                    }
795                ]
796            }
797        },
798        "com.amazonaws.dlm#InvalidRequestException": {
799            "type": "structure",
800            "members": {
801                "Message": {
802                    "target": "com.amazonaws.dlm#ErrorMessage"
803                },
804                "Code": {
805                    "target": "com.amazonaws.dlm#ErrorCode"
806                },
807                "RequiredParameters": {
808                    "target": "com.amazonaws.dlm#ParameterList",
809                    "traits": {
810                        "smithy.api#documentation": "<p>The request omitted one or more required parameters.</p>"
811                    }
812                },
813                "MutuallyExclusiveParameters": {
814                    "target": "com.amazonaws.dlm#ParameterList",
815                    "traits": {
816                        "smithy.api#documentation": "<p>The request included parameters that cannot be provided together.</p>"
817                    }
818                }
819            },
820            "traits": {
821                "smithy.api#documentation": "<p>Bad request. The request is missing required parameters or has invalid parameters.</p>",
822                "smithy.api#error": "client",
823                "smithy.api#httpError": 400
824            }
825        },
826        "com.amazonaws.dlm#LifecyclePolicy": {
827            "type": "structure",
828            "members": {
829                "PolicyId": {
830                    "target": "com.amazonaws.dlm#PolicyId",
831                    "traits": {
832                        "smithy.api#documentation": "<p>The identifier of the lifecycle policy.</p>"
833                    }
834                },
835                "Description": {
836                    "target": "com.amazonaws.dlm#PolicyDescription",
837                    "traits": {
838                        "smithy.api#documentation": "<p>The description of the lifecycle policy.</p>"
839                    }
840                },
841                "State": {
842                    "target": "com.amazonaws.dlm#GettablePolicyStateValues",
843                    "traits": {
844                        "smithy.api#documentation": "<p>The activation state of the lifecycle policy.</p>"
845                    }
846                },
847                "StatusMessage": {
848                    "target": "com.amazonaws.dlm#StatusMessage",
849                    "traits": {
850                        "smithy.api#documentation": "<p>The description of the status.</p>"
851                    }
852                },
853                "ExecutionRoleArn": {
854                    "target": "com.amazonaws.dlm#ExecutionRoleArn",
855                    "traits": {
856                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>"
857                    }
858                },
859                "DateCreated": {
860                    "target": "com.amazonaws.dlm#Timestamp",
861                    "traits": {
862                        "smithy.api#documentation": "<p>The local date and time when the lifecycle policy was created.</p>"
863                    }
864                },
865                "DateModified": {
866                    "target": "com.amazonaws.dlm#Timestamp",
867                    "traits": {
868                        "smithy.api#documentation": "<p>The local date and time when the lifecycle policy was last modified.</p>"
869                    }
870                },
871                "PolicyDetails": {
872                    "target": "com.amazonaws.dlm#PolicyDetails",
873                    "traits": {
874                        "smithy.api#documentation": "<p>The configuration of the lifecycle policy</p>"
875                    }
876                },
877                "Tags": {
878                    "target": "com.amazonaws.dlm#TagMap",
879                    "traits": {
880                        "smithy.api#documentation": "<p>The tags.</p>"
881                    }
882                },
883                "PolicyArn": {
884                    "target": "com.amazonaws.dlm#PolicyArn",
885                    "traits": {
886                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the policy.</p>"
887                    }
888                }
889            },
890            "traits": {
891                "smithy.api#documentation": "<p>Detailed information about a lifecycle policy.</p>"
892            }
893        },
894        "com.amazonaws.dlm#LifecyclePolicySummary": {
895            "type": "structure",
896            "members": {
897                "PolicyId": {
898                    "target": "com.amazonaws.dlm#PolicyId",
899                    "traits": {
900                        "smithy.api#documentation": "<p>The identifier of the lifecycle policy.</p>"
901                    }
902                },
903                "Description": {
904                    "target": "com.amazonaws.dlm#PolicyDescription",
905                    "traits": {
906                        "smithy.api#documentation": "<p>The description of the lifecycle policy.</p>"
907                    }
908                },
909                "State": {
910                    "target": "com.amazonaws.dlm#GettablePolicyStateValues",
911                    "traits": {
912                        "smithy.api#documentation": "<p>The activation state of the lifecycle policy.</p>"
913                    }
914                },
915                "Tags": {
916                    "target": "com.amazonaws.dlm#TagMap",
917                    "traits": {
918                        "smithy.api#documentation": "<p>The tags.</p>"
919                    }
920                },
921                "PolicyType": {
922                    "target": "com.amazonaws.dlm#PolicyTypeValues",
923                    "traits": {
924                        "smithy.api#documentation": "<p>The type of policy. <code>EBS_SNAPSHOT_MANAGEMENT</code> indicates that the policy manages the lifecycle of Amazon EBS snapshots. <code>IMAGE_MANAGEMENT</code> indicates that the policy manages the lifecycle of EBS-backed AMIs.</p>"
925                    }
926                }
927            },
928            "traits": {
929                "smithy.api#documentation": "<p>Summary information about a lifecycle policy.</p>"
930            }
931        },
932        "com.amazonaws.dlm#LifecyclePolicySummaryList": {
933            "type": "list",
934            "member": {
935                "target": "com.amazonaws.dlm#LifecyclePolicySummary"
936            }
937        },
938        "com.amazonaws.dlm#LimitExceededException": {
939            "type": "structure",
940            "members": {
941                "Message": {
942                    "target": "com.amazonaws.dlm#ErrorMessage"
943                },
944                "Code": {
945                    "target": "com.amazonaws.dlm#ErrorCode"
946                },
947                "ResourceType": {
948                    "target": "com.amazonaws.dlm#String",
949                    "traits": {
950                        "smithy.api#documentation": "<p>Value is the type of resource for which a limit was exceeded.</p>"
951                    }
952                }
953            },
954            "traits": {
955                "smithy.api#documentation": "<p>The request failed because a limit was exceeded.</p>",
956                "smithy.api#error": "client",
957                "smithy.api#httpError": 429
958            }
959        },
960        "com.amazonaws.dlm#ListTagsForResource": {
961            "type": "operation",
962            "input": {
963                "target": "com.amazonaws.dlm#ListTagsForResourceRequest"
964            },
965            "output": {
966                "target": "com.amazonaws.dlm#ListTagsForResourceResponse"
967            },
968            "errors": [
969                {
970                    "target": "com.amazonaws.dlm#InternalServerException"
971                },
972                {
973                    "target": "com.amazonaws.dlm#InvalidRequestException"
974                },
975                {
976                    "target": "com.amazonaws.dlm#ResourceNotFoundException"
977                }
978            ],
979            "traits": {
980                "smithy.api#documentation": "<p>Lists the tags for the specified resource.</p>",
981                "smithy.api#http": {
982                    "method": "GET",
983                    "uri": "/tags/{ResourceArn}",
984                    "code": 200
985                }
986            }
987        },
988        "com.amazonaws.dlm#ListTagsForResourceRequest": {
989            "type": "structure",
990            "members": {
991                "ResourceArn": {
992                    "target": "com.amazonaws.dlm#PolicyArn",
993                    "traits": {
994                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>",
995                        "smithy.api#httpLabel": {},
996                        "smithy.api#required": {}
997                    }
998                }
999            }
1000        },
1001        "com.amazonaws.dlm#ListTagsForResourceResponse": {
1002            "type": "structure",
1003            "members": {
1004                "Tags": {
1005                    "target": "com.amazonaws.dlm#TagMap",
1006                    "traits": {
1007                        "smithy.api#documentation": "<p>Information about the tags.</p>"
1008                    }
1009                }
1010            }
1011        },
1012        "com.amazonaws.dlm#NoReboot": {
1013            "type": "boolean"
1014        },
1015        "com.amazonaws.dlm#Parameter": {
1016            "type": "string"
1017        },
1018        "com.amazonaws.dlm#ParameterList": {
1019            "type": "list",
1020            "member": {
1021                "target": "com.amazonaws.dlm#Parameter"
1022            }
1023        },
1024        "com.amazonaws.dlm#Parameters": {
1025            "type": "structure",
1026            "members": {
1027                "ExcludeBootVolume": {
1028                    "target": "com.amazonaws.dlm#ExcludeBootVolume",
1029                    "traits": {
1030                        "smithy.api#documentation": "<p>[EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots created using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSnapshots.html\">CreateSnapshots</a>. The default is false.</p>"
1031                    }
1032                },
1033                "NoReboot": {
1034                    "target": "com.amazonaws.dlm#NoReboot",
1035                    "traits": {
1036                        "smithy.api#documentation": "<p>Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle policy runs. <code>true</code> indicates that targeted instances are not rebooted when the policy runs. <code>false</code> indicates that target instances are rebooted when the policy runs. The default is <code>true</code> (instances are not rebooted).</p>"
1037                    }
1038                }
1039            },
1040            "traits": {
1041                "smithy.api#documentation": "<p>Specifies optional parameters to add to a policy. The set of valid parameters depends on the combination of policy type and resource type.</p>"
1042            }
1043        },
1044        "com.amazonaws.dlm#PolicyArn": {
1045            "type": "string",
1046            "traits": {
1047                "smithy.api#length": {
1048                    "min": 0,
1049                    "max": 2048
1050                },
1051                "smithy.api#pattern": "^arn:aws(-[a-z]{1,3}){0,2}:dlm:[A-Za-z0-9_/.-]{0,63}:\\d+:policy/[0-9A-Za-z_-]{1,128}$"
1052            }
1053        },
1054        "com.amazonaws.dlm#PolicyDescription": {
1055            "type": "string",
1056            "traits": {
1057                "smithy.api#length": {
1058                    "min": 0,
1059                    "max": 500
1060                },
1061                "smithy.api#pattern": "[0-9A-Za-z _-]+"
1062            }
1063        },
1064        "com.amazonaws.dlm#PolicyDetails": {
1065            "type": "structure",
1066            "members": {
1067                "PolicyType": {
1068                    "target": "com.amazonaws.dlm#PolicyTypeValues",
1069                    "traits": {
1070                        "smithy.api#documentation": "<p>The valid target resource types and actions a policy can manage. Specify <code>EBS_SNAPSHOT_MANAGEMENT</code> to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify <code>IMAGE_MANAGEMENT</code> to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify <code>EVENT_BASED_POLICY </code> to create an event-based policy that performs specific actions when a defined event occurs in your AWS account.</p> <p>The default is <code>EBS_SNAPSHOT_MANAGEMENT</code>.</p>"
1071                    }
1072                },
1073                "ResourceTypes": {
1074                    "target": "com.amazonaws.dlm#ResourceTypeValuesList",
1075                    "traits": {
1076                        "smithy.api#documentation": "<p>The target resource type for snapshot and AMI lifecycle policies. Use <code>VOLUME </code>to create snapshots of individual volumes or use <code>INSTANCE</code> to create multi-volume snapshots from the volumes for an instance.</p> <p>This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.</p>"
1077                    }
1078                },
1079                "TargetTags": {
1080                    "target": "com.amazonaws.dlm#TargetTagList",
1081                    "traits": {
1082                        "smithy.api#documentation": "<p>The single tag that identifies targeted resources for this policy.</p> <p>This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.</p>"
1083                    }
1084                },
1085                "Schedules": {
1086                    "target": "com.amazonaws.dlm#ScheduleList",
1087                    "traits": {
1088                        "smithy.api#documentation": "<p>The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one mandatory schedule and up to three optional schedules.</p> <p>This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.</p>"
1089                    }
1090                },
1091                "Parameters": {
1092                    "target": "com.amazonaws.dlm#Parameters",
1093                    "traits": {
1094                        "smithy.api#documentation": "<p>A set of optional parameters for snapshot and AMI lifecycle policies. </p> <p>This parameter is required for snapshot and AMI policies only. If you are creating an event-based policy, omit this parameter.</p>"
1095                    }
1096                },
1097                "EventSource": {
1098                    "target": "com.amazonaws.dlm#EventSource",
1099                    "traits": {
1100                        "smithy.api#documentation": "<p>The event that triggers the event-based policy. </p> <p>This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.</p>"
1101                    }
1102                },
1103                "Actions": {
1104                    "target": "com.amazonaws.dlm#ActionList",
1105                    "traits": {
1106                        "smithy.api#documentation": "<p>The actions to be performed when the event-based policy is triggered. You can specify only one action per policy.</p> <p>This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter.</p>"
1107                    }
1108                }
1109            },
1110            "traits": {
1111                "smithy.api#documentation": "<p>Specifies the configuration of a lifecycle policy.</p>"
1112            }
1113        },
1114        "com.amazonaws.dlm#PolicyId": {
1115            "type": "string",
1116            "traits": {
1117                "smithy.api#length": {
1118                    "min": 0,
1119                    "max": 64
1120                },
1121                "smithy.api#pattern": "policy-[A-Za-z0-9]+"
1122            }
1123        },
1124        "com.amazonaws.dlm#PolicyIdList": {
1125            "type": "list",
1126            "member": {
1127                "target": "com.amazonaws.dlm#PolicyId"
1128            }
1129        },
1130        "com.amazonaws.dlm#PolicyTypeValues": {
1131            "type": "string",
1132            "traits": {
1133                "smithy.api#enum": [
1134                    {
1135                        "value": "EBS_SNAPSHOT_MANAGEMENT",
1136                        "name": "EBS_SNAPSHOT_MANAGEMENT"
1137                    },
1138                    {
1139                        "value": "IMAGE_MANAGEMENT",
1140                        "name": "IMAGE_MANAGEMENT"
1141                    },
1142                    {
1143                        "value": "EVENT_BASED_POLICY",
1144                        "name": "EVENT_BASED_POLICY"
1145                    }
1146                ]
1147            }
1148        },
1149        "com.amazonaws.dlm#ResourceNotFoundException": {
1150            "type": "structure",
1151            "members": {
1152                "Message": {
1153                    "target": "com.amazonaws.dlm#ErrorMessage"
1154                },
1155                "Code": {
1156                    "target": "com.amazonaws.dlm#ErrorCode"
1157                },
1158                "ResourceType": {
1159                    "target": "com.amazonaws.dlm#String",
1160                    "traits": {
1161                        "smithy.api#documentation": "<p>Value is the type of resource that was not found.</p>"
1162                    }
1163                },
1164                "ResourceIds": {
1165                    "target": "com.amazonaws.dlm#PolicyIdList",
1166                    "traits": {
1167                        "smithy.api#documentation": "<p>Value is a list of resource IDs that were not found.</p>"
1168                    }
1169                }
1170            },
1171            "traits": {
1172                "smithy.api#documentation": "<p>A requested resource was not found.</p>",
1173                "smithy.api#error": "client",
1174                "smithy.api#httpError": 404
1175            }
1176        },
1177        "com.amazonaws.dlm#ResourceTypeValues": {
1178            "type": "string",
1179            "traits": {
1180                "smithy.api#enum": [
1181                    {
1182                        "value": "VOLUME",
1183                        "name": "VOLUME"
1184                    },
1185                    {
1186                        "value": "INSTANCE",
1187                        "name": "INSTANCE"
1188                    }
1189                ]
1190            }
1191        },
1192        "com.amazonaws.dlm#ResourceTypeValuesList": {
1193            "type": "list",
1194            "member": {
1195                "target": "com.amazonaws.dlm#ResourceTypeValues"
1196            },
1197            "traits": {
1198                "smithy.api#length": {
1199                    "min": 1,
1200                    "max": 1
1201                }
1202            }
1203        },
1204        "com.amazonaws.dlm#RetainRule": {
1205            "type": "structure",
1206            "members": {
1207                "Count": {
1208                    "target": "com.amazonaws.dlm#Count",
1209                    "traits": {
1210                        "smithy.api#documentation": "<p>The number of snapshots to retain for each volume, up to a maximum of 1000.</p>"
1211                    }
1212                },
1213                "Interval": {
1214                    "target": "com.amazonaws.dlm#Interval",
1215                    "traits": {
1216                        "smithy.api#documentation": "<p>The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.</p>"
1217                    }
1218                },
1219                "IntervalUnit": {
1220                    "target": "com.amazonaws.dlm#RetentionIntervalUnitValues",
1221                    "traits": {
1222                        "smithy.api#documentation": "<p>The unit of time for time-based retention.</p>"
1223                    }
1224                }
1225            },
1226            "traits": {
1227                "smithy.api#documentation": "<p>Specifies the retention rule for a lifecycle policy. You can retain snapshots based on either a count or a time interval.</p>"
1228            }
1229        },
1230        "com.amazonaws.dlm#RetentionIntervalUnitValues": {
1231            "type": "string",
1232            "traits": {
1233                "smithy.api#enum": [
1234                    {
1235                        "value": "DAYS",
1236                        "name": "DAYS"
1237                    },
1238                    {
1239                        "value": "WEEKS",
1240                        "name": "WEEKS"
1241                    },
1242                    {
1243                        "value": "MONTHS",
1244                        "name": "MONTHS"
1245                    },
1246                    {
1247                        "value": "YEARS",
1248                        "name": "YEARS"
1249                    }
1250                ]
1251            }
1252        },
1253        "com.amazonaws.dlm#Schedule": {
1254            "type": "structure",
1255            "members": {
1256                "Name": {
1257                    "target": "com.amazonaws.dlm#ScheduleName",
1258                    "traits": {
1259                        "smithy.api#documentation": "<p>The name of the schedule.</p>"
1260                    }
1261                },
1262                "CopyTags": {
1263                    "target": "com.amazonaws.dlm#CopyTags",
1264                    "traits": {
1265                        "smithy.api#documentation": "<p>Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.</p>"
1266                    }
1267                },
1268                "TagsToAdd": {
1269                    "target": "com.amazonaws.dlm#TagsToAddList",
1270                    "traits": {
1271                        "smithy.api#documentation": "<p>The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.</p>"
1272                    }
1273                },
1274                "VariableTags": {
1275                    "target": "com.amazonaws.dlm#VariableTagsList",
1276                    "traits": {
1277                        "smithy.api#documentation": "<p>A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: <code>$(instance-id)</code> or <code>$(timestamp)</code>. Variable tags are only valid for EBS Snapshot Management – Instance policies.</p>"
1278                    }
1279                },
1280                "CreateRule": {
1281                    "target": "com.amazonaws.dlm#CreateRule",
1282                    "traits": {
1283                        "smithy.api#documentation": "<p>The creation rule.</p>"
1284                    }
1285                },
1286                "RetainRule": {
1287                    "target": "com.amazonaws.dlm#RetainRule",
1288                    "traits": {
1289                        "smithy.api#documentation": "<p>The retention rule.</p>"
1290                    }
1291                },
1292                "FastRestoreRule": {
1293                    "target": "com.amazonaws.dlm#FastRestoreRule",
1294                    "traits": {
1295                        "smithy.api#documentation": "<p>The rule for enabling fast snapshot restore.</p>"
1296                    }
1297                },
1298                "CrossRegionCopyRules": {
1299                    "target": "com.amazonaws.dlm#CrossRegionCopyRules",
1300                    "traits": {
1301                        "smithy.api#documentation": "<p>The rule for cross-Region snapshot copies.</p>"
1302                    }
1303                },
1304                "ShareRules": {
1305                    "target": "com.amazonaws.dlm#ShareRules",
1306                    "traits": {
1307                        "smithy.api#documentation": "<p>The rule for sharing snapshots with other AWS accounts.</p>"
1308                    }
1309                }
1310            },
1311            "traits": {
1312                "smithy.api#documentation": "<p>Specifies a backup schedule for a snapshot or AMI lifecycle policy.</p>"
1313            }
1314        },
1315        "com.amazonaws.dlm#ScheduleList": {
1316            "type": "list",
1317            "member": {
1318                "target": "com.amazonaws.dlm#Schedule"
1319            },
1320            "traits": {
1321                "smithy.api#length": {
1322                    "min": 1,
1323                    "max": 4
1324                }
1325            }
1326        },
1327        "com.amazonaws.dlm#ScheduleName": {
1328            "type": "string",
1329            "traits": {
1330                "smithy.api#length": {
1331                    "min": 0,
1332                    "max": 120
1333                },
1334                "smithy.api#pattern": "[0-9A-Za-z _-]+"
1335            }
1336        },
1337        "com.amazonaws.dlm#SettablePolicyStateValues": {
1338            "type": "string",
1339            "traits": {
1340                "smithy.api#enum": [
1341                    {
1342                        "value": "ENABLED",
1343                        "name": "ENABLED"
1344                    },
1345                    {
1346                        "value": "DISABLED",
1347                        "name": "DISABLED"
1348                    }
1349                ]
1350            }
1351        },
1352        "com.amazonaws.dlm#ShareRule": {
1353            "type": "structure",
1354            "members": {
1355                "TargetAccounts": {
1356                    "target": "com.amazonaws.dlm#ShareTargetAccountList",
1357                    "traits": {
1358                        "smithy.api#documentation": "<p>The IDs of the AWS accounts with which to share the snapshots.</p>",
1359                        "smithy.api#required": {}
1360                    }
1361                },
1362                "UnshareInterval": {
1363                    "target": "com.amazonaws.dlm#Interval",
1364                    "traits": {
1365                        "smithy.api#documentation": "<p>The period after which snapshots that are shared with other AWS accounts are automatically unshared.</p>"
1366                    }
1367                },
1368                "UnshareIntervalUnit": {
1369                    "target": "com.amazonaws.dlm#RetentionIntervalUnitValues",
1370                    "traits": {
1371                        "smithy.api#documentation": "<p>The unit of time for the automatic unsharing interval.</p>"
1372                    }
1373                }
1374            },
1375            "traits": {
1376                "smithy.api#documentation": "<p>Specifies a rule for sharing snapshots across AWS accounts.</p>"
1377            }
1378        },
1379        "com.amazonaws.dlm#ShareRules": {
1380            "type": "list",
1381            "member": {
1382                "target": "com.amazonaws.dlm#ShareRule"
1383            },
1384            "traits": {
1385                "smithy.api#length": {
1386                    "min": 0,
1387                    "max": 1
1388                }
1389            }
1390        },
1391        "com.amazonaws.dlm#ShareTargetAccountList": {
1392            "type": "list",
1393            "member": {
1394                "target": "com.amazonaws.dlm#AwsAccountId"
1395            },
1396            "traits": {
1397                "smithy.api#length": {
1398                    "min": 1
1399                }
1400            }
1401        },
1402        "com.amazonaws.dlm#SnapshotOwnerList": {
1403            "type": "list",
1404            "member": {
1405                "target": "com.amazonaws.dlm#AwsAccountId"
1406            },
1407            "traits": {
1408                "smithy.api#length": {
1409                    "min": 0,
1410                    "max": 50
1411                }
1412            }
1413        },
1414        "com.amazonaws.dlm#StatusMessage": {
1415            "type": "string",
1416            "traits": {
1417                "smithy.api#length": {
1418                    "min": 0,
1419                    "max": 500
1420                },
1421                "smithy.api#pattern": "[\\p{all}]*"
1422            }
1423        },
1424        "com.amazonaws.dlm#String": {
1425            "type": "string",
1426            "traits": {
1427                "smithy.api#length": {
1428                    "min": 0,
1429                    "max": 500
1430                },
1431                "smithy.api#pattern": "[\\p{all}]*"
1432            }
1433        },
1434        "com.amazonaws.dlm#Tag": {
1435            "type": "structure",
1436            "members": {
1437                "Key": {
1438                    "target": "com.amazonaws.dlm#String",
1439                    "traits": {
1440                        "smithy.api#documentation": "<p>The tag key.</p>",
1441                        "smithy.api#required": {}
1442                    }
1443                },
1444                "Value": {
1445                    "target": "com.amazonaws.dlm#String",
1446                    "traits": {
1447                        "smithy.api#documentation": "<p>The tag value.</p>",
1448                        "smithy.api#required": {}
1449                    }
1450                }
1451            },
1452            "traits": {
1453                "smithy.api#documentation": "<p>Specifies a tag for a resource.</p>"
1454            }
1455        },
1456        "com.amazonaws.dlm#TagFilter": {
1457            "type": "string",
1458            "traits": {
1459                "smithy.api#length": {
1460                    "min": 0,
1461                    "max": 256
1462                },
1463                "smithy.api#pattern": "[\\p{all}]*"
1464            }
1465        },
1466        "com.amazonaws.dlm#TagKey": {
1467            "type": "string",
1468            "traits": {
1469                "smithy.api#length": {
1470                    "min": 1,
1471                    "max": 128
1472                },
1473                "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$"
1474            }
1475        },
1476        "com.amazonaws.dlm#TagKeyList": {
1477            "type": "list",
1478            "member": {
1479                "target": "com.amazonaws.dlm#TagKey"
1480            },
1481            "traits": {
1482                "smithy.api#length": {
1483                    "min": 1,
1484                    "max": 200
1485                }
1486            }
1487        },
1488        "com.amazonaws.dlm#TagMap": {
1489            "type": "map",
1490            "key": {
1491                "target": "com.amazonaws.dlm#TagKey"
1492            },
1493            "value": {
1494                "target": "com.amazonaws.dlm#TagValue"
1495            },
1496            "traits": {
1497                "smithy.api#length": {
1498                    "min": 1,
1499                    "max": 200
1500                }
1501            }
1502        },
1503        "com.amazonaws.dlm#TagResource": {
1504            "type": "operation",
1505            "input": {
1506                "target": "com.amazonaws.dlm#TagResourceRequest"
1507            },
1508            "output": {
1509                "target": "com.amazonaws.dlm#TagResourceResponse"
1510            },
1511            "errors": [
1512                {
1513                    "target": "com.amazonaws.dlm#InternalServerException"
1514                },
1515                {
1516                    "target": "com.amazonaws.dlm#InvalidRequestException"
1517                },
1518                {
1519                    "target": "com.amazonaws.dlm#ResourceNotFoundException"
1520                }
1521            ],
1522            "traits": {
1523                "smithy.api#documentation": "<p>Adds the specified tags to the specified resource.</p>",
1524                "smithy.api#http": {
1525                    "method": "POST",
1526                    "uri": "/tags/{ResourceArn}",
1527                    "code": 200
1528                }
1529            }
1530        },
1531        "com.amazonaws.dlm#TagResourceRequest": {
1532            "type": "structure",
1533            "members": {
1534                "ResourceArn": {
1535                    "target": "com.amazonaws.dlm#PolicyArn",
1536                    "traits": {
1537                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>",
1538                        "smithy.api#httpLabel": {},
1539                        "smithy.api#required": {}
1540                    }
1541                },
1542                "Tags": {
1543                    "target": "com.amazonaws.dlm#TagMap",
1544                    "traits": {
1545                        "smithy.api#documentation": "<p>One or more tags.</p>",
1546                        "smithy.api#required": {}
1547                    }
1548                }
1549            }
1550        },
1551        "com.amazonaws.dlm#TagResourceResponse": {
1552            "type": "structure",
1553            "members": {}
1554        },
1555        "com.amazonaws.dlm#TagValue": {
1556            "type": "string",
1557            "traits": {
1558                "smithy.api#length": {
1559                    "min": 0,
1560                    "max": 256
1561                },
1562                "smithy.api#pattern": "[\\p{all}]*"
1563            }
1564        },
1565        "com.amazonaws.dlm#TagsToAddFilterList": {
1566            "type": "list",
1567            "member": {
1568                "target": "com.amazonaws.dlm#TagFilter"
1569            },
1570            "traits": {
1571                "smithy.api#length": {
1572                    "min": 0,
1573                    "max": 50
1574                }
1575            }
1576        },
1577        "com.amazonaws.dlm#TagsToAddList": {
1578            "type": "list",
1579            "member": {
1580                "target": "com.amazonaws.dlm#Tag"
1581            },
1582            "traits": {
1583                "smithy.api#length": {
1584                    "min": 0,
1585                    "max": 45
1586                }
1587            }
1588        },
1589        "com.amazonaws.dlm#Target": {
1590            "type": "string",
1591            "traits": {
1592                "smithy.api#length": {
1593                    "min": 0,
1594                    "max": 16
1595                },
1596                "smithy.api#pattern": "^[\\\\w:\\\\-\\\\/\\\\*]+$"
1597            }
1598        },
1599        "com.amazonaws.dlm#TargetRegion": {
1600            "type": "string",
1601            "traits": {
1602                "smithy.api#length": {
1603                    "min": 0,
1604                    "max": 16
1605                },
1606                "smithy.api#pattern": "([a-z]+-){2,3}\\d"
1607            }
1608        },
1609        "com.amazonaws.dlm#TargetTagList": {
1610            "type": "list",
1611            "member": {
1612                "target": "com.amazonaws.dlm#Tag"
1613            },
1614            "traits": {
1615                "smithy.api#length": {
1616                    "min": 1,
1617                    "max": 50
1618                }
1619            }
1620        },
1621        "com.amazonaws.dlm#TargetTagsFilterList": {
1622            "type": "list",
1623            "member": {
1624                "target": "com.amazonaws.dlm#TagFilter"
1625            },
1626            "traits": {
1627                "smithy.api#length": {
1628                    "min": 1,
1629                    "max": 50
1630                }
1631            }
1632        },
1633        "com.amazonaws.dlm#Time": {
1634            "type": "string",
1635            "traits": {
1636                "smithy.api#length": {
1637                    "min": 5,
1638                    "max": 5
1639                },
1640                "smithy.api#pattern": "^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$"
1641            }
1642        },
1643        "com.amazonaws.dlm#TimesList": {
1644            "type": "list",
1645            "member": {
1646                "target": "com.amazonaws.dlm#Time"
1647            },
1648            "traits": {
1649                "smithy.api#length": {
1650                    "min": 0,
1651                    "max": 1
1652                }
1653            }
1654        },
1655        "com.amazonaws.dlm#Timestamp": {
1656            "type": "timestamp",
1657            "traits": {
1658                "smithy.api#timestampFormat": "date-time"
1659            }
1660        },
1661        "com.amazonaws.dlm#UntagResource": {
1662            "type": "operation",
1663            "input": {
1664                "target": "com.amazonaws.dlm#UntagResourceRequest"
1665            },
1666            "output": {
1667                "target": "com.amazonaws.dlm#UntagResourceResponse"
1668            },
1669            "errors": [
1670                {
1671                    "target": "com.amazonaws.dlm#InternalServerException"
1672                },
1673                {
1674                    "target": "com.amazonaws.dlm#InvalidRequestException"
1675                },
1676                {
1677                    "target": "com.amazonaws.dlm#ResourceNotFoundException"
1678                }
1679            ],
1680            "traits": {
1681                "smithy.api#documentation": "<p>Removes the specified tags from the specified resource.</p>",
1682                "smithy.api#http": {
1683                    "method": "DELETE",
1684                    "uri": "/tags/{ResourceArn}",
1685                    "code": 200
1686                }
1687            }
1688        },
1689        "com.amazonaws.dlm#UntagResourceRequest": {
1690            "type": "structure",
1691            "members": {
1692                "ResourceArn": {
1693                    "target": "com.amazonaws.dlm#PolicyArn",
1694                    "traits": {
1695                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>",
1696                        "smithy.api#httpLabel": {},
1697                        "smithy.api#required": {}
1698                    }
1699                },
1700                "TagKeys": {
1701                    "target": "com.amazonaws.dlm#TagKeyList",
1702                    "traits": {
1703                        "smithy.api#documentation": "<p>The tag keys.</p>",
1704                        "smithy.api#httpQuery": "tagKeys",
1705                        "smithy.api#required": {}
1706                    }
1707                }
1708            }
1709        },
1710        "com.amazonaws.dlm#UntagResourceResponse": {
1711            "type": "structure",
1712            "members": {}
1713        },
1714        "com.amazonaws.dlm#UpdateLifecyclePolicy": {
1715            "type": "operation",
1716            "input": {
1717                "target": "com.amazonaws.dlm#UpdateLifecyclePolicyRequest"
1718            },
1719            "output": {
1720                "target": "com.amazonaws.dlm#UpdateLifecyclePolicyResponse"
1721            },
1722            "errors": [
1723                {
1724                    "target": "com.amazonaws.dlm#InternalServerException"
1725                },
1726                {
1727                    "target": "com.amazonaws.dlm#InvalidRequestException"
1728                },
1729                {
1730                    "target": "com.amazonaws.dlm#LimitExceededException"
1731                },
1732                {
1733                    "target": "com.amazonaws.dlm#ResourceNotFoundException"
1734                }
1735            ],
1736            "traits": {
1737                "smithy.api#documentation": "<p>Updates the specified lifecycle policy.</p>",
1738                "smithy.api#http": {
1739                    "method": "PATCH",
1740                    "uri": "/policies/{PolicyId}",
1741                    "code": 200
1742                }
1743            }
1744        },
1745        "com.amazonaws.dlm#UpdateLifecyclePolicyRequest": {
1746            "type": "structure",
1747            "members": {
1748                "PolicyId": {
1749                    "target": "com.amazonaws.dlm#PolicyId",
1750                    "traits": {
1751                        "smithy.api#documentation": "<p>The identifier of the lifecycle policy.</p>",
1752                        "smithy.api#httpLabel": {},
1753                        "smithy.api#required": {}
1754                    }
1755                },
1756                "ExecutionRoleArn": {
1757                    "target": "com.amazonaws.dlm#ExecutionRoleArn",
1758                    "traits": {
1759                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>"
1760                    }
1761                },
1762                "State": {
1763                    "target": "com.amazonaws.dlm#SettablePolicyStateValues",
1764                    "traits": {
1765                        "smithy.api#documentation": "<p>The desired activation state of the lifecycle policy after creation.</p>"
1766                    }
1767                },
1768                "Description": {
1769                    "target": "com.amazonaws.dlm#PolicyDescription",
1770                    "traits": {
1771                        "smithy.api#documentation": "<p>A description of the lifecycle policy.</p>"
1772                    }
1773                },
1774                "PolicyDetails": {
1775                    "target": "com.amazonaws.dlm#PolicyDetails",
1776                    "traits": {
1777                        "smithy.api#documentation": "<p>The configuration of the lifecycle policy. You cannot update the policy type or the resource type.</p>"
1778                    }
1779                }
1780            }
1781        },
1782        "com.amazonaws.dlm#UpdateLifecyclePolicyResponse": {
1783            "type": "structure",
1784            "members": {}
1785        },
1786        "com.amazonaws.dlm#VariableTagsList": {
1787            "type": "list",
1788            "member": {
1789                "target": "com.amazonaws.dlm#Tag"
1790            },
1791            "traits": {
1792                "smithy.api#length": {
1793                    "min": 0,
1794                    "max": 45
1795                }
1796            }
1797        }
1798    }
1799}
1800