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 NetApp ONTAP file system that DataSync can access for a transfer. For more information, see Creating a location for FSx for ONTAP.
Synopsis
- data CreateLocationFsxOntap = CreateLocationFsxOntap' {}
- newCreateLocationFsxOntap :: FsxProtocol -> NonEmpty Text -> Text -> CreateLocationFsxOntap
- createLocationFsxOntap_subdirectory :: Lens' CreateLocationFsxOntap (Maybe Text)
- createLocationFsxOntap_tags :: Lens' CreateLocationFsxOntap (Maybe [TagListEntry])
- createLocationFsxOntap_protocol :: Lens' CreateLocationFsxOntap FsxProtocol
- createLocationFsxOntap_securityGroupArns :: Lens' CreateLocationFsxOntap (NonEmpty Text)
- createLocationFsxOntap_storageVirtualMachineArn :: Lens' CreateLocationFsxOntap Text
- data CreateLocationFsxOntapResponse = CreateLocationFsxOntapResponse' {
- locationArn :: Maybe Text
- httpStatus :: Int
- newCreateLocationFsxOntapResponse :: Int -> CreateLocationFsxOntapResponse
- createLocationFsxOntapResponse_locationArn :: Lens' CreateLocationFsxOntapResponse (Maybe Text)
- createLocationFsxOntapResponse_httpStatus :: Lens' CreateLocationFsxOntapResponse Int
Creating a Request
data CreateLocationFsxOntap Source #
See: newCreateLocationFsxOntap
smart constructor.
CreateLocationFsxOntap' | |
|
Instances
newCreateLocationFsxOntap Source #
:: FsxProtocol | |
-> NonEmpty Text | |
-> Text | |
-> CreateLocationFsxOntap |
Create a value of CreateLocationFsxOntap
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:CreateLocationFsxOntap'
, createLocationFsxOntap_subdirectory
- Specifies the junction path (also known as a mount point) in the SVM
volume where you're copying data to or from (for example, /vol1
).
Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.
$sel:tags:CreateLocationFsxOntap'
, createLocationFsxOntap_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:protocol:CreateLocationFsxOntap'
, createLocationFsxOntap_protocol
- Undocumented member.
CreateLocationFsxOntap
, createLocationFsxOntap_securityGroupArns
- Specifies the Amazon EC2 security groups that provide access to your
file system's preferred subnet.
The security groups must allow outbound traffic on the following ports (depending on the protocol you use):
- Network File System (NFS): TCP ports 111, 635, and 2049
- Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same ports.
$sel:storageVirtualMachineArn:CreateLocationFsxOntap'
, createLocationFsxOntap_storageVirtualMachineArn
- Specifies the ARN of the storage virtual machine (SVM) on your file
system where you're copying data to or from.
Request Lenses
createLocationFsxOntap_subdirectory :: Lens' CreateLocationFsxOntap (Maybe Text) Source #
Specifies the junction path (also known as a mount point) in the SVM
volume where you're copying data to or from (for example, /vol1
).
Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.
createLocationFsxOntap_tags :: Lens' CreateLocationFsxOntap (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.
createLocationFsxOntap_protocol :: Lens' CreateLocationFsxOntap FsxProtocol Source #
Undocumented member.
createLocationFsxOntap_securityGroupArns :: Lens' CreateLocationFsxOntap (NonEmpty Text) Source #
Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.
The security groups must allow outbound traffic on the following ports (depending on the protocol you use):
- Network File System (NFS): TCP ports 111, 635, and 2049
- Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same ports.
createLocationFsxOntap_storageVirtualMachineArn :: Lens' CreateLocationFsxOntap Text Source #
Specifies the ARN of the storage virtual machine (SVM) on your file system where you're copying data to or from.
Destructuring the Response
data CreateLocationFsxOntapResponse Source #
See: newCreateLocationFsxOntapResponse
smart constructor.
CreateLocationFsxOntapResponse' | |
|
Instances
Generic CreateLocationFsxOntapResponse Source # | |
Read CreateLocationFsxOntapResponse Source # | |
Show CreateLocationFsxOntapResponse Source # | |
Defined in Amazonka.DataSync.CreateLocationFsxOntap | |
NFData CreateLocationFsxOntapResponse Source # | |
Defined in Amazonka.DataSync.CreateLocationFsxOntap rnf :: CreateLocationFsxOntapResponse -> () # | |
Eq CreateLocationFsxOntapResponse Source # | |
type Rep CreateLocationFsxOntapResponse Source # | |
Defined in Amazonka.DataSync.CreateLocationFsxOntap type Rep CreateLocationFsxOntapResponse = D1 ('MetaData "CreateLocationFsxOntapResponse" "Amazonka.DataSync.CreateLocationFsxOntap" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "CreateLocationFsxOntapResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateLocationFsxOntapResponse Source #
Create a value of CreateLocationFsxOntapResponse
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:
CreateLocationFsxOntapResponse
, createLocationFsxOntapResponse_locationArn
- Specifies the ARN of the FSx for ONTAP file system location that you
create.
$sel:httpStatus:CreateLocationFsxOntapResponse'
, createLocationFsxOntapResponse_httpStatus
- The response's http status code.
Response Lenses
createLocationFsxOntapResponse_locationArn :: Lens' CreateLocationFsxOntapResponse (Maybe Text) Source #
Specifies the ARN of the FSx for ONTAP file system location that you create.
createLocationFsxOntapResponse_httpStatus :: Lens' CreateLocationFsxOntapResponse Int Source #
The response's http status code.