libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.S3Action

Description

 
Synopsis

Documentation

data S3Action Source #

Describes an action to write data to an Amazon S3 bucket.

See: newS3Action smart constructor.

Constructors

S3Action' 

Fields

Instances

Instances details
Eq S3Action Source # 
Instance details

Defined in Amazonka.IoT.Types.S3Action

Read S3Action Source # 
Instance details

Defined in Amazonka.IoT.Types.S3Action

Show S3Action Source # 
Instance details

Defined in Amazonka.IoT.Types.S3Action

Generic S3Action Source # 
Instance details

Defined in Amazonka.IoT.Types.S3Action

Associated Types

type Rep S3Action :: Type -> Type #

Methods

from :: S3Action -> Rep S3Action x #

to :: Rep S3Action x -> S3Action #

NFData S3Action Source # 
Instance details

Defined in Amazonka.IoT.Types.S3Action

Methods

rnf :: S3Action -> () #

Hashable S3Action Source # 
Instance details

Defined in Amazonka.IoT.Types.S3Action

Methods

hashWithSalt :: Int -> S3Action -> Int #

hash :: S3Action -> Int #

ToJSON S3Action Source # 
Instance details

Defined in Amazonka.IoT.Types.S3Action

FromJSON S3Action Source # 
Instance details

Defined in Amazonka.IoT.Types.S3Action

type Rep S3Action Source # 
Instance details

Defined in Amazonka.IoT.Types.S3Action

type Rep S3Action = D1 ('MetaData "S3Action" "Amazonka.IoT.Types.S3Action" "libZSservicesZSamazonka-iotZSamazonka-iot" '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))))

newS3Action Source #

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_roleArn :: Lens' S3Action Text Source #

The ARN of the IAM role that grants access.

s3Action_bucketName :: Lens' S3Action Text Source #

The Amazon S3 bucket.