Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_studioId :: Lens' ListStudioSessionMappings (Maybe Text)
- listStudioSessionMappings_identityType :: Lens' ListStudioSessionMappings (Maybe IdentityType)
- listStudioSessionMappings_marker :: Lens' ListStudioSessionMappings (Maybe Text)
- data ListStudioSessionMappingsResponse = ListStudioSessionMappingsResponse' {}
- newListStudioSessionMappingsResponse :: Int -> ListStudioSessionMappingsResponse
- listStudioSessionMappingsResponse_sessionMappings :: Lens' ListStudioSessionMappingsResponse (Maybe [SessionMappingSummary])
- listStudioSessionMappingsResponse_marker :: Lens' ListStudioSessionMappingsResponse (Maybe Text)
- listStudioSessionMappingsResponse_httpStatus :: Lens' ListStudioSessionMappingsResponse Int
Creating a Request
data ListStudioSessionMappings Source #
See: newListStudioSessionMappings
smart constructor.
ListStudioSessionMappings' | |
|
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:
$sel:studioId:ListStudioSessionMappings'
, listStudioSessionMappings_studioId
- The ID of the Amazon EMR Studio.
$sel:identityType: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.
$sel:marker:ListStudioSessionMappings'
, listStudioSessionMappings_marker
- The pagination token that indicates the set of results to retrieve.
Request Lenses
listStudioSessionMappings_studioId :: Lens' ListStudioSessionMappings (Maybe Text) Source #
The ID of the Amazon EMR Studio.
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.
Destructuring the Response
data ListStudioSessionMappingsResponse Source #
See: newListStudioSessionMappingsResponse
smart constructor.
ListStudioSessionMappingsResponse' | |
|
Instances
newListStudioSessionMappingsResponse Source #
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:
$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:marker:ListStudioSessionMappings'
, listStudioSessionMappingsResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListStudioSessionMappingsResponse'
, listStudioSessionMappingsResponse_httpStatus
- The response's http status code.
Response Lenses
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_marker :: Lens' ListStudioSessionMappingsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listStudioSessionMappingsResponse_httpStatus :: Lens' ListStudioSessionMappingsResponse Int Source #
The response's http status code.