amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.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

AWSRequest DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Associated Types

type AWSResponse DisassociateFileSystem #

Generic DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Associated Types

type Rep DisassociateFileSystem :: Type -> Type #

Read DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Show DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

NFData DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Methods

rnf :: DisassociateFileSystem -> () #

Eq DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Hashable DisassociateFileSystem Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

type AWSResponse 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" '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)))

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.

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
Generic DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Associated Types

type Rep DisassociateFileSystemResponse :: Type -> Type #

Read DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Show DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

NFData DisassociateFileSystemResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisassociateFileSystem

Eq 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" '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:

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.