', isa => 'Str', default => 'us1'); has 'output_format' => (is => 'rw', isa => 'Str', default => 'json'); sub BUILD { my ( $self ) = @_; die 'apikey or username and password is required