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

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

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

A request to delete a specified traffic policy version.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

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

Returns:

  • (String)

2173
2174
2175
2176
2177
2178
# File 'lib/aws-sdk-route53/types.rb', line 2173

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

#versionInteger

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

Returns:

  • (Integer)

2173
2174
2175
2176
2177
2178
# File 'lib/aws-sdk-route53/types.rb', line 2173

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