Class: Aws::Lightsail::Types::GetBucketsRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_nameString

The name of the bucket for which to return information.

When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.

Returns:

  • (String)


6885
6886
6887
6888
6889
6890
6891
6892
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6885

class GetBucketsRequest < Struct.new(
  :bucket_name,
  :page_token,
  :include_connected_resources,
  :include_cors)
  SENSITIVE = []
  include Aws::Structure
end

#include_connected_resourcesBoolean

A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.

Returns:

  • (Boolean)


6885
6886
6887
6888
6889
6890
6891
6892
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6885

class GetBucketsRequest < Struct.new(
  :bucket_name,
  :page_token,
  :include_connected_resources,
  :include_cors)
  SENSITIVE = []
  include Aws::Structure
end

#include_corsBoolean

A Boolean value that indicates whether to include Lightsail bucket CORS configuration in the response. For more information, see Configuring cross-origin resource sharing (CORS).

This parameter is only supported when getting a single bucket with bucketName specified. The default value for this parameter is False.

Returns:

  • (Boolean)


6885
6886
6887
6888
6889
6890
6891
6892
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6885

class GetBucketsRequest < Struct.new(
  :bucket_name,
  :page_token,
  :include_connected_resources,
  :include_cors)
  SENSITIVE = []
  include Aws::Structure
end

#page_tokenString

The token to advance to the next page of results from your request.

To get a page token, perform an initial GetBuckets request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Returns:

  • (String)


6885
6886
6887
6888
6889
6890
6891
6892
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6885

class GetBucketsRequest < Struct.new(
  :bucket_name,
  :page_token,
  :include_connected_resources,
  :include_cors)
  SENSITIVE = []
  include Aws::Structure
end