GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::RedShift::CreateUsageLimit(3) User Contributed Perl Documentation Paws::RedShift::CreateUsageLimit(3)

Paws::RedShift::CreateUsageLimit - Arguments for method CreateUsageLimit on Paws::RedShift

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

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

    my $redshift = Paws->service('RedShift');
    my $UsageLimit = $redshift->CreateUsageLimit(
      Amount            => 1,
      ClusterIdentifier => 'MyString',
      FeatureType       => 'spectrum',
      LimitType         => 'time',
      BreachAction      => 'log',        # OPTIONAL
      Period            => 'daily',      # OPTIONAL
      Tags              => [
        {
          Key   => 'MyString',    # max: 2147483647
          Value => 'MyString',    # max: 2147483647
        },
        ...
      ],    # 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/CreateUsageLimit>

REQUIRED Amount => Int

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.

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

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

REQUIRED ClusterIdentifier => Str

The identifier of the cluster that you want to limit usage.

REQUIRED FeatureType => Str

The Amazon Redshift feature that you want to limit.

Valid values are: "spectrum", "concurrency-scaling"

REQUIRED LimitType => Str

The type of limit. Depending on the feature type, this can be based on a time duration or data size. If "FeatureType" is "spectrum", then "LimitType" must be "data-scanned". If "FeatureType" is "concurrency-scaling", then "LimitType" must be "time".

Valid values are: "time", "data-scanned"

The time period that the amount applies to. A "weekly" period begins on Sunday. The default is "monthly".

Valid values are: "daily", "weekly", "monthly"

A list of tag instances.

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

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.