The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::CodeGuruProfiler::PutPermission - Arguments for method PutPermission on Paws::CodeGuruProfiler

DESCRIPTION

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

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

SYNOPSIS

    my $codeguru-profiler = Paws->service('CodeGuruProfiler');
    my $PutPermissionResponse = $codeguru -profiler->PutPermission(
      ActionGroup        => 'agentPermissions',
      Principals         => [ 'MyPrincipal', ... ],
      ProfilingGroupName => 'MyProfilingGroupName',
      RevisionId         => 'MyRevisionId',           # OPTIONAL
    );

    # Results:
    my $Policy     = $PutPermissionResponse->Policy;
    my $RevisionId = $PutPermissionResponse->RevisionId;

    # Returns a L<Paws::CodeGuruProfiler::PutPermissionResponse> 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/codeguru-profiler/PutPermission

ATTRIBUTES

REQUIRED ActionGroup => Str

Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported, agentPermissions, which grants permission to perform actions required by the profiling agent, ConfigureAgent and PostAgentProfile permissions.

Valid values are: "agentPermissions"

REQUIRED Principals => ArrayRef[Str|Undef]

A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.

REQUIRED ProfilingGroupName => Str

The name of the profiling group to grant access to.

RevisionId => Str

A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do not specify this when you add permissions to a profiling group for the first time. If a policy already exists on the profiling group, you must specify the revisionId.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutPermission in Paws::CodeGuruProfiler

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