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