
Describes the resource groups that are specified by the ARNs of the resource groups.
inspector_describe_resource_groups(resourceGroupArns)
[required] The ARN that specifies the resource group that you want to describe.
A list with the following syntax:
list( resourceGroups = list( list( arn = "string", tags = list( list( key = "string", value = "string" ) ), createdAt = 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 ) ) )
svc$describe_resource_groups( resourceGroupArns = list( "string" ) )
# NOT RUN {
# Describes the resource groups that are specified by the ARNs of the
# resource groups.
svc$describe_resource_groups(
resourceGroupArns = list(
"arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-PyGXopAI"
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab