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 |
Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
This operation returns paginated results.
Synopsis
- data ListServices = ListServices' {}
- newListServices :: Text -> Text -> ListServices
- listServices_maxResults :: Lens' ListServices (Maybe Natural)
- listServices_nextToken :: Lens' ListServices (Maybe Text)
- listServices_applicationIdentifier :: Lens' ListServices Text
- listServices_environmentIdentifier :: Lens' ListServices Text
- data ListServicesResponse = ListServicesResponse' {}
- newListServicesResponse :: Int -> ListServicesResponse
- listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text)
- listServicesResponse_serviceSummaryList :: Lens' ListServicesResponse (Maybe [ServiceSummary])
- listServicesResponse_httpStatus :: Lens' ListServicesResponse Int
Creating a Request
data ListServices Source #
See: newListServices
smart constructor.
ListServices' | |
|
Instances
:: Text | |
-> Text | |
-> ListServices |
Create a value of ListServices
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:ListServices'
, listServices_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
ListServices
, listServices_nextToken
- The token for the next page of results.
$sel:applicationIdentifier:ListServices'
, listServices_applicationIdentifier
- The ID of the application.
$sel:environmentIdentifier:ListServices'
, listServices_environmentIdentifier
- The ID of the environment.
Request Lenses
listServices_maxResults :: Lens' ListServices (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
listServices_nextToken :: Lens' ListServices (Maybe Text) Source #
The token for the next page of results.
listServices_applicationIdentifier :: Lens' ListServices Text Source #
The ID of the application.
listServices_environmentIdentifier :: Lens' ListServices Text Source #
The ID of the environment.
Destructuring the Response
data ListServicesResponse Source #
See: newListServicesResponse
smart constructor.
ListServicesResponse' | |
|
Instances
newListServicesResponse Source #
Create a value of ListServicesResponse
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:
ListServices
, listServicesResponse_nextToken
- The token for the next page of results.
$sel:serviceSummaryList:ListServicesResponse'
, listServicesResponse_serviceSummaryList
- The list of ServiceSummary
objects.
$sel:httpStatus:ListServicesResponse'
, listServicesResponse_httpStatus
- The response's http status code.
Response Lenses
listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text) Source #
The token for the next page of results.
listServicesResponse_serviceSummaryList :: Lens' ListServicesResponse (Maybe [ServiceSummary]) Source #
The list of ServiceSummary
objects.
listServicesResponse_httpStatus :: Lens' ListServicesResponse Int Source #
The response's http status code.