| 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 |
Amazonka.DataSync.DescribeLocationSmb
Description
Returns metadata, such as the path and user information about an SMB location.
Synopsis
- data DescribeLocationSmb = DescribeLocationSmb' {
- locationArn :: Text
- newDescribeLocationSmb :: Text -> DescribeLocationSmb
- describeLocationSmb_locationArn :: Lens' DescribeLocationSmb Text
- data DescribeLocationSmbResponse = DescribeLocationSmbResponse' {
- agentArns :: Maybe (NonEmpty Text)
- creationTime :: Maybe POSIX
- domain :: Maybe Text
- locationArn :: Maybe Text
- locationUri :: Maybe Text
- mountOptions :: Maybe SmbMountOptions
- user :: Maybe Text
- httpStatus :: Int
- newDescribeLocationSmbResponse :: Int -> DescribeLocationSmbResponse
- describeLocationSmbResponse_agentArns :: Lens' DescribeLocationSmbResponse (Maybe (NonEmpty Text))
- describeLocationSmbResponse_creationTime :: Lens' DescribeLocationSmbResponse (Maybe UTCTime)
- describeLocationSmbResponse_domain :: Lens' DescribeLocationSmbResponse (Maybe Text)
- describeLocationSmbResponse_locationArn :: Lens' DescribeLocationSmbResponse (Maybe Text)
- describeLocationSmbResponse_locationUri :: Lens' DescribeLocationSmbResponse (Maybe Text)
- describeLocationSmbResponse_mountOptions :: Lens' DescribeLocationSmbResponse (Maybe SmbMountOptions)
- describeLocationSmbResponse_user :: Lens' DescribeLocationSmbResponse (Maybe Text)
- describeLocationSmbResponse_httpStatus :: Lens' DescribeLocationSmbResponse Int
Creating a Request
data DescribeLocationSmb Source #
DescribeLocationSmbRequest
See: newDescribeLocationSmb smart constructor.
Constructors
| DescribeLocationSmb' | |
Fields
| |
Instances
newDescribeLocationSmb Source #
Arguments
| :: Text | |
| -> DescribeLocationSmb |
Create a value of DescribeLocationSmb 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:
DescribeLocationSmb, describeLocationSmb_locationArn - The Amazon Resource Name (ARN) of the SMB location to describe.
Request Lenses
describeLocationSmb_locationArn :: Lens' DescribeLocationSmb Text Source #
The Amazon Resource Name (ARN) of the SMB location to describe.
Destructuring the Response
data DescribeLocationSmbResponse Source #
DescribeLocationSmbResponse
See: newDescribeLocationSmbResponse smart constructor.
Constructors
| DescribeLocationSmbResponse' | |
Fields
| |
Instances
newDescribeLocationSmbResponse Source #
Create a value of DescribeLocationSmbResponse 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:
DescribeLocationSmbResponse, describeLocationSmbResponse_agentArns - The Amazon Resource Name (ARN) of the source SMB file system location
that is created.
$sel:creationTime:DescribeLocationSmbResponse', describeLocationSmbResponse_creationTime - The time that the SMB location was created.
DescribeLocationSmbResponse, describeLocationSmbResponse_domain - The name of the Windows domain that the SMB server belongs to.
DescribeLocationSmb, describeLocationSmbResponse_locationArn - The Amazon Resource Name (ARN) of the SMB location that was described.
DescribeLocationSmbResponse, describeLocationSmbResponse_locationUri - The URL of the source SMB location that was described.
DescribeLocationSmbResponse, describeLocationSmbResponse_mountOptions - The mount options that are available for DataSync to use to access an
SMB location.
DescribeLocationSmbResponse, describeLocationSmbResponse_user - The user who can mount the share, has the permissions to access files
and folders in the SMB share.
$sel:httpStatus:DescribeLocationSmbResponse', describeLocationSmbResponse_httpStatus - The response's http status code.
Response Lenses
describeLocationSmbResponse_agentArns :: Lens' DescribeLocationSmbResponse (Maybe (NonEmpty Text)) Source #
The Amazon Resource Name (ARN) of the source SMB file system location that is created.
describeLocationSmbResponse_creationTime :: Lens' DescribeLocationSmbResponse (Maybe UTCTime) Source #
The time that the SMB location was created.
describeLocationSmbResponse_domain :: Lens' DescribeLocationSmbResponse (Maybe Text) Source #
The name of the Windows domain that the SMB server belongs to.
describeLocationSmbResponse_locationArn :: Lens' DescribeLocationSmbResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the SMB location that was described.
describeLocationSmbResponse_locationUri :: Lens' DescribeLocationSmbResponse (Maybe Text) Source #
The URL of the source SMB location that was described.
describeLocationSmbResponse_mountOptions :: Lens' DescribeLocationSmbResponse (Maybe SmbMountOptions) Source #
The mount options that are available for DataSync to use to access an SMB location.
describeLocationSmbResponse_user :: Lens' DescribeLocationSmbResponse (Maybe Text) Source #
The user who can mount the share, has the permissions to access files and folders in the SMB share.
describeLocationSmbResponse_httpStatus :: Lens' DescribeLocationSmbResponse Int Source #
The response's http status code.