List Apps
| resiliencehub_list_apps | R Documentation |
Lists your Resilience Hub applications¶
Description¶
Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
Usage¶
resiliencehub_list_apps(appArn, fromLastAssessmentTime, maxResults,
name, nextToken, reverseOrder, toLastAssessmentTime)
Arguments¶
appArnAmazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.fromLastAssessmentTimeIndicates the lower limit of the range that is used to filter applications based on their last assessment times.
maxResultsMaximum number of results to include in the response. If more results exist than the specified
MaxResultsvalue, a token is included in the response so that the remaining results can be retrieved.nameThe name for the one of the listed applications.
nextTokenNull, or the token from a previous call to get the next set of results.
reverseOrderThe application list is sorted based on the values of
lastAppComplianceEvaluationTimefield. By default, application list is sorted in ascending order. To sort the application list in descending order, set this field toTrue.toLastAssessmentTimeIndicates the upper limit of the range that is used to filter the applications based on their last assessment times.
Value¶
A list with the following syntax:
list(
appSummaries = list(
list(
appArn = "string",
assessmentSchedule = "Disabled"|"Daily",
complianceStatus = "PolicyBreached"|"PolicyMet"|"NotAssessed"|"ChangesDetected"|"NotApplicable"|"MissingPolicy",
creationTime = as.POSIXct(
"2015-01-01"
),
description = "string",
driftStatus = "NotChecked"|"NotDetected"|"Detected",
lastAppComplianceEvaluationTime = as.POSIXct(
"2015-01-01"
),
name = "string",
resiliencyScore = 123.0,
rpoInSecs = 123,
rtoInSecs = 123,
status = "Active"|"Deleting"
)
),
nextToken = "string"
)