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

DESCRIPTION

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

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

SYNOPSIS

    my $codeguru-profiler = Paws->service('CodeGuruProfiler');
    my $AddNotificationChannelsResponse =
      $codeguru -profiler->AddNotificationChannels(
      Channels => [
        {
          EventPublishers => [
            'AnomalyDetection', ...    # values: AnomalyDetection
          ],    # min: 1, max: 1
          Uri => 'MyChannelUri',
          Id  => 'MyChannelId',    # OPTIONAL
        },
        ...
      ],
      ProfilingGroupName => 'MyProfilingGroupName',

      );

    # Results:
    my $NotificationConfiguration =
      $AddNotificationChannelsResponse->NotificationConfiguration;

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

ATTRIBUTES

REQUIRED Channels => ArrayRef[Paws::CodeGuruProfiler::Channel]

One or 2 channels to report to when anomalies are detected.

REQUIRED ProfilingGroupName => Str

The name of the profiling group that we are setting up notifications for.

SEE ALSO

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