Class: Aws::CloudTrail::Types::StartLoggingRequest

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 StartLoggingRequest data as a hash:

{
  name: "String", # required
}

The request to CloudTrail to start logging Amazon Web Services API calls for an account.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs Amazon Web Services API calls. The following is the format of a trail ARN.

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

Returns:

  • (String)

3827
3828
3829
3830
3831
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3827

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