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