You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-dlm/src/DLM.ts
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,9 @@ import { DLMClient } from "./DLMClient";
44
44
* <p>With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create
45
45
* lifecycle policies, which are used to automate operations on the specified
46
46
* resources.</p>
47
-
* <p>Amazon DLM supports Amazon EBS volumes and snapshots. For information about using Amazon DLM
48
-
* with Amazon EBS, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html">Automating the Amazon EBS
49
-
* Snapshot Lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p>
47
+
* <p>Amazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager
48
+
* with Amazon EBS, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html">
49
+
* Amazon Data Lifecycle Manager</a> in the <i>Amazon EC2 User Guide</i>.</p>
50
50
*/
51
51
exportclassDLMextendsDLMClient{
52
52
/**
@@ -85,6 +85,8 @@ export class DLM extends DLMClient {
85
85
/**
86
86
* <p>Deletes the specified lifecycle policy and halts the automated operations that the
87
87
* policy specified.</p>
88
+
* <p>For more information about deleting a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#delete">Delete lifecycle
89
+
* policies</a>.</p>
88
90
*/
89
91
publicdeleteLifecyclePolicy(
90
92
args: DeleteLifecyclePolicyCommandInput,
@@ -272,6 +274,8 @@ export class DLM extends DLMClient {
272
274
273
275
/**
274
276
* <p>Updates the specified lifecycle policy.</p>
277
+
* <p>For more information about updating a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#modify">Modify lifecycle
* <p>Deletes the specified lifecycle policy and halts the automated operations that the
32
32
* policy specified.</p>
33
+
* <p>For more information about deleting a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#delete">Delete lifecycle
34
+
* policies</a>.</p>
33
35
* @example
34
36
* Use a bare-bones client and the command you need to make an API call.
* <p>For more information about updating a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#modify">Modify lifecycle
33
+
* policies</a>.</p>
32
34
* @example
33
35
* Use a bare-bones client and the command you need to make an API call.
* <b>[Snapshot policies only]</b> Describes the retention rule for archived snapshots. Once the archive
99
+
* retention threshold is met, the snapshots are permanently deleted from the archive tier.</p>
100
+
* <note>
101
+
* <p>The archive retention rule must retain snapshots in the archive tier for a minimum
102
+
* of 90 days.</p>
103
+
* </note>
104
+
*
105
+
* <p>For <b>count-based schedules</b>, you must specify <b>Count</b>. For <b>age-based
106
+
* schedules</b>, you must specify <b>Interval</b> and
107
+
* <b> IntervalUnit</b>.</p>
108
+
* <p>For more information about using snapshot archiving, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-ami-policy.html#dlm-archive">Considerations for
109
+
* snapshot lifecycle policies</a>.</p>
110
+
*/
111
+
exportinterfaceRetentionArchiveTier{
112
+
/**
113
+
* <p>The maximum number of snapshots to retain in the archive storage tier for each volume.
114
+
* The count must ensure that each snapshot remains in the archive tier for at least
115
+
* 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a
116
+
* count of 3 or more to ensure that each snapshot is archived for at least 90 days.</p>
117
+
*/
118
+
Count?: number;
119
+
120
+
/**
121
+
* <p>Specifies the period of time to retain snapshots in the archive tier. After this period
122
+
* expires, the snapshot is permanently deleted.</p>
123
+
*/
124
+
Interval?: number;
125
+
126
+
/**
127
+
* <p>The unit of time in which to measure the <b>Interval</b>. For
128
+
* example, to retain a snapshots in the archive tier for 6 months, specify <code>Interval=6</code>
* <b>[Snapshot policies only]</b> Specifies a snapshot archiving rule for a schedule.</p>
150
+
*/
151
+
exportinterfaceArchiveRule{
152
+
/**
153
+
* <p>Information about the retention period for the snapshot archiving rule.</p>
154
+
*/
155
+
RetainRule: ArchiveRetainRule|undefined;
156
+
}
157
+
96
158
exportenumEventTypeValues{
97
159
SHARE_SNAPSHOT="shareSnapshot",
98
160
}
@@ -165,7 +227,7 @@ export interface Tag {
165
227
* set of valid parameters depends on the combination of policy type and target resource
166
228
* type.</p>
167
229
* <p>If you choose to exclude boot volumes and you specify tags that consequently exclude
168
-
* all of the additional data volumes attached to an instance, then Amazon DLM will not create
230
+
* all of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create
169
231
* any snapshots for the affected instance, and it will emit a <code>SnapshotsCreateFailed</code>
170
232
* Amazon CloudWatch metric. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitor-dlm-cw-metrics.html">Monitor your policies
* <b>[AMI policies only]</b> The AMI deprecation rule for the schedule.</p>
528
635
*/
529
636
DeprecateRule?: DeprecateRule;
637
+
638
+
/**
639
+
* <p>
640
+
* <b>[Snapshot policies that target volumes only]</b> The snapshot archiving rule for the schedule. When you specify an archiving
641
+
* rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's
642
+
* retention threshold is met. Snapshots are then retained in the archive tier for the archive retention
643
+
* period that you specify. </p>
644
+
* <p>For more information about using snapshot archiving, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-ami-policy.html#dlm-archive">Considerations for
0 commit comments