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

Description

 
Synopsis

Documentation

data Initiator Source #

Container element that identifies who initiated the multipart upload.

See: newInitiator smart constructor.

Constructors

Initiator' 

Fields

  • displayName :: Maybe Text

    Name of the Principal.

  • id :: Maybe Text

    If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.

Instances

Instances details
Eq Initiator Source # 
Instance details

Defined in Amazonka.S3.Types.Initiator

Read Initiator Source # 
Instance details

Defined in Amazonka.S3.Types.Initiator

Show Initiator Source # 
Instance details

Defined in Amazonka.S3.Types.Initiator

Generic Initiator Source # 
Instance details

Defined in Amazonka.S3.Types.Initiator

Associated Types

type Rep Initiator :: Type -> Type #

NFData Initiator Source # 
Instance details

Defined in Amazonka.S3.Types.Initiator

Methods

rnf :: Initiator -> () #

Hashable Initiator Source # 
Instance details

Defined in Amazonka.S3.Types.Initiator

FromXML Initiator Source # 
Instance details

Defined in Amazonka.S3.Types.Initiator

type Rep Initiator Source # 
Instance details

Defined in Amazonka.S3.Types.Initiator

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

newInitiator :: Initiator Source #

Create a value of Initiator 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:Initiator', initiator_displayName - Name of the Principal.

$sel:id:Initiator', initiator_id - If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.

initiator_id :: Lens' Initiator (Maybe Text) Source #

If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.