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 |
Fetches mapping details for the specified Amazon EMR Studio and identity (user or group).
Synopsis
- data GetStudioSessionMapping = GetStudioSessionMapping' {}
- newGetStudioSessionMapping :: Text -> IdentityType -> GetStudioSessionMapping
- getStudioSessionMapping_identityId :: Lens' GetStudioSessionMapping (Maybe Text)
- getStudioSessionMapping_identityName :: Lens' GetStudioSessionMapping (Maybe Text)
- getStudioSessionMapping_studioId :: Lens' GetStudioSessionMapping Text
- getStudioSessionMapping_identityType :: Lens' GetStudioSessionMapping IdentityType
- data GetStudioSessionMappingResponse = GetStudioSessionMappingResponse' {}
- newGetStudioSessionMappingResponse :: Int -> GetStudioSessionMappingResponse
- getStudioSessionMappingResponse_sessionMapping :: Lens' GetStudioSessionMappingResponse (Maybe SessionMappingDetail)
- getStudioSessionMappingResponse_httpStatus :: Lens' GetStudioSessionMappingResponse Int
Creating a Request
data GetStudioSessionMapping Source #
See: newGetStudioSessionMapping
smart constructor.
GetStudioSessionMapping' | |
|
Instances
newGetStudioSessionMapping Source #
Create a value of GetStudioSessionMapping
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:identityId:GetStudioSessionMapping'
, getStudioSessionMapping_identityId
- The globally unique identifier (GUID) of the user or group. For more
information, see
UserId
and
GroupId
in the Amazon Web Services SSO Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified.
$sel:identityName:GetStudioSessionMapping'
, getStudioSessionMapping_identityName
- The name of the user or group to fetch. For more information, see
UserName
and
DisplayName
in the Amazon Web Services SSO Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified.
$sel:studioId:GetStudioSessionMapping'
, getStudioSessionMapping_studioId
- The ID of the Amazon EMR Studio.
$sel:identityType:GetStudioSessionMapping'
, getStudioSessionMapping_identityType
- Specifies whether the identity to fetch is a user or a group.
Request Lenses
getStudioSessionMapping_identityName :: Lens' GetStudioSessionMapping (Maybe Text) Source #
The name of the user or group to fetch. For more information, see
UserName
and
DisplayName
in the Amazon Web Services SSO Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified.
getStudioSessionMapping_studioId :: Lens' GetStudioSessionMapping Text Source #
The ID of the Amazon EMR Studio.
getStudioSessionMapping_identityType :: Lens' GetStudioSessionMapping IdentityType Source #
Specifies whether the identity to fetch is a user or a group.
Destructuring the Response
data GetStudioSessionMappingResponse Source #
See: newGetStudioSessionMappingResponse
smart constructor.
GetStudioSessionMappingResponse' | |
|
Instances
Eq GetStudioSessionMappingResponse Source # | |
Read GetStudioSessionMappingResponse Source # | |
Show GetStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.GetStudioSessionMapping | |
Generic GetStudioSessionMappingResponse Source # | |
NFData GetStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.GetStudioSessionMapping rnf :: GetStudioSessionMappingResponse -> () # | |
type Rep GetStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.GetStudioSessionMapping type Rep GetStudioSessionMappingResponse = D1 ('MetaData "GetStudioSessionMappingResponse" "Amazonka.EMR.GetStudioSessionMapping" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "GetStudioSessionMappingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionMapping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SessionMappingDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetStudioSessionMappingResponse Source #
Create a value of GetStudioSessionMappingResponse
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:sessionMapping:GetStudioSessionMappingResponse'
, getStudioSessionMappingResponse_sessionMapping
- The session mapping details for the specified Amazon EMR Studio and
identity, including session policy ARN and creation time.
$sel:httpStatus:GetStudioSessionMappingResponse'
, getStudioSessionMappingResponse_httpStatus
- The response's http status code.
Response Lenses
getStudioSessionMappingResponse_sessionMapping :: Lens' GetStudioSessionMappingResponse (Maybe SessionMappingDetail) Source #
The session mapping details for the specified Amazon EMR Studio and identity, including session policy ARN and creation time.
getStudioSessionMappingResponse_httpStatus :: Lens' GetStudioSessionMappingResponse Int Source #
The response's http status code.