deleteScope

abstract suspend fun deleteScope(input: DeleteScopeRequest): DeleteScopeResponse

Deletes the specified scope.

Samples

// Deletes a scope by its ARN. The scope must not be associated with any deployment.
networkSecurityManagerClient.deleteScope {
    scopeIdentifier = "arn:aws:network-security-manager:us-east-1:123456789012:scope:abc123"
}