Class: Aws::CloudTrail::Types::GetTrailStatusResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudTrail::Types::GetTrailStatusResponse
- Defined in:
- gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb
Overview
Returns the objects or data listed below if successful. Otherwise, returns an error.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#is_logging ⇒ Boolean
Whether the CloudTrail is currently logging AWS API calls.
-
#latest_cloud_watch_logs_delivery_error ⇒ String
Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
-
#latest_cloud_watch_logs_delivery_time ⇒ Time
Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
-
#latest_delivery_attempt_succeeded ⇒ String
This field is no longer in use.
-
#latest_delivery_attempt_time ⇒ String
This field is no longer in use.
-
#latest_delivery_error ⇒ String
Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket.
-
#latest_delivery_time ⇒ Time
Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
-
#latest_digest_delivery_error ⇒ String
Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket.
-
#latest_digest_delivery_time ⇒ Time
Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
-
#latest_notification_attempt_succeeded ⇒ String
This field is no longer in use.
-
#latest_notification_attempt_time ⇒ String
This field is no longer in use.
-
#latest_notification_error ⇒ String
Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification.
-
#latest_notification_time ⇒ Time
Specifies the date and time of the most recent Amazon SNS notification that CloudTrail has written a new log file to an account's Amazon S3 bucket.
-
#start_logging_time ⇒ Time
Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.
-
#stop_logging_time ⇒ Time
Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.
-
#time_logging_started ⇒ String
This field is no longer in use.
-
#time_logging_stopped ⇒ String
This field is no longer in use.
Instance Attribute Details
#is_logging ⇒ Boolean
Whether the CloudTrail is currently logging AWS API calls.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_cloud_watch_logs_delivery_error ⇒ String
Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_cloud_watch_logs_delivery_time ⇒ Time
Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_delivery_attempt_succeeded ⇒ String
This field is no longer in use.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_delivery_attempt_time ⇒ String
This field is no longer in use.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_delivery_error ⇒ String
Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket. For more information see the topic Error Responses in the Amazon S3 API Reference.
UpdateTrail
to specify the new
bucket, or fix the existing objects so that CloudTrail can again
write to the bucket.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_delivery_time ⇒ Time
Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_digest_delivery_error ⇒ String
Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket. For more information see the topic Error Responses in the Amazon S3 API Reference.
UpdateTrail
to specify the new
bucket, or fix the existing objects so that CloudTrail can again
write to the bucket.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_digest_delivery_time ⇒ Time
Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_notification_attempt_succeeded ⇒ String
This field is no longer in use.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_notification_attempt_time ⇒ String
This field is no longer in use.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_notification_error ⇒ String
Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification. For more information about Amazon SNS errors, see the Amazon SNS Developer Guide.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#latest_notification_time ⇒ Time
Specifies the date and time of the most recent Amazon SNS notification that CloudTrail has written a new log file to an account's Amazon S3 bucket.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#start_logging_time ⇒ Time
Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#stop_logging_time ⇒ Time
Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#time_logging_started ⇒ String
This field is no longer in use.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |
#time_logging_stopped ⇒ String
This field is no longer in use.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1187 class GetTrailStatusResponse < Struct.new( :is_logging, :latest_delivery_error, :latest_notification_error, :latest_delivery_time, :latest_notification_time, :start_logging_time, :stop_logging_time, :latest_cloud_watch_logs_delivery_error, :latest_cloud_watch_logs_delivery_time, :latest_digest_delivery_time, :latest_digest_delivery_error, :latest_delivery_attempt_time, :latest_notification_attempt_time, :latest_notification_attempt_succeeded, :latest_delivery_attempt_succeeded, :time_logging_started, :time_logging_stopped) SENSITIVE = [] include Aws::Structure end |