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