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

Description

Creates an endpoint for an Amazon FSx for Windows File Server file system.

Synopsis

Creating a Request

data CreateLocationFsxWindows Source #

See: newCreateLocationFsxWindows smart constructor.

Constructors

CreateLocationFsxWindows' 

Fields

  • domain :: Maybe Text

    Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.

  • subdirectory :: Maybe Text

    Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).

  • tags :: Maybe [TagListEntry]

    Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

  • fsxFilesystemArn :: Text

    Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.

  • securityGroupArns :: NonEmpty Text

    Specifies the ARNs of the security groups that provide access to your file system's preferred subnet.

    If you choose a security group that doesn't allow connections from within itself, do one of the following:

    • Configure the security group to allow it to communicate within itself.
    • Choose a different security group that can communicate with the mount target's security group.
  • user :: Text

    Specifies the user who has the permissions to access files and folders in the file system.

    For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.

  • password :: Sensitive Text

    Specifies the password of the user who has the permissions to access files and folders in the file system.

Instances

Instances details
ToJSON CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

ToHeaders CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

ToPath CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

ToQuery CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

AWSRequest CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

Generic CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

Associated Types

type Rep CreateLocationFsxWindows :: Type -> Type #

Show CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

NFData CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

Eq CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

Hashable CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

type AWSResponse CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

type Rep CreateLocationFsxWindows Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

type Rep CreateLocationFsxWindows = D1 ('MetaData "CreateLocationFsxWindows" "Amazonka.DataSync.CreateLocationFsxWindows" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "CreateLocationFsxWindows'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (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 "securityGroupArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))))

newCreateLocationFsxWindows Source #

Create a value of CreateLocationFsxWindows 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:

CreateLocationFsxWindows, createLocationFsxWindows_domain - Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.

$sel:subdirectory:CreateLocationFsxWindows', createLocationFsxWindows_subdirectory - Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).

$sel:tags:CreateLocationFsxWindows', createLocationFsxWindows_tags - Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

$sel:fsxFilesystemArn:CreateLocationFsxWindows', createLocationFsxWindows_fsxFilesystemArn - Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.

CreateLocationFsxWindows, createLocationFsxWindows_securityGroupArns - Specifies the ARNs of the security groups that provide access to your file system's preferred subnet.

If you choose a security group that doesn't allow connections from within itself, do one of the following:

  • Configure the security group to allow it to communicate within itself.
  • Choose a different security group that can communicate with the mount target's security group.

CreateLocationFsxWindows, createLocationFsxWindows_user - Specifies the user who has the permissions to access files and folders in the file system.

For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.

CreateLocationFsxWindows, createLocationFsxWindows_password - Specifies the password of the user who has the permissions to access files and folders in the file system.

Request Lenses

createLocationFsxWindows_domain :: Lens' CreateLocationFsxWindows (Maybe Text) Source #

Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.

createLocationFsxWindows_subdirectory :: Lens' CreateLocationFsxWindows (Maybe Text) Source #

Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).

createLocationFsxWindows_tags :: Lens' CreateLocationFsxWindows (Maybe [TagListEntry]) Source #

Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

createLocationFsxWindows_fsxFilesystemArn :: Lens' CreateLocationFsxWindows Text Source #

Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.

createLocationFsxWindows_securityGroupArns :: Lens' CreateLocationFsxWindows (NonEmpty Text) Source #

Specifies the ARNs of the security groups that provide access to your file system's preferred subnet.

If you choose a security group that doesn't allow connections from within itself, do one of the following:

  • Configure the security group to allow it to communicate within itself.
  • Choose a different security group that can communicate with the mount target's security group.

createLocationFsxWindows_user :: Lens' CreateLocationFsxWindows Text Source #

Specifies the user who has the permissions to access files and folders in the file system.

For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.

createLocationFsxWindows_password :: Lens' CreateLocationFsxWindows Text Source #

Specifies the password of the user who has the permissions to access files and folders in the file system.

Destructuring the Response

data CreateLocationFsxWindowsResponse Source #

See: newCreateLocationFsxWindowsResponse smart constructor.

Constructors

CreateLocationFsxWindowsResponse' 

Fields

Instances

Instances details
Generic CreateLocationFsxWindowsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

Associated Types

type Rep CreateLocationFsxWindowsResponse :: Type -> Type #

Read CreateLocationFsxWindowsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

Show CreateLocationFsxWindowsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

NFData CreateLocationFsxWindowsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

Eq CreateLocationFsxWindowsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

type Rep CreateLocationFsxWindowsResponse Source # 
Instance details

Defined in Amazonka.DataSync.CreateLocationFsxWindows

type Rep CreateLocationFsxWindowsResponse = D1 ('MetaData "CreateLocationFsxWindowsResponse" "Amazonka.DataSync.CreateLocationFsxWindows" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "CreateLocationFsxWindowsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateLocationFsxWindowsResponse Source #

Create a value of CreateLocationFsxWindowsResponse 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:

CreateLocationFsxWindowsResponse, createLocationFsxWindowsResponse_locationArn - The ARN of the FSx for Windows File Server file system location you created.

$sel:httpStatus:CreateLocationFsxWindowsResponse', createLocationFsxWindowsResponse_httpStatus - The response's http status code.

Response Lenses

createLocationFsxWindowsResponse_locationArn :: Lens' CreateLocationFsxWindowsResponse (Maybe Text) Source #

The ARN of the FSx for Windows File Server file system location you created.