| 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.EMR.ListStudioSessionMappings
Description
Returns a list of all user or group session mappings for the Amazon EMR
Studio specified by StudioId.
This operation returns paginated results.
Synopsis
- data ListStudioSessionMappings = ListStudioSessionMappings' {}
- newListStudioSessionMappings :: ListStudioSessionMappings
- listStudioSessionMappings_identityType :: Lens' ListStudioSessionMappings (Maybe IdentityType)
- listStudioSessionMappings_marker :: Lens' ListStudioSessionMappings (Maybe Text)
- listStudioSessionMappings_studioId :: Lens' ListStudioSessionMappings (Maybe Text)
- data ListStudioSessionMappingsResponse = ListStudioSessionMappingsResponse' {}
- newListStudioSessionMappingsResponse :: Int -> ListStudioSessionMappingsResponse
- listStudioSessionMappingsResponse_marker :: Lens' ListStudioSessionMappingsResponse (Maybe Text)
- listStudioSessionMappingsResponse_sessionMappings :: Lens' ListStudioSessionMappingsResponse (Maybe [SessionMappingSummary])
- listStudioSessionMappingsResponse_httpStatus :: Lens' ListStudioSessionMappingsResponse Int
Creating a Request
data ListStudioSessionMappings Source #
See: newListStudioSessionMappings smart constructor.
Constructors
| ListStudioSessionMappings' | |
Fields
| |
Instances
newListStudioSessionMappings :: ListStudioSessionMappings Source #
Create a value of ListStudioSessionMappings 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:
ListStudioSessionMappings, listStudioSessionMappings_identityType - Specifies whether to return session mappings for users or groups. If not
specified, the results include session mapping details for both users
and groups.
ListStudioSessionMappings, listStudioSessionMappings_marker - The pagination token that indicates the set of results to retrieve.
ListStudioSessionMappings, listStudioSessionMappings_studioId - The ID of the Amazon EMR Studio.
Request Lenses
listStudioSessionMappings_identityType :: Lens' ListStudioSessionMappings (Maybe IdentityType) Source #
Specifies whether to return session mappings for users or groups. If not specified, the results include session mapping details for both users and groups.
listStudioSessionMappings_marker :: Lens' ListStudioSessionMappings (Maybe Text) Source #
The pagination token that indicates the set of results to retrieve.
listStudioSessionMappings_studioId :: Lens' ListStudioSessionMappings (Maybe Text) Source #
The ID of the Amazon EMR Studio.
Destructuring the Response
data ListStudioSessionMappingsResponse Source #
See: newListStudioSessionMappingsResponse smart constructor.
Constructors
| ListStudioSessionMappingsResponse' | |
Fields
| |
Instances
newListStudioSessionMappingsResponse Source #
Arguments
| :: Int | |
| -> ListStudioSessionMappingsResponse |
Create a value of ListStudioSessionMappingsResponse 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:
ListStudioSessionMappings, listStudioSessionMappingsResponse_marker - The pagination token that indicates the next set of results to retrieve.
$sel:sessionMappings:ListStudioSessionMappingsResponse', listStudioSessionMappingsResponse_sessionMappings - A list of session mapping summary objects. Each object includes session
mapping details such as creation time, identity type (user or group),
and Amazon EMR Studio ID.
$sel:httpStatus:ListStudioSessionMappingsResponse', listStudioSessionMappingsResponse_httpStatus - The response's http status code.
Response Lenses
listStudioSessionMappingsResponse_marker :: Lens' ListStudioSessionMappingsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listStudioSessionMappingsResponse_sessionMappings :: Lens' ListStudioSessionMappingsResponse (Maybe [SessionMappingSummary]) Source #
A list of session mapping summary objects. Each object includes session mapping details such as creation time, identity type (user or group), and Amazon EMR Studio ID.
listStudioSessionMappingsResponse_httpStatus :: Lens' ListStudioSessionMappingsResponse Int Source #
The response's http status code.