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::MediaStore::MetricPolicyRule

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::MediaStore::MetricPolicyRule object:

$service_obj->Method(Att1 => { ObjectGroup => $value, ..., ObjectGroupName => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::MediaStore::MetricPolicyRule object:

$result = $service_obj->Method(...);
$result->Att1->ObjectGroup

DESCRIPTION

A setting that enables metrics at the object level. Each rule contains an object group and an object group name. If the policy includes the MetricPolicyRules parameter, you must include at least one rule. Each metric policy can include up to five rules by default. You can also request a quota increase (https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas) to allow up to 300 rules per policy.

ATTRIBUTES

REQUIRED ObjectGroup => Str

A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.

REQUIRED ObjectGroupName => Str

A name that allows you to refer to the object group.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::MediaStore

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