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

Class: Aws::Route53::Types::DeleteTrafficPolicyRequest

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 DeleteTrafficPolicyRequest data as a hash:

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

A request to delete a specified traffic policy version.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the traffic policy that you want to delete.

Returns:

  • (String)


1550
1551
1552
1553
1554
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1550

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

#versionInteger

The version number of the traffic policy that you want to delete.

Returns:

  • (Integer)


1550
1551
1552
1553
1554
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1550

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