Class: Aws::Lightsail::Types::GetDistributionsRequest

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

Overview

Note:

When making an API call, you may pass GetDistributionsRequest data as a hash:

{
  distribution_name: "ResourceName",
  page_token: "string",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#distribution_nameString

The name of the distribution for which to return information.

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

Returns:

  • (String)


8574
8575
8576
8577
8578
8579
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 8574

class GetDistributionsRequest < Struct.new(
  :distribution_name,
  :page_token)
  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 GetDistributions 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)


8574
8575
8576
8577
8578
8579
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 8574

class GetDistributionsRequest < Struct.new(
  :distribution_name,
  :page_token)
  SENSITIVE = []
  include Aws::Structure
end