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.Types.Resource

Description

 
Synopsis

Documentation

data Resource Source #

The representation of a resource.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Resource

newResource :: Resource Source #

Create a value of Resource 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:email:Resource', resource_email - The email of the resource.

$sel:state:Resource', resource_state - The state of the resource, which can be ENABLED, DISABLED, or DELETED.

$sel:disabledDate:Resource', resource_disabledDate - The date indicating when the resource was disabled from Amazon WorkMail use.

$sel:name:Resource', resource_name - The name of the resource.

$sel:id:Resource', resource_id - The identifier of the resource.

$sel:type':Resource', resource_type - The type of the resource: equipment or room.

$sel:enabledDate:Resource', resource_enabledDate - The date indicating when the resource was enabled for Amazon WorkMail use.

resource_email :: Lens' Resource (Maybe Text) Source #

The email of the resource.

resource_state :: Lens' Resource (Maybe EntityState) Source #

The state of the resource, which can be ENABLED, DISABLED, or DELETED.

resource_disabledDate :: Lens' Resource (Maybe UTCTime) Source #

The date indicating when the resource was disabled from Amazon WorkMail use.

resource_name :: Lens' Resource (Maybe Text) Source #

The name of the resource.

resource_id :: Lens' Resource (Maybe Text) Source #

The identifier of the resource.

resource_type :: Lens' Resource (Maybe ResourceType) Source #

The type of the resource: equipment or room.

resource_enabledDate :: Lens' Resource (Maybe UTCTime) Source #

The date indicating when the resource was enabled for Amazon WorkMail use.