createDeploymentSnapshot

Creates a snapshot of the current published version of the specified deployment.

Samples

// Creates an immutable snapshot of the current published version of a deployment. The snapshot is
// addressable by a version qualified ARN.
val resp = networkSecurityManagerClient.createDeploymentSnapshot {
    deploymentIdentifier = "arn:aws:network-security-manager:us-east-1:123456789012:deployment:def456"
    clientToken = "550e8400-e29b-41d4-a716-446655440014"
}