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 Instance = Instance' {
- arn :: Maybe Text
- createdTime :: Maybe POSIX
- outboundCallsEnabled :: Maybe Bool
- inboundCallsEnabled :: Maybe Bool
- instanceAlias :: Maybe (Sensitive Text)
- id :: Maybe Text
- instanceStatus :: Maybe InstanceStatus
- identityManagementType :: Maybe DirectoryType
- statusReason :: Maybe InstanceStatusReason
- serviceRole :: Maybe Text
- newInstance :: Instance
- instance_arn :: Lens' Instance (Maybe Text)
- instance_createdTime :: Lens' Instance (Maybe UTCTime)
- instance_outboundCallsEnabled :: Lens' Instance (Maybe Bool)
- instance_inboundCallsEnabled :: Lens' Instance (Maybe Bool)
- instance_instanceAlias :: Lens' Instance (Maybe Text)
- instance_id :: Lens' Instance (Maybe Text)
- instance_instanceStatus :: Lens' Instance (Maybe InstanceStatus)
- instance_identityManagementType :: Lens' Instance (Maybe DirectoryType)
- instance_statusReason :: Lens' Instance (Maybe InstanceStatusReason)
- instance_serviceRole :: Lens' Instance (Maybe Text)
Documentation
The Amazon Connect instance.
See: newInstance
smart constructor.
Instance' | |
|
Instances
newInstance :: Instance Source #
Create a value of Instance
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:arn:Instance'
, instance_arn
- The Amazon Resource Name (ARN) of the instance.
$sel:createdTime:Instance'
, instance_createdTime
- When the instance was created.
$sel:outboundCallsEnabled:Instance'
, instance_outboundCallsEnabled
- Whether outbound calls are enabled.
$sel:inboundCallsEnabled:Instance'
, instance_inboundCallsEnabled
- Whether inbound calls are enabled.
$sel:instanceAlias:Instance'
, instance_instanceAlias
- The alias of instance.
$sel:id:Instance'
, instance_id
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:instanceStatus:Instance'
, instance_instanceStatus
- The state of the instance.
$sel:identityManagementType:Instance'
, instance_identityManagementType
- The identity management type.
$sel:statusReason:Instance'
, instance_statusReason
- Relevant details why the instance was not successfully created.
$sel:serviceRole:Instance'
, instance_serviceRole
- The service role of the instance.
instance_outboundCallsEnabled :: Lens' Instance (Maybe Bool) Source #
Whether outbound calls are enabled.
instance_inboundCallsEnabled :: Lens' Instance (Maybe Bool) Source #
Whether inbound calls are enabled.
instance_id :: Lens' Instance (Maybe Text) Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instance_instanceStatus :: Lens' Instance (Maybe InstanceStatus) Source #
The state of the instance.
instance_identityManagementType :: Lens' Instance (Maybe DirectoryType) Source #
The identity management type.
instance_statusReason :: Lens' Instance (Maybe InstanceStatusReason) Source #
Relevant details why the instance was not successfully created.