You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudTrail::Types::StopLoggingRequest

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

Overview

Note:

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

{
  name: "String", # required
}

Passes the request to CloudTrail to stop logging AWS API calls for the specified account.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging AWS API calls. The format of a trail ARN is:

arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

Returns:

  • (String)


1206
1207
1208
1209
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1206

class StopLoggingRequest < Struct.new(
  :name)
  include Aws::Structure
end