| 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.Nimble.ListLaunchProfiles
Description
List all the launch profiles a studio.
This operation returns paginated results.
Synopsis
- data ListLaunchProfiles = ListLaunchProfiles' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- principalId :: Maybe Text
- states :: Maybe [LaunchProfileState]
- studioId :: Text
- newListLaunchProfiles :: Text -> ListLaunchProfiles
- listLaunchProfiles_maxResults :: Lens' ListLaunchProfiles (Maybe Natural)
- listLaunchProfiles_nextToken :: Lens' ListLaunchProfiles (Maybe Text)
- listLaunchProfiles_principalId :: Lens' ListLaunchProfiles (Maybe Text)
- listLaunchProfiles_states :: Lens' ListLaunchProfiles (Maybe [LaunchProfileState])
- listLaunchProfiles_studioId :: Lens' ListLaunchProfiles Text
- data ListLaunchProfilesResponse = ListLaunchProfilesResponse' {
- launchProfiles :: Maybe [LaunchProfile]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListLaunchProfilesResponse :: Int -> ListLaunchProfilesResponse
- listLaunchProfilesResponse_launchProfiles :: Lens' ListLaunchProfilesResponse (Maybe [LaunchProfile])
- listLaunchProfilesResponse_nextToken :: Lens' ListLaunchProfilesResponse (Maybe Text)
- listLaunchProfilesResponse_httpStatus :: Lens' ListLaunchProfilesResponse Int
Creating a Request
data ListLaunchProfiles Source #
See: newListLaunchProfiles smart constructor.
Constructors
| ListLaunchProfiles' | |
Fields
| |
Instances
newListLaunchProfiles Source #
Arguments
| :: Text | |
| -> ListLaunchProfiles |
Create a value of ListLaunchProfiles 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:ListLaunchProfiles', listLaunchProfiles_maxResults - The max number of results to return in the response.
ListLaunchProfiles, listLaunchProfiles_nextToken - The token for the next set of results, or null if there are no more
results.
ListLaunchProfiles, listLaunchProfiles_principalId - The principal ID. This currently supports a IAM Identity Center UserId.
$sel:states:ListLaunchProfiles', listLaunchProfiles_states - Filter this request to launch profiles in any of the given states.
ListLaunchProfiles, listLaunchProfiles_studioId - The studio ID.
Request Lenses
listLaunchProfiles_maxResults :: Lens' ListLaunchProfiles (Maybe Natural) Source #
The max number of results to return in the response.
listLaunchProfiles_nextToken :: Lens' ListLaunchProfiles (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listLaunchProfiles_principalId :: Lens' ListLaunchProfiles (Maybe Text) Source #
The principal ID. This currently supports a IAM Identity Center UserId.
listLaunchProfiles_states :: Lens' ListLaunchProfiles (Maybe [LaunchProfileState]) Source #
Filter this request to launch profiles in any of the given states.
listLaunchProfiles_studioId :: Lens' ListLaunchProfiles Text Source #
The studio ID.
Destructuring the Response
data ListLaunchProfilesResponse Source #
See: newListLaunchProfilesResponse smart constructor.
Constructors
| ListLaunchProfilesResponse' | |
Fields
| |
Instances
newListLaunchProfilesResponse Source #
Create a value of ListLaunchProfilesResponse 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:launchProfiles:ListLaunchProfilesResponse', listLaunchProfilesResponse_launchProfiles - A collection of launch profiles.
ListLaunchProfiles, listLaunchProfilesResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListLaunchProfilesResponse', listLaunchProfilesResponse_httpStatus - The response's http status code.
Response Lenses
listLaunchProfilesResponse_launchProfiles :: Lens' ListLaunchProfilesResponse (Maybe [LaunchProfile]) Source #
A collection of launch profiles.
listLaunchProfilesResponse_nextToken :: Lens' ListLaunchProfilesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listLaunchProfilesResponse_httpStatus :: Lens' ListLaunchProfilesResponse Int Source #
The response's http status code.