libZSservicesZSamazonka-emrZSamazonka-emr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EMR.GetStudioSessionMapping

Description

Fetches mapping details for the specified Amazon EMR Studio and identity (user or group).

Synopsis

Creating a Request

data GetStudioSessionMapping Source #

See: newGetStudioSessionMapping smart constructor.

Constructors

GetStudioSessionMapping' 

Fields

  • identityId :: Maybe Text

    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.

  • identityName :: Maybe Text

    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.

  • studioId :: Text

    The ID of the Amazon EMR Studio.

  • identityType :: IdentityType

    Specifies whether the identity to fetch is a user or a group.

Instances

Instances details
Eq GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Read GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Show GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Generic GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Associated Types

type Rep GetStudioSessionMapping :: Type -> Type #

NFData GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Methods

rnf :: GetStudioSessionMapping -> () #

Hashable GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

ToJSON GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

AWSRequest GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

ToHeaders GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

ToPath GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

ToQuery GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

type Rep GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

type Rep GetStudioSessionMapping = D1 ('MetaData "GetStudioSessionMapping" "Amazonka.EMR.GetStudioSessionMapping" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "GetStudioSessionMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "identityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "identityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IdentityType))))
type AWSResponse GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

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_identityId :: Lens' GetStudioSessionMapping (Maybe Text) Source #

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.

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_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.

Constructors

GetStudioSessionMappingResponse' 

Fields

Instances

Instances details
Eq GetStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Read GetStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Show GetStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Generic GetStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Associated Types

type Rep GetStudioSessionMappingResponse :: Type -> Type #

NFData GetStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

type Rep GetStudioSessionMappingResponse Source # 
Instance details

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.