| 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.MigrationHubOrchestrator.ListTemplateStepGroups
Description
List the step groups in a template.
This operation returns paginated results.
Synopsis
- data ListTemplateStepGroups = ListTemplateStepGroups' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- templateId :: Text
- newListTemplateStepGroups :: Text -> ListTemplateStepGroups
- listTemplateStepGroups_maxResults :: Lens' ListTemplateStepGroups (Maybe Natural)
- listTemplateStepGroups_nextToken :: Lens' ListTemplateStepGroups (Maybe Text)
- listTemplateStepGroups_templateId :: Lens' ListTemplateStepGroups Text
- data ListTemplateStepGroupsResponse = ListTemplateStepGroupsResponse' {}
- newListTemplateStepGroupsResponse :: Int -> ListTemplateStepGroupsResponse
- listTemplateStepGroupsResponse_nextToken :: Lens' ListTemplateStepGroupsResponse (Maybe Text)
- listTemplateStepGroupsResponse_httpStatus :: Lens' ListTemplateStepGroupsResponse Int
- listTemplateStepGroupsResponse_templateStepGroupSummary :: Lens' ListTemplateStepGroupsResponse [TemplateStepGroupSummary]
Creating a Request
data ListTemplateStepGroups Source #
See: newListTemplateStepGroups smart constructor.
Constructors
| ListTemplateStepGroups' | |
Fields
| |
Instances
newListTemplateStepGroups Source #
Arguments
| :: Text | |
| -> ListTemplateStepGroups |
Create a value of ListTemplateStepGroups 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:maxResults:ListTemplateStepGroups', listTemplateStepGroups_maxResults - The maximum number of results that can be returned.
ListTemplateStepGroups, listTemplateStepGroups_nextToken - The pagination token.
ListTemplateStepGroups, listTemplateStepGroups_templateId - The ID of the template.
Request Lenses
listTemplateStepGroups_maxResults :: Lens' ListTemplateStepGroups (Maybe Natural) Source #
The maximum number of results that can be returned.
listTemplateStepGroups_nextToken :: Lens' ListTemplateStepGroups (Maybe Text) Source #
The pagination token.
listTemplateStepGroups_templateId :: Lens' ListTemplateStepGroups Text Source #
The ID of the template.
Destructuring the Response
data ListTemplateStepGroupsResponse Source #
See: newListTemplateStepGroupsResponse smart constructor.
Constructors
| ListTemplateStepGroupsResponse' | |
Fields
| |
Instances
newListTemplateStepGroupsResponse Source #
Create a value of ListTemplateStepGroupsResponse 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:
ListTemplateStepGroups, listTemplateStepGroupsResponse_nextToken - The pagination token.
$sel:httpStatus:ListTemplateStepGroupsResponse', listTemplateStepGroupsResponse_httpStatus - The response's http status code.
$sel:templateStepGroupSummary:ListTemplateStepGroupsResponse', listTemplateStepGroupsResponse_templateStepGroupSummary - The summary of the step group in the template.
Response Lenses
listTemplateStepGroupsResponse_nextToken :: Lens' ListTemplateStepGroupsResponse (Maybe Text) Source #
The pagination token.
listTemplateStepGroupsResponse_httpStatus :: Lens' ListTemplateStepGroupsResponse Int Source #
The response's http status code.
listTemplateStepGroupsResponse_templateStepGroupSummary :: Lens' ListTemplateStepGroupsResponse [TemplateStepGroupSummary] Source #
The summary of the step group in the template.