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 |
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:
$sel:domain:CreateLocationFsxWindows'
, createLocationFsxWindows_domain
- The name of the Windows domain that the FSx for Windows File Server
belongs to.
$sel:subdirectory:CreateLocationFsxWindows'
, createLocationFsxWindows_subdirectory
- A subdirectory in the location’s path. This subdirectory in the Amazon
FSx for Windows File Server file system is used to read data from the
Amazon FSx for Windows File Server source location or write data to the
FSx for Windows File Server destination.
$sel:tags:CreateLocationFsxWindows'
, createLocationFsxWindows_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:CreateLocationFsxWindows'
, createLocationFsxWindows_fsxFilesystemArn
- The Amazon Resource Name (ARN) for the FSx for Windows File Server file
system.
$sel:securityGroupArns:CreateLocationFsxWindows'
, createLocationFsxWindows_securityGroupArns
- The Amazon Resource Names (ARNs) of the security groups that are to use
to configure the FSx for Windows File Server file system.
$sel:user:CreateLocationFsxWindows'
, createLocationFsxWindows_user
- The user who has the permissions to access files and folders in the FSx
for Windows File Server file system.
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.
$sel:password:CreateLocationFsxWindows'
, createLocationFsxWindows_password
- The password of the user who has the permissions to access files and
folders in the FSx for Windows File Server file system.
Request Lenses
createLocationFsxWindows_domain :: Lens' CreateLocationFsxWindows (Maybe Text) Source #
The name of the Windows domain that the FSx for Windows File Server belongs to.
createLocationFsxWindows_subdirectory :: Lens' CreateLocationFsxWindows (Maybe Text) Source #
A subdirectory in the location’s path. This subdirectory in the Amazon FSx for Windows File Server file system is used to read data from the Amazon FSx for Windows File Server source location or write data to the FSx for Windows File Server destination.
createLocationFsxWindows_tags :: Lens' CreateLocationFsxWindows (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.
createLocationFsxWindows_fsxFilesystemArn :: Lens' CreateLocationFsxWindows Text Source #
The Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
createLocationFsxWindows_securityGroupArns :: Lens' CreateLocationFsxWindows (NonEmpty Text) Source #
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Windows File Server file system.
createLocationFsxWindows_user :: Lens' CreateLocationFsxWindows Text Source #
The user who has the permissions to access files and folders in the FSx for Windows File Server 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 #
The password of the user who has the permissions to access files and folders in the FSx for Windows File Server file system.
Destructuring the Response
data CreateLocationFsxWindowsResponse Source #
See: newCreateLocationFsxWindowsResponse
smart constructor.
CreateLocationFsxWindowsResponse' | |
|
Instances
Eq CreateLocationFsxWindowsResponse Source # | |
Read CreateLocationFsxWindowsResponse Source # | |
Show CreateLocationFsxWindowsResponse Source # | |
Generic CreateLocationFsxWindowsResponse Source # | |
NFData CreateLocationFsxWindowsResponse Source # | |
Defined in Amazonka.DataSync.CreateLocationFsxWindows rnf :: CreateLocationFsxWindowsResponse -> () # | |
type Rep CreateLocationFsxWindowsResponse Source # | |
Defined in Amazonka.DataSync.CreateLocationFsxWindows type Rep CreateLocationFsxWindowsResponse = D1 ('MetaData "CreateLocationFsxWindowsResponse" "Amazonka.DataSync.CreateLocationFsxWindows" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" '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:
$sel:locationArn:CreateLocationFsxWindowsResponse'
, createLocationFsxWindowsResponse_locationArn
- The Amazon Resource Name (ARN) of the FSx for Windows File Server file
system location that is created.
$sel:httpStatus:CreateLocationFsxWindowsResponse'
, createLocationFsxWindowsResponse_httpStatus
- The response's http status code.
Response Lenses
createLocationFsxWindowsResponse_locationArn :: Lens' CreateLocationFsxWindowsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the FSx for Windows File Server file system location that is created.
createLocationFsxWindowsResponse_httpStatus :: Lens' CreateLocationFsxWindowsResponse Int Source #
The response's http status code.