Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DisassociateFileSystem = DisassociateFileSystem' {}
- newDisassociateFileSystem :: Text -> DisassociateFileSystem
- disassociateFileSystem_forceDelete :: Lens' DisassociateFileSystem (Maybe Bool)
- disassociateFileSystem_fileSystemAssociationARN :: Lens' DisassociateFileSystem Text
- data DisassociateFileSystemResponse = DisassociateFileSystemResponse' {}
- newDisassociateFileSystemResponse :: Int -> DisassociateFileSystemResponse
- disassociateFileSystemResponse_fileSystemAssociationARN :: Lens' DisassociateFileSystemResponse (Maybe Text)
- disassociateFileSystemResponse_httpStatus :: Lens' DisassociateFileSystemResponse Int
Creating a Request
data DisassociateFileSystem Source #
See: newDisassociateFileSystem
smart constructor.
DisassociateFileSystem' | |
|
Instances
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.
DisassociateFileSystemResponse' | |
|
Instances
Eq DisassociateFileSystemResponse Source # | |
Read DisassociateFileSystemResponse Source # | |
Show DisassociateFileSystemResponse Source # | |
Generic DisassociateFileSystemResponse Source # | |
NFData DisassociateFileSystemResponse Source # | |
Defined in Amazonka.StorageGateway.DisassociateFileSystem rnf :: DisassociateFileSystemResponse -> () # | |
type Rep DisassociateFileSystemResponse Source # | |
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.
disassociateFileSystemResponse_httpStatus :: Lens' DisassociateFileSystemResponse Int Source #
The response's http status code.