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

Class: Aws::Route53::Types::UpdateTrafficPolicyCommentRequest

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

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

A complex type that contains information about the traffic policy that you want to update the comment for.

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

The new comment for the specified traffic policy and version.

Returns:

  • (String)


5890
5891
5892
5893
5894
5895
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5890

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

#idString

The value of Id for the traffic policy that you want to update the comment for.

Returns:

  • (String)


5890
5891
5892
5893
5894
5895
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5890

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

#versionInteger

The value of Version for the traffic policy that you want to update the comment for.

Returns:

  • (Integer)


5890
5891
5892
5893
5894
5895
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5890

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