Class: Aws::CloudTrail::Types::ListInsightsMetricDataResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

Only returned if ‘InsightType` parameter was set to `ApiErrorRateInsight`.

If returning metrics for the ‘ApiErrorRateInsight` Insights type, this is the error to retrieve data for. For example, `AccessDenied`.

Returns:

  • (String)


3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3733

class ListInsightsMetricDataResponse < Struct.new(
  :event_source,
  :event_name,
  :insight_type,
  :error_code,
  :timestamps,
  :values,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#event_nameString

The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.

Returns:

  • (String)


3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3733

class ListInsightsMetricDataResponse < Struct.new(
  :event_source,
  :event_name,
  :insight_type,
  :error_code,
  :timestamps,
  :values,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#event_sourceString

The Amazon Web Services service to which the request was made, such as ‘iam.amazonaws.com` or `s3.amazonaws.com`.

Returns:

  • (String)


3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3733

class ListInsightsMetricDataResponse < Struct.new(
  :event_source,
  :event_name,
  :insight_type,
  :error_code,
  :timestamps,
  :values,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#insight_typeString

The type of CloudTrail Insights event, which is either ‘ApiCallRateInsight` or `ApiErrorRateInsight`. The `ApiCallRateInsight` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The `ApiErrorRateInsight` Insights type analyzes management API calls that result in error codes.

Returns:

  • (String)


3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3733

class ListInsightsMetricDataResponse < Struct.new(
  :event_source,
  :event_name,
  :insight_type,
  :error_code,
  :timestamps,
  :values,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

Only returned if the full results could not be returned in a single query. You can set the ‘NextToken` parameter in the next request to this value to continue retrieval.

Returns:

  • (String)


3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3733

class ListInsightsMetricDataResponse < Struct.new(
  :event_source,
  :event_name,
  :insight_type,
  :error_code,
  :timestamps,
  :values,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#timestampsArray<Time>

List of timestamps at intervals corresponding to the specified time period.

Returns:

  • (Array<Time>)


3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3733

class ListInsightsMetricDataResponse < Struct.new(
  :event_source,
  :event_name,
  :insight_type,
  :error_code,
  :timestamps,
  :values,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<Float>

List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.

Returns:

  • (Array<Float>)


3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3733

class ListInsightsMetricDataResponse < Struct.new(
  :event_source,
  :event_name,
  :insight_type,
  :error_code,
  :timestamps,
  :values,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end