| 1 | |||
| 2 | package Paws::CloudTrail::GetTrailStatus; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has Name => (is => 'ro', isa => 'Str', required => 1); | |
| 5 | |||
| 6 | 1 | ▶ | use MooseX::ClassAttribute; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetTrailStatus'); | |
| 9 | 1 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudTrail::GetTrailStatusResponse'); | |
| 10 | 1 | class_has _result_key => (isa => 'Str', is => 'ro'); | |
| 11 | 1 | 1; | |
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::CloudTrail::GetTrailStatus - Arguments for method GetTrailStatus on L<Paws::CloudTrail> | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | This class represents the parameters used for calling the method GetTrailStatus on the | ||
| 22 | L<AWS CloudTrail|Paws::CloudTrail> service. Use the attributes of this class | ||
| 23 | as arguments to method GetTrailStatus. | ||
| 24 | |||
| 25 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetTrailStatus. | ||
| 26 | |||
| 27 | =head1 SYNOPSIS | ||
| 28 | |||
| 29 | my $cloudtrail = Paws->service('CloudTrail'); | ||
| 30 | my $GetTrailStatusResponse = $cloudtrail->GetTrailStatus( | ||
| 31 | Name => 'MyString', | ||
| 32 | |||
| 33 | ); | ||
| 34 | |||
| 35 | # Results: | ||
| 36 | my $IsLogging = $GetTrailStatusResponse->IsLogging; | ||
| 37 | my $LatestCloudWatchLogsDeliveryError = | ||
| 38 | $GetTrailStatusResponse->LatestCloudWatchLogsDeliveryError; | ||
| 39 | my $LatestCloudWatchLogsDeliveryTime = | ||
| 40 | $GetTrailStatusResponse->LatestCloudWatchLogsDeliveryTime; | ||
| 41 | my $LatestDeliveryAttemptSucceeded = | ||
| 42 | $GetTrailStatusResponse->LatestDeliveryAttemptSucceeded; | ||
| 43 | my $LatestDeliveryAttemptTime = | ||
| 44 | $GetTrailStatusResponse->LatestDeliveryAttemptTime; | ||
| 45 | my $LatestDeliveryError = $GetTrailStatusResponse->LatestDeliveryError; | ||
| 46 | my $LatestDeliveryTime = $GetTrailStatusResponse->LatestDeliveryTime; | ||
| 47 | my $LatestDigestDeliveryError = | ||
| 48 | $GetTrailStatusResponse->LatestDigestDeliveryError; | ||
| 49 | my $LatestDigestDeliveryTime = | ||
| 50 | $GetTrailStatusResponse->LatestDigestDeliveryTime; | ||
| 51 | my $LatestNotificationAttemptSucceeded = | ||
| 52 | $GetTrailStatusResponse->LatestNotificationAttemptSucceeded; | ||
| 53 | my $LatestNotificationAttemptTime = | ||
| 54 | $GetTrailStatusResponse->LatestNotificationAttemptTime; | ||
| 55 | my $LatestNotificationError = | ||
| 56 | $GetTrailStatusResponse->LatestNotificationError; | ||
| 57 | my $LatestNotificationTime = | ||
| 58 | $GetTrailStatusResponse->LatestNotificationTime; | ||
| 59 | my $StartLoggingTime = $GetTrailStatusResponse->StartLoggingTime; | ||
| 60 | my $StopLoggingTime = $GetTrailStatusResponse->StopLoggingTime; | ||
| 61 | my $TimeLoggingStarted = $GetTrailStatusResponse->TimeLoggingStarted; | ||
| 62 | my $TimeLoggingStopped = $GetTrailStatusResponse->TimeLoggingStopped; | ||
| 63 | |||
| 64 | # Returns a L<Paws::CloudTrail::GetTrailStatusResponse> object. | ||
| 65 | |||
| 66 | 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. | ||
| 67 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudtrail/GetTrailStatus> | ||
| 68 | |||
| 69 | =head1 ATTRIBUTES | ||
| 70 | |||
| 71 | |||
| 72 | =head2 B<REQUIRED> Name => Str | ||
| 73 | |||
| 74 | Specifies the name or the CloudTrail ARN of the trail for which you are | ||
| 75 | requesting status. To get the status of a shadow trail (a replication | ||
| 76 | of the trail in another region), you must specify its ARN. The format | ||
| 77 | of a trail ARN is: | ||
| 78 | |||
| 79 | C<arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail> | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | This class forms part of L<Paws>, documenting arguments for method GetTrailStatus in L<Paws::CloudTrail> | ||
| 87 | |||
| 88 | =head1 BUGS and CONTRIBUTIONS | ||
| 89 | |||
| 90 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 91 | |||
| 92 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 93 | |||
| 94 | =cut | ||
| 95 | |||