'Implements interface.'

def validate_options(self, options):

    options.aws_account_enabled = (options.aws_access_key_id is not None)
    if (options.aws_account_enabled and (not options.aws_credentials)):
        raise ValueError('--aws_access_key_id    given,    but    not    --aws_credentials')
    if (options.aws_account_enabled and (not options.aws_account_id)):
        raise ValueError('--aws_access_key_id    given,    but    not    --aws_account_id')
    if (options.aws_account_enabled and (not options.aws_account_role)):
        raise ValueError('--aws_access_key_id    given,    but    not    --aws_account_role')
