Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates an endpoint for an Amazon FSx for OpenZFS file system that DataSync can access for a transfer. For more information, see Creating a location for FSx for OpenZFS.
Request parameters related to SMB
aren't supported with the
CreateLocationFsxOpenZfs
operation.
Synopsis
- data CreateLocationFsxOpenZfs = CreateLocationFsxOpenZfs' {}
- newCreateLocationFsxOpenZfs :: Text -> FsxProtocol -> NonEmpty Text -> CreateLocationFsxOpenZfs
- createLocationFsxOpenZfs_subdirectory :: Lens' CreateLocationFsxOpenZfs (Maybe Text)
- createLocationFsxOpenZfs_tags :: Lens' CreateLocationFsxOpenZfs (Maybe [TagListEntry])
- createLocationFsxOpenZfs_fsxFilesystemArn :: Lens' CreateLocationFsxOpenZfs Text
- createLocationFsxOpenZfs_protocol :: Lens' CreateLocationFsxOpenZfs FsxProtocol
- createLocationFsxOpenZfs_securityGroupArns :: Lens' CreateLocationFsxOpenZfs (NonEmpty Text)
- data CreateLocationFsxOpenZfsResponse = CreateLocationFsxOpenZfsResponse' {
- locationArn :: Maybe Text
- httpStatus :: Int
- newCreateLocationFsxOpenZfsResponse :: Int -> CreateLocationFsxOpenZfsResponse
- createLocationFsxOpenZfsResponse_locationArn :: Lens' CreateLocationFsxOpenZfsResponse (Maybe Text)
- createLocationFsxOpenZfsResponse_httpStatus :: Lens' CreateLocationFsxOpenZfsResponse Int
Creating a Request
data CreateLocationFsxOpenZfs Source #
See: newCreateLocationFsxOpenZfs
smart constructor.
CreateLocationFsxOpenZfs' | |
|
Instances
newCreateLocationFsxOpenZfs Source #
:: Text | |
-> FsxProtocol | |
-> NonEmpty Text | |
-> CreateLocationFsxOpenZfs |
Create a value of CreateLocationFsxOpenZfs
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:subdirectory:CreateLocationFsxOpenZfs'
, createLocationFsxOpenZfs_subdirectory
- A subdirectory in the location's path that must begin with /fsx
.
DataSync uses this subdirectory to read or write data (depending on
whether the file system is a source or destination location).
$sel:tags:CreateLocationFsxOpenZfs'
, createLocationFsxOpenZfs_tags
- The key-value pair that represents a tag that you want to add to the
resource. The value can be an empty string. This value helps you manage,
filter, and search for your resources. We recommend that you create a
name tag for your location.
$sel:fsxFilesystemArn:CreateLocationFsxOpenZfs'
, createLocationFsxOpenZfs_fsxFilesystemArn
- The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
$sel:protocol:CreateLocationFsxOpenZfs'
, createLocationFsxOpenZfs_protocol
- The type of protocol that DataSync uses to access your file system.
CreateLocationFsxOpenZfs
, createLocationFsxOpenZfs_securityGroupArns
- The ARNs of the security groups that are used to configure the FSx for
OpenZFS file system.
Request Lenses
createLocationFsxOpenZfs_subdirectory :: Lens' CreateLocationFsxOpenZfs (Maybe Text) Source #
A subdirectory in the location's path that must begin with /fsx
.
DataSync uses this subdirectory to read or write data (depending on
whether the file system is a source or destination location).
createLocationFsxOpenZfs_tags :: Lens' CreateLocationFsxOpenZfs (Maybe [TagListEntry]) Source #
The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
createLocationFsxOpenZfs_fsxFilesystemArn :: Lens' CreateLocationFsxOpenZfs Text Source #
The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
createLocationFsxOpenZfs_protocol :: Lens' CreateLocationFsxOpenZfs FsxProtocol Source #
The type of protocol that DataSync uses to access your file system.
createLocationFsxOpenZfs_securityGroupArns :: Lens' CreateLocationFsxOpenZfs (NonEmpty Text) Source #
The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.
Destructuring the Response
data CreateLocationFsxOpenZfsResponse Source #
See: newCreateLocationFsxOpenZfsResponse
smart constructor.
CreateLocationFsxOpenZfsResponse' | |
|
Instances
Generic CreateLocationFsxOpenZfsResponse Source # | |
Read CreateLocationFsxOpenZfsResponse Source # | |
Show CreateLocationFsxOpenZfsResponse Source # | |
NFData CreateLocationFsxOpenZfsResponse Source # | |
Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs rnf :: CreateLocationFsxOpenZfsResponse -> () # | |
Eq CreateLocationFsxOpenZfsResponse Source # | |
type Rep CreateLocationFsxOpenZfsResponse Source # | |
Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs type Rep CreateLocationFsxOpenZfsResponse = D1 ('MetaData "CreateLocationFsxOpenZfsResponse" "Amazonka.DataSync.CreateLocationFsxOpenZfs" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "CreateLocationFsxOpenZfsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateLocationFsxOpenZfsResponse Source #
Create a value of CreateLocationFsxOpenZfsResponse
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:
CreateLocationFsxOpenZfsResponse
, createLocationFsxOpenZfsResponse_locationArn
- The ARN of the FSx for OpenZFS file system location that you created.
$sel:httpStatus:CreateLocationFsxOpenZfsResponse'
, createLocationFsxOpenZfsResponse_httpStatus
- The response's http status code.
Response Lenses
createLocationFsxOpenZfsResponse_locationArn :: Lens' CreateLocationFsxOpenZfsResponse (Maybe Text) Source #
The ARN of the FSx for OpenZFS file system location that you created.
createLocationFsxOpenZfsResponse_httpStatus :: Lens' CreateLocationFsxOpenZfsResponse Int Source #
The response's http status code.