@@ -40,125 +40,181 @@ namespace Model
40
40
41
41
/* *
42
42
* <p>The ID of the snapshot containing the block from which to get data.</p>
43
+ * <p>If the specified snapshot is encrypted, you must have permission
44
+ * to use the KMS key that was used to encrypt the snapshot. For more information,
45
+ * see <a
46
+ * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
47
+ * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
48
+ *
43
49
*/
44
50
inline const Aws::String& GetSnapshotId () const { return m_snapshotId; }
45
51
46
52
/* *
47
53
* <p>The ID of the snapshot containing the block from which to get data.</p>
54
+ * <p>If the specified snapshot is encrypted, you must have permission
55
+ * to use the KMS key that was used to encrypt the snapshot. For more information,
56
+ * see <a
57
+ * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
58
+ * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
59
+ *
48
60
*/
49
61
inline bool SnapshotIdHasBeenSet () const { return m_snapshotIdHasBeenSet; }
50
62
51
63
/* *
52
64
* <p>The ID of the snapshot containing the block from which to get data.</p>
65
+ * <p>If the specified snapshot is encrypted, you must have permission
66
+ * to use the KMS key that was used to encrypt the snapshot. For more information,
67
+ * see <a
68
+ * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
69
+ * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
70
+ *
53
71
*/
54
72
inline void SetSnapshotId (const Aws::String& value) { m_snapshotIdHasBeenSet = true ; m_snapshotId = value; }
55
73
56
74
/* *
57
75
* <p>The ID of the snapshot containing the block from which to get data.</p>
76
+ * <p>If the specified snapshot is encrypted, you must have permission
77
+ * to use the KMS key that was used to encrypt the snapshot. For more information,
78
+ * see <a
79
+ * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
80
+ * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
81
+ *
58
82
*/
59
83
inline void SetSnapshotId (Aws::String&& value) { m_snapshotIdHasBeenSet = true ; m_snapshotId = std::move (value); }
60
84
61
85
/* *
62
86
* <p>The ID of the snapshot containing the block from which to get data.</p>
87
+ * <p>If the specified snapshot is encrypted, you must have permission
88
+ * to use the KMS key that was used to encrypt the snapshot. For more information,
89
+ * see <a
90
+ * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
91
+ * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
92
+ *
63
93
*/
64
94
inline void SetSnapshotId (const char * value) { m_snapshotIdHasBeenSet = true ; m_snapshotId.assign (value); }
65
95
66
96
/* *
67
97
* <p>The ID of the snapshot containing the block from which to get data.</p>
98
+ * <p>If the specified snapshot is encrypted, you must have permission
99
+ * to use the KMS key that was used to encrypt the snapshot. For more information,
100
+ * see <a
101
+ * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
102
+ * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
103
+ *
68
104
*/
69
105
inline GetSnapshotBlockRequest& WithSnapshotId (const Aws::String& value) { SetSnapshotId (value); return *this ;}
70
106
71
107
/* *
72
108
* <p>The ID of the snapshot containing the block from which to get data.</p>
109
+ * <p>If the specified snapshot is encrypted, you must have permission
110
+ * to use the KMS key that was used to encrypt the snapshot. For more information,
111
+ * see <a
112
+ * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
113
+ * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
114
+ *
73
115
*/
74
116
inline GetSnapshotBlockRequest& WithSnapshotId (Aws::String&& value) { SetSnapshotId (std::move (value)); return *this ;}
75
117
76
118
/* *
77
119
* <p>The ID of the snapshot containing the block from which to get data.</p>
120
+ * <p>If the specified snapshot is encrypted, you must have permission
121
+ * to use the KMS key that was used to encrypt the snapshot. For more information,
122
+ * see <a
123
+ * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
124
+ * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
125
+ *
78
126
*/
79
127
inline GetSnapshotBlockRequest& WithSnapshotId (const char * value) { SetSnapshotId (value); return *this ;}
80
128
81
129
82
130
/* *
83
- * <p>The block index of the block from which to get data.</p> <p>Obtain the
84
- * <code>BlockIndex</code> by running the <code>ListChangedBlocks</code> or
85
- * <code>ListSnapshotBlocks</code> operations.</p>
131
+ * <p>The block index of the block in which to read the data. A block index is a
132
+ * logical index in units of <code>512</code> KiB blocks. To identify the block
133
+ * index, divide the logical offset of the data in the logical volume by the block
134
+ * size (logical offset of data/<code>524288</code>). The logical offset of the
135
+ * data must be <code>512</code> KiB aligned.</p>
86
136
*/
87
137
inline int GetBlockIndex () const { return m_blockIndex; }
88
138
89
139
/* *
90
- * <p>The block index of the block from which to get data.</p> <p>Obtain the
91
- * <code>BlockIndex</code> by running the <code>ListChangedBlocks</code> or
92
- * <code>ListSnapshotBlocks</code> operations.</p>
140
+ * <p>The block index of the block in which to read the data. A block index is a
141
+ * logical index in units of <code>512</code> KiB blocks. To identify the block
142
+ * index, divide the logical offset of the data in the logical volume by the block
143
+ * size (logical offset of data/<code>524288</code>). The logical offset of the
144
+ * data must be <code>512</code> KiB aligned.</p>
93
145
*/
94
146
inline bool BlockIndexHasBeenSet () const { return m_blockIndexHasBeenSet; }
95
147
96
148
/* *
97
- * <p>The block index of the block from which to get data.</p> <p>Obtain the
98
- * <code>BlockIndex</code> by running the <code>ListChangedBlocks</code> or
99
- * <code>ListSnapshotBlocks</code> operations.</p>
149
+ * <p>The block index of the block in which to read the data. A block index is a
150
+ * logical index in units of <code>512</code> KiB blocks. To identify the block
151
+ * index, divide the logical offset of the data in the logical volume by the block
152
+ * size (logical offset of data/<code>524288</code>). The logical offset of the
153
+ * data must be <code>512</code> KiB aligned.</p>
100
154
*/
101
155
inline void SetBlockIndex (int value) { m_blockIndexHasBeenSet = true ; m_blockIndex = value; }
102
156
103
157
/* *
104
- * <p>The block index of the block from which to get data.</p> <p>Obtain the
105
- * <code>BlockIndex</code> by running the <code>ListChangedBlocks</code> or
106
- * <code>ListSnapshotBlocks</code> operations.</p>
158
+ * <p>The block index of the block in which to read the data. A block index is a
159
+ * logical index in units of <code>512</code> KiB blocks. To identify the block
160
+ * index, divide the logical offset of the data in the logical volume by the block
161
+ * size (logical offset of data/<code>524288</code>). The logical offset of the
162
+ * data must be <code>512</code> KiB aligned.</p>
107
163
*/
108
164
inline GetSnapshotBlockRequest& WithBlockIndex (int value) { SetBlockIndex (value); return *this ;}
109
165
110
166
111
167
/* *
112
- * <p>The block token of the block from which to get data.</p> <p>Obtain the
168
+ * <p>The block token of the block from which to get data. You can obtain the
113
169
* <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or
114
170
* <code>ListSnapshotBlocks</code> operations.</p>
115
171
*/
116
172
inline const Aws::String& GetBlockToken () const { return m_blockToken; }
117
173
118
174
/* *
119
- * <p>The block token of the block from which to get data.</p> <p>Obtain the
175
+ * <p>The block token of the block from which to get data. You can obtain the
120
176
* <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or
121
177
* <code>ListSnapshotBlocks</code> operations.</p>
122
178
*/
123
179
inline bool BlockTokenHasBeenSet () const { return m_blockTokenHasBeenSet; }
124
180
125
181
/* *
126
- * <p>The block token of the block from which to get data.</p> <p>Obtain the
182
+ * <p>The block token of the block from which to get data. You can obtain the
127
183
* <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or
128
184
* <code>ListSnapshotBlocks</code> operations.</p>
129
185
*/
130
186
inline void SetBlockToken (const Aws::String& value) { m_blockTokenHasBeenSet = true ; m_blockToken = value; }
131
187
132
188
/* *
133
- * <p>The block token of the block from which to get data.</p> <p>Obtain the
189
+ * <p>The block token of the block from which to get data. You can obtain the
134
190
* <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or
135
191
* <code>ListSnapshotBlocks</code> operations.</p>
136
192
*/
137
193
inline void SetBlockToken (Aws::String&& value) { m_blockTokenHasBeenSet = true ; m_blockToken = std::move (value); }
138
194
139
195
/* *
140
- * <p>The block token of the block from which to get data.</p> <p>Obtain the
196
+ * <p>The block token of the block from which to get data. You can obtain the
141
197
* <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or
142
198
* <code>ListSnapshotBlocks</code> operations.</p>
143
199
*/
144
200
inline void SetBlockToken (const char * value) { m_blockTokenHasBeenSet = true ; m_blockToken.assign (value); }
145
201
146
202
/* *
147
- * <p>The block token of the block from which to get data.</p> <p>Obtain the
203
+ * <p>The block token of the block from which to get data. You can obtain the
148
204
* <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or
149
205
* <code>ListSnapshotBlocks</code> operations.</p>
150
206
*/
151
207
inline GetSnapshotBlockRequest& WithBlockToken (const Aws::String& value) { SetBlockToken (value); return *this ;}
152
208
153
209
/* *
154
- * <p>The block token of the block from which to get data.</p> <p>Obtain the
210
+ * <p>The block token of the block from which to get data. You can obtain the
155
211
* <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or
156
212
* <code>ListSnapshotBlocks</code> operations.</p>
157
213
*/
158
214
inline GetSnapshotBlockRequest& WithBlockToken (Aws::String&& value) { SetBlockToken (std::move (value)); return *this ;}
159
215
160
216
/* *
161
- * <p>The block token of the block from which to get data.</p> <p>Obtain the
217
+ * <p>The block token of the block from which to get data. You can obtain the
162
218
* <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or
163
219
* <code>ListSnapshotBlocks</code> operations.</p>
164
220
*/
0 commit comments