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

Description

Returns metadata, such as bucket name, about an Amazon S3 bucket location.

Synopsis

Creating a Request

data DescribeLocationS3 Source #

DescribeLocationS3Request

See: newDescribeLocationS3 smart constructor.

Constructors

DescribeLocationS3' 

Fields

  • locationArn :: Text

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

Instances

Instances details
ToJSON DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

ToHeaders DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

ToPath DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

ToQuery DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

AWSRequest DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Associated Types

type AWSResponse DescribeLocationS3 #

Generic DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Associated Types

type Rep DescribeLocationS3 :: Type -> Type #

Read DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Show DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

NFData DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Methods

rnf :: DescribeLocationS3 -> () #

Eq DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Hashable DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

type AWSResponse DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

type Rep DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

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

newDescribeLocationS3 Source #

Create a value of DescribeLocationS3 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:

DescribeLocationS3, describeLocationS3_locationArn - The Amazon Resource Name (ARN) of the Amazon S3 bucket location to describe.

Request Lenses

describeLocationS3_locationArn :: Lens' DescribeLocationS3 Text Source #

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

Destructuring the Response

data DescribeLocationS3Response Source #

DescribeLocationS3Response

See: newDescribeLocationS3Response smart constructor.

Constructors

DescribeLocationS3Response' 

Fields

Instances

Instances details
Generic DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Associated Types

type Rep DescribeLocationS3Response :: Type -> Type #

Read DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Show DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

NFData DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Eq DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

type Rep DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

type Rep DescribeLocationS3Response = D1 ('MetaData "DescribeLocationS3Response" "Amazonka.DataSync.DescribeLocationS3" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "DescribeLocationS3Response'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "agentArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "locationUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Config") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Config))) :*: (S1 ('MetaSel ('Just "s3StorageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3StorageClass)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeLocationS3Response Source #

Create a value of DescribeLocationS3Response 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:

DescribeLocationS3Response, describeLocationS3Response_agentArns - If you are using DataSync on an Amazon Web Services Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.

$sel:creationTime:DescribeLocationS3Response', describeLocationS3Response_creationTime - The time that the Amazon S3 bucket location was created.

DescribeLocationS3, describeLocationS3Response_locationArn - The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.

DescribeLocationS3Response, describeLocationS3Response_locationUri - The URL of the Amazon S3 location that was described.

$sel:s3Config:DescribeLocationS3Response', describeLocationS3Response_s3Config - Undocumented member.

$sel:s3StorageClass:DescribeLocationS3Response', describeLocationS3Response_s3StorageClass - The Amazon S3 storage class that you chose to store your files in when this location is used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.

$sel:httpStatus:DescribeLocationS3Response', describeLocationS3Response_httpStatus - The response's http status code.

Response Lenses

describeLocationS3Response_agentArns :: Lens' DescribeLocationS3Response (Maybe (NonEmpty Text)) Source #

If you are using DataSync on an Amazon Web Services Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.

describeLocationS3Response_creationTime :: Lens' DescribeLocationS3Response (Maybe UTCTime) Source #

The time that the Amazon S3 bucket location was created.

describeLocationS3Response_locationArn :: Lens' DescribeLocationS3Response (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.

describeLocationS3Response_locationUri :: Lens' DescribeLocationS3Response (Maybe Text) Source #

The URL of the Amazon S3 location that was described.

describeLocationS3Response_s3StorageClass :: Lens' DescribeLocationS3Response (Maybe S3StorageClass) Source #

The Amazon S3 storage class that you chose to store your files in when this location is used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.