listResourceAssociations
inline suspend fun NetworkSecurityManagerClient.listResourceAssociations(crossinline block: ListResourceAssociationsRequest.Builder.() -> Unit): ListResourceAssociationsResponse
Lists the resources associated with the specified resource.
Samples
// Lists the resources that reference the given rule, such as the templates and policies it is
// associated with.
val resp = networkSecurityManagerClient.listResourceAssociations {
resourceIdentifier = "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
maxResults = 10
}Content copied to clipboard