AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeleteFileShare operation. Deletes a file share from an S3 File Gateway. This operation is only supported for S3 File Gateways.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.StorageGateway.AmazonStorageGatewayRequest
      Amazon.StorageGateway.Model.DeleteFileShareRequest

Namespace: Amazon.StorageGateway.Model
Assembly: AWSSDK.StorageGateway.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteFileShareRequest : AmazonStorageGatewayRequest
         IAmazonWebServiceRequest

The DeleteFileShareRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteFileShareRequest()

Properties

NameTypeDescription
Public Property FileShareARN System.String

Gets and sets the property FileShareARN.

The Amazon Resource Name (ARN) of the file share to be deleted.

Public Property ForceDelete System.Boolean

Gets and sets the property ForceDelete.

If this value is set to true, the operation deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters the FORCE_DELETING status.

Valid Values: true | false

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5