NAME

Paws::EMR::CreateStudioSessionMapping - Arguments for method CreateStudioSessionMapping on Paws::EMR

DESCRIPTION

This class represents the parameters used for calling the method CreateStudioSessionMapping on the Amazon Elastic MapReduce service. Use the attributes of this class as arguments to method CreateStudioSessionMapping.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateStudioSessionMapping.

SYNOPSIS

my $elasticmapreduce = Paws->service('EMR');
$elasticmapreduce->CreateStudioSessionMapping(
  IdentityType     => 'USER',
  SessionPolicyArn => 'MyXmlStringMaxLen256',
  StudioId         => 'MyXmlStringMaxLen256',
  IdentityId       => 'MyXmlStringMaxLen256',    # OPTIONAL
  IdentityName     => 'MyXmlStringMaxLen256',    # OPTIONAL
);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce/CreateStudioSessionMapping

ATTRIBUTES

IdentityId => Str

The globally unique identifier (GUID) of the user or group from the AWS SSO Identity Store. For more information, see UserId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId) and GroupId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId) in the AWS SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.

IdentityName => Str

The name of the user or group. For more information, see UserName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName) and DisplayName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName) in the AWS SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.

REQUIRED IdentityType => Str

Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.

Valid values are: "USER", "GROUP"

REQUIRED SessionPolicyArn => Str

The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. Session policies refine Studio user permissions without the need to use multiple IAM user roles.

REQUIRED StudioId => Str

The ID of the Amazon EMR Studio to which the user or group will be mapped.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateStudioSessionMapping in Paws::EMR

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues