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::Pinpoint::EndpointLocation

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::Pinpoint::EndpointLocation object:

  $service_obj->Method(Att1 => { City => $value, ..., Region => $value  });

Results returned from an API call

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

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

DESCRIPTION

Specifies geographic information about an endpoint.

ATTRIBUTES

City => Str

The name of the city where the endpoint is located.

Country => Str

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located. For example, US for the United States.

Latitude => Num

The latitude coordinate of the endpoint location, rounded to one decimal place.

Longitude => Num

The longitude coordinate of the endpoint location, rounded to one decimal place.

PostalCode => Str

The postal or ZIP code for the area where the endpoint is located.

Region => Str

The name of the region where the endpoint is located. For locations in the United States, this value is the name of a state.

SEE ALSO

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

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