NAME

Paws::CostExplorer::CreateAnomalySubscription - Arguments for method CreateAnomalySubscription on Paws::CostExplorer

DESCRIPTION

This class represents the parameters used for calling the method CreateAnomalySubscription on the AWS Cost Explorer Service service. Use the attributes of this class as arguments to method CreateAnomalySubscription.

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

SYNOPSIS

my $ce = Paws->service('CostExplorer');
my $CreateAnomalySubscriptionResponse = $ce->CreateAnomalySubscription(
  AnomalySubscription => {
    Frequency      => 'DAILY',    # values: DAILY, IMMEDIATE, WEEKLY
    MonitorArnList => [
      'MyArn', ...                # min: 20, max: 2048
    ],
    Subscribers => [
      {
        Address => 'MySubscriberAddress',    # min: 6, max: 302; OPTIONAL
        Status  => 'CONFIRMED',    # values: CONFIRMED, DECLINED; OPTIONAL
        Type    => 'EMAIL',        # values: EMAIL, SNS; OPTIONAL
      },
      ...
    ],
    SubscriptionName => 'MyGenericString',    # max: 1024
    Threshold        => 1,
    AccountId        => 'MyGenericString',    # max: 1024
    SubscriptionArn  => 'MyGenericString',    # max: 1024
  },

);

# Results:
my $SubscriptionArn = $CreateAnomalySubscriptionResponse->SubscriptionArn;

# Returns a L<Paws::CostExplorer::CreateAnomalySubscriptionResponse> 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/ce/CreateAnomalySubscription

ATTRIBUTES

REQUIRED AnomalySubscription => Paws::CostExplorer::AnomalySubscription

The cost anomaly subscription object that you want to create.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateAnomalySubscription in Paws::CostExplorer

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