Search Insights
devopsguru_search_insights | R Documentation |
Returns a list of insights in your Amazon Web Services account¶
Description¶
Returns a list of insights in your Amazon Web Services account. You can
specify which insights are returned by their start time, one or more
statuses (ONGOING
or CLOSED
), one or more severities (LOW
,
MEDIUM
, and HIGH
), and type (REACTIVE
or PROACTIVE
).
Use the Filters
parameter to specify status and severity search
parameters. Use the Type
parameter to specify REACTIVE
or
PROACTIVE
in your search.
Usage¶
Arguments¶
StartTimeRange
[required] The start of the time range passed in. Returned insights occurred after this time.
Filters
A
SearchInsightsFilters
object that is used to set the severity and status filters on your insight search.MaxResults
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.NextToken
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
Type
[required] The type of insights you are searching for (
REACTIVE
orPROACTIVE
).
Value¶
A list with the following syntax:
list(
ProactiveInsights = list(
list(
Id = "string",
Name = "string",
Severity = "LOW"|"MEDIUM"|"HIGH",
Status = "ONGOING"|"CLOSED",
InsightTimeRange = list(
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
)
),
PredictionTimeRange = list(
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
)
),
ResourceCollection = list(
CloudFormation = list(
StackNames = list(
"string"
)
),
Tags = list(
list(
AppBoundaryKey = "string",
TagValues = list(
"string"
)
)
)
),
ServiceCollection = list(
ServiceNames = list(
"API_GATEWAY"|"APPLICATION_ELB"|"AUTO_SCALING_GROUP"|"CLOUD_FRONT"|"DYNAMO_DB"|"EC2"|"ECS"|"EKS"|"ELASTIC_BEANSTALK"|"ELASTI_CACHE"|"ELB"|"ES"|"KINESIS"|"LAMBDA"|"NAT_GATEWAY"|"NETWORK_ELB"|"RDS"|"REDSHIFT"|"ROUTE_53"|"S3"|"SAGE_MAKER"|"SNS"|"SQS"|"STEP_FUNCTIONS"|"SWF"
)
),
AssociatedResourceArns = list(
"string"
)
)
),
ReactiveInsights = list(
list(
Id = "string",
Name = "string",
Severity = "LOW"|"MEDIUM"|"HIGH",
Status = "ONGOING"|"CLOSED",
InsightTimeRange = list(
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
)
),
ResourceCollection = list(
CloudFormation = list(
StackNames = list(
"string"
)
),
Tags = list(
list(
AppBoundaryKey = "string",
TagValues = list(
"string"
)
)
)
),
ServiceCollection = list(
ServiceNames = list(
"API_GATEWAY"|"APPLICATION_ELB"|"AUTO_SCALING_GROUP"|"CLOUD_FRONT"|"DYNAMO_DB"|"EC2"|"ECS"|"EKS"|"ELASTIC_BEANSTALK"|"ELASTI_CACHE"|"ELB"|"ES"|"KINESIS"|"LAMBDA"|"NAT_GATEWAY"|"NETWORK_ELB"|"RDS"|"REDSHIFT"|"ROUTE_53"|"S3"|"SAGE_MAKER"|"SNS"|"SQS"|"STEP_FUNCTIONS"|"SWF"
)
),
AssociatedResourceArns = list(
"string"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$search_insights(
StartTimeRange = list(
FromTime = as.POSIXct(
"2015-01-01"
),
ToTime = as.POSIXct(
"2015-01-01"
)
),
Filters = list(
Severities = list(
"LOW"|"MEDIUM"|"HIGH"
),
Statuses = list(
"ONGOING"|"CLOSED"
),
ResourceCollection = list(
CloudFormation = list(
StackNames = list(
"string"
)
),
Tags = list(
list(
AppBoundaryKey = "string",
TagValues = list(
"string"
)
)
)
),
ServiceCollection = list(
ServiceNames = list(
"API_GATEWAY"|"APPLICATION_ELB"|"AUTO_SCALING_GROUP"|"CLOUD_FRONT"|"DYNAMO_DB"|"EC2"|"ECS"|"EKS"|"ELASTIC_BEANSTALK"|"ELASTI_CACHE"|"ELB"|"ES"|"KINESIS"|"LAMBDA"|"NAT_GATEWAY"|"NETWORK_ELB"|"RDS"|"REDSHIFT"|"ROUTE_53"|"S3"|"SAGE_MAKER"|"SNS"|"SQS"|"STEP_FUNCTIONS"|"SWF"
)
)
),
MaxResults = 123,
NextToken = "string",
Type = "REACTIVE"|"PROACTIVE"
)