@@ -229,6 +229,44 @@ namespace FSx
229
229
return SubmitAsync (&FSxClient::CopySnapshotAndUpdateVolume, request, handler, context);
230
230
}
231
231
232
+ /* *
233
+ * <p>Creates an S3 access point and attaches it to an Amazon FSx volume. For FSx
234
+ * for OpenZFS file systems, the volume must be hosted on a high-availability file
235
+ * system, either Single-AZ or Multi-AZ. For more information, see <a
236
+ * href="fsx/latest/OpenZFSGuide/s3accesspoints-for-FSx.html">Accessing your data
237
+ * using access points</a> in the Amazon FSx for OpenZFS User Guide. </p> <p>The
238
+ * requester requires the following permissions to perform these actions:</p> <ul>
239
+ * <li> <p> <code>fsx:CreateAndAttachS3AccessPoint</code> </p> </li> <li> <p>
240
+ * <code>s3:CreateAccessPoint</code> </p> </li> <li> <p>
241
+ * <code>s3:GetAccessPoint</code> </p> </li> <li> <p>
242
+ * <code>s3:PutAccessPointPolicy</code> </p> </li> <li> <p>
243
+ * <code>s3:DeleteAccessPoint</code> </p> </li> </ul> <p>The following actions are
244
+ * related to <code>CreateAndAttachS3AccessPoint</code>:</p> <ul> <li> <p>
245
+ * <a>DescribeS3AccessPointAttachments</a> </p> </li> <li> <p>
246
+ * <a>DetachAndDeleteS3AccessPoint</a> </p> </li> </ul><p><h3>See Also:</h3> <a
247
+ * href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateAndAttachS3AccessPoint">AWS
248
+ * API Reference</a></p>
249
+ */
250
+ virtual Model::CreateAndAttachS3AccessPointOutcome CreateAndAttachS3AccessPoint (const Model::CreateAndAttachS3AccessPointRequest& request) const ;
251
+
252
+ /* *
253
+ * A Callable wrapper for CreateAndAttachS3AccessPoint that returns a future to the operation so that it can be executed in parallel to other requests.
254
+ */
255
+ template <typename CreateAndAttachS3AccessPointRequestT = Model::CreateAndAttachS3AccessPointRequest>
256
+ Model::CreateAndAttachS3AccessPointOutcomeCallable CreateAndAttachS3AccessPointCallable (const CreateAndAttachS3AccessPointRequestT& request) const
257
+ {
258
+ return SubmitCallable (&FSxClient::CreateAndAttachS3AccessPoint, request);
259
+ }
260
+
261
+ /* *
262
+ * An Async wrapper for CreateAndAttachS3AccessPoint that queues the request into a thread executor and triggers associated callback when operation has finished.
263
+ */
264
+ template <typename CreateAndAttachS3AccessPointRequestT = Model::CreateAndAttachS3AccessPointRequest>
265
+ void CreateAndAttachS3AccessPointAsync (const CreateAndAttachS3AccessPointRequestT& request, const CreateAndAttachS3AccessPointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
266
+ {
267
+ return SubmitAsync (&FSxClient::CreateAndAttachS3AccessPoint, request, handler, context);
268
+ }
269
+
232
270
/* *
233
271
* <p>Creates a backup of an existing Amazon FSx for Windows File Server file
234
272
* system, Amazon FSx for Lustre file system, Amazon FSx for NetApp ONTAP volume,
@@ -742,8 +780,16 @@ namespace FSx
742
780
* deleted.</p> <p>To delete an Amazon FSx for NetApp ONTAP file system, first
743
781
* delete all the volumes and storage virtual machines (SVMs) on the file system.
744
782
* Then provide a <code>FileSystemId</code> value to the
745
- * <code>DeleteFileSystem</code> operation.</p> <p>By default, when you delete an
746
- * Amazon FSx for Windows File Server file system, a final backup is created upon
783
+ * <code>DeleteFileSystem</code> operation.</p> <p>Before deleting an Amazon FSx
784
+ * for OpenZFS file system, make sure that there aren't any Amazon S3 access points
785
+ * attached to any volume. For more information on how to list S3 access points
786
+ * that are attached to volumes, see <a
787
+ * href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/access-points-list">Listing
788
+ * S3 access point attachments</a>. For more information on how to delete S3 access
789
+ * points, see <a
790
+ * href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/delete-points-list">Deleting
791
+ * an S3 access point attachment</a>.</p> <p>By default, when you delete an Amazon
792
+ * FSx for Windows File Server file system, a final backup is created upon
747
793
* deletion. This final backup isn't subject to the file system's retention policy,
748
794
* and must be manually deleted.</p> <p>To delete an Amazon FSx for Lustre file
749
795
* system, first <a
@@ -1127,6 +1173,34 @@ namespace FSx
1127
1173
return SubmitAsync (&FSxClient::DescribeFileSystems, request, handler, context);
1128
1174
}
1129
1175
1176
+ /* *
1177
+ * <p>Describes one or more S3 access points attached to Amazon FSx volumes.</p>
1178
+ * <p>The requester requires the following permission to perform this action:</p>
1179
+ * <ul> <li> <p> <code>fsx:DescribeS3AccessPointAttachments</code> </p> </li>
1180
+ * </ul><p><h3>See Also:</h3> <a
1181
+ * href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeS3AccessPointAttachments">AWS
1182
+ * API Reference</a></p>
1183
+ */
1184
+ virtual Model::DescribeS3AccessPointAttachmentsOutcome DescribeS3AccessPointAttachments (const Model::DescribeS3AccessPointAttachmentsRequest& request = {}) const ;
1185
+
1186
+ /* *
1187
+ * A Callable wrapper for DescribeS3AccessPointAttachments that returns a future to the operation so that it can be executed in parallel to other requests.
1188
+ */
1189
+ template <typename DescribeS3AccessPointAttachmentsRequestT = Model::DescribeS3AccessPointAttachmentsRequest>
1190
+ Model::DescribeS3AccessPointAttachmentsOutcomeCallable DescribeS3AccessPointAttachmentsCallable (const DescribeS3AccessPointAttachmentsRequestT& request = {}) const
1191
+ {
1192
+ return SubmitCallable (&FSxClient::DescribeS3AccessPointAttachments, request);
1193
+ }
1194
+
1195
+ /* *
1196
+ * An Async wrapper for DescribeS3AccessPointAttachments that queues the request into a thread executor and triggers associated callback when operation has finished.
1197
+ */
1198
+ template <typename DescribeS3AccessPointAttachmentsRequestT = Model::DescribeS3AccessPointAttachmentsRequest>
1199
+ void DescribeS3AccessPointAttachmentsAsync (const DescribeS3AccessPointAttachmentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr , const DescribeS3AccessPointAttachmentsRequestT& request = {}) const
1200
+ {
1201
+ return SubmitAsync (&FSxClient::DescribeS3AccessPointAttachments, request, handler, context);
1202
+ }
1203
+
1130
1204
/* *
1131
1205
* <p>Indicates whether participant accounts in your organization can create Amazon
1132
1206
* FSx for NetApp ONTAP Multi-AZ file systems in subnets that are shared by a
@@ -1252,6 +1326,35 @@ namespace FSx
1252
1326
return SubmitAsync (&FSxClient::DescribeVolumes, request, handler, context);
1253
1327
}
1254
1328
1329
+ /* *
1330
+ * <p>Detaches an S3 access point from an Amazon FSx volume and deletes the S3
1331
+ * access point.</p> <p>The requester requires the following permission to perform
1332
+ * this action:</p> <ul> <li> <p> <code>fsx:DetachAndDeleteS3AccessPoint</code>
1333
+ * </p> </li> <li> <p> <code>s3:DeleteAccessPoint</code> </p> </li> </ul><p><h3>See
1334
+ * Also:</h3> <a
1335
+ * href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DetachAndDeleteS3AccessPoint">AWS
1336
+ * API Reference</a></p>
1337
+ */
1338
+ virtual Model::DetachAndDeleteS3AccessPointOutcome DetachAndDeleteS3AccessPoint (const Model::DetachAndDeleteS3AccessPointRequest& request) const ;
1339
+
1340
+ /* *
1341
+ * A Callable wrapper for DetachAndDeleteS3AccessPoint that returns a future to the operation so that it can be executed in parallel to other requests.
1342
+ */
1343
+ template <typename DetachAndDeleteS3AccessPointRequestT = Model::DetachAndDeleteS3AccessPointRequest>
1344
+ Model::DetachAndDeleteS3AccessPointOutcomeCallable DetachAndDeleteS3AccessPointCallable (const DetachAndDeleteS3AccessPointRequestT& request) const
1345
+ {
1346
+ return SubmitCallable (&FSxClient::DetachAndDeleteS3AccessPoint, request);
1347
+ }
1348
+
1349
+ /* *
1350
+ * An Async wrapper for DetachAndDeleteS3AccessPoint that queues the request into a thread executor and triggers associated callback when operation has finished.
1351
+ */
1352
+ template <typename DetachAndDeleteS3AccessPointRequestT = Model::DetachAndDeleteS3AccessPointRequest>
1353
+ void DetachAndDeleteS3AccessPointAsync (const DetachAndDeleteS3AccessPointRequestT& request, const DetachAndDeleteS3AccessPointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
1354
+ {
1355
+ return SubmitAsync (&FSxClient::DetachAndDeleteS3AccessPoint, request, handler, context);
1356
+ }
1357
+
1255
1358
/* *
1256
1359
* <p>Use this action to disassociate, or remove, one or more Domain Name Service
1257
1360
* (DNS) aliases from an Amazon FSx for Windows File Server file system. If you
0 commit comments