Describes the assessment targets that are specified by the ARNs of the assessment targets.
inspector_describe_assessment_targets(assessmentTargetArns)
A list with the following syntax:
list(
assessmentTargets = list(
list(
arn = "string",
name = "string",
resourceGroupArn = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
updatedAt = as.POSIXct(
"2015-01-01"
)
)
),
failedItems = list(
list(
failureCode = "INVALID_ARN"|"DUPLICATE_ARN"|"ITEM_DOES_NOT_EXIST"|"ACCESS_DENIED"|"LIMIT_EXCEEDED"|"INTERNAL_ERROR",
retryable = TRUE|FALSE
)
)
)
[required] The ARNs that specifies the assessment targets that you want to describe.
svc$describe_assessment_targets(
assessmentTargetArns = list(
"string"
)
)
if (FALSE) {
# Describes the assessment targets that are specified by the ARNs of the
# assessment targets.
svc$describe_assessment_targets(
assessmentTargetArns = list(
"arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq"
)
)
}
Run the code above in your browser using DataLab