Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
FromJSON S3Action Source # | |
ToJSON S3Action Source # | |
Defined in Amazonka.IoT.Types.S3Action | |
Generic S3Action Source # | |
Read S3Action Source # | |
Show S3Action Source # | |
NFData S3Action Source # | |
Defined in Amazonka.IoT.Types.S3Action | |
Eq S3Action Source # | |
Hashable S3Action Source # | |
Defined in Amazonka.IoT.Types.S3Action | |
type Rep S3Action Source # | |
Defined in Amazonka.IoT.Types.S3Action type Rep S3Action = D1 ('MetaData "S3Action" "Amazonka.IoT.Types.S3Action" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "S3Action'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cannedAcl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CannedAccessControlList)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
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.