libZSservicesZSamazonka-s3ZSamazonka-s3
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.S3.Types.Grant

Description

 
Synopsis

Documentation

data Grant Source #

Container for grant information.

See: newGrant smart constructor.

Constructors

Grant' 

Fields

Instances

Instances details
Eq Grant Source # 
Instance details

Defined in Amazonka.S3.Types.Grant

Methods

(==) :: Grant -> Grant -> Bool #

(/=) :: Grant -> Grant -> Bool #

Read Grant Source # 
Instance details

Defined in Amazonka.S3.Types.Grant

Show Grant Source # 
Instance details

Defined in Amazonka.S3.Types.Grant

Methods

showsPrec :: Int -> Grant -> ShowS #

show :: Grant -> String #

showList :: [Grant] -> ShowS #

Generic Grant Source # 
Instance details

Defined in Amazonka.S3.Types.Grant

Associated Types

type Rep Grant :: Type -> Type #

Methods

from :: Grant -> Rep Grant x #

to :: Rep Grant x -> Grant #

NFData Grant Source # 
Instance details

Defined in Amazonka.S3.Types.Grant

Methods

rnf :: Grant -> () #

Hashable Grant Source # 
Instance details

Defined in Amazonka.S3.Types.Grant

Methods

hashWithSalt :: Int -> Grant -> Int #

hash :: Grant -> Int #

FromXML Grant Source # 
Instance details

Defined in Amazonka.S3.Types.Grant

Methods

parseXML :: [Node] -> Either String Grant #

ToXML Grant Source # 
Instance details

Defined in Amazonka.S3.Types.Grant

Methods

toXML :: Grant -> XML #

type Rep Grant Source # 
Instance details

Defined in Amazonka.S3.Types.Grant

type Rep Grant = D1 ('MetaData "Grant" "Amazonka.S3.Types.Grant" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "Grant'" 'PrefixI 'True) (S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Permission)) :*: S1 ('MetaSel ('Just "grantee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Grantee))))

newGrant :: Grant Source #

Create a value of Grant 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:permission:Grant', grant_permission - Specifies the permission given to the grantee.

$sel:grantee:Grant', grant_grantee - The person being granted permissions.

grant_permission :: Lens' Grant (Maybe Permission) Source #

Specifies the permission given to the grantee.

grant_grantee :: Lens' Grant (Maybe Grantee) Source #

The person being granted permissions.