Skip to content

Commit 3f2a797

Browse files
author
aws-sdk-cpp-automation
committed
This release adds support for excluding specific data (non-boot) volumes from multi-volume snapshot sets created by snapshot lifecycle policies
This release adds support for excluding specific data (non-root) volumes from multi-volume snapshot sets created from instances.
1 parent ea9433e commit 3f2a797

24 files changed

+838
-582
lines changed

aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
55

6-
#define AWS_SDK_VERSION_STRING 1.9.318
6+
#define AWS_SDK_VERSION_STRING 1.9.319
77
#define AWS_SDK_VERSION_MAJOR 1
88
#define AWS_SDK_VERSION_MINOR 9
9-
#define AWS_SDK_VERSION_PATCH 318
9+
#define AWS_SDK_VERSION_PATCH 319

aws-cpp-sdk-dlm/include/aws/dlm/model/Action.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ namespace Model
2626
{
2727

2828
/**
29-
* <p>Specifies an action for an event-based policy.</p><p><h3>See Also:</h3> <a
29+
* <p> <b>[Event-based policies only]</b> Specifies an action for an event-based
30+
* policy.</p><p><h3>See Also:</h3> <a
3031
* href="http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/Action">AWS API
3132
* Reference</a></p>
3233
*/

aws-cpp-sdk-dlm/include/aws/dlm/model/CreateRule.h

Lines changed: 58 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ namespace Model
2727
{
2828

2929
/**
30-
* <p>Specifies when to create snapshots of EBS volumes.</p> <p>You must specify
31-
* either a Cron expression or an interval, interval unit, and start time. You
32-
* cannot specify both.</p><p><h3>See Also:</h3> <a
30+
* <p> <b>[Snapshot and AMI policies only]</b> Specifies when the policy should
31+
* create snapshots or AMIs.</p> <p>You must specify either a Cron
32+
* expression or an interval, interval unit, and start time. You cannot specify
33+
* both.</p> <p><h3>See Also:</h3> <a
3334
* href="http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CreateRule">AWS API
3435
* Reference</a></p>
3536
*/
@@ -43,80 +44,80 @@ namespace Model
4344

4445

4546
/**
46-
* <p>Specifies the destination for snapshots created by the policy. To create
47-
* snapshots in the same Region as the source resource, specify <code>CLOUD</code>.
48-
* To create snapshots on the same Outpost as the source resource, specify
49-
* <code>OUTPOST_LOCAL</code>. If you omit this parameter, <code>CLOUD</code> is
50-
* used by default.</p> <p>If the policy targets resources in an Amazon Web
51-
* Services Region, then you must create snapshots in the same Region as the source
52-
* resource.</p> <p>If the policy targets resources on an Outpost, then you can
53-
* create snapshots on the same Outpost as the source resource, or in the Region of
54-
* that Outpost.</p>
47+
* <p> <b>[Snapshot policies only]</b> Specifies the destination for snapshots
48+
* created by the policy. To create snapshots in the same Region as the source
49+
* resource, specify <code>CLOUD</code>. To create snapshots on the same Outpost as
50+
* the source resource, specify <code>OUTPOST_LOCAL</code>. If you omit this
51+
* parameter, <code>CLOUD</code> is used by default.</p> <p>If the policy targets
52+
* resources in an Amazon Web Services Region, then you must create snapshots in
53+
* the same Region as the source resource. If the policy targets resources on an
54+
* Outpost, then you can create snapshots on the same Outpost as the source
55+
* resource, or in the Region of that Outpost.</p>
5556
*/
5657
inline const LocationValues& GetLocation() const{ return m_location; }
5758

5859
/**
59-
* <p>Specifies the destination for snapshots created by the policy. To create
60-
* snapshots in the same Region as the source resource, specify <code>CLOUD</code>.
61-
* To create snapshots on the same Outpost as the source resource, specify
62-
* <code>OUTPOST_LOCAL</code>. If you omit this parameter, <code>CLOUD</code> is
63-
* used by default.</p> <p>If the policy targets resources in an Amazon Web
64-
* Services Region, then you must create snapshots in the same Region as the source
65-
* resource.</p> <p>If the policy targets resources on an Outpost, then you can
66-
* create snapshots on the same Outpost as the source resource, or in the Region of
67-
* that Outpost.</p>
60+
* <p> <b>[Snapshot policies only]</b> Specifies the destination for snapshots
61+
* created by the policy. To create snapshots in the same Region as the source
62+
* resource, specify <code>CLOUD</code>. To create snapshots on the same Outpost as
63+
* the source resource, specify <code>OUTPOST_LOCAL</code>. If you omit this
64+
* parameter, <code>CLOUD</code> is used by default.</p> <p>If the policy targets
65+
* resources in an Amazon Web Services Region, then you must create snapshots in
66+
* the same Region as the source resource. If the policy targets resources on an
67+
* Outpost, then you can create snapshots on the same Outpost as the source
68+
* resource, or in the Region of that Outpost.</p>
6869
*/
6970
inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
7071

7172
/**
72-
* <p>Specifies the destination for snapshots created by the policy. To create
73-
* snapshots in the same Region as the source resource, specify <code>CLOUD</code>.
74-
* To create snapshots on the same Outpost as the source resource, specify
75-
* <code>OUTPOST_LOCAL</code>. If you omit this parameter, <code>CLOUD</code> is
76-
* used by default.</p> <p>If the policy targets resources in an Amazon Web
77-
* Services Region, then you must create snapshots in the same Region as the source
78-
* resource.</p> <p>If the policy targets resources on an Outpost, then you can
79-
* create snapshots on the same Outpost as the source resource, or in the Region of
80-
* that Outpost.</p>
73+
* <p> <b>[Snapshot policies only]</b> Specifies the destination for snapshots
74+
* created by the policy. To create snapshots in the same Region as the source
75+
* resource, specify <code>CLOUD</code>. To create snapshots on the same Outpost as
76+
* the source resource, specify <code>OUTPOST_LOCAL</code>. If you omit this
77+
* parameter, <code>CLOUD</code> is used by default.</p> <p>If the policy targets
78+
* resources in an Amazon Web Services Region, then you must create snapshots in
79+
* the same Region as the source resource. If the policy targets resources on an
80+
* Outpost, then you can create snapshots on the same Outpost as the source
81+
* resource, or in the Region of that Outpost.</p>
8182
*/
8283
inline void SetLocation(const LocationValues& value) { m_locationHasBeenSet = true; m_location = value; }
8384

8485
/**
85-
* <p>Specifies the destination for snapshots created by the policy. To create
86-
* snapshots in the same Region as the source resource, specify <code>CLOUD</code>.
87-
* To create snapshots on the same Outpost as the source resource, specify
88-
* <code>OUTPOST_LOCAL</code>. If you omit this parameter, <code>CLOUD</code> is
89-
* used by default.</p> <p>If the policy targets resources in an Amazon Web
90-
* Services Region, then you must create snapshots in the same Region as the source
91-
* resource.</p> <p>If the policy targets resources on an Outpost, then you can
92-
* create snapshots on the same Outpost as the source resource, or in the Region of
93-
* that Outpost.</p>
86+
* <p> <b>[Snapshot policies only]</b> Specifies the destination for snapshots
87+
* created by the policy. To create snapshots in the same Region as the source
88+
* resource, specify <code>CLOUD</code>. To create snapshots on the same Outpost as
89+
* the source resource, specify <code>OUTPOST_LOCAL</code>. If you omit this
90+
* parameter, <code>CLOUD</code> is used by default.</p> <p>If the policy targets
91+
* resources in an Amazon Web Services Region, then you must create snapshots in
92+
* the same Region as the source resource. If the policy targets resources on an
93+
* Outpost, then you can create snapshots on the same Outpost as the source
94+
* resource, or in the Region of that Outpost.</p>
9495
*/
9596
inline void SetLocation(LocationValues&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
9697

9798
/**
98-
* <p>Specifies the destination for snapshots created by the policy. To create
99-
* snapshots in the same Region as the source resource, specify <code>CLOUD</code>.
100-
* To create snapshots on the same Outpost as the source resource, specify
101-
* <code>OUTPOST_LOCAL</code>. If you omit this parameter, <code>CLOUD</code> is
102-
* used by default.</p> <p>If the policy targets resources in an Amazon Web
103-
* Services Region, then you must create snapshots in the same Region as the source
104-
* resource.</p> <p>If the policy targets resources on an Outpost, then you can
105-
* create snapshots on the same Outpost as the source resource, or in the Region of
106-
* that Outpost.</p>
99+
* <p> <b>[Snapshot policies only]</b> Specifies the destination for snapshots
100+
* created by the policy. To create snapshots in the same Region as the source
101+
* resource, specify <code>CLOUD</code>. To create snapshots on the same Outpost as
102+
* the source resource, specify <code>OUTPOST_LOCAL</code>. If you omit this
103+
* parameter, <code>CLOUD</code> is used by default.</p> <p>If the policy targets
104+
* resources in an Amazon Web Services Region, then you must create snapshots in
105+
* the same Region as the source resource. If the policy targets resources on an
106+
* Outpost, then you can create snapshots on the same Outpost as the source
107+
* resource, or in the Region of that Outpost.</p>
107108
*/
108109
inline CreateRule& WithLocation(const LocationValues& value) { SetLocation(value); return *this;}
109110

110111
/**
111-
* <p>Specifies the destination for snapshots created by the policy. To create
112-
* snapshots in the same Region as the source resource, specify <code>CLOUD</code>.
113-
* To create snapshots on the same Outpost as the source resource, specify
114-
* <code>OUTPOST_LOCAL</code>. If you omit this parameter, <code>CLOUD</code> is
115-
* used by default.</p> <p>If the policy targets resources in an Amazon Web
116-
* Services Region, then you must create snapshots in the same Region as the source
117-
* resource.</p> <p>If the policy targets resources on an Outpost, then you can
118-
* create snapshots on the same Outpost as the source resource, or in the Region of
119-
* that Outpost.</p>
112+
* <p> <b>[Snapshot policies only]</b> Specifies the destination for snapshots
113+
* created by the policy. To create snapshots in the same Region as the source
114+
* resource, specify <code>CLOUD</code>. To create snapshots on the same Outpost as
115+
* the source resource, specify <code>OUTPOST_LOCAL</code>. If you omit this
116+
* parameter, <code>CLOUD</code> is used by default.</p> <p>If the policy targets
117+
* resources in an Amazon Web Services Region, then you must create snapshots in
118+
* the same Region as the source resource. If the policy targets resources on an
119+
* Outpost, then you can create snapshots on the same Outpost as the source
120+
* resource, or in the Region of that Outpost.</p>
120121
*/
121122
inline CreateRule& WithLocation(LocationValues&& value) { SetLocation(std::move(value)); return *this;}
122123

aws-cpp-sdk-dlm/include/aws/dlm/model/CrossRegionCopyAction.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ namespace Model
2626
{
2727

2828
/**
29-
* <p>Specifies a rule for copying shared snapshots across Regions.</p><p><h3>See
29+
* <p> <b>[Event-based policies only]</b> Specifies a cross-Region copy action for
30+
* event-based policies.</p> <p>To specify a cross-Region copy rule for
31+
* snapshot and AMI policies, use <a>CrossRegionCopyRule</a>.</p> <p><h3>See
3032
* Also:</h3> <a
3133
* href="http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CrossRegionCopyAction">AWS
3234
* API Reference</a></p>

aws-cpp-sdk-dlm/include/aws/dlm/model/CrossRegionCopyDeprecateRule.h

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ namespace Model
2424
{
2525

2626
/**
27-
* <p>Specifies an AMI deprecation rule for cross-Region AMI copies created by a
28-
* cross-Region copy rule.</p><p><h3>See Also:</h3> <a
27+
* <p> <b>[AMI policies only]</b> Specifies an AMI deprecation rule for
28+
* cross-Region AMI copies created by an AMI policy.</p><p><h3>See Also:</h3> <a
2929
* href="http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CrossRegionCopyDeprecateRule">AWS
3030
* API Reference</a></p>
3131
*/
@@ -72,32 +72,44 @@ namespace Model
7272

7373

7474
/**
75-
* <p>The unit of time in which to measure the <b>Interval</b>.</p>
75+
* <p>The unit of time in which to measure the <b>Interval</b>. For example, to
76+
* deprecate a cross-Region AMI copy after 3 months, specify
77+
* <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>
7678
*/
7779
inline const RetentionIntervalUnitValues& GetIntervalUnit() const{ return m_intervalUnit; }
7880

7981
/**
80-
* <p>The unit of time in which to measure the <b>Interval</b>.</p>
82+
* <p>The unit of time in which to measure the <b>Interval</b>. For example, to
83+
* deprecate a cross-Region AMI copy after 3 months, specify
84+
* <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>
8185
*/
8286
inline bool IntervalUnitHasBeenSet() const { return m_intervalUnitHasBeenSet; }
8387

8488
/**
85-
* <p>The unit of time in which to measure the <b>Interval</b>.</p>
89+
* <p>The unit of time in which to measure the <b>Interval</b>. For example, to
90+
* deprecate a cross-Region AMI copy after 3 months, specify
91+
* <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>
8692
*/
8793
inline void SetIntervalUnit(const RetentionIntervalUnitValues& value) { m_intervalUnitHasBeenSet = true; m_intervalUnit = value; }
8894

8995
/**
90-
* <p>The unit of time in which to measure the <b>Interval</b>.</p>
96+
* <p>The unit of time in which to measure the <b>Interval</b>. For example, to
97+
* deprecate a cross-Region AMI copy after 3 months, specify
98+
* <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>
9199
*/
92100
inline void SetIntervalUnit(RetentionIntervalUnitValues&& value) { m_intervalUnitHasBeenSet = true; m_intervalUnit = std::move(value); }
93101

94102
/**
95-
* <p>The unit of time in which to measure the <b>Interval</b>.</p>
103+
* <p>The unit of time in which to measure the <b>Interval</b>. For example, to
104+
* deprecate a cross-Region AMI copy after 3 months, specify
105+
* <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>
96106
*/
97107
inline CrossRegionCopyDeprecateRule& WithIntervalUnit(const RetentionIntervalUnitValues& value) { SetIntervalUnit(value); return *this;}
98108

99109
/**
100-
* <p>The unit of time in which to measure the <b>Interval</b>.</p>
110+
* <p>The unit of time in which to measure the <b>Interval</b>. For example, to
111+
* deprecate a cross-Region AMI copy after 3 months, specify
112+
* <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>
101113
*/
102114
inline CrossRegionCopyDeprecateRule& WithIntervalUnit(RetentionIntervalUnitValues&& value) { SetIntervalUnit(std::move(value)); return *this;}
103115

aws-cpp-sdk-dlm/include/aws/dlm/model/CrossRegionCopyRetainRule.h

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ namespace Model
2424
{
2525

2626
/**
27-
* <p>Specifies the retention rule for cross-Region snapshot copies.</p><p><h3>See
28-
* Also:</h3> <a
27+
* <p>Specifies a retention rule for cross-Region snapshot copies created by
28+
* snapshot or event-based policies, or cross-Region AMI copies created by AMI
29+
* policies. After the retention period expires, the cross-Region copy is
30+
* deleted.</p><p><h3>See Also:</h3> <a
2931
* href="http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CrossRegionCopyRetainRule">AWS
3032
* API Reference</a></p>
3133
*/
@@ -39,57 +41,69 @@ namespace Model
3941

4042

4143
/**
42-
* <p>The amount of time to retain each snapshot. The maximum is 100 years. This is
43-
* equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
44+
* <p>The amount of time to retain a cross-Region snapshot or AMI copy. The maximum
45+
* is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
4446
*/
4547
inline int GetInterval() const{ return m_interval; }
4648

4749
/**
48-
* <p>The amount of time to retain each snapshot. The maximum is 100 years. This is
49-
* equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
50+
* <p>The amount of time to retain a cross-Region snapshot or AMI copy. The maximum
51+
* is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
5052
*/
5153
inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
5254

5355
/**
54-
* <p>The amount of time to retain each snapshot. The maximum is 100 years. This is
55-
* equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
56+
* <p>The amount of time to retain a cross-Region snapshot or AMI copy. The maximum
57+
* is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
5658
*/
5759
inline void SetInterval(int value) { m_intervalHasBeenSet = true; m_interval = value; }
5860

5961
/**
60-
* <p>The amount of time to retain each snapshot. The maximum is 100 years. This is
61-
* equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
62+
* <p>The amount of time to retain a cross-Region snapshot or AMI copy. The maximum
63+
* is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
6264
*/
6365
inline CrossRegionCopyRetainRule& WithInterval(int value) { SetInterval(value); return *this;}
6466

6567

6668
/**
67-
* <p>The unit of time for time-based retention.</p>
69+
* <p>The unit of time for time-based retention. For example, to retain a
70+
* cross-Region copy for 3 months, specify <code>Interval=3</code> and
71+
* <code>IntervalUnit=MONTHS</code>.</p>
6872
*/
6973
inline const RetentionIntervalUnitValues& GetIntervalUnit() const{ return m_intervalUnit; }
7074

7175
/**
72-
* <p>The unit of time for time-based retention.</p>
76+
* <p>The unit of time for time-based retention. For example, to retain a
77+
* cross-Region copy for 3 months, specify <code>Interval=3</code> and
78+
* <code>IntervalUnit=MONTHS</code>.</p>
7379
*/
7480
inline bool IntervalUnitHasBeenSet() const { return m_intervalUnitHasBeenSet; }
7581

7682
/**
77-
* <p>The unit of time for time-based retention.</p>
83+
* <p>The unit of time for time-based retention. For example, to retain a
84+
* cross-Region copy for 3 months, specify <code>Interval=3</code> and
85+
* <code>IntervalUnit=MONTHS</code>.</p>
7886
*/
7987
inline void SetIntervalUnit(const RetentionIntervalUnitValues& value) { m_intervalUnitHasBeenSet = true; m_intervalUnit = value; }
8088

8189
/**
82-
* <p>The unit of time for time-based retention.</p>
90+
* <p>The unit of time for time-based retention. For example, to retain a
91+
* cross-Region copy for 3 months, specify <code>Interval=3</code> and
92+
* <code>IntervalUnit=MONTHS</code>.</p>
8393
*/
8494
inline void SetIntervalUnit(RetentionIntervalUnitValues&& value) { m_intervalUnitHasBeenSet = true; m_intervalUnit = std::move(value); }
8595

8696
/**
87-
* <p>The unit of time for time-based retention.</p>
97+
* <p>The unit of time for time-based retention. For example, to retain a
98+
* cross-Region copy for 3 months, specify <code>Interval=3</code> and
99+
* <code>IntervalUnit=MONTHS</code>.</p>
88100
*/
89101
inline CrossRegionCopyRetainRule& WithIntervalUnit(const RetentionIntervalUnitValues& value) { SetIntervalUnit(value); return *this;}
90102

91103
/**
92-
* <p>The unit of time for time-based retention.</p>
104+
* <p>The unit of time for time-based retention. For example, to retain a
105+
* cross-Region copy for 3 months, specify <code>Interval=3</code> and
106+
* <code>IntervalUnit=MONTHS</code>.</p>
93107
*/
94108
inline CrossRegionCopyRetainRule& WithIntervalUnit(RetentionIntervalUnitValues&& value) { SetIntervalUnit(std::move(value)); return *this;}
95109

0 commit comments

Comments
 (0)