libZSservicesZSamazonka-workmailZSamazonka-workmail
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.WorkMail.GetMailboxDetails

Description

Requests a user's mailbox details for a specified organization and user.

Synopsis

Creating a Request

data GetMailboxDetails Source #

See: newGetMailboxDetails smart constructor.

Constructors

GetMailboxDetails' 

Fields

  • organizationId :: Text

    The identifier for the organization that contains the user whose mailbox details are being requested.

  • userId :: Text

    The identifier for the user whose mailbox details are being requested.

Instances

Instances details
Eq GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Read GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Show GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Generic GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Associated Types

type Rep GetMailboxDetails :: Type -> Type #

NFData GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Methods

rnf :: GetMailboxDetails -> () #

Hashable GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

ToJSON GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

AWSRequest GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Associated Types

type AWSResponse GetMailboxDetails #

ToHeaders GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

ToPath GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

ToQuery GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

type Rep GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

type Rep GetMailboxDetails = D1 ('MetaData "GetMailboxDetails" "Amazonka.WorkMail.GetMailboxDetails" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "GetMailboxDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetMailboxDetails Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

newGetMailboxDetails Source #

Create a value of GetMailboxDetails 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:organizationId:GetMailboxDetails', getMailboxDetails_organizationId - The identifier for the organization that contains the user whose mailbox details are being requested.

$sel:userId:GetMailboxDetails', getMailboxDetails_userId - The identifier for the user whose mailbox details are being requested.

Request Lenses

getMailboxDetails_organizationId :: Lens' GetMailboxDetails Text Source #

The identifier for the organization that contains the user whose mailbox details are being requested.

getMailboxDetails_userId :: Lens' GetMailboxDetails Text Source #

The identifier for the user whose mailbox details are being requested.

Destructuring the Response

data GetMailboxDetailsResponse Source #

See: newGetMailboxDetailsResponse smart constructor.

Constructors

GetMailboxDetailsResponse' 

Fields

Instances

Instances details
Eq GetMailboxDetailsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Read GetMailboxDetailsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Show GetMailboxDetailsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Generic GetMailboxDetailsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

Associated Types

type Rep GetMailboxDetailsResponse :: Type -> Type #

NFData GetMailboxDetailsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

type Rep GetMailboxDetailsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMailboxDetails

type Rep GetMailboxDetailsResponse = D1 ('MetaData "GetMailboxDetailsResponse" "Amazonka.WorkMail.GetMailboxDetails" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "GetMailboxDetailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mailboxQuota") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "mailboxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetMailboxDetailsResponse Source #

Create a value of GetMailboxDetailsResponse 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:mailboxQuota:GetMailboxDetailsResponse', getMailboxDetailsResponse_mailboxQuota - The maximum allowed mailbox size, in MB, for the specified user.

$sel:mailboxSize:GetMailboxDetailsResponse', getMailboxDetailsResponse_mailboxSize - The current mailbox size, in MB, for the specified user.

$sel:httpStatus:GetMailboxDetailsResponse', getMailboxDetailsResponse_httpStatus - The response's http status code.

Response Lenses

getMailboxDetailsResponse_mailboxQuota :: Lens' GetMailboxDetailsResponse (Maybe Natural) Source #

The maximum allowed mailbox size, in MB, for the specified user.

getMailboxDetailsResponse_mailboxSize :: Lens' GetMailboxDetailsResponse (Maybe Double) Source #

The current mailbox size, in MB, for the specified user.