Search Organization Insights
| devopsguru_search_organization_insights | R Documentation |
Returns a list of insights in your organization¶
Description¶
Returns a list of insights in your organization. You can specify which
insights are returned by their start time, one or more statuses
(ONGOING, CLOSED, and 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¶
devopsguru_search_organization_insights(AccountIds, StartTimeRange,
Filters, MaxResults, NextToken, Type)
Arguments¶
AccountIds[required] The ID of the Amazon Web Services account.
StartTimeRange[required]
FiltersA
SearchOrganizationInsightsFiltersobject that is used to set the severity and status filters on your insight search.MaxResultsThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.NextTokenThe 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 (
REACTIVEorPROACTIVE).
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_organization_insights(
AccountIds = list(
"string"
),
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"
)