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::CreateProfilingGroup - Arguments for method CreateProfilingGroup on Paws::CodeGuruProfiler

DESCRIPTION

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

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

SYNOPSIS

    my $codeguru-profiler = Paws->service('CodeGuruProfiler');
    my $CreateProfilingGroupResponse =
      $codeguru -profiler->CreateProfilingGroup(
      ClientToken              => 'MyClientToken',
      ProfilingGroupName       => 'MyProfilingGroupName',
      AgentOrchestrationConfig => {
        ProfilingEnabled => 1,

      },    # OPTIONAL
      ComputePlatform => 'Default',                        # OPTIONAL
      Tags            => { 'MyString' => 'MyString', },    # OPTIONAL
      );

    # Results:
    my $ProfilingGroup = $CreateProfilingGroupResponse->ProfilingGroup;

    # Returns a L<Paws::CodeGuruProfiler::CreateProfilingGroupResponse> 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/CreateProfilingGroup

ATTRIBUTES

AgentOrchestrationConfig => Paws::CodeGuruProfiler::AgentOrchestrationConfig

Specifies whether profiling is enabled or disabled for the created profiling group.

REQUIRED ClientToken => Str

Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.

ComputePlatform => Str

The compute platform of the profiling group. Use AWSLambda if your application runs on AWS Lambda. Use Default if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified, Default is used.

Valid values are: "Default", "AWSLambda"

REQUIRED ProfilingGroupName => Str

The name of the profiling group to create.

Tags => Paws::CodeGuruProfiler::TagsMap

A list of tags to add to the created profiling group.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateProfilingGroup 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