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 |
Updates the session policy attached to the user or group for the specified Amazon EMR Studio.
Synopsis
- data UpdateStudioSessionMapping = UpdateStudioSessionMapping' {}
- newUpdateStudioSessionMapping :: Text -> IdentityType -> Text -> UpdateStudioSessionMapping
- updateStudioSessionMapping_identityId :: Lens' UpdateStudioSessionMapping (Maybe Text)
- updateStudioSessionMapping_identityName :: Lens' UpdateStudioSessionMapping (Maybe Text)
- updateStudioSessionMapping_studioId :: Lens' UpdateStudioSessionMapping Text
- updateStudioSessionMapping_identityType :: Lens' UpdateStudioSessionMapping IdentityType
- updateStudioSessionMapping_sessionPolicyArn :: Lens' UpdateStudioSessionMapping Text
- data UpdateStudioSessionMappingResponse = UpdateStudioSessionMappingResponse' {
- newUpdateStudioSessionMappingResponse :: UpdateStudioSessionMappingResponse
Creating a Request
data UpdateStudioSessionMapping Source #
See: newUpdateStudioSessionMapping
smart constructor.
UpdateStudioSessionMapping' | |
|
Instances
newUpdateStudioSessionMapping Source #
:: Text | |
-> IdentityType | |
-> Text | |
-> UpdateStudioSessionMapping |
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_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_studioId :: Lens' UpdateStudioSessionMapping Text Source #
The ID of the Amazon EMR Studio.
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 #
See: newUpdateStudioSessionMappingResponse
smart constructor.
Instances
newUpdateStudioSessionMappingResponse :: UpdateStudioSessionMappingResponse Source #
Create a value of UpdateStudioSessionMappingResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.