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 |
Synopsis
- data S3Resource = S3Resource' {
- prefix :: Maybe Text
- bucketName :: Text
- newS3Resource :: Text -> S3Resource
- s3Resource_prefix :: Lens' S3Resource (Maybe Text)
- s3Resource_bucketName :: Lens' S3Resource Text
Documentation
data S3Resource Source #
Contains information about the S3 resource. This data type is used as a request parameter in the DisassociateS3Resources action and can be used as a response parameter in the AssociateS3Resources and UpdateS3Resources actions.
See: newS3Resource
smart constructor.
S3Resource' | |
|
Instances
Create a value of S3Resource
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:prefix:S3Resource'
, s3Resource_prefix
- The prefix of the S3 bucket.
$sel:bucketName:S3Resource'
, s3Resource_bucketName
- The name of the S3 bucket.
s3Resource_prefix :: Lens' S3Resource (Maybe Text) Source #
The prefix of the S3 bucket.
s3Resource_bucketName :: Lens' S3Resource Text Source #
The name of the S3 bucket.