libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.DisassociateFileSystem

Description

Disassociates an Amazon FSx file system from the specified gateway. After the disassociation process finishes, the gateway can no longer access the Amazon FSx file system. This operation is only supported in the FSx File Gateway type.

Synopsis

Creating a Request

data DisassociateFileSystem Source #

See: newDisassociateFileSystem smart constructor.

Constructors

DisassociateFileSystem' 

Fields

  • forceDelete :: Maybe Bool

    If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.

  • fileSystemAssociationARN :: Text

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

Instances

Instances details
Eq DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Read DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Show DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Generic DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Associated Types

type Rep DisassociateFileSystem :: Type -> Type #

NFData DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Methods

rnf :: DisassociateFileSystem -> () #

Hashable DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

ToJSON DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

AWSRequest DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Associated Types

type AWSResponse DisassociateFileSystem #

ToHeaders DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

ToPath DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

ToQuery DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

type Rep DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

type Rep DisassociateFileSystem = D1 ('MetaData "DisassociateFileSystem" "Amazonka.StorageGateway.DisassociateFileSystem" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DisassociateFileSystem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "fileSystemAssociationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

newDisassociateFileSystem Source #

Create a value of DisassociateFileSystem with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:forceDelete:DisassociateFileSystem', disassociateFileSystem_forceDelete - If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.

$sel:fileSystemAssociationARN:DisassociateFileSystem', disassociateFileSystem_fileSystemAssociationARN - The Amazon Resource Name (ARN) of the file system association to be deleted.

Request Lenses

disassociateFileSystem_forceDelete :: Lens' DisassociateFileSystem (Maybe Bool) Source #

If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.

disassociateFileSystem_fileSystemAssociationARN :: Lens' DisassociateFileSystem Text Source #

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

Destructuring the Response

data DisassociateFileSystemResponse Source #

See: newDisassociateFileSystemResponse smart constructor.

Constructors

DisassociateFileSystemResponse' 

Fields

Instances

Instances details
Eq DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Read DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Show DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Generic DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Associated Types

type Rep DisassociateFileSystemResponse :: Type -> Type #

NFData DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

type Rep DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

type Rep DisassociateFileSystemResponse = D1 ('MetaData "DisassociateFileSystemResponse" "Amazonka.StorageGateway.DisassociateFileSystem" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DisassociateFileSystemResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileSystemAssociationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisassociateFileSystemResponse Source #

Create a value of DisassociateFileSystemResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:fileSystemAssociationARN:DisassociateFileSystem', disassociateFileSystemResponse_fileSystemAssociationARN - The Amazon Resource Name (ARN) of the deleted file system association.

$sel:httpStatus:DisassociateFileSystemResponse', disassociateFileSystemResponse_httpStatus - The response's http status code.

Response Lenses

disassociateFileSystemResponse_fileSystemAssociationARN :: Lens' DisassociateFileSystemResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the deleted file system association.