amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 IAM Identity Center 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 IAM Identity Center 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
ToJSON 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

AWSRequest 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 #

Read GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Show GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

NFData GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Methods

rnf :: GetStudioSessionMapping -> () #

Eq GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Hashable GetStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

type AWSResponse 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" '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))))

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:

GetStudioSessionMapping, getStudioSessionMapping_identityId - The globally unique identifier (GUID) of the user or group. For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified.

GetStudioSessionMapping, getStudioSessionMapping_identityName - The name of the user or group to fetch. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified.

GetStudioSessionMapping, getStudioSessionMapping_studioId - The ID of the Amazon EMR Studio.

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 IAM Identity Center 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 IAM Identity Center 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
Generic GetStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Associated Types

type Rep GetStudioSessionMappingResponse :: Type -> Type #

Read GetStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Show GetStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

NFData GetStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.GetStudioSessionMapping

Eq 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" '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.