libZSservicesZSamazonka-datasyncZSamazonka-datasync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Read DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Show DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Generic DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Associated Types

type Rep DescribeLocationS3 :: Type -> Type #

NFData DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Methods

rnf :: DescribeLocationS3 -> () #

Hashable DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

ToJSON DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

AWSRequest DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Associated Types

type AWSResponse 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

type Rep DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

type Rep DescribeLocationS3 = D1 ('MetaData "DescribeLocationS3" "Amazonka.DataSync.DescribeLocationS3" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "DescribeLocationS3'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeLocationS3 Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

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:

$sel:locationArn: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
Eq DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Read DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Show DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Generic DescribeLocationS3Response Source # 
Instance details

Defined in Amazonka.DataSync.DescribeLocationS3

Associated Types

type Rep DescribeLocationS3Response :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "DescribeLocationS3Response'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "agentArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "s3StorageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3StorageClass)))) :*: ((S1 ('MetaSel ('Just "locationUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Config") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Config))) :*: (S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

$sel:agentArns: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: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:locationUri:DescribeLocationS3Response', describeLocationS3Response_locationUri - The URL of the Amazon S3 location that was described.

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

$sel:locationArn:DescribeLocationS3', describeLocationS3Response_locationArn - The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.

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

Response Lenses

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

The time that the Amazon S3 bucket location was created.

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

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

The URL of the Amazon S3 location that was described.

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

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