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.Owner

Description

 
Synopsis

Documentation

data Owner Source #

Container for the owner's display name and ID.

See: newOwner smart constructor.

Constructors

Owner' 

Fields

Instances

Instances details
Eq Owner Source # 
Instance details

Defined in Amazonka.S3.Types.Owner

Methods

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

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

Read Owner Source # 
Instance details

Defined in Amazonka.S3.Types.Owner

Show Owner Source # 
Instance details

Defined in Amazonka.S3.Types.Owner

Methods

showsPrec :: Int -> Owner -> ShowS #

show :: Owner -> String #

showList :: [Owner] -> ShowS #

Generic Owner Source # 
Instance details

Defined in Amazonka.S3.Types.Owner

Associated Types

type Rep Owner :: Type -> Type #

Methods

from :: Owner -> Rep Owner x #

to :: Rep Owner x -> Owner #

NFData Owner Source # 
Instance details

Defined in Amazonka.S3.Types.Owner

Methods

rnf :: Owner -> () #

Hashable Owner Source # 
Instance details

Defined in Amazonka.S3.Types.Owner

Methods

hashWithSalt :: Int -> Owner -> Int #

hash :: Owner -> Int #

FromXML Owner Source # 
Instance details

Defined in Amazonka.S3.Types.Owner

Methods

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

ToXML Owner Source # 
Instance details

Defined in Amazonka.S3.Types.Owner

Methods

toXML :: Owner -> XML #

type Rep Owner Source # 
Instance details

Defined in Amazonka.S3.Types.Owner

type Rep Owner = D1 ('MetaData "Owner" "Amazonka.S3.Types.Owner" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "Owner'" 'PrefixI 'True) (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newOwner :: Owner Source #

Create a value of Owner 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:displayName:Owner', owner_displayName - Container for the display name of the owner.

$sel:id:Owner', owner_id - Container for the ID of the owner.

owner_displayName :: Lens' Owner (Maybe Text) Source #

Container for the display name of the owner.

owner_id :: Lens' Owner (Maybe Text) Source #

Container for the ID of the owner.