Class: Aws::CloudTrail::Types::GetTrailStatusRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudtrail/types.rb

Overview

Note:

When making an API call, you may pass GetTrailStatusRequest data as a hash:

{
  name: "String", # required
}

The name of a trail about which you want the current status.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Specifies the name or the CloudTrail ARN of the trail for which you are requesting status. To get the status of a shadow trail (a replication of the trail in another region), you must specify its ARN. The following is the format of a trail ARN.

`arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`

Returns:

  • (String)

1966
1967
1968
1969
1970
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1966

class GetTrailStatusRequest < Struct.new(
  :name)
  SENSITIVE = []
  include Aws::Structure
end