| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkMail.Types.Resource
Description
Synopsis
- data Resource = Resource' {}
- newResource :: Resource
- resource_disabledDate :: Lens' Resource (Maybe UTCTime)
- resource_email :: Lens' Resource (Maybe Text)
- resource_enabledDate :: Lens' Resource (Maybe UTCTime)
- resource_id :: Lens' Resource (Maybe Text)
- resource_name :: Lens' Resource (Maybe Text)
- resource_state :: Lens' Resource (Maybe EntityState)
- resource_type :: Lens' Resource (Maybe ResourceType)
Documentation
The representation of a resource.
See: newResource smart constructor.
Constructors
| Resource' | |
Fields
| |
Instances
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:disabledDate:Resource', resource_disabledDate - The date indicating when the resource was disabled from WorkMail use.
$sel:email:Resource', resource_email - The email of the resource.
$sel:enabledDate:Resource', resource_enabledDate - The date indicating when the resource was enabled for WorkMail use.
$sel:id:Resource', resource_id - The identifier of the resource.
$sel:name:Resource', resource_name - The name of the resource.
$sel:state:Resource', resource_state - The state of the resource, which can be ENABLED, DISABLED, or DELETED.
$sel:type':Resource', resource_type - The type of the resource: equipment or room.
resource_disabledDate :: Lens' Resource (Maybe UTCTime) Source #
The date indicating when the resource was disabled from WorkMail use.
resource_enabledDate :: Lens' Resource (Maybe UTCTime) Source #
The date indicating when the resource was enabled for WorkMail use.
resource_state :: Lens' Resource (Maybe EntityState) Source #
The state of the resource, which can be ENABLED, DISABLED, or DELETED.
resource_type :: Lens' Resource (Maybe ResourceType) Source #
The type of the resource: equipment or room.