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 bucket name, about an Amazon S3 bucket location.
Synopsis
- data DescribeLocationS3 = DescribeLocationS3' {
- locationArn :: Text
- newDescribeLocationS3 :: Text -> DescribeLocationS3
- describeLocationS3_locationArn :: Lens' DescribeLocationS3 Text
- data DescribeLocationS3Response = DescribeLocationS3Response' {}
- newDescribeLocationS3Response :: Int -> DescribeLocationS3Response
- describeLocationS3Response_creationTime :: Lens' DescribeLocationS3Response (Maybe UTCTime)
- describeLocationS3Response_agentArns :: Lens' DescribeLocationS3Response (Maybe (NonEmpty Text))
- describeLocationS3Response_s3StorageClass :: Lens' DescribeLocationS3Response (Maybe S3StorageClass)
- describeLocationS3Response_locationUri :: Lens' DescribeLocationS3Response (Maybe Text)
- describeLocationS3Response_s3Config :: Lens' DescribeLocationS3Response (Maybe S3Config)
- describeLocationS3Response_locationArn :: Lens' DescribeLocationS3Response (Maybe Text)
- describeLocationS3Response_httpStatus :: Lens' DescribeLocationS3Response Int
Creating a Request
data DescribeLocationS3 Source #
DescribeLocationS3Request
See: newDescribeLocationS3
smart constructor.
DescribeLocationS3' | |
|
Instances
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.
DescribeLocationS3Response' | |
|
Instances
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_s3Config :: Lens' DescribeLocationS3Response (Maybe S3Config) Source #
Undocumented member.
describeLocationS3Response_locationArn :: Lens' DescribeLocationS3Response (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
describeLocationS3Response_httpStatus :: Lens' DescribeLocationS3Response Int Source #
The response's http status code.