You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Route53::Types::GetTrafficPolicyRequest

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

Overview

Note:

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

{
  id: "TrafficPolicyId", # required
  version: 1, # required
}

Gets information about a specific traffic policy version.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the traffic policy that you want to get information about.

Returns:

  • (String)


2418
2419
2420
2421
2422
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2418

class GetTrafficPolicyRequest < Struct.new(
  :id,
  :version)
  include Aws::Structure
end

#versionInteger

The version number of the traffic policy that you want to get information about.

Returns:

  • (Integer)


2418
2419
2420
2421
2422
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2418

class GetTrafficPolicyRequest < Struct.new(
  :id,
  :version)
  include Aws::Structure
end