The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Route53::TrafficPolicyInstance

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Route53::TrafficPolicyInstance object:

  $service_obj->Method(Att1 => { HostedZoneId => $value, ..., TTL => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Route53::TrafficPolicyInstance object:

  $result = $service_obj->Method(...);
  $result->Att1->HostedZoneId

DESCRIPTION

A complex type that contains settings for the new traffic policy instance.

ATTRIBUTES

REQUIRED HostedZoneId => Str

The ID of the hosted zone that Amazon Route 53 created resource record sets in.

REQUIRED Id => Str

The ID that Amazon Route 53 assigned to the new traffic policy instance.

REQUIRED Message => Str

If State is Failed, an explanation of the reason for the failure. If State is another value, Message is empty.

REQUIRED Name => Str

The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.

REQUIRED State => Str

The value of State is one of the following values:

Applied

Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Route 53 edge locations.

Creating

Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that the CreateTrafficPolicyInstance request completed successfully.

Failed

Route 53 wasn't able to create or update the resource record sets. When the value of State is Failed, see Message for an explanation of what caused the request to fail.

REQUIRED TrafficPolicyId => Str

The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

REQUIRED TrafficPolicyType => Str

The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.

REQUIRED TrafficPolicyVersion => Int

The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

REQUIRED TTL => Int

The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Route53

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues