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::RedShift::ModifyUsageLimit - Arguments for method ModifyUsageLimit on Paws::RedShift

DESCRIPTION

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

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

SYNOPSIS

    my $redshift = Paws->service('RedShift');
    my $UsageLimit = $redshift->ModifyUsageLimit(
      UsageLimitId => 'MyString',
      Amount       => 1,            # OPTIONAL
      BreachAction => 'log',        # OPTIONAL
    );

    # Results:
    my $Amount            = $UsageLimit->Amount;
    my $BreachAction      = $UsageLimit->BreachAction;
    my $ClusterIdentifier = $UsageLimit->ClusterIdentifier;
    my $FeatureType       = $UsageLimit->FeatureType;
    my $LimitType         = $UsageLimit->LimitType;
    my $Period            = $UsageLimit->Period;
    my $Tags              = $UsageLimit->Tags;
    my $UsageLimitId      = $UsageLimit->UsageLimitId;

    # Returns a L<Paws::RedShift::UsageLimit> 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/redshift/ModifyUsageLimit

ATTRIBUTES

Amount => Int

The new limit amount. For more information about this parameter, see UsageLimit.

BreachAction => Str

The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.

Valid values are: "log", "emit-metric", "disable"

REQUIRED UsageLimitId => Str

The identifier of the usage limit to modify.

SEE ALSO

This class forms part of Paws, documenting arguments for method ModifyUsageLimit in Paws::RedShift

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