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

Description

Updates a user's current mailbox quota for a specified organization and user.

Synopsis

Creating a Request

data UpdateMailboxQuota Source #

See: newUpdateMailboxQuota smart constructor.

Constructors

UpdateMailboxQuota' 

Fields

  • organizationId :: Text

    The identifier for the organization that contains the user for whom to update the mailbox quota.

  • userId :: Text

    The identifer for the user for whom to update the mailbox quota.

  • mailboxQuota :: Natural

    The updated mailbox quota, in MB, for the specified user.

Instances

Instances details
Eq UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Read UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Show UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Generic UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Associated Types

type Rep UpdateMailboxQuota :: Type -> Type #

NFData UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Methods

rnf :: UpdateMailboxQuota -> () #

Hashable UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

ToJSON UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

AWSRequest UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Associated Types

type AWSResponse UpdateMailboxQuota #

ToHeaders UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

ToPath UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

ToQuery UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

type Rep UpdateMailboxQuota Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

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

Defined in Amazonka.WorkMail.UpdateMailboxQuota

newUpdateMailboxQuota Source #

Create a value of UpdateMailboxQuota 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:UpdateMailboxQuota', updateMailboxQuota_organizationId - The identifier for the organization that contains the user for whom to update the mailbox quota.

$sel:userId:UpdateMailboxQuota', updateMailboxQuota_userId - The identifer for the user for whom to update the mailbox quota.

$sel:mailboxQuota:UpdateMailboxQuota', updateMailboxQuota_mailboxQuota - The updated mailbox quota, in MB, for the specified user.

Request Lenses

updateMailboxQuota_organizationId :: Lens' UpdateMailboxQuota Text Source #

The identifier for the organization that contains the user for whom to update the mailbox quota.

updateMailboxQuota_userId :: Lens' UpdateMailboxQuota Text Source #

The identifer for the user for whom to update the mailbox quota.

updateMailboxQuota_mailboxQuota :: Lens' UpdateMailboxQuota Natural Source #

The updated mailbox quota, in MB, for the specified user.

Destructuring the Response

data UpdateMailboxQuotaResponse Source #

See: newUpdateMailboxQuotaResponse smart constructor.

Constructors

UpdateMailboxQuotaResponse' 

Fields

Instances

Instances details
Eq UpdateMailboxQuotaResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Read UpdateMailboxQuotaResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Show UpdateMailboxQuotaResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Generic UpdateMailboxQuotaResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

Associated Types

type Rep UpdateMailboxQuotaResponse :: Type -> Type #

NFData UpdateMailboxQuotaResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

type Rep UpdateMailboxQuotaResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMailboxQuota

type Rep UpdateMailboxQuotaResponse = D1 ('MetaData "UpdateMailboxQuotaResponse" "Amazonka.WorkMail.UpdateMailboxQuota" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "UpdateMailboxQuotaResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateMailboxQuotaResponse Source #

Create a value of UpdateMailboxQuotaResponse 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:httpStatus:UpdateMailboxQuotaResponse', updateMailboxQuotaResponse_httpStatus - The response's http status code.

Response Lenses