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 |
Creates a domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
This will not associate your connect instance to Cases domain. Instead, use the Amazon Connect CreateIntegrationAssociation API.
Synopsis
- data CreateDomain = CreateDomain' {}
- newCreateDomain :: Text -> CreateDomain
- createDomain_name :: Lens' CreateDomain Text
- data CreateDomainResponse = CreateDomainResponse' {
- httpStatus :: Int
- domainArn :: Text
- domainId :: Text
- domainStatus :: DomainStatus
- newCreateDomainResponse :: Int -> Text -> Text -> DomainStatus -> CreateDomainResponse
- createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int
- createDomainResponse_domainArn :: Lens' CreateDomainResponse Text
- createDomainResponse_domainId :: Lens' CreateDomainResponse Text
- createDomainResponse_domainStatus :: Lens' CreateDomainResponse DomainStatus
Creating a Request
data CreateDomain Source #
See: newCreateDomain
smart constructor.
Instances
Create a value of CreateDomain
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:
CreateDomain
, createDomain_name
- The name for your Cases domain. It must be unique for your Amazon Web
Services account.
Request Lenses
createDomain_name :: Lens' CreateDomain Text Source #
The name for your Cases domain. It must be unique for your Amazon Web Services account.
Destructuring the Response
data CreateDomainResponse Source #
See: newCreateDomainResponse
smart constructor.
CreateDomainResponse' | |
|
Instances
newCreateDomainResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> DomainStatus | |
-> CreateDomainResponse |
Create a value of CreateDomainResponse
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:httpStatus:CreateDomainResponse'
, createDomainResponse_httpStatus
- The response's http status code.
CreateDomainResponse
, createDomainResponse_domainArn
- The Amazon Resource Name (ARN) for the Cases domain.
CreateDomainResponse
, createDomainResponse_domainId
- The unique identifier of the Cases domain.
$sel:domainStatus:CreateDomainResponse'
, createDomainResponse_domainStatus
- The status of the domain.
Response Lenses
createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int Source #
The response's http status code.
createDomainResponse_domainArn :: Lens' CreateDomainResponse Text Source #
The Amazon Resource Name (ARN) for the Cases domain.
createDomainResponse_domainId :: Lens' CreateDomainResponse Text Source #
The unique identifier of the Cases domain.
createDomainResponse_domainStatus :: Lens' CreateDomainResponse DomainStatus Source #
The status of the domain.