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 |
Associate an Amazon FSx file system with the FSx File Gateway. After the association process is complete, the file shares on the Amazon FSx file system are available for access through the gateway. This operation only supports the FSx File Gateway type.
Synopsis
- data AssociateFileSystem = AssociateFileSystem' {}
- newAssociateFileSystem :: Text -> Text -> Text -> Text -> Text -> AssociateFileSystem
- associateFileSystem_auditDestinationARN :: Lens' AssociateFileSystem (Maybe Text)
- associateFileSystem_cacheAttributes :: Lens' AssociateFileSystem (Maybe CacheAttributes)
- associateFileSystem_endpointNetworkConfiguration :: Lens' AssociateFileSystem (Maybe EndpointNetworkConfiguration)
- associateFileSystem_tags :: Lens' AssociateFileSystem (Maybe [Tag])
- associateFileSystem_userName :: Lens' AssociateFileSystem Text
- associateFileSystem_password :: Lens' AssociateFileSystem Text
- associateFileSystem_clientToken :: Lens' AssociateFileSystem Text
- associateFileSystem_gatewayARN :: Lens' AssociateFileSystem Text
- associateFileSystem_locationARN :: Lens' AssociateFileSystem Text
- data AssociateFileSystemResponse = AssociateFileSystemResponse' {}
- newAssociateFileSystemResponse :: Int -> AssociateFileSystemResponse
- associateFileSystemResponse_fileSystemAssociationARN :: Lens' AssociateFileSystemResponse (Maybe Text)
- associateFileSystemResponse_httpStatus :: Lens' AssociateFileSystemResponse Int
Creating a Request
data AssociateFileSystem Source #
See: newAssociateFileSystem
smart constructor.
AssociateFileSystem' | |
|
Instances
newAssociateFileSystem Source #
Create a value of AssociateFileSystem
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:auditDestinationARN:AssociateFileSystem'
, associateFileSystem_auditDestinationARN
- The Amazon Resource Name (ARN) of the storage used for the audit logs.
$sel:cacheAttributes:AssociateFileSystem'
, associateFileSystem_cacheAttributes
- Undocumented member.
$sel:endpointNetworkConfiguration:AssociateFileSystem'
, associateFileSystem_endpointNetworkConfiguration
- Specifies the network configuration information for the gateway
associated with the Amazon FSx file system.
If multiple file systems are associated with this gateway, this
parameter's IpAddresses
field is required.
$sel:tags:AssociateFileSystem'
, associateFileSystem_tags
- A list of up to 50 tags that can be assigned to the file system
association. Each tag is a key-value pair.
$sel:userName:AssociateFileSystem'
, associateFileSystem_userName
- The user name of the user credential that has permission to access the
root share D$ of the Amazon FSx file system. The user account must
belong to the Amazon FSx delegated admin user group.
$sel:password:AssociateFileSystem'
, associateFileSystem_password
- The password of the user credential.
$sel:clientToken:AssociateFileSystem'
, associateFileSystem_clientToken
- A unique string value that you supply that is used by the FSx File
Gateway to ensure idempotent file system association creation.
$sel:gatewayARN:AssociateFileSystem'
, associateFileSystem_gatewayARN
- Undocumented member.
$sel:locationARN:AssociateFileSystem'
, associateFileSystem_locationARN
- The Amazon Resource Name (ARN) of the Amazon FSx file system to
associate with the FSx File Gateway.
Request Lenses
associateFileSystem_auditDestinationARN :: Lens' AssociateFileSystem (Maybe Text) Source #
The Amazon Resource Name (ARN) of the storage used for the audit logs.
associateFileSystem_cacheAttributes :: Lens' AssociateFileSystem (Maybe CacheAttributes) Source #
Undocumented member.
associateFileSystem_endpointNetworkConfiguration :: Lens' AssociateFileSystem (Maybe EndpointNetworkConfiguration) Source #
Specifies the network configuration information for the gateway associated with the Amazon FSx file system.
If multiple file systems are associated with this gateway, this
parameter's IpAddresses
field is required.
associateFileSystem_tags :: Lens' AssociateFileSystem (Maybe [Tag]) Source #
A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.
associateFileSystem_userName :: Lens' AssociateFileSystem Text Source #
The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.
associateFileSystem_password :: Lens' AssociateFileSystem Text Source #
The password of the user credential.
associateFileSystem_clientToken :: Lens' AssociateFileSystem Text Source #
A unique string value that you supply that is used by the FSx File Gateway to ensure idempotent file system association creation.
associateFileSystem_gatewayARN :: Lens' AssociateFileSystem Text Source #
Undocumented member.
associateFileSystem_locationARN :: Lens' AssociateFileSystem Text Source #
The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway.
Destructuring the Response
data AssociateFileSystemResponse Source #
See: newAssociateFileSystemResponse
smart constructor.
AssociateFileSystemResponse' | |
|
Instances
newAssociateFileSystemResponse Source #
Create a value of AssociateFileSystemResponse
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:AssociateFileSystemResponse'
, associateFileSystemResponse_fileSystemAssociationARN
- The ARN of the newly created file system association.
$sel:httpStatus:AssociateFileSystemResponse'
, associateFileSystemResponse_httpStatus
- The response's http status code.
Response Lenses
associateFileSystemResponse_fileSystemAssociationARN :: Lens' AssociateFileSystemResponse (Maybe Text) Source #
The ARN of the newly created file system association.
associateFileSystemResponse_httpStatus :: Lens' AssociateFileSystemResponse Int Source #
The response's http status code.