listRuleSnapshots
inline suspend fun NetworkSecurityManagerClient.listRuleSnapshots(crossinline block: ListRuleSnapshotsRequest.Builder.() -> Unit): ListRuleSnapshotsResponse
Lists the snapshots of the specified rule.
Samples
// Lists the immutable snapshots that have been created for a rule.
val resp = networkSecurityManagerClient.listRuleSnapshots {
ruleIdentifier = "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
maxResults = 10
}Content copied to clipboard