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

Description

Updates the session policy attached to the user or group for the specified Amazon EMR Studio.

Synopsis

Creating a Request

data UpdateStudioSessionMapping Source #

See: newUpdateStudioSessionMapping smart constructor.

Constructors

UpdateStudioSessionMapping' 

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 update. 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 update is a user or a group.

  • sessionPolicyArn :: Text

    The Amazon Resource Name (ARN) of the session policy to associate with the specified user or group.

Instances

Instances details
Eq UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

Read UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

Show UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

Generic UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

Associated Types

type Rep UpdateStudioSessionMapping :: Type -> Type #

NFData UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

Hashable UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

ToJSON UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

AWSRequest UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

ToHeaders UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

ToPath UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

ToQuery UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

type Rep UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

type Rep UpdateStudioSessionMapping = D1 ('MetaData "UpdateStudioSessionMapping" "Amazonka.EMR.UpdateStudioSessionMapping" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "UpdateStudioSessionMapping'" '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) :*: S1 ('MetaSel ('Just "sessionPolicyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateStudioSessionMapping Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

newUpdateStudioSessionMapping Source #

Create a value of UpdateStudioSessionMapping 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:UpdateStudioSessionMapping', updateStudioSessionMapping_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:UpdateStudioSessionMapping', updateStudioSessionMapping_identityName - The name of the user or group to update. 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:UpdateStudioSessionMapping', updateStudioSessionMapping_studioId - The ID of the Amazon EMR Studio.

$sel:identityType:UpdateStudioSessionMapping', updateStudioSessionMapping_identityType - Specifies whether the identity to update is a user or a group.

$sel:sessionPolicyArn:UpdateStudioSessionMapping', updateStudioSessionMapping_sessionPolicyArn - The Amazon Resource Name (ARN) of the session policy to associate with the specified user or group.

Request Lenses

updateStudioSessionMapping_identityId :: Lens' UpdateStudioSessionMapping (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.

updateStudioSessionMapping_identityName :: Lens' UpdateStudioSessionMapping (Maybe Text) Source #

The name of the user or group to update. For more information, see UserName and DisplayName in the Amazon Web Services SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.

updateStudioSessionMapping_identityType :: Lens' UpdateStudioSessionMapping IdentityType Source #

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

updateStudioSessionMapping_sessionPolicyArn :: Lens' UpdateStudioSessionMapping Text Source #

The Amazon Resource Name (ARN) of the session policy to associate with the specified user or group.

Destructuring the Response

data UpdateStudioSessionMappingResponse Source #

Instances

Instances details
Eq UpdateStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

Read UpdateStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

Show UpdateStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

Generic UpdateStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

Associated Types

type Rep UpdateStudioSessionMappingResponse :: Type -> Type #

NFData UpdateStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

type Rep UpdateStudioSessionMappingResponse Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudioSessionMapping

type Rep UpdateStudioSessionMappingResponse = D1 ('MetaData "UpdateStudioSessionMappingResponse" "Amazonka.EMR.UpdateStudioSessionMapping" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "UpdateStudioSessionMappingResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateStudioSessionMappingResponse :: UpdateStudioSessionMappingResponse Source #

Create a value of UpdateStudioSessionMappingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.