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 S3Action = S3Action' {}
- newS3Action :: Text -> Text -> Text -> S3Action
- s3Action_cannedAcl :: Lens' S3Action (Maybe CannedAccessControlList)
- s3Action_roleArn :: Lens' S3Action Text
- s3Action_bucketName :: Lens' S3Action Text
- s3Action_key :: Lens' S3Action Text
Documentation
Describes an action to write data to an Amazon S3 bucket.
See: newS3Action
smart constructor.
S3Action' | |
|
Instances
Create a value of S3Action
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:cannedAcl:S3Action'
, s3Action_cannedAcl
- The Amazon S3 canned ACL that controls access to the object identified
by the object key. For more information, see
S3 canned ACLs.
$sel:roleArn:S3Action'
, s3Action_roleArn
- The ARN of the IAM role that grants access.
$sel:bucketName:S3Action'
, s3Action_bucketName
- The Amazon S3 bucket.
$sel:key:S3Action'
, s3Action_key
- The object key. For more information, see
Actions, resources, and condition keys for Amazon S3.
s3Action_cannedAcl :: Lens' S3Action (Maybe CannedAccessControlList) Source #
The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.
s3Action_key :: Lens' S3Action Text Source #
The object key. For more information, see Actions, resources, and condition keys for Amazon S3.