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 Windows File Server file system.
Synopsis
- data CreateLocationFsxWindows = CreateLocationFsxWindows' {
- domain :: Maybe Text
- subdirectory :: Maybe Text
- tags :: Maybe [TagListEntry]
- fsxFilesystemArn :: Text
- securityGroupArns :: NonEmpty Text
- user :: Text
- password :: Sensitive Text
- newCreateLocationFsxWindows :: Text -> NonEmpty Text -> Text -> Text -> CreateLocationFsxWindows
- createLocationFsxWindows_domain :: Lens' CreateLocationFsxWindows (Maybe Text)
- createLocationFsxWindows_subdirectory :: Lens' CreateLocationFsxWindows (Maybe Text)
- createLocationFsxWindows_tags :: Lens' CreateLocationFsxWindows (Maybe [TagListEntry])
- createLocationFsxWindows_fsxFilesystemArn :: Lens' CreateLocationFsxWindows Text
- createLocationFsxWindows_securityGroupArns :: Lens' CreateLocationFsxWindows (NonEmpty Text)
- createLocationFsxWindows_user :: Lens' CreateLocationFsxWindows Text
- createLocationFsxWindows_password :: Lens' CreateLocationFsxWindows Text
- data CreateLocationFsxWindowsResponse = CreateLocationFsxWindowsResponse' {
- locationArn :: Maybe Text
- httpStatus :: Int
- newCreateLocationFsxWindowsResponse :: Int -> CreateLocationFsxWindowsResponse
- createLocationFsxWindowsResponse_locationArn :: Lens' CreateLocationFsxWindowsResponse (Maybe Text)
- createLocationFsxWindowsResponse_httpStatus :: Lens' CreateLocationFsxWindowsResponse Int
Creating a Request
data CreateLocationFsxWindows Source #
See: newCreateLocationFsxWindows
smart constructor.
CreateLocationFsxWindows' | |
|
Instances
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.
CreateLocationFsxWindowsResponse' | |
|
Instances
Generic CreateLocationFsxWindowsResponse Source # | |
Read CreateLocationFsxWindowsResponse Source # | |
Show CreateLocationFsxWindowsResponse Source # | |
NFData CreateLocationFsxWindowsResponse Source # | |
Defined in Amazonka.DataSync.CreateLocationFsxWindows rnf :: CreateLocationFsxWindowsResponse -> () # | |
Eq CreateLocationFsxWindowsResponse Source # | |
type Rep CreateLocationFsxWindowsResponse Source # | |
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.
createLocationFsxWindowsResponse_httpStatus :: Lens' CreateLocationFsxWindowsResponse Int Source #
The response's http status code.