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 |
List service templates with detail data.
This operation returns paginated results.
Synopsis
- data ListServiceTemplates = ListServiceTemplates' {}
- newListServiceTemplates :: ListServiceTemplates
- listServiceTemplates_nextToken :: Lens' ListServiceTemplates (Maybe Text)
- listServiceTemplates_maxResults :: Lens' ListServiceTemplates (Maybe Natural)
- data ListServiceTemplatesResponse = ListServiceTemplatesResponse' {}
- newListServiceTemplatesResponse :: Int -> ListServiceTemplatesResponse
- listServiceTemplatesResponse_nextToken :: Lens' ListServiceTemplatesResponse (Maybe Text)
- listServiceTemplatesResponse_httpStatus :: Lens' ListServiceTemplatesResponse Int
- listServiceTemplatesResponse_templates :: Lens' ListServiceTemplatesResponse [ServiceTemplateSummary]
Creating a Request
data ListServiceTemplates Source #
See: newListServiceTemplates
smart constructor.
Instances
newListServiceTemplates :: ListServiceTemplates Source #
Create a value of ListServiceTemplates
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:nextToken:ListServiceTemplates'
, listServiceTemplates_nextToken
- A token to indicate the location of the next service template in the
array of service templates, after the list of service templates
previously requested.
$sel:maxResults:ListServiceTemplates'
, listServiceTemplates_maxResults
- The maximum number of service templates to list.
Request Lenses
listServiceTemplates_nextToken :: Lens' ListServiceTemplates (Maybe Text) Source #
A token to indicate the location of the next service template in the array of service templates, after the list of service templates previously requested.
listServiceTemplates_maxResults :: Lens' ListServiceTemplates (Maybe Natural) Source #
The maximum number of service templates to list.
Destructuring the Response
data ListServiceTemplatesResponse Source #
See: newListServiceTemplatesResponse
smart constructor.
ListServiceTemplatesResponse' | |
|
Instances
newListServiceTemplatesResponse Source #
Create a value of ListServiceTemplatesResponse
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:nextToken:ListServiceTemplates'
, listServiceTemplatesResponse_nextToken
- A token to indicate the location of the next service template in the
array of service templates, after the current requested list of service
templates.
$sel:httpStatus:ListServiceTemplatesResponse'
, listServiceTemplatesResponse_httpStatus
- The response's http status code.
$sel:templates:ListServiceTemplatesResponse'
, listServiceTemplatesResponse_templates
- An array of service templates with detail data.
Response Lenses
listServiceTemplatesResponse_nextToken :: Lens' ListServiceTemplatesResponse (Maybe Text) Source #
A token to indicate the location of the next service template in the array of service templates, after the current requested list of service templates.
listServiceTemplatesResponse_httpStatus :: Lens' ListServiceTemplatesResponse Int Source #
The response's http status code.
listServiceTemplatesResponse_templates :: Lens' ListServiceTemplatesResponse [ServiceTemplateSummary] Source #
An array of service templates with detail data.