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.

Use the GetDistributions action to get a list of distribution names that you can specify.

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

Returns:

  • (String)


5866
5867
5868
5869
5870
5871
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5866

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)


5866
5867
5868
5869
5870
5871
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5866

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