amazonka-datasync-2.0: Amazon DataSync 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.DataSync.CreateLocationFsxOpenZfs

Description

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

Creating a Request

data CreateLocationFsxOpenZfs Source #

See: newCreateLocationFsxOpenZfs smart constructor.

Constructors

CreateLocationFsxOpenZfs' 

Fields

  • subdirectory :: Maybe Text

    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).

  • tags :: Maybe [TagListEntry]

    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.

  • fsxFilesystemArn :: Text

    The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.

  • protocol :: FsxProtocol

    The type of protocol that DataSync uses to access your file system.

  • securityGroupArns :: NonEmpty Text

    The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.

Instances

Instances details
ToJSON CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

ToHeaders CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

ToPath CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

ToQuery CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

AWSRequest CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

Generic CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

Associated Types

type Rep CreateLocationFsxOpenZfs :: Type -> Type #

Show CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

NFData CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

Eq CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

Hashable CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

type AWSResponse CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

type Rep CreateLocationFsxOpenZfs Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

type Rep CreateLocationFsxOpenZfs = D1 ('MetaData "CreateLocationFsxOpenZfs" "Amazonka.DataSync.CreateLocationFsxOpenZfs" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "CreateLocationFsxOpenZfs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "subdirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagListEntry]))) :*: (S1 ('MetaSel ('Just "fsxFilesystemArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FsxProtocol) :*: S1 ('MetaSel ('Just "securityGroupArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))))

newCreateLocationFsxOpenZfs Source #

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.

Constructors

CreateLocationFsxOpenZfsResponse' 

Fields

Instances

Instances details
Generic CreateLocationFsxOpenZfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

Associated Types

type Rep CreateLocationFsxOpenZfsResponse :: Type -> Type #

Read CreateLocationFsxOpenZfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

Show CreateLocationFsxOpenZfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

NFData CreateLocationFsxOpenZfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

Eq CreateLocationFsxOpenZfsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxOpenZfs

type Rep CreateLocationFsxOpenZfsResponse Source # 
Instance details

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.