class AWS::CloudTrail
@return [Client] the low-level CloudTrail client object
@!attribute [r] client
See {Client} for documentation on all of the supported operations.
end
puts trail<br>resp.each do |trail|
resp = ct.client.describe_trails
ct = AWS::CloudTrail.new
a simple request:
{AWS::CloudTrail::Client}. Here is how you access the client and make
this time. You can still access all of the API methods using
AWS::CloudTrail does not provide higher level abstractions for CloudTrail at
# Using the Client
:secret_access_key => ‘YOUR_SECRET_ACCESS_KEY’)
:access_key_id => ‘YOUR_ACCESS_KEY_ID’,
ct = AWS::CloudTrail.new(
Or you can set them directly on the AWS::CloudTrail interface:
:secret_access_key => ‘YOUR_SECRET_ACCESS_KEY’)
:access_key_id => ‘YOUR_ACCESS_KEY_ID’,
AWS.config(
AWS.config:
You can setup default credentials for all AWS services via
# Credentials
* [AWS CloudTrail Documentation](aws.amazon.com/documentation/cloudtrail/)
* [AWS CloudTrail](aws.amazon.com/cloudtrail/)
For more information about AWS CloudTrail:
[sign up here](aws.amazon.com/cloudtrail/).
To use AWS CloudTrail you must first
This class is the starting point for working with AWS CloudTrail.