NAME
Paws::CloudTrail::DescribeTrails - Arguments for method DescribeTrails on Paws::CloudTrail
DESCRIPTION
This class represents the parameters used for calling the method DescribeTrails on the AWS CloudTrail service. Use the attributes of this class as arguments to method DescribeTrails.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeTrails.
SYNOPSIS
my $cloudtrail = Paws->service('CloudTrail');
my $DescribeTrailsResponse = $cloudtrail->DescribeTrails(
IncludeShadowTrails => 1, # OPTIONAL
TrailNameList => [ 'MyString', ... ], # OPTIONAL
);
# Results:
my $TrailList = $DescribeTrailsResponse->TrailList;
# Returns a L<Paws::CloudTrail::DescribeTrailsResponse> 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/cloudtrail/DescribeTrails
ATTRIBUTES
IncludeShadowTrails => Bool
Specifies whether to include shadow trails in the response. A shadow trail is the replication in a region of a trail that was created in a different region, or in the case of an organization trail, the replication of an organization trail in member accounts. If you do not include shadow trails, organization trails in a member account and region replication trails will not be returned. The default is true.
TrailNameList => ArrayRef[Str|Undef]
Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
If an empty list is specified, information for the trail in the current region is returned.
If an empty list is specified and
IncludeShadowTrails
is false, then information for all trails in the current region is returned.If an empty list is specified and IncludeShadowTrails is null or true, then information for all trails in the current region and any associated shadow trails in other regions is returned.
If one or more trail names are specified, information is returned only if the names match the names of trails belonging only to the current region. To return information about a trail in another region, you must specify its trail ARN.
SEE ALSO
This class forms part of Paws, documenting arguments for method DescribeTrails in Paws::CloudTrail
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