Class: Aws::Route53::Types::ListTrafficPolicyVersionsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-route53/types.rb

Overview

Note:

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

{
  id: "TrafficPolicyId", # required
  traffic_policy_version_marker: "TrafficPolicyVersionMarker",
  max_items: 1,
}

A complex type that contains the information about the request to list your traffic policies.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

Specify the value of `Id` of the traffic policy for which you want to list all versions.

Returns:

  • (String)

5992
5993
5994
5995
5996
5997
5998
# File 'lib/aws-sdk-route53/types.rb', line 5992

class ListTrafficPolicyVersionsRequest < Struct.new(
  :id,
  :traffic_policy_version_marker,
  :max_items)
  SENSITIVE = []
  include Aws::Structure
end

#max_itemsInteger

The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified traffic policy has more than `MaxItems` versions, the value of `IsTruncated` in the response is `true`, and the value of the `TrafficPolicyVersionMarker` element is the ID of the first version that Route 53 will return if you submit another request.

Returns:

  • (Integer)

5992
5993
5994
5995
5996
5997
5998
# File 'lib/aws-sdk-route53/types.rb', line 5992

class ListTrafficPolicyVersionsRequest < Struct.new(
  :id,
  :traffic_policy_version_marker,
  :max_items)
  SENSITIVE = []
  include Aws::Structure
end

#traffic_policy_version_markerString

For your first request to `ListTrafficPolicyVersions`, don't include the `TrafficPolicyVersionMarker` parameter.

If you have more traffic policy versions than the value of `MaxItems`, `ListTrafficPolicyVersions` returns only the first group of `MaxItems` versions. To get more traffic policy versions, submit another `ListTrafficPolicyVersions` request. For the value of `TrafficPolicyVersionMarker`, specify the value of `TrafficPolicyVersionMarker` in the previous response.

Returns:

  • (String)

5992
5993
5994
5995
5996
5997
5998
# File 'lib/aws-sdk-route53/types.rb', line 5992

class ListTrafficPolicyVersionsRequest < Struct.new(
  :id,
  :traffic_policy_version_marker,
  :max_items)
  SENSITIVE = []
  include Aws::Structure
end