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 |
This API is in preview release for Amazon Connect and is subject to change.
Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis. It also does not allow for any configurations on features, such as Contact Lens for Amazon Connect.
Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.
Synopsis
- data CreateInstance = CreateInstance' {}
- newCreateInstance :: DirectoryType -> Bool -> Bool -> CreateInstance
- createInstance_directoryId :: Lens' CreateInstance (Maybe Text)
- createInstance_clientToken :: Lens' CreateInstance (Maybe Text)
- createInstance_instanceAlias :: Lens' CreateInstance (Maybe Text)
- createInstance_identityManagementType :: Lens' CreateInstance DirectoryType
- createInstance_inboundCallsEnabled :: Lens' CreateInstance Bool
- createInstance_outboundCallsEnabled :: Lens' CreateInstance Bool
- data CreateInstanceResponse = CreateInstanceResponse' {}
- newCreateInstanceResponse :: Int -> CreateInstanceResponse
- createInstanceResponse_arn :: Lens' CreateInstanceResponse (Maybe Text)
- createInstanceResponse_id :: Lens' CreateInstanceResponse (Maybe Text)
- createInstanceResponse_httpStatus :: Lens' CreateInstanceResponse Int
Creating a Request
data CreateInstance Source #
See: newCreateInstance
smart constructor.
CreateInstance' | |
|
Instances
:: DirectoryType | |
-> Bool | |
-> Bool | |
-> CreateInstance |
Create a value of CreateInstance
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:directoryId:CreateInstance'
, createInstance_directoryId
- The identifier for the directory.
$sel:clientToken:CreateInstance'
, createInstance_clientToken
- The idempotency token.
$sel:instanceAlias:CreateInstance'
, createInstance_instanceAlias
- The name for your instance.
$sel:identityManagementType:CreateInstance'
, createInstance_identityManagementType
- The type of identity management for your Amazon Connect users.
$sel:inboundCallsEnabled:CreateInstance'
, createInstance_inboundCallsEnabled
- Your contact center handles incoming contacts.
$sel:outboundCallsEnabled:CreateInstance'
, createInstance_outboundCallsEnabled
- Your contact center allows outbound calls.
Request Lenses
createInstance_directoryId :: Lens' CreateInstance (Maybe Text) Source #
The identifier for the directory.
createInstance_clientToken :: Lens' CreateInstance (Maybe Text) Source #
The idempotency token.
createInstance_instanceAlias :: Lens' CreateInstance (Maybe Text) Source #
The name for your instance.
createInstance_identityManagementType :: Lens' CreateInstance DirectoryType Source #
The type of identity management for your Amazon Connect users.
createInstance_inboundCallsEnabled :: Lens' CreateInstance Bool Source #
Your contact center handles incoming contacts.
createInstance_outboundCallsEnabled :: Lens' CreateInstance Bool Source #
Your contact center allows outbound calls.
Destructuring the Response
data CreateInstanceResponse Source #
See: newCreateInstanceResponse
smart constructor.
Instances
newCreateInstanceResponse Source #
Create a value of CreateInstanceResponse
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:CreateInstanceResponse'
, createInstanceResponse_arn
- The Amazon Resource Name (ARN) of the instance.
$sel:id:CreateInstanceResponse'
, createInstanceResponse_id
- The identifier for the instance.
$sel:httpStatus:CreateInstanceResponse'
, createInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
createInstanceResponse_arn :: Lens' CreateInstanceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the instance.
createInstanceResponse_id :: Lens' CreateInstanceResponse (Maybe Text) Source #
The identifier for the instance.
createInstanceResponse_httpStatus :: Lens' CreateInstanceResponse Int Source #
The response's http status code.