NAME

Paws::SSOAdmin::CreateAccountAssignment - Arguments for method CreateAccountAssignment on Paws::SSOAdmin

DESCRIPTION

This class represents the parameters used for calling the method CreateAccountAssignment on the AWS Single Sign-On Admin service. Use the attributes of this class as arguments to method CreateAccountAssignment.

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

SYNOPSIS

my $sso = Paws->service('SSOAdmin');
my $CreateAccountAssignmentResponse = $sso->CreateAccountAssignment(
  InstanceArn      => 'MyInstanceArn',
  PermissionSetArn => 'MyPermissionSetArn',
  PrincipalId      => 'MyPrincipalId',
  PrincipalType    => 'USER',
  TargetId         => 'MyTargetId',
  TargetType       => 'AWS_ACCOUNT',

);

# Results:
my $AccountAssignmentCreationStatus =
  $CreateAccountAssignmentResponse->AccountAssignmentCreationStatus;

# Returns a L<Paws::SSOAdmin::CreateAccountAssignmentResponse> object.

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/sso/CreateAccountAssignment

ATTRIBUTES

REQUIRED InstanceArn => Str

The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

REQUIRED PermissionSetArn => Str

The ARN of the permission set that the admin wants to grant the principal access to.

REQUIRED PrincipalId => Str

An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.

REQUIRED PrincipalType => Str

The entity type for which the assignment will be created.

Valid values are: "USER", "GROUP"

REQUIRED TargetId => Str

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

REQUIRED TargetType => Str

The entity type for which the assignment will be created.

Valid values are: "AWS_ACCOUNT"

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateAccountAssignment in Paws::SSOAdmin

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