NAME

Paws::Quicksight::CreateFolder - Arguments for method CreateFolder on Paws::Quicksight

DESCRIPTION

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

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

SYNOPSIS

my $quicksight = Paws->service('Quicksight');
my $CreateFolderResponse = $quicksight->CreateFolder(
  AwsAccountId    => 'MyAwsAccountId',
  FolderId        => 'MyRestrictiveResourceId',
  FolderType      => 'SHARED',                    # OPTIONAL
  Name            => 'MyFolderName',              # OPTIONAL
  ParentFolderArn => 'MyArn',                     # OPTIONAL
  Permissions     => [
    {
      Actions   => [ 'MyString', ... ],    # min: 1, max: 16
      Principal => 'MyPrincipal',          # min: 1, max: 256

    },
    ...
  ],    # OPTIONAL
  Tags => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # min: 1, max: 256

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $Arn       = $CreateFolderResponse->Arn;
my $FolderId  = $CreateFolderResponse->FolderId;
my $RequestId = $CreateFolderResponse->RequestId;
my $Status    = $CreateFolderResponse->Status;

# Returns a L<Paws::Quicksight::CreateFolderResponse> 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/quicksight/CreateFolder

ATTRIBUTES

REQUIRED AwsAccountId => Str

The AWS Account ID.

REQUIRED FolderId => Str

The folder ID.

FolderType => Str

The type of folder. By default, folderType is SHARED.

Valid values are: "SHARED"

Name => Str

The name of the folder.

ParentFolderArn => Str

The Amazon Resource Name (ARN) for the parent folder.

ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.

Permissions => ArrayRef[Paws::Quicksight::ResourcePermission]

A structure that describes the principals and the resource-level permissions of a folder.

To specify no permissions, omit Permissions.

Tags => ArrayRef[Paws::Quicksight::Tag]

Tags for the folder.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateFolder in Paws::Quicksight

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