Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Resource = Resource' {}
- newResource :: Resource
- resource_email :: Lens' Resource (Maybe Text)
- resource_state :: Lens' Resource (Maybe EntityState)
- resource_disabledDate :: Lens' Resource (Maybe UTCTime)
- resource_name :: Lens' Resource (Maybe Text)
- resource_id :: Lens' Resource (Maybe Text)
- resource_type :: Lens' Resource (Maybe ResourceType)
- resource_enabledDate :: Lens' Resource (Maybe UTCTime)
Documentation
The representation of a resource.
See: newResource
smart constructor.
Resource' | |
|
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: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_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_type :: Lens' Resource (Maybe ResourceType) Source #
The type of the resource: equipment or room.