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 custom apps or service apps for the given simulation and domain.
Synopsis
- data ListApps = ListApps' {}
- newListApps :: Text -> ListApps
- listApps_domain :: Lens' ListApps (Maybe Text)
- listApps_maxResults :: Lens' ListApps (Maybe Natural)
- listApps_nextToken :: Lens' ListApps (Maybe Text)
- listApps_simulation :: Lens' ListApps Text
- data ListAppsResponse = ListAppsResponse' {
- apps :: Maybe [SimulationAppMetadata]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAppsResponse :: Int -> ListAppsResponse
- listAppsResponse_apps :: Lens' ListAppsResponse (Maybe [SimulationAppMetadata])
- listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text)
- listAppsResponse_httpStatus :: Lens' ListAppsResponse Int
Creating a Request
See: newListApps
smart constructor.
ListApps' | |
|
Instances
Create a value of ListApps
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:
ListApps
, listApps_domain
- The name of the domain that you want to list apps for.
$sel:maxResults:ListApps'
, listApps_maxResults
- The maximum number of apps to list.
ListApps
, listApps_nextToken
- If SimSpace Weaver returns nextToken
, there are more results
available. The value of nextToken
is a unique pagination token for
each page. To retrieve the next page, call the operation again using the
returned token. Keep all other arguments unchanged. If no results
remain, nextToken
is set to null
. Each pagination token expires
after 24 hours. If you provide a token that isn't valid, you receive an
HTTP 400 ValidationException error.
ListApps
, listApps_simulation
- The name of the simulation that you want to list apps for.
Request Lenses
listApps_domain :: Lens' ListApps (Maybe Text) Source #
The name of the domain that you want to list apps for.
listApps_nextToken :: Lens' ListApps (Maybe Text) Source #
If SimSpace Weaver returns nextToken
, there are more results
available. The value of nextToken
is a unique pagination token for
each page. To retrieve the next page, call the operation again using the
returned token. Keep all other arguments unchanged. If no results
remain, nextToken
is set to null
. Each pagination token expires
after 24 hours. If you provide a token that isn't valid, you receive an
HTTP 400 ValidationException error.
listApps_simulation :: Lens' ListApps Text Source #
The name of the simulation that you want to list apps for.
Destructuring the Response
data ListAppsResponse Source #
See: newListAppsResponse
smart constructor.
ListAppsResponse' | |
|
Instances
Create a value of ListAppsResponse
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:apps:ListAppsResponse'
, listAppsResponse_apps
- The list of apps for the given simulation and domain.
ListApps
, listAppsResponse_nextToken
- If SimSpace Weaver returns nextToken
, there are more results
available. The value of nextToken
is a unique pagination token for
each page. To retrieve the next page, call the operation again using the
returned token. Keep all other arguments unchanged. If no results
remain, nextToken
is set to null
. Each pagination token expires
after 24 hours. If you provide a token that isn't valid, you receive an
HTTP 400 ValidationException error.
$sel:httpStatus:ListAppsResponse'
, listAppsResponse_httpStatus
- The response's http status code.
Response Lenses
listAppsResponse_apps :: Lens' ListAppsResponse (Maybe [SimulationAppMetadata]) Source #
The list of apps for the given simulation and domain.
listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text) Source #
If SimSpace Weaver returns nextToken
, there are more results
available. The value of nextToken
is a unique pagination token for
each page. To retrieve the next page, call the operation again using the
returned token. Keep all other arguments unchanged. If no results
remain, nextToken
is set to null
. Each pagination token expires
after 24 hours. If you provide a token that isn't valid, you receive an
HTTP 400 ValidationException error.
listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #
The response's http status code.