Skip to content

BucketState

Source code in docs_src/capo_lightsail/types/bucket_state.py
class BucketState(TypedDict, closed=True):
    code: NotRequired["capo_lightsail.types.non_empty_string.NonEmptyString"]
    """<p>The state code of the bucket.</p> <p>The following codes are possible:</p> <ul> <li> <p> <code>OK</code> - The bucket is in a running state.</p> </li> <li> <p> <code>Unknown</code> - Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.</p> </li> </ul>"""
    message: NotRequired["capo_lightsail.types.string.string"]
    """<p>A message that describes the state of the bucket.</p>"""

code instance-attribute

code: NotRequired[NonEmptyString]

The state code of the bucket.

The following codes are possible:

  • OK - The bucket is in a running state.

  • Unknown - Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.

message instance-attribute

message: NotRequired[string]

A message that describes the state of the bucket.