amazonka-datasync-2.0: Amazon DataSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataSync.DescribeLocationSmb

Description

Returns metadata, such as the path and user information about an SMB location.

Synopsis

Creating a Request

data DescribeLocationSmb Source #

DescribeLocationSmbRequest

See: newDescribeLocationSmb smart constructor.

Constructors

DescribeLocationSmb' 

Fields

  • locationArn :: Text

    The Amazon Resource Name (ARN) of the SMB location to describe.

Instances

Instances details
ToJSON DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

ToHeaders DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

ToPath DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

ToQuery DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

AWSRequest DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

Associated Types

type AWSResponse DescribeLocationSmb #

Generic DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

Associated Types

type Rep DescribeLocationSmb :: Type -> Type #

Read DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

Show DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

NFData DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

Methods

rnf :: DescribeLocationSmb -> () #

Eq DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

Hashable DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

type AWSResponse DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

type Rep DescribeLocationSmb Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

type Rep DescribeLocationSmb = D1 ('MetaData "DescribeLocationSmb" "Amazonka.DataSync.DescribeLocationSmb" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "DescribeLocationSmb'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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

Instances details
Generic DescribeLocationSmbResponse Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

Associated Types

type Rep DescribeLocationSmbResponse :: Type -> Type #

Read DescribeLocationSmbResponse Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

Show DescribeLocationSmbResponse Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

NFData DescribeLocationSmbResponse Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

Eq DescribeLocationSmbResponse Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

type Rep DescribeLocationSmbResponse Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationSmb

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_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.