Class: Aws::Lightsail::Types::BucketState

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Describes the state of an Amazon Lightsail bucket.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

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.

Returns:

  • (String)


1302
1303
1304
1305
1306
1307
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1302

class BucketState < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

A message that describes the state of the bucket.

Returns:

  • (String)


1302
1303
1304
1305
1306
1307
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1302

class BucketState < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end