| 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.ConnectCases.GetDomain
Description
Returns information about a specific domain if it exists.
Synopsis
- data GetDomain = GetDomain' {}
- newGetDomain :: Text -> GetDomain
- getDomain_domainId :: Lens' GetDomain Text
- data GetDomainResponse = GetDomainResponse' {
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- createdTime :: ISO8601
- domainArn :: Text
- domainId :: Text
- domainStatus :: DomainStatus
- name :: Text
- newGetDomainResponse :: Int -> UTCTime -> Text -> Text -> DomainStatus -> Text -> GetDomainResponse
- getDomainResponse_tags :: Lens' GetDomainResponse (Maybe (HashMap Text Text))
- getDomainResponse_httpStatus :: Lens' GetDomainResponse Int
- getDomainResponse_createdTime :: Lens' GetDomainResponse UTCTime
- getDomainResponse_domainArn :: Lens' GetDomainResponse Text
- getDomainResponse_domainId :: Lens' GetDomainResponse Text
- getDomainResponse_domainStatus :: Lens' GetDomainResponse DomainStatus
- getDomainResponse_name :: Lens' GetDomainResponse Text
Creating a Request
See: newGetDomain smart constructor.
Constructors
| GetDomain' | |
Instances
Create a value of GetDomain 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:
GetDomain, getDomain_domainId - The unique identifier of the Cases domain.
Request Lenses
Destructuring the Response
data GetDomainResponse Source #
See: newGetDomainResponse smart constructor.
Constructors
| GetDomainResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> UTCTime | |
| -> Text | |
| -> Text | |
| -> DomainStatus | |
| -> Text | |
| -> GetDomainResponse |
Create a value of GetDomainResponse 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:
GetDomainResponse, getDomainResponse_tags - A map of of key-value pairs that represent tags on a resource. Tags are
used to organize, track, or control access for this resource.
$sel:httpStatus:GetDomainResponse', getDomainResponse_httpStatus - The response's http status code.
$sel:createdTime:GetDomainResponse', getDomainResponse_createdTime - The timestamp when the Cases domain was created.
GetDomainResponse, getDomainResponse_domainArn - The Amazon Resource Name (ARN) for the Cases domain.
GetDomain, getDomainResponse_domainId - The unique identifier of the Cases domain.
$sel:domainStatus:GetDomainResponse', getDomainResponse_domainStatus - The status of the Cases domain.
GetDomainResponse, getDomainResponse_name - The name of the Cases domain.
Response Lenses
getDomainResponse_tags :: Lens' GetDomainResponse (Maybe (HashMap Text Text)) Source #
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
getDomainResponse_httpStatus :: Lens' GetDomainResponse Int Source #
The response's http status code.
getDomainResponse_createdTime :: Lens' GetDomainResponse UTCTime Source #
The timestamp when the Cases domain was created.
getDomainResponse_domainArn :: Lens' GetDomainResponse Text Source #
The Amazon Resource Name (ARN) for the Cases domain.
getDomainResponse_domainId :: Lens' GetDomainResponse Text Source #
The unique identifier of the Cases domain.
getDomainResponse_domainStatus :: Lens' GetDomainResponse DomainStatus Source #
The status of the Cases domain.
getDomainResponse_name :: Lens' GetDomainResponse Text Source #
The name of the Cases domain.