status¶
- autogluon.cloud.status(*, session: Session | None = None) dict[str, StatusReport][source]¶
Check that the resources saved in
~/.autogluon/cloud.yamlexist.- Parameters:
session (boto3.Session | None, default = None) – Session used for AWS calls. If
None, uses the default boto3 credentials with each backend’s saved region.- Returns:
dict[str, StatusReport] – One report per configured backend, keyed by backend name; empty if no config exists. Each report has:
config: the saved backend config (region, role ARN, bucket, and stack name).config_path: path to the config file.checks: status of the"bucket","role", and (ifstack_nameis set)"stack". The bucket and role checks return"ok", and the stack check returns its CloudFormation status, e.g."CREATE_COMPLETE"."ok (unverified ...)"means the caller lacks permission to check the resource. Anything else describes a failure.