| 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.GetTemplate
Description
Returns the details for the requested template.
Synopsis
- data GetTemplate = GetTemplate' {
- domainId :: Text
- templateId :: Text
- newGetTemplate :: Text -> Text -> GetTemplate
- getTemplate_domainId :: Lens' GetTemplate Text
- getTemplate_templateId :: Lens' GetTemplate Text
- data GetTemplateResponse = GetTemplateResponse' {}
- newGetTemplateResponse :: Int -> Text -> TemplateStatus -> Text -> Text -> GetTemplateResponse
- getTemplateResponse_description :: Lens' GetTemplateResponse (Maybe Text)
- getTemplateResponse_layoutConfiguration :: Lens' GetTemplateResponse (Maybe LayoutConfiguration)
- getTemplateResponse_requiredFields :: Lens' GetTemplateResponse (Maybe [RequiredField])
- getTemplateResponse_tags :: Lens' GetTemplateResponse (Maybe (HashMap Text Text))
- getTemplateResponse_httpStatus :: Lens' GetTemplateResponse Int
- getTemplateResponse_name :: Lens' GetTemplateResponse Text
- getTemplateResponse_status :: Lens' GetTemplateResponse TemplateStatus
- getTemplateResponse_templateArn :: Lens' GetTemplateResponse Text
- getTemplateResponse_templateId :: Lens' GetTemplateResponse Text
Creating a Request
data GetTemplate Source #
See: newGetTemplate smart constructor.
Constructors
| GetTemplate' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetTemplate |
Create a value of GetTemplate 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:
GetTemplate, getTemplate_domainId - The unique identifier of the Cases domain.
GetTemplate, getTemplate_templateId - A unique identifier of a template.
Request Lenses
getTemplate_domainId :: Lens' GetTemplate Text Source #
The unique identifier of the Cases domain.
getTemplate_templateId :: Lens' GetTemplate Text Source #
A unique identifier of a template.
Destructuring the Response
data GetTemplateResponse Source #
See: newGetTemplateResponse smart constructor.
Constructors
| GetTemplateResponse' | |
Fields
| |
Instances
newGetTemplateResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> TemplateStatus | |
| -> Text | |
| -> Text | |
| -> GetTemplateResponse |
Create a value of GetTemplateResponse 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:
GetTemplateResponse, getTemplateResponse_description - A brief description of the template.
$sel:layoutConfiguration:GetTemplateResponse', getTemplateResponse_layoutConfiguration - Configuration of layouts associated to the template.
$sel:requiredFields:GetTemplateResponse', getTemplateResponse_requiredFields - A list of fields that must contain a value for a case to be successfully
created with this template.
GetTemplateResponse, getTemplateResponse_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:GetTemplateResponse', getTemplateResponse_httpStatus - The response's http status code.
GetTemplateResponse, getTemplateResponse_name - The name of the template.
GetTemplateResponse, getTemplateResponse_status - The status of the template.
GetTemplateResponse, getTemplateResponse_templateArn - The Amazon Resource Name (ARN) of the template.
GetTemplate, getTemplateResponse_templateId - A unique identifier of a template.
Response Lenses
getTemplateResponse_description :: Lens' GetTemplateResponse (Maybe Text) Source #
A brief description of the template.
getTemplateResponse_layoutConfiguration :: Lens' GetTemplateResponse (Maybe LayoutConfiguration) Source #
Configuration of layouts associated to the template.
getTemplateResponse_requiredFields :: Lens' GetTemplateResponse (Maybe [RequiredField]) Source #
A list of fields that must contain a value for a case to be successfully created with this template.
getTemplateResponse_tags :: Lens' GetTemplateResponse (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.
getTemplateResponse_httpStatus :: Lens' GetTemplateResponse Int Source #
The response's http status code.
getTemplateResponse_name :: Lens' GetTemplateResponse Text Source #
The name of the template.
getTemplateResponse_status :: Lens' GetTemplateResponse TemplateStatus Source #
The status of the template.
getTemplateResponse_templateArn :: Lens' GetTemplateResponse Text Source #
The Amazon Resource Name (ARN) of the template.
getTemplateResponse_templateId :: Lens' GetTemplateResponse Text Source #
A unique identifier of a template.